Unit Test Results

Designed for use with JUnit and Ant.

Summary

TestsFailuresErrorsSuccess rateTime
1221198.36%5260.149
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.jdt.text.tests.performance122115260.149

Package org.eclipse.jdt.text.tests.performance

NameTestsErrorsFailuresTime(s)
DocumentPerformanceTestSuite3700277.762
EventDrivenTestSuite24111848.342
PerformanceTestSuite47002367.938
PerformanceTestSuite2700566.383
PerformanceTestSuite3400193.924
PerformanceTestSuite42003.269
PerformanceTestSuite51002.531
Back to top


TestCase DocumentPerformanceTestSuite

NameStatusTypeTime(s)
measureDeleteInsertSuccess2.729
measureInsertAtStartSuccess5.512
measureInsertAtEndSuccess2.485
measureRandomReplaceSuccess10.423
measureRepeatedReplaceSuccess6.272
measureGetCharSuccess3.055
measureGetLengthSuccess3.674
measureGetLineSuccess2.268
measureGetNumberOfLinesSuccess3.133
measureLineByIndexSuccess3.443
measureLineDelimiterByIndexSuccess3.333
measureLineLengthByIndexSuccess3.478
measureSetSuccess2.340
measureTypingReplaceInLargeFileSuccess5.903
measureTypingReplaceInSmallFileSuccess5.799
measureGetAllSuccess0.351
measureLineByOffsetSuccess5.123
measureLineInfoByOffsetSuccess6.389
measureLineInfoByIndexSuccess7.634
measureDeleteInsertSuccess1.084
measureInsertAtStartSuccess1.088
measureInsertAtEndSuccess1.789
measureRandomReplaceSuccess9.317
measureRepeatedReplaceSuccess1.304
measureGetCharSuccess9.049
measureGetLineSuccess10.255
measureSetSuccess2.449
measureTypingReplaceInLargeFileSuccess1.148
measureTypingReplaceInSmallFileSuccess1.090
measureGetAllSuccess11.310
testSetSuccess7.323
testReplaceSuccess6.621
testRandomReplaceSuccess11.611
testLineByOffsetSuccess13.625
testLineByOffset2Success70.624
testLineByIndexSuccess24.167
testLineByIndex2Success10.497
Properties >>

Back to top

TestCase EventDrivenTestSuite

NameStatusTypeTime(s)
testScrollJavaEditorPageWiseSuccess79.641
testScrollJavaEditorLineWiseMoveCaret2Success137.434
testScrollJavaEditorLineWiseSelect2Success258.480
testScrollJavaEditorLineWise2Success124.318
testScrollJavaEditorLineWiseSelectHoldKeysSuccess8.002
testScrollJavaEditorLineWiseHoldKeysSuccess8.003
testScrollTextEditorPageWiseSuccess53.677
testScrollTextEditorLineWiseMoveCaret2Success115.757
testScrollTextEditorLineWiseSelect2Success168.401
testScrollTextEditorLineWise2Success108.221
testScrollTextEditorLineWiseSelectHoldKeysSuccess8.003
testScrollTextEditorLineWiseHoldKeysSuccess8.002
testJavaIndenter2Success3.612
testTypeAMethodSuccess29.822
testTypeAMethodSuccess18.401
testOpenPreferencePageSuccess2.012
testScrollJavaEditorPageWiseSuccess75.046
testScrollJavaEditorLineWiseMoveCaret1Success142.666
testScrollJavaEditorLineWiseSelect1Success267.805
testScrollJavaEditorLineWise1Success130.254
testSuccess19.161
testSuccess74.059
testErrorN/A

java.lang.NullPointerException
at org.eclipse.jface.text.AbstractLineTracker.flushRewriteSession(AbstractLineTracker.java:293)
at org.eclipse.jface.text.AbstractLineTracker.checkRewriteSession(AbstractLineTracker.java:315)
at org.eclipse.jface.text.AbstractLineTracker.getLineInformationOfOffset(AbstractLineTracker.java:144)
at org.eclipse.jface.text.AbstractDocument.getLineInformationOfOffset(AbstractDocument.java:863)
at org.eclipse.jface.text.source.projection.ProjectionViewer.toLineStart(ProjectionViewer.java:687)
at org.eclipse.jface.text.source.projection.ProjectionViewer.addMasterDocumentRange(ProjectionViewer.java:630)
at org.eclipse.jface.text.source.projection.ProjectionViewer.executeProjectionCommands(ProjectionViewer.java:1018)
at org.eclipse.jface.text.source.projection.ProjectionViewer.catchupWithProjectionAnnotationModel(ProjectionViewer.java:1000)
at org.eclipse.jface.text.source.projection.ProjectionViewer.processCatchupRequest(ProjectionViewer.java:872)
at org.eclipse.jface.text.source.projection.ProjectionViewer$AnnotationModelListener.processModelChanged(ProjectionViewer.java:118)
at org.eclipse.jface.text.source.projection.ProjectionViewer$AnnotationModelListener.modelChanged(ProjectionViewer.java:110)
at org.eclipse.jface.text.source.AnnotationModel.fireModelChanged(AnnotationModel.java:453)
at org.eclipse.jface.text.source.AnnotationModel$InternalModelListener.modelChanged(AnnotationModel.java:107)
at org.eclipse.jface.text.source.AnnotationModel.fireModelChanged(AnnotationModel.java:453)
at org.eclipse.jface.text.source.AnnotationModel.fireModelChanged(AnnotationModel.java:419)
at org.eclipse.jface.text.source.projection.ProjectionAnnotationModel.expandAll(ProjectionAnnotationModel.java:162)
at org.eclipse.jface.text.source.projection.ProjectionAnnotationModel.expandAll(ProjectionAnnotationModel.java:99)
at org.eclipse.jface.text.source.projection.ProjectionViewer.exposeModelRange(ProjectionViewer.java:1285)
at org.eclipse.jface.text.source.projection.ProjectionViewer.findAndSelect(ProjectionViewer.java:1742)
at org.eclipse.jface.text.TextViewer$FindReplaceTarget.findAndSelect(TextViewer.java:849)
at org.eclipse.ui.texteditor.FindReplaceTarget.findAndSelect(FindReplaceTarget.java:88)
at org.eclipse.ui.texteditor.FindReplaceDialog.findAndSelect(FindReplaceDialog.java:802)
at org.eclipse.ui.texteditor.FindReplaceDialog.replaceAll(FindReplaceDialog.java:1390)
at org.eclipse.ui.texteditor.FindReplaceDialog.access$39(FindReplaceDialog.java:1367)
at org.eclipse.ui.texteditor.FindReplaceDialog$1$ReplaceAllRunnable.run(FindReplaceDialog.java:1232)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.ui.texteditor.FindReplaceDialog.performReplaceAll(FindReplaceDialog.java:1238)
at org.eclipse.ui.texteditor.FindReplaceDialog.access$31(FindReplaceDialog.java:1221)
at org.eclipse.ui.texteditor.FindReplaceDialog$4.widgetSelected(FindReplaceDialog.java:335)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
at org.eclipse.jdt.text.tests.performance.DisplayHelper.driveEventQueue(DisplayHelper.java:158)
at org.eclipse.jdt.text.tests.performance.DisplayHelper.waitForCondition(DisplayHelper.java:75)
at org.eclipse.jdt.text.tests.performance.AbstractJavaReplaceAllTest.measure(AbstractJavaReplaceAllTest.java:115)
at org.eclipse.jdt.text.tests.performance.AbstractJavaReplaceAllTest.test(AbstractJavaReplaceAllTest.java:71)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
at org.eclipse.test.UITestApplication$3.run(UITestApplication.java:195)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3296)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2974)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.test.UITestApplication.runApplication(UITestApplication.java:138)
at org.eclipse.test.UITestApplication.run(UITestApplication.java:60)
at org.eclipse.test.UITestApplication.start(UITestApplication.java:210)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
at org.eclipse.core.launcher.Main.main(Main.java:30)
4.745
testFailureN/A

junit.framework.AssertionFailedError
at org.eclipse.jdt.text.tests.performance.AbstractJavaReplaceAllTest.measure(AbstractJavaReplaceAllTest.java:115)
at org.eclipse.jdt.text.tests.performance.AbstractJavaReplaceAllTest.test(AbstractJavaReplaceAllTest.java:71)
at org.eclipse.jdt.text.tests.performance.JavaReplaceAllWithQuickDiffTest.test(JavaReplaceAllWithQuickDiffTest.java:36)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
at org.eclipse.test.UITestApplication$3.run(UITestApplication.java:195)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3296)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2974)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.test.UITestApplication.runApplication(UITestApplication.java:138)
at org.eclipse.test.UITestApplication.run(UITestApplication.java:60)
at org.eclipse.test.UITestApplication.start(UITestApplication.java:210)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
at org.eclipse.core.launcher.Main.main(Main.java:30)
2.722
Properties >>

Back to top

TestCase PerformanceTestSuite

NameStatusTypeTime(s)
testActivateEditorSuccess162.049
testRevertTextEditorSuccess32.203
testRevertJavaEditorSuccess33.750
test2Success33.013
testToggleComment2Success65.008
testUndoTextEditor2Success42.638
testUndoJavaEditor2Success70.701
testOpenQuickOutline1Success561.437
test1Success536.419
testActivateEditorSuccess78.930
test1Success40.267
test1Success201.860
testSuccess57.032
testSuccess7.159
testSuccess7.395
testSuccess27.801
testTextDirtySuccess1.712
testJavaDirtySuccess1.531
testPropertiesDirtySuccess1.537
testPluginXMLDirtySuccess14.013
testPluginPropertiesDirtySuccess1.860
testCompletionNoParamtersSuccess7.972
testApplicationNoParamtersSuccess17.067
testCompletionWithParamterNamesSuccess8.785
testApplicationWithParamterNamesSuccess21.308
testCompletionWithParamterGuessesSuccess8.626
testApplicationWithParamterGuessesSuccess16.288
testCompletionWithParamterGuesses2Success14.423
testApplicationWithParamterGuesses2Success29.907
testInitializationWithNoChangesSuccess13.440
testInitializationWithFewChangesSuccess12.365
testInitializationWithManyChangesSuccess3.913
testInitializationWithManyChangesButEqualSizeSuccess3.968
testInitializationWithNoChangesSuccess12.436
testInitializationWithFewChangesSuccess12.343
testInitializationWithManyChangesSuccess3.864
testInitializationWithManyChangesButEqualSizeSuccess3.903
testEditingUnchangedSuccess12.535
testEditingChangedSuccess12.453
testSetSuccess7.522
testReplaceSuccess6.753
testRandomReplaceSuccess11.458
testLineByOffsetSuccess13.427
testLineByOffset2Success70.049
testLineByIndexSuccess24.037
testLineByIndex2Success10.440
testSuccess0.000
Properties >>

Back to top

TestCase PerformanceTestSuite2

NameStatusTypeTime(s)
testOpenJavaEditor1Success85.414
testOpenJavaEditor2Success74.399
testOpenEditor3Success109.506
testOpenEditor4Success100.633
testOpenEditor5Success100.765
testOpenEditor6Success93.845
testSuccess0.000
Properties >>

Back to top

TestCase PerformanceTestSuite3

NameStatusTypeTime(s)
testOpenTextEditor1Success52.365
testOpenTextEditor2Success48.897
testOpenEditor3Success84.309
testSuccess0.000
Properties >>

Back to top

TestCase PerformanceTestSuite4

NameStatusTypeTime(s)
testJavaEditorStartupSuccess1.509
testSuccess0.000
Properties >>

Back to top

TestCase PerformanceTestSuite5

NameStatusTypeTime(s)
testTextEditorStartupSuccess1.247
Properties >>

Back to top