Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
199 0 1 0 99.497% 7.777

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

Package List


Package Tests Errors Failures Skipped Success Rate Time
net.sf.eos.hadoop.mapred.cooccurrence 15 0 0 0 100% 2.745
net.sf.eos.util 38 0 0 0 100% 0.092
net.sf.eos.entity 5 0 0 0 100% 0.124
net.sf.eos.document 15 0 0 0 100% 0.033
net.sf.eos.util.functions 13 0 0 0 100% 0.054
net.sf.eos.config 13 0 0 0 100% 0.055
net.sf.eos.hadoop.mapred 6 0 0 0 100% 0.16
net.sf.eos.io 12 0 0 0 100% 0.018
net.sf.eos.hadoop.mapred.decompose 4 0 0 0 100% 2.649
net.sf.eos.lucene 12 0 0 0 100% 0.023
net.sf.eos.search 20 0 0 0 100% 0.047
net.sf.eos.sentence 2 0 0 0 100% 0.008
net.sf.eos.trie 2 0 1 0 50% 0.377
net.sf.eos.hadoop.mapred.index 1 0 0 0 100% 1.244
net.sf.eos.analyzer 41 0 0 0 100% 0.148

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

net.sf.eos.hadoop.mapred.cooccurrence

Class Tests Errors Failures Skipped Success Rate Time
DictionaryBasedEntityRecognizerMapReduceTest 1 0 0 0 100% 1.177
MultiIdDictionaryBasedEntityRecognizerMapReduceTest 1 0 0 0 100% 1.164
SimpleDictionaryBasedEntityRecognizerMapperTest 5 0 0 0 100% 0.134
SimpleDictionaryBasedEntityRecognizerReducerTest 8 0 0 0 100% 0.27

net.sf.eos.util

Class Tests Errors Failures Skipped Success Rate Time
CompositionsTest 14 0 0 0 100% 0.045
ConditionsTest 10 0 0 0 100% 0.017
PairTest 6 0 0 0 100% 0.009
SupplierFactoryTest 8 0 0 0 100% 0.021

net.sf.eos.entity

Class Tests Errors Failures Skipped Success Rate Time
SimpleLongestMatchDictionaryBasedEntityRecognizerTest 5 0 0 0 100% 0.124

net.sf.eos.document

Class Tests Errors Failures Skipped Success Rate Time
EosDocumentEqualsTest 6 0 0 0 100% 0.009
XmlSerializerTest 9 0 0 0 100% 0.024

net.sf.eos.util.functions

Class Tests Errors Failures Skipped Success Rate Time
ConfigurationKeyIntrospectorFunctionTest 10 0 0 0 100% 0.047
DefaultValueConfigurationKeyFunctionTest 3 0 0 0 100% 0.007

net.sf.eos.config

Class Tests Errors Failures Skipped Success Rate Time
ConfigurationTest 13 0 0 0 100% 0.055

net.sf.eos.hadoop.mapred

Class Tests Errors Failures Skipped Success Rate Time
AbstractEosDriverTest 6 0 0 0 100% 0.16

net.sf.eos.io

Class Tests Errors Failures Skipped Success Rate Time
NewlineReplaceWriterTest 12 0 0 0 100% 0.018

net.sf.eos.hadoop.mapred.decompose

Class Tests Errors Failures Skipped Success Rate Time
CombiningSentencerReducerTest 1 0 0 0 100% 1.23
SentencerMapperTest 1 0 0 0 100% 1.415
TextMetaKeyGeneratorTest 2 0 0 0 100% 0.004

net.sf.eos.lucene

Class Tests Errors Failures Skipped Success Rate Time
DefaultEosQueryTest 12 0 0 0 100% 0.023

net.sf.eos.search

Class Tests Errors Failures Skipped Success Rate Time
UserQueryParserTest 20 0 0 0 100% 0.047

net.sf.eos.sentence

Class Tests Errors Failures Skipped Success Rate Time
DefaultSentencerTest 2 0 0 0 100% 0.008

net.sf.eos.trie

Class Tests Errors Failures Skipped Success Rate Time
ByteArrayKeyAnalyzerTest 1 0 1 0 0% 0.376
SaxTrieLoaderTest 1 0 0 0 100% 0.001

net.sf.eos.hadoop.mapred.index

Class Tests Errors Failures Skipped Success Rate Time
SimpleIndexTest 1 0 0 0 100% 1.244

net.sf.eos.analyzer

Class Tests Errors Failures Skipped Success Rate Time
DefaultTextBuilderTest 2 0 0 0 100% 0.002
SentenceTokenizerTest 2 0 0 0 100% 0.005
SpaceTextBuilderTest 10 0 0 0 100% 0.019
StopTokenFilterTest 3 0 0 0 100% 0.06
SurroundingTokenFilterTest 19 0 0 0 100% 0.053
WhitespaceTokenizerTest 5 0 0 0 100% 0.009

Test Cases

DefaultTextBuilderTest

simpleFactoryCreation 0
notSpaceBuilderFactoryCreation 0.001

SentenceTokenizerTest

simple 0.003
simpleEmpty 0

SpaceTextBuilderTest

tokenBuilderWithNullTokenList 0.001
tokenBuilderWithTwoTokenList 0.002
tokenBuilderWithTwoTokenArray 0.001
tokenBuilderWithOneTokenArray 0.002
tokenBuilderWithNullTokenArray 0.001
tokenBuilderWithEmptyTokenArray 0.001
charSequenceBuilderWithNullCharSequenceArray 0.002
charSequenceBuilderWithEmptySequences 0.001
charSequenceBuilderWithOneSequences 0
charSequenceBuilderWithTwoSequences 0

StopTokenFilterTest

simpleStopWords 0.023
simpleStopWordsAtEnd 0.001
simpleStopWordsNoWords 0.001

SurroundingTokenFilterTest

correctSurroundingCharsWithEndingDoubleQuote 0.002
correctSurroundingCharsWithStartingDoubleQuote 0.001
correctSurroundingCharsWithStartingAndEndingDoubleQuote 0.001
correctSurroundingCharsWithStartingLeftParenthesis 0.001
correctSurroundingCharsWithStartingLeftParenthesisAndEndingRightParenthesis 0.001
correctSurroundingCharsWithEndingRightParenthesis 0.001
correctSurroundingCharsWithStartingLessThanSign 0.001
correctSurroundingCharsWithTwoStartingLessThanSign 0.001
correctSurroundingCharsWithStartingLessThanSignAndEndingGreaterThanSign 0.001
correctSurroundingCharsWithStartingLessThanSignAndTwoEndingGreaterThanSign 0.001
correctSurroundingCharsWithEndingGreaterThanSign 0.002
correctSurroundingCharsWithStartingLeftSquareBracket 0.001
correctSurroundingCharsWithStartingLeftSquareBracketAndEndingRightSquareBracket 0.001
correctSurroundingCharsWithEndingRightSquareBracket 0.001
correctSurroundingCharsWithStartingLeftCurlyBracket 0.001
correctSurroundingCharsWithStartingLeftCurlyBracketAndEndingRightCurlyBracket 0.001
correctSurroundingCharsWithEndingRightCurlyBracket 0.001
correctSurroundingCharsWithStartingAndMiddleRoundBrace 0.001
correctSurroundingCharsWithNull 0.002

WhitespaceTokenizerTest

simpleWhitespaceTest 0
simpleResetWhitespaceTest 0
simpleResetWhitespaceWithDefaultConstructorTest 0.001
fromSourceTokenizer 0.002
fromResettableSourceTokenizer 0.001

ConfigurationTest

creation 0
simpleSetAndGet 0.001
defaultGet 0.001
booleanGet 0.001
booleanGetWithIllegalValue 0
booleanGetWithNoValue 0.001
intGet 0.001
intGetWithIllegalValue 0
intGetWithNoValue 0.001
floatGet 0
floatGetWithIllegalValue 0
floatGetWithNoValue 0
remove 0

EosDocumentEqualsTest

differentText 0.004
differentTitle 0.001
differentMeta 0
nullOther 0
otherType 0
same 0.001

XmlSerializerTest

serializeComplexDocument 0.002
serializeTextAndTitleWithNewline 0.001
serializeTextWithNewline 0.001
serializeTitleWithNewline 0.001
serializeOnlyMeta 0.001
deserializeTitle 0.003
deserializeText 0.006
deserializeTextAndTitle 0.003
deserializeTextAndTitleAnd2Meta 0.002

SimpleLongestMatchDictionaryBasedEntityRecognizerTest

simple 0.109
longestMatch 0.001
longestMatch2 0.001
simpleNextWithIllegalStateException 0.002
matchWithId 0.001

AbstractEosDriverTest

longDestination 0.017
shortDestination 0.056
longSource 0.011
shortSource 0.013
toolRunner 0.054
illegalState 0.001

DictionaryBasedEntityRecognizerMapReduceTest

testSimpleMapReduce 1.176

MultiIdDictionaryBasedEntityRecognizerMapReduceTest

testSimpleMapReduce 1.163

SimpleDictionaryBasedEntityRecognizerMapperTest

validTrie 0.037
validResettableTokenizer 0.013
validSerializer 0.009
validDeserialize 0.056
validSerialize 0.013

SimpleDictionaryBasedEntityRecognizerReducerTest

combineDocumentWithFromAndToHasTextNull 0.103
combineDocumentWithToHasTextNull 0.064
combineDocumentWithFromHasTextNull 0.021
combineDocumentWithFromAndToHasTitleNull 0.008
combineDocumentWithToHasTitleNull 0.008
combineDocumentWithFromHasTitleNull 0.038
simpleCombineDocumentWithNullFrom 0.008
simpleCombineDocument 0.01

CombiningSentencerReducerTest

testSimpleJob 1.228

SentencerMapperTest

testSimpleJob 1.411

TextMetaKeyGeneratorTest

withNoMetadataKey 0.001
withEosDocumentMetaDate 0.002

SimpleIndexTest

testCreateIndex 1.229

NewlineReplaceWriterTest

lineFeedReplacementForString 0.002
lineCarriageReturnReplacementForString 0.001
lineFeedReplacementForChar 0
lineCarriageReturnReplacementForChar 0
lineFeedReplacementForCharArray1 0.001
lineCarriageReturnReplacementForCharArray1 0.002
lineFeedReplacementForCharArray2 0.001
lineCarriageReturnReplacementForCharArray2 0.001
lineFeedReplacementForCharArray3 0.001
lineCarriageReturnReplacementForCharArray3 0.001
lineFeedReplacementForCharArray4 0.001
lineCarriageReturnReplacementForCharArray4 0.001

DefaultEosQueryTest

creation 0.006
simpleContent 0.002
simpleNotContent 0
andContent 0
andNotContent 0
orContent 0.001
simpleMeta 0.001
mndMeta 0.001
orMeta 0.001
andNotMeta 0.001
andMetaRange 0
orMetaRange 0.001

UserQueryParserTest

realWorldSearchTermsFromMedline 0.003
removeNewLinesWithNewline 0.001
removeNewLinesWithCarriageReturn 0.001
removeNewLinesWithFormFeed 0.001
splitSimpleTermsWithNoSpace 0.001
splitSimpleTermsWithTrailingSpace 0.001
splitSimpleTermsWithLeadingAndTrailingSpace 0.001
splitSimpleTermsWithTwoTermTabDelimited 0.002
simpleSearchTerm 0
simpleWithTwoSearchTermWithspaceSeparated 0.001
simpleWithOneCompundSearchTerm 0.001
simpleWithOneCompundSearchTermWithLeadingSpace 0.001
simpleWithOneCompundSearchTermWithTrailingSpace 0
simpleWithOneCompundSearchTermWithWhitespace 0.001
simpleWithOneCompundSearchTermWithWhitespaceAndNewline 0
simpleWithTwoSearchTermsOneIsACompound 0.002
simpleWithTwoSearchTermsAndTrailingCompound 0.001
simpleWithTwoSearchTermCompounds 0.001
simpleWithTwoSearchTermCompoundsNotClosing 0.001
withNull 0

DefaultSentencerTest

toSentence 0.004
toSentenceHashMap 0.003

ByteArrayKeyAnalyzerTest

byteArrayTest 0.374
expected:<29287> but was:<null>

SaxTrieLoaderTest

dummy 0

CompositionsTest

functionCompositionWithNullAsFromEntity 0.002
functionCompositionWithNullAsToEntity 0.002
validFunctionComposition 0.003
supplierCompositionWithNullProvider 0.002
supplierCompositionWithNullFunction 0.002
validSupplierComposition 0.002
predicateCompositionWithNullFunction 0.003
preciateCompositionWithNulPredicate 0.001
validPredicateComposition 0.002
composeRuleWithNullPredicate 0.004
composeRuleWithNullTrueFunction 0.003
composeRuleWithNullFalseFunction 0.001
composeRuleWithTruePredicate 0.003
composeRuleWithFalsePredicate 0.005

ConditionsTest

testCheckArgumentNotNullWithNull 0.001
testCheckArgumentNotNull 0.001
testCheckArgumentNotNullWithMessageAndNullValue 0
testCheckArgumentNotNullWithMessageWithValue 0.001
testCheckArgumentWithFalse 0.002
testCheckArgumentWithTrue 0
testCheckArgumentWithFalseWithMessage 0
testCheckStateWithFalse 0.001
testCheckStateWithTrue 0.001
testCheckStateWithFalseWithMessage 0.002

ConfigurationKeyIntrospectorFunctionTest

creation 0.007
simpleConfigurationKey 0.012
nullToApply 0
nullClassOfSupportIsNull 0
nullValueOfSupportIsNull 0.001
noConfigurationKey 0.001
noPublicConfigurationKey 0.002
noFinalConfigurationKey 0.001
noStaticConfigurationKey 0.002
privateConfigurationKey 0.001

DefaultValueConfigurationKeyFunctionTest

creation 0.001
simpleDefaultValue 0.002
nullValue 0.001

PairTest

creation 0.002
createWithNull 0
equalsWithSameInstance 0
equalsWithSameValue 0
equalsWithNull 0
equalsWithNullValue1 0.003

SupplierFactoryTest

creatInstanceWithClass 0.003
creatInstanceWithClassAsNull 0.001
creatInstanceWithConfigurableProvider 0.01
creatInstanceWithConfigurableSupplierWithNullClass 0
creatInstanceWithConfigurableSupplierWithNullConfiguration 0
creatInstanceWithClassWithConfigurationAndName 0.001
creatInstanceWithClassWithConfigurationAndDefaultName 0.001
creatInstanceWithClassWithConfigurationAndNoDefaultName 0

Failure Details


byteArrayTest
java.lang.AssertionError: expected:<29287> but was:<null>