Summary
[Summary] [Package List] [Test Cases]
Tests | Errors | Failures | Skipped | Success Rate | Time |
---|
103 | 4 | 6 | 0 | 90.291% | 5.196 |
Note: failures are anticipated and checked for with assertions while errors are unanticipated.
Package List
[Summary] [Package List] [Test Cases]
Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
junitx.ddtunit.usecases
| Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|
 | UserBeanTest | 1 | 0 | 0 | 0 | 100% | 0.056 |
junitx.ddtunit.data.processing
junitx.ddtunit.sandbox
| Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|
 | ParserTest | 1 | 1 | 0 | 0 | 0% | 0.064 |
Test Cases
[Summary] [Package List] [Test Cases]
ActualTest
 | testMapMethod | 0.281 |
 | testCollectionMethod | 0.002 |
DDTTestDataExceptionTest
 | testRetrievalOfEmptyClusterDataSet | 0.026 |
 | testParsingErrorBehavior | 0.071 |
| Wrong message of caught exception expected:<No testdata provided for class id 'DbRepositoryAccessTest' in testresource '/junitx/ddtunit/data/DDT-DefectXMLTest.xml' Check if referred class id in xml resources matches definition of initTestData(resource, classId) inside of your testclass...> but was:<Error during parsing of xml testresource Resource 'file:/Users/jgellien/workspace/ddtunit/target/test-classes/junitx/ddtunit/data/DDT-DefectXMLTest.xml' line/column 16/75 Caused by:org.xml.sax.SAXParseException - cvc-complex-type.3.2.2: Attribute 'wrong' is not allowed to appear in element 'obj'...> | |
| junitx.framework.ComparisonFailure: Wrong message of caught exception expected:<No testdata provided for class id 'DbRepositoryAccessTest' in testresource '/junitx/ddtunit/data/DDT-DefectXMLTest.xml'Check if referred class id in xml resources matches definition ofinitTestData(resource, classId) inside of your testclass...> but was:<Error during parsing of xml testresourceResource 'file:/Users/jgellien/workspace/ddtunit/target/test-classes/junitx/ddtunit/data/DDT-DefectXMLTest.xml' line/column 16/75Caused by:org.xml.sax.SAXParseException - cvc-complex-type.3.2.2: Attribute 'wrong' is not allowed to appear in element 'obj'...>at junitx.framework.Assert.assertEquals(Assert.java:120)at junitx.ddtunit.data.DDTTestDataExceptionTest.testParsingErrorBehavior(DDTTestDataExceptionTest.java:97) | |
ObjectAsserterTest
 | testIsContainedIn | 0.164 |
 | testIsInRange | 0.005 |
ContentCreatorActionTest
 | testSingleContentForSubelement | 0.001 |
 | testMultipleContentActionProcessing | 0.001 |
DateCreatorActionTest
 | testShortFormat | 0.004 |
 | testspecialFormat | 0.013 |
EngineTest
 | testObjectProcessing | 0 |
DDTEntityResolverTest
 | testSystemIdMapping | 0.001 |
 | testDDTSystemIdMapping | 0.001 |
ProcessClassGlobalObjectsTest
 | testDirectReadOnScope | 0.048 |
 | testLocalGlobalScopeAccess | 0.002 |
SubelementCreatorActionTest
 | testActionSubelementCreator | 0.002 |
TypeAbbreviatorTest
 | testResolve | 0.043 |
 | testToString | 0.001 |
VerifyBeanGetNameBugTest
 | testGetNameBeanCreation | 0.097 |
VerifyTestOrderExecutionTest
 | testMethodTestOrder | 0.155 |
DDTExceptionClassTest
 | testCreateSingleException | 0 |
 | testCreateDoubleException | 0.001 |
DDTRunMonitorTest
 | testRunStandardTestCase | 0.013 |
 | testRunDDTTestCase | 0.174 |
 | testGetInstance | 0 |
ExceptionHandlerTest
 | testProcessUnknownException | 0.001 |
 | testProcessInvocationTargetExNoAsserts | 0.001 |
 | testProcessExpectedException | 0 |
 | testCheckOnExpectedException | 0.001 |
ExecutionResultTest
 | testRunThreeMethodTestsNoProblem | 0.048 |
 | testRunThreeMethodTestsOneAssertFailedException | 0.012 |
| Wrong exepction message in JUnit failure expected:<...my-second-testcase) []Wrong isEqual assert...> but was:<...my-second-testcase) [ Assert(result):]Wrong isEqual assert...> | |
| junit.framework.ComparisonFailure: Wrong exepction message in JUnit failure expected:<...my-second-testcase) []Wrong isEqual assert...> but was:<...my-second-testcase) [Assert(result):]Wrong isEqual assert...>at junit.framework.Assert.assertEquals(Assert.java:81)at junitx.ddtunit.ExecutionResultTest.testRunThreeMethodTestsOneAssertFailedException(ExecutionResultTest.java:126) | |
 | testRunThreeMethodTestsOneAssertFailedOneException | 0.007 |
| Wrong exception message in JUnit failure expected:<...my-second-testcase) []Wrong isEqual assert...> but was:<...my-second-testcase) [ Assert(result):]Wrong isEqual assert...> | |
| junit.framework.ComparisonFailure: Wrong exception message in JUnit failure expected:<...my-second-testcase) []Wrong isEqual assert...> but was:<...my-second-testcase) [Assert(result):]Wrong isEqual assert...>at junit.framework.Assert.assertEquals(Assert.java:81)at junitx.ddtunit.ExecutionResultTest.testRunThreeMethodTestsOneAssertFailedOneException(ExecutionResultTest.java:175) | |
CollectionContainerModifierTest
 | testContainer | 0.344 |
ProcessArrayDataTest
 | testArrayObjectType | 0.202 |
 | testSpecialCaseArrayObjectType | 0.002 |
 | testArrayOfCollections | 0.002 |
 | testArrayOfBeanObjects | 0.002 |
ProcessBeansValuesTest
 | testReadBeanField | 0.148 |
 | testReadSimpleVO | 0.008 |
 | testNestedComplexFields | 0.002 |
 | testPrimitiveFields | 0.001 |
ProcessCollectionTypeTest
 | testReadVector | 0.258 |
 | testReadNullVector | 0.001 |
 | testReadNestedCollection | 0.002 |
 | testReadNestedMixedType | 0.001 |
 | testArrayFromCollection | 0.002 |
 | testDoubleNestedCollectionInAssert | 0.001 |
 | testIdentifyCollection | 0.001 |
 | testNestedVoWithCollection | 0.001 |
ProcessComparableDataTest
 | testComparableType | 0.103 |
ProcessConstantValuesTest
 | testConstantsAsObjectsAndFields | 0.132 |
 | testConstantsAsContainerEntries | 0.013 |
 | testJDK5Enumerator | 0.002 |
 | testEnumerationElement | 0.002 |
ProcessConstructorValuesTest
 | testReadConstructor | 0.121 |
 | testGenericWithComplexField | 0.007 |
 | testCollectionWithConstructorElements | 0.002 |
 | testComplexWithConstructorCollectionArg | 0.001 |
ProcessDateDataTest
 | testDateType | 0.137 |
 | testSpecificDateType | 0.004 |
ProcessExpectedExceptionErrorTest
 | testDefinedbutNotRaisedException | 0.04 |
ProcessExpectedExceptionTest
 | testProcessExpectedException | 0.054 |
ProcessGenericValuesTest
 | testReadSimpleVO | 0.159 |
 | testNestedComplexFields | 0.001 |
 | testPrimitiveFields | 0.002 |
ProcessMapTypeTest
 | testReadMap | 0.517 |
 | testReadSpecialMap | 0.001 |
 | testReadMapAsField | 0.001 |
 | testReadMapAsCollectionMember | 0.045 |
 | testArrayFromMap | 0.003 |
ProcessMethodCallValuesTest
 | testCreateFromMethodCall | 0.08 |
ProcessObjectReferenceTest
 | testOneObjectReference | 0.259 |
 | testReferenceTransitivity | 0.004 |
 | testReferenceOnSubelement | 0.003 |
ProcessSetTypeTest
 | testReadNestedMixedType | 0.189 |
| method testReadNestedMixedType - Total: 2, Errors: 1, Failures: 1 E-(myFirstShorthandVectorMultiType) java.lang.Integer cannot be cast to java.util.Collection F-(myFirstShorthandVectorSingleTypeExtraShort) Assert(secondEntry):Wrong isEqual assert on (multiline) string [position 0] expected:<1.2> but was:<2.2> Assert(firstEntry):Wrong isEqual assert on (multiline) string [position 0] expected:<1.1> but was:<2.1> | |
| junitx.ddtunit.DDTException: method testReadNestedMixedType - Total: 2, Errors: 1, Failures: 1 | |
 | testReadSet | 0.009 |
 | testReadNullSet | 0.001 |
 | testReadNestedSet | 0.002 |
 | testArrayFromSet | 0.007 |
| method testArrayFromSet - Total: 2, Errors: 0, Failures: 2 F-(readArrayFromSet) Assert(result):[array length] expected:<2> but was:<3> F-(readArrayFromSetShortcut) Assert(result):Wrong isEqual assert (result) on arrays [array length] expected:<2> but was:<3> | |
| junit.framework.AssertionFailedError: method testArrayFromSet - Total: 2, Errors: 0, Failures: 2 | |
ProcessStringDataTest
 | testStringType | 0.078 |
 | testStringTypeByLength | 0.001 |
DDTJUnit4ClassRunnerTest
 | simpleJUnitAssert | 0.032 |
 | retrieveObjectData | 0.006 |
ParserTest
 | testParseElementWithBaseObject | 0.063 |
| Error during parsing of xml testresource Resource 'null' line/column 1/94 Caused by:org.xml.sax.SAXParseException - cvc-complex-type.3.2.2: Attribute 'baseid' is not allowed to appear in element 'obj'. | |
| junitx.ddtunit.DDTException: Error during parsing of xml testresourceResource 'null' line/column 1/94Caused by:org.xml.sax.SAXParseException - cvc-complex-type.3.2.2: Attribute 'baseid' is not allowed to appear in element 'obj'.at junitx.ddtunit.DDTException.create(DDTException.java:115)at junitx.ddtunit.data.processing.parser.ParserImpl.validateSource(ParserImpl.java:345)at junitx.ddtunit.data.processing.parser.ParserImpl.parseElement(ParserImpl.java:240)at junitx.ddtunit.sandbox.ParserTest.testParseElementWithBaseObject(ParserTest.java:82) | |
SimpleDDTUnitTest
 | testSimpleJUnitAssert | 0.049 |
 | testRetrieveObjectData | 0.001 |
 | testRetrieveAssertData | 0.001 |
SpecificationAssertTest
 | testMethod | 0.027 |
RealVOGeneratorTest
 | testGenerateComplexVO | 0.058 |
StubbedVOGeneratorTest
 | testGenerateComplexVO_use_default_constructor | 0.004 |
 | testGenerateComplexVO_use_constructor | 0 |
 | testGenerateComplexVO_missing_data | 0.001 |
UserBeanTest
 | testCreateUser | 0.055 |
ClassAnalyserTest
 | testGetSuperElements | 0 |
 | testFindInheritedMethod | 0 |
 | testGetPrimitiveClazz | 0.003 |
DDTConfigurationTest
 | testLoadString | 0 |
| Expected deactivated Monitor | |
| junit.framework.AssertionFailedError: Expected deactivated Monitorat junit.framework.Assert.fail(Assert.java:47)at junit.framework.Assert.assertTrue(Assert.java:20)at junit.framework.Assert.assertFalse(Assert.java:34)at junitx.ddtunit.util.DDTConfigurationTest.testLoadString(DDTConfigurationTest.java:22) | |
PrivilegedAccessorTest
 | testSetFieldValue | 0 |
RetrieveResourceFromJarTest
 | testReadResourceFromJar | 0.014 |
| | |
| java.lang.NullPointerExceptionat junitx.ddtunit.util.RetrieveResourceFromJarTest.testReadResourceFromJar(RetrieveResourceFromJarTest.java:49) | |
XmlEntityResourceTest
 | testReadExternalEntityParam | 0.031 |
XmlEntityTest
 | testReadExternalEntityParam | 0.052 |