Summary

Tests Errors Failures Success Rate Time
278 0 0 100.00% 1.15

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

Package List

Package Tests Errors Failures Success Rate Time
it.amattioli.encapsulate.range.specifications 7 0 0 100.00% 0.01
it.amattioli.encapsulate.dates 114 0 0 100.00% 0.12
it.amattioli.encapsulate.money 31 0 0 100.00% 0.02
it.amattioli.encapsulate.money.hibernate 1 0 0 100.00% 0.00
it.amattioli.encapsulate.dates.hibernate 3 0 0 100.00% 0.01
it.amattioli.encapsulate.browsers 7 0 0 100.00% 0.02
it.amattioli.encapsulate.dates.specifications 8 0 0 100.00% 0.11
it.amattioli.encapsulate.percent 3 0 0 100.00% 0.00
it.amattioli.encapsulate.range 57 0 0 100.00% 0.04
it.amattioli.encapsulate.money.specifications 7 0 0 100.00% 0.75
it.amattioli.encapsulate.dates.format 40 0 0 100.00% 0.07

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

it.amattioli.encapsulate.range.specifications

Class Tests Errors Failures Success Rate Time
DefaultComparableSpecificationTest 3 0 0 100.00% 0.00
HqlComparableSpecificationTest 4 0 0 100.00% 0.00

it.amattioli.encapsulate.dates

Class Tests Errors Failures Success Rate Time
WeekTest 10 0 0 100.00% 0.00
RangeEachYear2DaysTest 4 0 0 100.00% 0.00
DayTest 12 0 0 100.00% 0.00
EasterTest 1 0 0 100.00% 0.00
PhysicalDurationTest 18 0 0 100.00% 0.01
YearTest 2 0 0 100.00% 0.00
TimeIntervalFormatTest 16 0 0 100.00% 0.01
CompositeDurationTest 2 0 0 100.00% 0.00
DayIteratorTest 2 0 0 100.00% 0.00
RangeEachYear1MonthTest 3 0 0 100.00% 0.00
MonthTest 13 0 0 100.00% 0.01
DurationFormatTest 1 0 0 100.00% 0.00
ConventionalDurationTest 9 0 0 100.00% 0.04
TimeIntervalFactoryTest 10 0 0 100.00% 0.01
GenericTimeIntervalTest 4 0 0 100.00% 0.00
DayFormatTest 3 0 0 100.00% 0.00
RangeEachYear2MonthTest 4 0 0 100.00% 0.01

it.amattioli.encapsulate.money

Class Tests Errors Failures Success Rate Time
MoneyFormatTest 5 0 0 100.00% 0.00
MoneyTest 20 0 0 100.00% 0.01
EuroTest 1 0 0 100.00% 0.00
EuroFormatTest 5 0 0 100.00% 0.01

it.amattioli.encapsulate.money.hibernate

Class Tests Errors Failures Success Rate Time
MoneyHibernateTypeTest 1 0 0 100.00% 0.00

it.amattioli.encapsulate.dates.hibernate

Class Tests Errors Failures Success Rate Time
TimeIntervalHibernateTypeTest 2 0 0 100.00% 0.00
DayHibernateTypeTest 1 0 0 100.00% 0.01

it.amattioli.encapsulate.browsers

Class Tests Errors Failures Success Rate Time
CalendarBrowserTest 7 0 0 100.00% 0.02

it.amattioli.encapsulate.dates.specifications

Class Tests Errors Failures Success Rate Time
CriteriaDateSpecificationTest 3 0 0 100.00% 0.01
DateSpecificationTest 1 0 0 100.00% 0.07
HqlDateSpecificationTest 3 0 0 100.00% 0.02
TimeIntervalSpecificationTest 1 0 0 100.00% 0.00

it.amattioli.encapsulate.percent

Class Tests Errors Failures Success Rate Time
PercentTest 3 0 0 100.00% 0.00

it.amattioli.encapsulate.range

Class Tests Errors Failures Success Rate Time
DiscreteRangeTest 19 0 0 100.00% 0.02
ContinousRangeTest 20 0 0 100.00% 0.00
NumericRangeformatTest 18 0 0 100.00% 0.01

it.amattioli.encapsulate.money.specifications

Class Tests Errors Failures Success Rate Time
MoneySpecificationTest 1 0 0 100.00% 0.00
CriteriaMoneySpecificationTest 3 0 0 100.00% 0.71
HqlMoneySpecificationTest 3 0 0 100.00% 0.04

it.amattioli.encapsulate.dates.format

Class Tests Errors Failures Success Rate Time
SingleNumberParserTest 4 0 0 100.00% 0.00
DayParserTest 2 0 0 100.00% 0.00
AlphabeticalMonthParserTest 2 0 0 100.00% 0.00
MonthParserTest 3 0 0 100.00% 0.01
TimeIntervalFormatTest 26 0 0 100.00% 0.05
AlphabeticalDayParserTest 3 0 0 100.00% 0.00

Test Cases

DiscreteRangeTest

testIncludes 0.00
testOverlaps 0.00
testEquality 0.00
testInequality 0.00
testBounding 0.00
testUnboundedRange 0.00
testMerge 0.00
testMergeLowerUnbounded 0.00
testMergeUpperUnbounded 0.00
testAbut 0.00
testGap 0.00
testGapFromUnbounded 0.00
testIntersect 0.00
testIntersectUnbound 0.00
testNoIntersect 0.00
testMinus 0.00
testMinusContained 0.00
testMinusNotContained 0.00
testMinusUnbound 0.00

WeekTest

testAfter 0.00
testBefore 0.00
testNextMonth 0.00
testPreviousMonth 0.00
testClone 0.00
testEquals 0.00
testCompare 0.00
testStartDay 0.00
testEndDay 0.00
testNewWeek 0.00

MoneyFormatTest

testParseCorrectMoney 0.00
testParseLittleMoney 0.00
testParseWrongMoney 0.00
testParseNullMoney 0.00
testParseEmptyMoney 0.00

SingleNumberParserTest

testWithoutOtherSide 0.00
testWithYearOnTheOtherSide 0.00
testWithMonthOnTheOtherSide 0.00
testWithDayOnTheOtherSide 0.00

RangeEachYear2DaysTest

testInvalidFirstDay 0.00
testInvalidSecondDay 0.00
testNotIncludes 0.00
testIncludes 0.00

DayParserTest

testCorrectDay 0.00
testIncorrectDay 0.00

CalendarBrowserTest

testIntervalType 0.01
testLimits 0.00
testHasPreviousInterval 0.00
testPreviousInterval 0.00
testHasNextInterval 0.00
testNextInterval 0.00
testSubBrowser 0.01

CriteriaDateSpecificationTest

testLowerBound 0.00
testHigherBound 0.00
testDoubleBound 0.00

AlphabeticalMonthParserTest

testWithoutOtherSide 0.00
testWithMonthOnOtherSide 0.00

MoneyTest

testEquals 0.00
testCompare 0.00
testMoney 0.00
testNullValueConstruction 0.00
testNullCurrencyConstruction 0.00
testSum 0.00
testAdd 0.00
testIncompatibleAdd 0.00
testSumCollection 0.00
testIncompatibleSumCollection 0.00
testSubtract 0.00
testIncompatibleSubtract 0.00
testIntMultiply 0.00
testBigDecimalMultiply 0.00
testAddPercent 0.00
testSubtractPercent 0.00
testAllocate 0.00
testAllocateMoneyRatios 0.00
testIncompatibleCompare 0.00
testPropertySum 0.00

DayTest

testAfter 0.00
testBefore 0.00
testYear 0.00
testMonth 0.00
testIncludes 0.00
testDayOfMonth 0.00
testPrecDay 0.00
testSuccDay 0.00
testBeforeDate 0.00
testAfterDate 0.00
testHighDay 0.00
testLowDay 0.00

EasterTest

testEaster 0.00

MonthParserTest

testCorrectMonth 0.00
testIncorrectMonth 0.00
testUnparseable 0.00

DefaultComparableSpecificationTest

testSatisfied 0.00
testLowBounded 0.00
testHighBounded 0.00

PhysicalDurationTest

testAfter 0.00
testBefore 0.00
testEquals 0.00
testNullBegin 0.00
testNullDayBegin 0.00
testNullEnd 0.00
testNullDayEnd 0.00
testMilliseconds 0.00
testSeconds 0.00
testMinutes 0.00
testHours 0.00
testDays 0.00
testRemainingSeconds 0.00
testRemainingMinutes 0.00
testRemainingHours 0.00
testNotEquals 0.00
testNullEquals 0.00
testIncompatibleEquals 0.00

DateSpecificationTest

testSatisfied 0.07

TimeIntervalHibernateTypeTest

testLoad 0.00
testLoadNull 0.00

YearTest

testNewYear 0.00
testNewYearFromDate 0.00

MoneySpecificationTest

testSatisfied 0.00

TimeIntervalFormatTest

testFormatDay 0.00
testFormatDayUs 0.00
testFormatMonth 0.00
testFormatMonthUs 0.00
testFormatYear 0.00
testFormatYearUs 0.00
testFormatIntervalOfDays 0.00
testFormatIntervalOfMonths 0.00
testFormatIntervalOfYears 0.00
testParseDay 0.00
testParseDayUs 0.00
testParseMonth 0.00
testParseMonthUs 0.00
testParseYear 0.00
testParseYearUs 0.00
testParseInterval 0.00

HqlDateSpecificationTest

testLowerBound 0.01
testHigherBound 0.01
testDoubleBound 0.01

CompositeDurationTest

testAfter 0.00
testBefore 0.00

CriteriaMoneySpecificationTest

testLowerBound 0.70
testHigherBound 0.00
testDoubleBound 0.00

TimeIntervalSpecificationTest

testSatisfied 0.00

HqlComparableSpecificationTest

testBoundedRange 0.00
testBoundedRangeNoAlias 0.00
testLowBoundedRange 0.00
testHighBoundedRange 0.00

DayIteratorTest

testNext 0.00
testHasNext 0.00

PercentTest

testMultiplier 0.00
testOf 0.00
testAddTo 0.00

ContinousRangeTest

testIncludes 0.00
testOverlaps 0.00
testEquality 0.00
testInequality 0.00
testBounding 0.00
testUnboundedRange 0.00
testMerge 0.00
testMergeLowerUnbounded 0.00
testMergeUpperUnbounded 0.00
testAbut 0.00
testGap 0.00
testGapFromUnbounded 0.00
testIntersect 0.00
testIntersectUnbound 0.00
testNoIntersect 0.00
testMinus 0.00
testMinusContained 0.00
testMinusNotContained 0.00
testMinusUnbound 0.00
testNoGap 0.00

RangeEachYear1MonthTest

testInvalidMonth 0.00
testNotIncludes 0.00
testIncludes 0.00

MonthTest

testAfter 0.00
testBefore 0.00
testNewMonth 0.00
testNewMonthFromDate 0.00
testNextMonth 0.00
testPreviousMonth 0.00
testClone 0.00
testEquals 0.00
testCompare 0.00
testStartDay 0.00
testEndDay 0.00
testFirstWeek 0.00
testLastWeek 0.00

EuroTest

testIncompatibleCompare 0.00

DurationFormatTest

testFormat 0.00

ConventionalDurationTest

testFromDays 0.02
testFromDaysWithDaylightSaving 0.00
testFromDaysDifferentYears 0.00
testFromMonthsSameMonth 0.00
testFromMonthsSameYear 0.00
testFromMonthsDifferentYear 0.00
testFromYearsSameYear 0.00
testFromYearsDifferentYear 0.00
testPlus 0.00

DayHibernateTypeTest

testLoad 0.01

TimeIntervalFactoryTest

testYear 0.00
testMonth 0.00
testDecember 0.00
testDay 0.00
testLastDayOfMonth 0.00
testLastDayOfYear 0.00
testHour 0.00
testGeneric 0.00
testNoLowBound 0.00
testNoHighBound 0.00

GenericTimeIntervalTest

testGenericTimeInterval 0.00
testLowBoundedTimeInterval 0.00
testHighBoundedTimeInterval 0.00
testDuration 0.00

EuroFormatTest

testParseCorrectMoney 0.00
testParseLittleMoney 0.00
testParseWrongMoney 0.00
testParseNullMoney 0.00
testParseEmptyMoney 0.00

TimeIntervalFormatTest

testFormatDay 0.00
testFormatMonth 0.00
testFormatYear 0.00
testParseDay 0.00
testParseMonth 0.00
testParseYear 0.00
testParseAlphaDay 0.00
testParseAlphaMonth 0.00
testParseDayInterval 0.00
testParseDayIntervalSameMonth 0.00
testParseWrongDayIntervalSameMonth 0.00
testParseMonthInterval 0.00
testParseMonthIntervalSameYear 0.00
testParseWrongMonthIntervalSameYear 0.00
testParseAlphaMonthInterval1 0.00
testParseAlphaMonthInterval2 0.00
testParseYearInterval 0.00
testParseYearIntervalWithDots 0.00
testParseLowOpenYearInterval 0.00
testParseHighOpenYearInterval 0.00
testParseAlphaDayInterval 0.00
testParseWrongOrderInterval 0.00
testUnparseableString 0.00
testFormatInterval 0.00
testFormatMonthInterval 0.00
testFormatYearInterval 0.00

DayFormatTest

testFormat 0.00
testParse 0.00
testWrongParse 0.00

AlphabeticalDayParserTest

testYesterday 0.00
testToday 0.00
testTomorrow 0.00

NumericRangeformatTest

testDoubleBoundedRangeFormat 0.00
testLowBoundedRangeFormat 0.00
testHighBoundedRangeFormat 0.00
testDoubleBoundedRangeParsing1 0.00
testDoubleBoundedRangeParsing2 0.00
testDoubleBoundedRangeParsing3 0.00
testDoubleBoundedRangeParsing4 0.00
testLowBoundedRangeParsing1 0.00
testLowBoundedRangeParsing2 0.00
testLowBoundedRangeParsing3 0.00
testLowBoundedRangeParsing4 0.00
testHighBoundedRangeParsing1 0.00
testHighBoundedRangeParsing2 0.00
testHighBoundedRangeParsing3 0.00
testHighBoundedRangeParsing4 0.00
testHighBoundedRangeParsing5 0.00
testSingleNumberParsing 0.00
testWrongStringParsing 0.00

RangeEachYear2MonthTest

testInvalidFirstMonth 0.00
testInvalidSecondMonth 0.00
testNotIncludes 0.00
testIncludes 0.00

HqlMoneySpecificationTest

testLowerBound 0.02
testHigherBound 0.01
testDoubleBound 0.01

MoneyHibernateTypeTest

testLoad 0.00