Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
46 0 0 0 100% 7.728 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.415 s
jakarta.xml.bind 8 0 0 0 100% 0.024 s
com.googlecode.phisix.api.ext 14 0 0 0 100% 0.740 s
com.googlecode.phisix.api.repository 5 0 0 0 100% 1.093 s
com.googlecode.phisix.api.resource 6 0 0 0 100% 1.709 s
com.googlecode.phisix.api.client 2 0 0 0 100% 3.724 s
com.googlecode.phisix.api 7 0 0 0 100% 0.023 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.399 s
PhisixDeserializerTest 3 0 0 0 100% 0.016 s

jakarta.xml.bind

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

com.googlecode.phisix.api.ext

- Class Tests Errors Failures Skipped Success Rate Time
StocksProviderTest 2 0 0 0 100% 0.178 s
RobotsProviderTest 1 0 0 0 100% 0.130 s
StocksMessageBodyWriterTest 8 0 0 0 100% 0.272 s
CorsProviderTest 2 0 0 0 100% 0.014 s
RobotsFilterTest 1 0 0 0 100% 0.146 s

com.googlecode.phisix.api.repository

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

com.googlecode.phisix.api.resource

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

com.googlecode.phisix.api.client

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

com.googlecode.phisix.api

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

Test Cases

[Summary] [Package List] [Test Cases]

GsonAwareParserTest

parse 0.397 s

StocksResourceTest

getStockByString 0.582 s
getAllStocks 0.018 s
getValidStock 0.003 s
getStockByInvalidDate 0.118 s
getStockByDate 0.004 s
getInvalidStock 0.017 s

StocksProviderTest

isReadable 0.040 s
readFrom 0.136 s

CurrencyAdapterTest

testPrintCurrency 0.005 s
testParseCurrency 0.001 s

PseFramesClientTest

getSecuritiesAndIndicesForPublic 1.967 s

RobotsProviderTest

configure 0.128 s

DateAdapterTest

parseDate 0.010 s
parseYear 0 s
printDate 0 s
printYear 0 s
parseDateTime 0.001 s
printDateTime 0 s

StocksMessageBodyWriterTest

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

PhisixClientTest

getStockByDate 1.755 s

PhisixDeserializerTest

header 0.003 s
index 0.008 s
deserialize 0.001 s

CorsProviderTest

allowedOriginsAll 0.008 s
configure 0.002 s

RobotsFilterTest

filter 0.145 s

StocksRepositoryImplTest

findBySymbolAndTradingDateString 0.474 s
findAll 0.094 s
save 0.470 s
findBySymbolAndTradingDate 0.044 s
findBySymbol 0.005 s

ResteasyApplicationTestCase

testResourcesAreDiscoverable 0.003 s
testResteasyApplicationHasApplicationPathAnnotation 0.003 s
testResteasyApplicationExtendsApplication 0.002 s
testGetClassesReturnsEmptySet 0.001 s
testApplicationPathValueIsCorrect 0.001 s
testEmptySetEnablesAutoDiscovery 0.001 s
testProvidersAreDiscoverable 0.006 s