Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
62 0 0 1 98.387% 3.021

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
info.smart_tools.smartactors.core.postgres_schema.search 31 0 0 1 96.774% 0.227
info.smart_tools.smartactors.core.postgres_schema 21 0 0 0 100% 2.787
info.smart_tools.smartactors.core.postgres_schema.indexes 10 0 0 0 100% 0.007

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

info.smart_tools.smartactors.core.postgres_schema.search

Class Tests Errors Failures Skipped Success Rate Time
PagingWriterTest 1 0 0 0 100% 0.141
OrderWriterTest 2 0 0 0 100% 0
OperatorsTest 9 0 0 0 100% 0.016
PostgresFieldPathTest 4 0 0 0 100% 0.005
PostgresQueryWriterResolverTest 9 0 0 1 88.889% 0.002
ConditionsTest 6 0 0 0 100% 0.063

info.smart_tools.smartactors.core.postgres_schema

Class Tests Errors Failures Skipped Success Rate Time
PostgresSchemaTest 21 0 0 0 100% 2.787

info.smart_tools.smartactors.core.postgres_schema.indexes

Class Tests Errors Failures Skipped Success Rate Time
IndexCreatorsTest 10 0 0 0 100% 0.007

Test Cases

[Summary] [Package List] [Test Cases]

PagingWriterTest

should_WritesPAGINGClauseIntoQueryStatement 0.141

OrderWriterTest

should_WritesORDERClauseIntoQueryStatement 0
should_FailOnWrongDirection 0

PostgresSchemaTest

testCountWithNullCriteria 0.756
testCount 1.378
testSearchWithPaging 0.01
testSearchWithNullCriteria 0.001
testSearchWithPagingAndSorting 0.008
testSearchWithSorting 0.007
testGetById 0.001
testCountWithEmptyFilter 0.002
testSearchWithNot 0.012
testSearchWithEmptyCriteria 0.006
testCountWithEmptyCriteria 0.001
testCountWithPagingAndSorting 0.005
testCountWithSorting 0.008
testCreateWithIndexes 0.039
testCreate 0.002
testDelete 0.001
testSearchWithEmptyFilter 0.008
testInsert 0.001
testCountWithPaging 0.002
testSearch 0.008
testUpdate 0.001

OperatorsTest

writeFieldInArrayCheckCondition_QueryParameter_Invalid_Test 0
writeFieldExistsCheckCondition_QueryParameter_Invalid_Test 0.001
writeFieldInArrayCheckConditionTest 0.002
writeFieldCheckCondition_ContextFieldPath_IsNull_Test 0
writeFieldExistsCheckConditionTest 0
writeFieldCheckConditionTest 0.005
writeFieldExistsCheckCondition_ContextFieldPath_IsNull_Test 0.001
should_AddsAllOperators 0.007
writeFieldInArrayCheckCondition_ContextFieldPath_IsNull_Test 0

PostgresFieldPathTest

should_ThrowsException 0.001
should_ResolvesPostgresFieldPath 0
testArrayPath 0
testComplexPath 0

PostgresQueryWriterResolverTest

testEqualityQuery 0
testEmptyQuery 0
testMatchCombination 0
testImplicitAndCondition 0
testImplicitAndAndOrCondition 0
testInQuery 0
testOneFieldEqualityQuery 0
Equality test without explicit $eq operator is not supported
testNestedField 0
testOrCondition 0

ConditionsTest

testAndOnIObject 0.044
testNotOnIObject 0.005
testAndOnList 0.004
testOrOnIObject 0.003
testOrOnList 0.003
testNotOnList 0.002

IndexCreatorsTest

testOrderedIndex 0
testFulltextIndex 0
testWrongIndexFormat 0
testTagsIndex 0
testTagsIndexForOneField 0.001
testOrderedIndexForOneField 0.002
testFulltextIndexForOneField 0
testDatetimeIndexForOneField 0.001
testDatetimeIndex 0.001
testFullTextIndexWithoutLanguage 0.001

Failure Details

[Summary] [Package List] [Test Cases]


testOneFieldEqualityQuery
skipped: Equality test without explicit $eq operator is not supported