Unit Test Results

Designed for use with JUnit and Ant.

Summary

TestsFailuresErrorsSuccess rateTime
1455096.55%3.639
Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Packages

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
NameTestsErrorsFailuresTime(s)
org.eclipse.dltk.javascript.core.tests145053.639

Package org.eclipse.dltk.javascript.core.tests

NameTestsErrorsFailuresTime(s)
AllTests145053.639

Back to top


TestCase AllTests

Failures

NameStatusTypeTime(s)
testLoadSuccess0.209
testPredefinedTypesSuccess0.497
testBooleanVarSuccess0.039
testConditionalOperatorSuccess0.002
testExampleElementResolver1Success0.012
testExampleElementResolver2Success0.002
testExampleTypeProvider1Success0.002
testExampleTypeProvider2Success0.001
testExampleTypeProvider3Success0.001
testForSuccess0.008
testForInSuccess0.002
testFunctionCallSuccess0.006
testIfSuccess0.004
testIf2Success0.002
testInlineFunctionStatementCallSuccess0.003
testNewSuccess0.005
testNumberVarSuccess0.001
testRecursion1Success0.005
testRecursion2Success0.002
testRecursion3Success0.002
testReturnNumberSuccess0.002
testReturnObjectPropertiesSuccess0.003
testStringLengthPropertySuccess0.002
testStringVarSuccess0.000
testSwitchSuccess0.005
testToStringMethodSuccess0.001
testUnknownPropertySuccess0.001
testUnknownProperty3Success0.000
testUnknownVarSuccess0.000
testWhileSuccess0.002
testWithSuccess0.004
testXmlVarSuccess0.001
testFieldSuccess0.015
testFieldReferenceSuccess0.002
testFunctionFieldReferenceSuccess0.006
testJsDocsParamSuccess0.005
testJsDocsTypeSuccess0.001
testManyFunctionCallsSuccess0.016
testMethodSuccess0.001
testMethodFieldSuccess0.001
testMethodFieldMethodSuccess0.002
testMethodMethodSuccess0.001
testMethodReferenceSuccess0.000
testMethodWithParamsSuccess0.001
testDeprecatedMethodCallSuccess0.012
testDeprecatedMethodCall_TypeInferenceSuccess0.002
testDeprecatedPropertyAccessSuccess0.001
testDeprecatedTopLevelPropertySuccess0.001
testDeprecatedTypeSuccess0.002
testElementResolverSuccess0.001
testKnownTypeSuccess0.001
testMethodAsPropertyAccessSuccess0.001
testMethodCallWrongParamCountSuccess0.002
testMethodOverload1Success0.002
testMethodOverload2Success0.002
testPropertyAccessSuccess0.001
testUndefinedMethodCallSuccess0.001
testUndefinedPropertyAccessSuccess0.001
testUnknownTypeSuccess0.001
testValidMethodCallSuccess0.001
test1Success0.000
testBreakNonLoopLabelSuccess0.008
testContinueNonLoopLabelSuccess0.002
testEqualAsAssignSuccess0.002
testInvalidAssignmentLeftSideSuccess0.000
testFunctionAlwaysReturnValue1Success0.004
testFunctionAlwaysReturnValue2Success0.001
testUnreachableCodeAfterReturnSuccess0.002
test1Success0.027
test0Success0.001
test10Success0.012
test11Success0.003
test12Success0.002
test13Success0.003
test14Success0.004
test15Success0.003
test16Success0.003
test17Success0.003
test18Success0.004
test19Success0.004
test2Success0.001
test20Success0.003
test21Success0.004
test22Failure

expected:<[]toExponential toFixe...> but was:<[my ]toExponential toFixe...>

junit.framework.ComparisonFailure: expected:<[]toExponential
toFixe...> but was:<[my
]toExponential
toFixe...>
at org.eclipse.dltk.javascript.core.tests.contentassist.AbstractCompletionTest.basicTest(AbstractCompletionTest.java:80)
at org.eclipse.dltk.javascript.core.tests.contentassist.CodeCompletion.test22(CodeCompletion.java:217)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
0.026
test23Success0.005
test24Success0.005
test25Success0.006
test26Failure

expected:<[]toExponential toFixe...> but was:<[age ]toExponential toFixe...>

junit.framework.ComparisonFailure: expected:<[]toExponential
toFixe...> but was:<[age
]toExponential
toFixe...>
at org.eclipse.dltk.javascript.core.tests.contentassist.AbstractCompletionTest.basicTest(AbstractCompletionTest.java:80)
at org.eclipse.dltk.javascript.core.tests.contentassist.CodeCompletion.test26(CodeCompletion.java:252)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
0.007
test27Success0.004
test28Success0.004
test29Success0.003
test3Success0.003
test30Success0.004
test31Success0.004
test32Success0.005
test33Success0.002
test34Success0.003
test35Success0.005
test36Success0.002
test37Success0.003
test38Success0.003
test39Success0.003
test4Success0.004
test40Success0.002
test41Success0.022
test42Success0.004
test43Success0.002
test44Success0.003
test45Success0.004
test46Failure

expected:<[aaa baa ]my prototype > but was:<[]my prototype >

junit.framework.ComparisonFailure: expected:<[aaa
baa
]my
prototype
> but was:<[]my
prototype
>
at org.eclipse.dltk.javascript.core.tests.contentassist.AbstractCompletionTest.basicTest(AbstractCompletionTest.java:80)
at org.eclipse.dltk.javascript.core.tests.contentassist.CodeCompletion.test46(CodeCompletion.java:412)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
0.005
test47Success0.003
test48Success0.004
test5Success0.010
test6Success0.004
test7Success0.005
test8Success0.004
test9Success0.004
testFunctionRefsSuccess0.012
testObjectFunctionReturnValueSuccess0.003
test1Failure

expected:<...ments contains copy [customer descendants elements hasComplexContent hasOwnProperty hasSimpleContent ignoreComments ignoreProcessingInstructions ignoreWhitespace inScopeNamespaces insertChildAfter insertChildBefore length localName name namespace namespaceDeclarations nodeKind normalize parent prependChild prettyIndent prettyPrinting processingInstructions product] propertyIsEnumerabl...> but was:<...ments contains copy [descendants elements hasComplexContent hasOwnProperty hasSimpleContent ignoreComments ignoreProcessingInstructions ignoreWhitespace inScopeNamespaces insertChildAfter insertChildBefore length localName name namespace namespaceDeclarations nodeKind normalize parent prependChild prettyIndent prettyPrinting processingInstructions] propertyIsEnumerabl...>

junit.framework.ComparisonFailure: expected:<...ments
contains
copy
[customer
descendants
elements
hasComplexContent
hasOwnProperty
hasSimpleContent
ignoreComments
ignoreProcessingInstructions
ignoreWhitespace
inScopeNamespaces
insertChildAfter
insertChildBefore
length
localName
name
namespace
namespaceDeclarations
nodeKind
normalize
parent
prependChild
prettyIndent
prettyPrinting
processingInstructions
product]
propertyIsEnumerabl...> but was:<...ments
contains
copy
[descendants
elements
hasComplexContent
hasOwnProperty
hasSimpleContent
ignoreComments
ignoreProcessingInstructions
ignoreWhitespace
inScopeNamespaces
insertChildAfter
insertChildBefore
length
localName
name
namespace
namespaceDeclarations
nodeKind
normalize
parent
prependChild
prettyIndent
prettyPrinting
processingInstructions]
propertyIsEnumerabl...>
at org.eclipse.dltk.javascript.core.tests.contentassist.AbstractCompletionTest.basicTest(AbstractCompletionTest.java:80)
at org.eclipse.dltk.javascript.core.tests.contentassist.XMLCompletionTests.test1(XMLCompletionTests.java:11)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
0.004
test2Failure

expected:<[@id @name addNamespace appendChild attribute attributes child childIndex children comments contains copy descendants elements hasComplexContent hasOwnProperty hasSimpleContent ignoreComments ignoreProcessingInstructions ignoreWhitespace inScopeNamespaces insertChildAfter insertChildBefore length localName name namespace namespaceDeclarations nodeKind normalize parent prependChild prettyIndent prettyPrinting processingInstructions propertyIsEnumerable prototype removeNamespace replace setChildren setLocalName setName setNamespace text toString toXMLString valueOf ]> but was:<[]>

junit.framework.ComparisonFailure: expected:<[@id
@name
addNamespace
appendChild
attribute
attributes
child
childIndex
children
comments
contains
copy
descendants
elements
hasComplexContent
hasOwnProperty
hasSimpleContent
ignoreComments
ignoreProcessingInstructions
ignoreWhitespace
inScopeNamespaces
insertChildAfter
insertChildBefore
length
localName
name
namespace
namespaceDeclarations
nodeKind
normalize
parent
prependChild
prettyIndent
prettyPrinting
processingInstructions
propertyIsEnumerable
prototype
removeNamespace
replace
setChildren
setLocalName
setName
setNamespace
text
toString
toXMLString
valueOf
]> but was:<[]>
at org.eclipse.dltk.javascript.core.tests.contentassist.AbstractCompletionTest.basicTest(AbstractCompletionTest.java:80)
at org.eclipse.dltk.javascript.core.tests.contentassist.XMLCompletionTests.test2(XMLCompletionTests.java:18)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
0.003
testArrayFunctionSuccess0.001
testCompletionWithArrayDotResolvingSuccess0.000
testCompletionWithoutArrayDotResolvingSuccess0.001
testDoubleParsingSuccess0.000
testFunctionArraySuccess0.000
testWithLineEndingSuccess0.000
testWithMultiplyParamsSuccess0.000
testWithStringSuccess0.000
testWithWhiteSpaceSuccess0.000
testXMLSyntaxSuccess0.000
testFunctionHello1Success0.554
testFunctionHello2Success0.002
testVarASuccess0.004
testVarBSuccess0.002
testFunctionHello1Success0.003
testVarASuccess0.002
testMethodRefSuccess0.001
testPropertyRefSuccess0.001
testParamTypeSuccess0.005
testReturnTypeSuccess0.002
testVarTypeSuccess0.002
test1Success0.010
test2Success0.003
test3Success0.010
Properties >>

Back to top