Surefire Report
Summary
[Summary] [Package List] [Test Cases]
Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|
650 | 0 | 0 | 0 | 100% | 18,06 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 |
---|---|---|---|---|---|---|
fr.inrae.agroclim.indicators.model.data.phenology | 35 | 0 | 0 | 0 | 100% | 0,760 s |
fr.inrae.agroclim.indicators.model.indicator.listener | 6 | 0 | 0 | 0 | 100% | 0,054 s |
fr.inrae.agroclim.indicators.xml | 7 | 0 | 0 | 0 | 100% | 5,465 s |
fr.inrae.agroclim.indicators.util | 35 | 0 | 0 | 0 | 100% | 1,072 s |
fr.inrae.agroclim.indicators.model.data | 28 | 0 | 0 | 0 | 100% | 0,047 s |
fr.inrae.agroclim.indicators.model.criteria | 43 | 0 | 0 | 0 | 100% | 0,191 s |
fr.inrae.agroclim.indicators.model.data.soil | 16 | 0 | 0 | 0 | 100% | 0,274 s |
fr.inrae.agroclim.indicators.exception | 15 | 0 | 0 | 0 | 100% | 0,161 s |
fr.inrae.agroclim.indicators.model.function.aggregation | 14 | 0 | 0 | 0 | 100% | 0,200 s |
fr.inrae.agroclim.indicators.model.function | 6 | 0 | 0 | 0 | 100% | 0,029 s |
fr.inrae.agroclim.indicators.model.indicator | 244 | 0 | 0 | 0 | 100% | 0,590 s |
fr.inrae.agroclim.indicators.model.data.climate | 27 | 0 | 0 | 0 | 100% | 0,390 s |
fr.inrae.agroclim.indicators.resources | 56 | 0 | 0 | 0 | 100% | 0,086 s |
fr.inrae.agroclim.indicators.model | 118 | 0 | 0 | 0 | 100% | 8,737 s |
Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
fr.inrae.agroclim.indicators.model.data.phenology
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
PhenologyCalculatorTest | 17 | 0 | 0 | 0 | 100% | 0,474 s | |
PhenologyCalculatorMethodsTest | 6 | 0 | 0 | 0 | 100% | 0,036 s | |
PhenologyLoaderTest | 1 | 0 | 0 | 0 | 100% | 0,047 s | |
StageDeltaTest | 1 | 0 | 0 | 0 | 100% | 0,015 s | |
PhenologicalModelTypeTest | 1 | 0 | 0 | 0 | 100% | 0,004 s | |
AnnualStageBuilderTest | 4 | 0 | 0 | 0 | 100% | 0,020 s | |
PhenologyFileLoaderTest | 3 | 0 | 0 | 0 | 100% | 0,021 s | |
RelativeAnnualStageCalculatorTest | 2 | 0 | 0 | 0 | 100% | 0,143 s |
fr.inrae.agroclim.indicators.model.indicator.listener
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
IndicatorEventTest | 3 | 0 | 0 | 0 | 100% | 0,014 s | |
PropertyChangeListenerTest | 1 | 0 | 0 | 0 | 100% | 0,040 s | |
CompositeIndicatorTest | 2 | 0 | 0 | 0 | 100% | 0 s |
fr.inrae.agroclim.indicators.xml
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
XsdTest | 1 | 0 | 0 | 0 | 100% | 3,553 s | |
XMLUtilTest | 5 | 0 | 0 | 0 | 100% | 1,892 s | |
DtdTest | 1 | 0 | 0 | 0 | 100% | 0,020 s |
fr.inrae.agroclim.indicators.util
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
DeepCopyHelperTest | 2 | 0 | 0 | 0 | 100% | 0,008 s | |
PathUtilsTest | 12 | 0 | 0 | 0 | 100% | 0,626 s | |
StringUtilsTest | 8 | 0 | 0 | 0 | 100% | 0,009 s | |
StageUtilsTest | 5 | 0 | 0 | 0 | 100% | 0,426 s | |
DateUtilsTest | 8 | 0 | 0 | 0 | 100% | 0,003 s |
fr.inrae.agroclim.indicators.model.data
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
DailyDataTest | 1 | 0 | 0 | 0 | 100% | 0 s | |
FileLoaderTest | 18 | 0 | 0 | 0 | 100% | 0,030 s | |
VariableTest | 2 | 0 | 0 | 0 | 100% | 0,001 s | |
ResourceManagerTest | 6 | 0 | 0 | 0 | 100% | 0,016 s | |
DataLoadingListenerHandlerTest | 1 | 0 | 0 | 0 | 100% | 0 s |
fr.inrae.agroclim.indicators.model.criteria
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
RelationalOperatorTest | 28 | 0 | 0 | 0 | 100% | 0,022 s | |
SimpleCriteriaTest | 6 | 0 | 0 | 0 | 100% | 0,027 s | |
FormulaCriteriaTest | 4 | 0 | 0 | 0 | 100% | 0,112 s | |
CompositeCriteriaTest | 5 | 0 | 0 | 0 | 100% | 0,030 s |
fr.inrae.agroclim.indicators.model.data.soil
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
SoilFileLoaderTest | 7 | 0 | 0 | 0 | 100% | 0,029 s | |
SoilLoaderProxyTest | 3 | 0 | 0 | 0 | 100% | 0,025 s | |
SoilCalculatorTest | 6 | 0 | 0 | 0 | 100% | 0,220 s |
fr.inrae.agroclim.indicators.exception
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
ErrorMessageTest | 2 | 0 | 0 | 0 | 100% | 0,088 s | |
ErrorTypeTest | 6 | 0 | 0 | 0 | 100% | 0,044 s | |
IndicatorsExceptionTest | 1 | 0 | 0 | 0 | 100% | 0,004 s | |
IndicatorsErrorCategoryTest | 6 | 0 | 0 | 0 | 100% | 0,025 s |
fr.inrae.agroclim.indicators.model.function.aggregation
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
JEXLFunctionTest | 4 | 0 | 0 | 0 | 100% | 0,120 s | |
MathMethodTest | 10 | 0 | 0 | 0 | 100% | 0,080 s |
fr.inrae.agroclim.indicators.model.function
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
NormalizationFunctionTest | 6 | 0 | 0 | 0 | 100% | 0,029 s |
fr.inrae.agroclim.indicators.model.indicator
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
TammFormulaTest | 10 | 0 | 0 | 0 | 100% | 0,214 s | |
QuotientTest | 2 | 0 | 0 | 0 | 100% | 0,009 s | |
PhotothermalQuotientTest | 2 | 0 | 0 | 0 | 100% | 0,021 s | |
DayOfYearTest | 2 | 0 | 0 | 0 | 100% | 0,001 s | |
IndicatorTest | 3 | 0 | 0 | 0 | 100% | 0,046 s | |
FrequencyTest | 4 | 0 | 0 | 0 | 100% | 0 s | |
MaxWaveLengthTest | 3 | 0 | 0 | 0 | 100% | 0,007 s | |
AverageTest | 4 | 0 | 0 | 0 | 100% | 0,048 s | |
SumTest | 2 | 0 | 0 | 0 | 100% | 0,001 s | |
DiffOfSumTest | 1 | 0 | 0 | 0 | 100% | 0,009 s | |
PhaseLengthTest | 2 | 0 | 0 | 0 | 100% | 0 s | |
FormulaTest | 20 | 0 | 0 | 0 | 100% | 0,117 s | |
AverageOfDiffTest | 2 | 0 | 0 | 0 | 100% | 0 s | |
ColdsumtminTest | 1 | 0 | 0 | 0 | 100% | 0,023 s | |
ImplementationsTest | 178 | 0 | 0 | 0 | 100% | 0,094 s | |
TammTest | 2 | 0 | 0 | 0 | 100% | 0 s | |
NumberOfWavesTest | 2 | 0 | 0 | 0 | 100% | 0 s | |
NumberOfDaysTest | 4 | 0 | 0 | 0 | 100% | 0 s |
fr.inrae.agroclim.indicators.model.data.climate
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
ClimaticResourceTest | 1 | 0 | 0 | 0 | 100% | 0,006 s | |
ClimateFileLoaderTest | 17 | 0 | 0 | 0 | 100% | 0,146 s | |
EtpPenmanMonteithFAOTest | 5 | 0 | 0 | 0 | 100% | 0,014 s | |
ClimaticDailyDataTest | 1 | 0 | 0 | 0 | 100% | 0,001 s | |
ClimateFileLoaderHourlyTest | 2 | 0 | 0 | 0 | 100% | 0,181 s | |
ClimateTest | 1 | 0 | 0 | 0 | 100% | 0,042 s |
fr.inrae.agroclim.indicators.resources
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
VersionTest | 3 | 0 | 0 | 0 | 100% | 0,013 s | |
I18nTest | 15 | 0 | 0 | 0 | 100% | 0,027 s | |
I18nPluralSuffixTest | 22 | 0 | 0 | 0 | 100% | 0,023 s | |
MessagesTest | 3 | 0 | 0 | 0 | 100% | 0,020 s | |
ResourcesTest | 13 | 0 | 0 | 0 | 100% | 0,003 s |
fr.inrae.agroclim.indicators.model
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
EvaluationRobertTest | 1 | 0 | 0 | 0 | 100% | 0,377 s | |
MMarjouTest | 2 | 0 | 0 | 0 | 100% | 1,099 s | |
LocalizedStringTest | 5 | 0 | 0 | 0 | 100% | 0,014 s | |
NameableTest | 9 | 0 | 0 | 0 | 100% | 0,018 s | |
StageDeltaEvaluationTest | 3 | 0 | 0 | 0 | 100% | 0,116 s | |
CulturalPracticesTest | 2 | 0 | 0 | 0 | 100% | 0,927 s | |
EvaluationEachDateTest | 5 | 0 | 0 | 0 | 100% | 0,210 s | |
EvaluationTest | 21 | 0 | 0 | 0 | 100% | 1,714 s | |
KnowledgeDailyTest | 11 | 0 | 0 | 0 | 100% | 0,037 s | |
EvaluationParametersTest | 1 | 0 | 0 | 0 | 100% | 0,098 s | |
KnowledgeHourlyTest | 3 | 0 | 0 | 0 | 100% | 0,033 s | |
KnowledgeTest | 36 | 0 | 0 | 0 | 100% | 1,563 s | |
EvaluationSettingsTest | 1 | 0 | 0 | 0 | 100% | 0,051 s | |
EvaluationWithoutAggregationTest | 7 | 0 | 0 | 0 | 100% | 0,437 s | |
EvaluationHourlyTest | 3 | 0 | 0 | 0 | 100% | 0,278 s | |
RaidayMeantTest | 4 | 0 | 0 | 0 | 100% | 1,717 s | |
EvalutationCustomHeadersTest | 1 | 0 | 0 | 0 | 100% | 0,033 s | |
JEXLFormulaTest | 3 | 0 | 0 | 0 | 100% | 0,015 s |
Test Cases
[Summary] [Package List] [Test Cases]
VersionTest
getBuildDate | 0,013 s | |
getVersionAndBuildDate | 0 s | |
getRevision | 0 s |
EvaluationRobertTest
compute | 0,360 s |
TammFormulaTest
QuotientTest
firstDayOfFrost | 0 s | |
injectedParameter | 0 s |
SoilFileLoaderTest
loadDifferentCaseHeaders | 0,015 s | |
emptyFile | 0 s | |
emptySeparator | 0 s | |
load | 0,012 s | |
notexistantFile | 0,001 s | |
emptyHeaders | 0 s | |
soilFile | 0 s |
PhenologyCalculatorTest
MMarjouTest
computable | 0,092 s | |
raidaysInfNbDaysInPhase | 1,007 s |
PhotothermalQuotientTest
computeSingleValue | 0,020 s | |
withNormalization | 0 s |
JEXLFunctionTest
expression | 0,104 s | |
dollarVariableNamesWithNumberParams | 0,009 s | |
dollarVariableNames | 0 s | |
numericValue | 0,002 s |
LocalizedStringTest
getStringNull | 0 s | |
cloneTest | 0 s | |
getStringNullLocale | 0 s | |
getStringUnknownLocale | 0 s | |
getStringEmpty | 0 s |
NameableTest
getName[0] | 0 s | |
getName[1] | 0 s | |
getName[2] | 0 s | |
getName[3] | 0 s | |
getName[4] | 0,015 s | |
getName[5] | 0 s | |
getName[6] | 0 s | |
getName[7] | 0,001 s | |
getName[8] | 0,001 s |
ErrorMessageTest
getMessageWithArguments | 0,068 s | |
getMessageWithoutArguments | 0 s |
IndicatorEventTest
shouldNotRaiseException | 0,013 s | |
shouldRaiseException | 0,001 s | |
shouldRaiseNullPointerException | 0 s |
I18nTest
RelationalOperatorTest
DayOfYearTest
firstDayOfFrost | 0 s | |
lastDayOfFrost | 0 s |
MathMethodTest
minNegativeZero | 0 s | |
avgNaN | 0 s | |
maxPositiveZero | 0 s | |
maxNaN | 0 s | |
minNaN | 0 s | |
avgNull | 0 s | |
avg | 0 s | |
max | 0,001 s | |
min | 0 s | |
i18n | 0,071 s |
PhenologyCalculatorMethodsTest
cumjvi | 0,027 s | |
rfpi | 0 s | |
rfvi | 0,009 s | |
cumjviOneValue | 0 s | |
nbOfStages | 0 s | |
photoperiod | 0 s |
PhenologyLoaderTest
load | 0,046 s |
DailyDataTest
getValue | 0 s |
ErrorTypeTest
subCodeAreUnique[0] | 0,001 s | |
i18n[0] | 0,013 s | |
subCodeAreUnique[1] | 0,001 s | |
i18n[1] | 0,001 s | |
subCodeAreUnique[2] | 0,001 s | |
i18n[2] | 0 s |
StageDeltaTest
compareTo | 0,011 s |
IndicatorsExceptionTest
getLocalizedMessage | 0 s |
NormalizationFunctionTest
exponential | 0,005 s | |
sigmoid6225 | 0,002 s | |
linear | 0,001 s | |
normal | 0,001 s | |
multilinear | 0,004 s | |
sigmoid | 0,001 s |
DeepCopyHelperTest
deepCopyList | 0,007 s | |
deepCopyMap | 0 s |
StageDeltaEvaluationTest
computable | 0,022 s | |
compute | 0,044 s | |
hasStageDelta | 0,050 s |
SimpleCriteriaTest
serializeInferiorToThreshold | 0 s | |
unserializeInferiorToThreshold | 0,014 s | |
unserializeGT | 0,007 s | |
gt | 0 s | |
le | 0 s | |
inferiorToThreshold | 0 s |
IndicatorTest
setIndicatorCategory | 0,001 s | |
readKnowledgeNotes | 0 s | |
readIndicatorNotes | 0 s |
FileLoaderTest
ClimaticResourceTest
getClimaticDataByPhaseAndYear | 0,001 s |
CulturalPracticesTest
computable | 0,066 s | |
compute | 0,857 s |
ClimateFileLoaderTest
VariableTest
getTimeScale | 0 s | |
getByTimeScaleAndTypeDailyClimatic | 0 s |
EvaluationEachDateTest
indicators | 0,001 s | |
years | 0,008 s | |
checkData | 0,030 s | |
dataInPhase | 0,003 s | |
noDataOutOfPhase | 0,001 s |
SoilLoaderProxyTest
noSettings | 0,001 s | |
calculatorSettings | 0,007 s | |
fileSettings | 0,002 s |
XsdTest
validate | 3,314 s |
EvaluationTest
KnowledgeDailyTest
PathUtilsTest
FrequencyTest
isComputableWithCriteria | 0 s | |
isComputableWithNoCriteria | 0 s | |
computeSingleValueWithoutCriteria | 0 s | |
isComputableWithoutVariable | 0 s |
EtpPenmanMonteithFAOTest
avignon | 0,003 s | |
compareWithRResults | 0 s | |
missingRadiation | 0,001 s | |
missingRh | 0,001 s | |
missingWind | 0,001 s |
FormulaCriteriaTest
formulaWithParameter | 0,086 s | |
wrongFunction | 0,016 s | |
formulaFunction | 0,005 s | |
between | 0 s |
SoilCalculatorTest
climaticDailyDataNull | 0 s | |
loadInEvaluation | 0,116 s | |
comparisonWithReference | 0,092 s | |
load | 0 s | |
testHelperDate | 0,008 s | |
stagesNull | 0 s |
MaxWaveLengthTest
computeSingleValueFullYear | 0 s | |
computeSingleValueSomeDays | 0 s | |
withoutCriteria | 0 s |
AverageTest
computeSingleValue | 0 s | |
mint | 0,020 s | |
serialization | 0,013 s | |
isComputable | 0 s |
XMLUtilTest
loadEvaluationSettingsAndSave | 1,562 s | |
loadKnowledge | 0,133 s | |
saveEvaluation | 0,101 s | |
loadFileNotFound | 0,015 s | |
loadEvaluationSettings | 0,066 s |
ClimaticDailyDataTest
getDate | 0 s |
SumTest
noCriteria | 0 s | |
noThreshold | 0,001 s |
EvaluationParametersTest
getParameterDefaults | 0,097 s |
DiffOfSumTest
sumwd | 0,009 s |
PhenologicalModelTypeTest
getName | 0,001 s |
AnnualStageBuilderTest
getConfigurationErrors[0] | 0,008 s | |
load[0] | 0 s | |
getConfigurationErrors[1] | 0 s | |
load[1] | 0 s |
I18nPluralSuffixTest
StringUtilsTest
joinEnumNames | 0,008 s | |
joinList | 0 s | |
joinArray | 0 s | |
joinListNull | 0 s | |
removeTrailingNull | 0 s | |
joinArrayNull | 0 s | |
isNumeric | 0 s | |
isBlank | 0 s |
KnowledgeHourlyTest
avgThi | 0 s | |
cloneTest | 0,004 s | |
thihours | 0,001 s |
DtdTest
validate | 0,011 s |
KnowledgeTest
PhaseLengthTest
computeSingleValue | 0 s | |
isComputable | 0 s |
EvaluationSettingsTest
initializeKnowledge | 0,041 s |
StageUtilsTest
checkWrong | 0,260 s | |
repr | 0,027 s | |
checkGood | 0,100 s | |
sanitizeStagesForSoil | 0,018 s | |
getDeltasFromStages | 0,008 s |
PropertyChangeListenerTest
cdaystmin | 0,039 s |
FormulaTest
ResourceManagerTest
consistencyYears | 0 s | |
consistencyEmptyResources | 0,004 s | |
consistencyNoErrors | 0,012 s | |
consistencyOnlyClimatic | 0 s | |
consistencyMissingClimaticDays | 0 s | |
error18nKey | 0 s |
DataLoadingListenerHandlerTest
addDataLoadingListener | 0 s |
AverageOfDiffTest
computeSingleValue | 0 s | |
isComputable | 0 s |
DateUtilsTest
midnight | 0 s | |
getDomGetDoy | 0 s | |
getDate | 0 s | |
getYear | 0 s | |
asLocalDate | 0 s | |
leapYears | 0 s | |
notLeapYears | 0 s | |
getDate2 | 0 s |
EvaluationWithoutAggregationTest
isAggregationMissing | 0,046 s | |
computable | 0,040 s | |
save | 0,093 s | |
type | 0,046 s | |
compute | 0,076 s | |
isOnErrorOrIncomplete | 0,080 s | |
setType | 0,053 s |
IndicatorsErrorCategoryTest
EvaluationHourlyTest
computable | 0,041 s | |
getTimeScale | 0,049 s | |
compute | 0,188 s |
CompositeIndicatorTest
equals | 0 s | |
addThenRemove | 0 s |
PhenologyFileLoaderTest
RelativeAnnualStageCalculatorTest
from[0] | 0,117 s | |
load[0] | 0 s |
CompositeCriteriaTest
or | 0 s | |
and | 0 s | |
xor | 0 s | |
sup0 | 0,029 s | |
inf10 | 0 s |
ColdsumtminTest
test | 0,022 s |
RaidayMeantTest
computeUsingPhenologyCalculator | 0,756 s | |
computable | 0,020 s | |
compute | 0,896 s | |
criteria | 0,032 s |
ClimateFileLoaderHourlyTest
load | 0,125 s | |
load1to24hours | 0,055 s |
EvalutationCustomHeadersTest
compute | 0,033 s |
ImplementationsTest
JEXLFormulaTest
useFormulaCriteria | 0,007 s | |
useMathMethod | 0,008 s | |
getVariables | 0 s |
ClimateTest
load | 0,032 s |
MessagesTest
getStringMissing | 0 s | |
getStringExists | 0 s | |
formatExists | 0 s |
TammTest
exp | 0 s | |
isComputable | 0 s |
NumberOfWavesTest
computeSingleValue | 0 s | |
withoutCriteria | 0 s |
NumberOfDaysTest
testRainGreaterThanEtp | 0 s | |
testCompute | 0 s | |
testComputeSingleValue | 0 s | |
withoutCriteria | 0 s |