Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
46 0 0 0 100% 7.536 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.025 s
jakarta.xml.bind 8 0 0 0 100% 0.035 s
com.googlecode.phisix.api.ext 14 0 0 0 100% 0.426 s
com.googlecode.phisix.api.repository 5 0 0 0 100% 2.714 s
com.googlecode.phisix.api.client 2 0 0 0 100% 4.253 s
com.googlecode.phisix.api.resource 6 0 0 0 100% 0.075 s
com.googlecode.phisix.api 7 0 0 0 100% 0.008 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.022 s
PhisixDeserializerTest 3 0 0 0 100% 0.003 s

jakarta.xml.bind

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

com.googlecode.phisix.api.ext

- Class Tests Errors Failures Skipped Success Rate Time
CorsProviderTest 2 0 0 0 100% 0.084 s
StocksMessageBodyWriterTest 8 0 0 0 100% 0.027 s
RobotsFilterTest 1 0 0 0 100% 0.144 s
StocksProviderTest 2 0 0 0 100% 0.170 s
RobotsProviderTest 1 0 0 0 100% 0.001 s

com.googlecode.phisix.api.repository

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

com.googlecode.phisix.api.client

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

com.googlecode.phisix.api.resource

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

com.googlecode.phisix.api

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

Test Cases

[Summary] [Package List] [Test Cases]

CurrencyAdapterTest

testPrintCurrency 0.001 s
testParseCurrency 0 s

CorsProviderTest

allowedOriginsAll 0.080 s
configure 0.002 s

ResteasyApplicationTestCase

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

StocksMessageBodyWriterTest

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

StocksRepositoryImplTest

findBySymbolAndTradingDateString 0.997 s
findAll 0.165 s
save 0.640 s
findBySymbolAndTradingDate 0.060 s
findBySymbol 0.007 s

RobotsFilterTest

filter 0.143 s

GsonAwareParserTest

parse 0.019 s

PseFramesClientTest

getSecuritiesAndIndicesForPublic 3.310 s

StocksProviderTest

isReadable 0.042 s
readFrom 0.121 s

PhisixClientTest

getStockByDate 0.872 s

PhisixDeserializerTest

header 0 s
index 0 s
deserialize 0 s

RobotsProviderTest

configure 0 s

DateAdapterTest

parseDate 0.021 s
parseYear 0 s
printDate 0.005 s
printYear 0.001 s
parseDateTime 0 s
printDateTime 0 s

StocksResourceTest

getStockByString 0.055 s
getAllStocks 0.001 s
getValidStock 0.001 s
getStockByInvalidDate 0.005 s
getStockByDate 0.002 s
getInvalidStock 0.002 s