Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
46 0 0 0 100% 7.252 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.545 s
jakarta.xml.bind 8 0 0 0 100% 0.158 s
com.googlecode.phisix.api.ext 14 0 0 0 100% 1.941 s
com.googlecode.phisix.api.repository 5 0 0 0 100% 1.011 s
com.googlecode.phisix.api.client 2 0 0 0 100% 3.524 s
com.googlecode.phisix.api.resource 6 0 0 0 100% 0.059 s
com.googlecode.phisix.api 7 0 0 0 100% 0.014 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.519 s
PhisixDeserializerTest 3 0 0 0 100% 0.026 s

jakarta.xml.bind

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

com.googlecode.phisix.api.ext

- Class Tests Errors Failures Skipped Success Rate Time
StocksProviderTest 2 0 0 0 100% 0.251 s
CorsProviderTest 2 0 0 0 100% 1.460 s
RobotsFilterTest 1 0 0 0 100% 0.147 s
RobotsProviderTest 1 0 0 0 100% 0.011 s
StocksMessageBodyWriterTest 8 0 0 0 100% 0.072 s

com.googlecode.phisix.api.repository

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

com.googlecode.phisix.api.client

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

com.googlecode.phisix.api.resource

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

com.googlecode.phisix.api

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

Test Cases

[Summary] [Package List] [Test Cases]

PhisixClientTest

getStockByDate 0.865 s

GsonAwareParserTest

parse 0.514 s

StocksProviderTest

isReadable 0.047 s
readFrom 0.197 s

CorsProviderTest

allowedOriginsAll 0.459 s
configure 0.056 s

StocksRepositoryImplTest

findBySymbolAndTradingDateString 0.399 s
findAll 0.087 s
save 0.477 s
findBySymbolAndTradingDate 0.038 s
findBySymbol 0.005 s

RobotsFilterTest

filter 0.137 s

PseFramesClientTest

getSecuritiesAndIndicesForPublic 2.654 s

RobotsProviderTest

configure 0.005 s

PhisixDeserializerTest

header 0.008 s
index 0.007 s
deserialize 0 s

StocksMessageBodyWriterTest

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

CurrencyAdapterTest

testPrintCurrency 0.013 s
testParseCurrency 0 s

DateAdapterTest

parseDate 0.058 s
parseYear 0.001 s
printDate 0.002 s
printYear 0.001 s
parseDateTime 0.001 s
printDateTime 0 s

StocksResourceTest

getStockByString 0.044 s
getAllStocks 0.001 s
getValidStock 0.001 s
getStockByInvalidDate 0.003 s
getStockByDate 0.002 s
getInvalidStock 0.003 s

ResteasyApplicationTestCase

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