Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
46 0 0 0 100% 6.839 s

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
com.googlecode.phisix.api.parser 4 0 0 0 100% 0.016 s
jakarta.xml.bind 8 0 0 0 100% 0.173 s
com.googlecode.phisix.api.ext 14 0 0 0 100% 1.958 s
com.googlecode.phisix.api.repository 5 0 0 0 100% 1.084 s
com.googlecode.phisix.api.client 2 0 0 0 100% 3.536 s
com.googlecode.phisix.api.resource 6 0 0 0 100% 0.067 s
com.googlecode.phisix.api 7 0 0 0 100% 0.005 s

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

com.googlecode.phisix.api.parser

- Class Tests Errors Failures Skipped Success Rate Time
GsonAwareParserTest 1 0 0 0 100% 0.012 s
PhisixDeserializerTest 3 0 0 0 100% 0.004 s

jakarta.xml.bind

- Class Tests Errors Failures Skipped Success Rate Time
DateAdapterTest 6 0 0 0 100% 0.085 s
CurrencyAdapterTest 2 0 0 0 100% 0.088 s

com.googlecode.phisix.api.ext

- Class Tests Errors Failures Skipped Success Rate Time
RobotsProviderTest 1 0 0 0 100% 0.006 s
RobotsFilterTest 1 0 0 0 100% 0.151 s
CorsProviderTest 2 0 0 0 100% 1.378 s
StocksProviderTest 2 0 0 0 100% 0.187 s
StocksMessageBodyWriterTest 8 0 0 0 100% 0.236 s

com.googlecode.phisix.api.repository

- Class Tests Errors Failures Skipped Success Rate Time
StocksRepositoryImplTest 5 0 0 0 100% 1.084 s

com.googlecode.phisix.api.client

- Class Tests Errors Failures Skipped Success Rate Time
PhisixClientTest 1 0 0 0 100% 2.014 s
PseFramesClientTest 1 0 0 0 100% 1.522 s

com.googlecode.phisix.api.resource

- Class Tests Errors Failures Skipped Success Rate Time
StocksResourceTest 6 0 0 0 100% 0.067 s

com.googlecode.phisix.api

- Class Tests Errors Failures Skipped Success Rate Time
ResteasyApplicationTestCase 7 0 0 0 100% 0.005 s

Test Cases

[Summary] [Package List] [Test Cases]

RobotsProviderTest

configure 0.002 s

GsonAwareParserTest

parse 0.004 s

RobotsFilterTest

filter 0.147 s

StocksRepositoryImplTest

findBySymbolAndTradingDateString 0.376 s
findAll 0.113 s
save 0.534 s
findBySymbolAndTradingDate 0.050 s
findBySymbol 0.006 s

PhisixClientTest

getStockByDate 2.013 s

CorsProviderTest

allowedOriginsAll 0.434 s
configure 0.042 s

StocksProviderTest

isReadable 0.055 s
readFrom 0.124 s

ResteasyApplicationTestCase

testResourcesAreDiscoverable 0 s
testResteasyApplicationHasApplicationPathAnnotation 0.002 s
testResteasyApplicationExtendsApplication 0 s
testGetClassesReturnsEmptySet 0.001 s
testApplicationPathValueIsCorrect 0 s
testEmptySetEnablesAutoDiscovery 0 s
testProvidersAreDiscoverable 0 s

StocksMessageBodyWriterTest

writeToShouldSerializeMultipleStocks 0.223 s
isWriteableShouldReturnFalseForNonStocksClass 0 s
isWriteableShouldReturnFalseForNonJsonMediaType 0.002 s
writeToShouldUseUnderscoreFieldName 0 s
writeToShouldFormatDateWithTimezone 0.002 s
writeToShouldHandleNullAsOf 0.002 s
isWriteableShouldReturnTrueForStocksClassWithJsonMediaType 0 s
writeToShouldSerializeWithAsOfInIso8601Format 0.001 s

StocksResourceTest

getStockByString 0.040 s
getAllStocks 0.002 s
getValidStock 0.002 s
getStockByInvalidDate 0.006 s
getStockByDate 0.002 s
getInvalidStock 0.004 s

DateAdapterTest

parseDate 0.073 s
parseYear 0 s
printDate 0.002 s
printYear 0.004 s
parseDateTime 0 s
printDateTime 0 s

PseFramesClientTest

getSecuritiesAndIndicesForPublic 1.521 s

PhisixDeserializerTest

header 0 s
index 0 s
deserialize 0 s

CurrencyAdapterTest

testPrintCurrency 0.019 s
testParseCurrency 0 s