Unit Test Results

Designed for use with JUnit and Ant.

Summary

TestsFailuresErrorsSuccess rateTime
1221198.36%5159.213
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.performance122115159.213

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

NameTestsErrorsFailuresTime(s)
DocumentPerformanceTestSuite3700275.957
EventDrivenTestSuite24111830.017
PerformanceTestSuite47002290.002
PerformanceTestSuite2700565.665
PerformanceTestSuite3400193.126
PerformanceTestSuite42002.581
PerformanceTestSuite51001.865
Back to top


TestCase DocumentPerformanceTestSuite

NameStatusTypeTime(s)
measureDeleteInsertSuccess2.241
measureInsertAtStartSuccess5.451
measureInsertAtEndSuccess2.371
measureRandomReplaceSuccess10.358
measureRepeatedReplaceSuccess6.020
measureGetCharSuccess2.981
measureGetLengthSuccess4.031
measureGetLineSuccess2.239
measureGetNumberOfLinesSuccess3.144
measureLineByIndexSuccess3.314
measureLineDelimiterByIndexSuccess3.290
measureLineLengthByIndexSuccess3.279
measureSetSuccess2.297
measureTypingReplaceInLargeFileSuccess5.830
measureTypingReplaceInSmallFileSuccess5.679
measureGetAllSuccess0.237
measureLineByOffsetSuccess5.000
measureLineInfoByOffsetSuccess6.344
measureLineInfoByIndexSuccess7.627
measureDeleteInsertSuccess1.007
measureInsertAtStartSuccess1.021
measureInsertAtEndSuccess1.680
measureRandomReplaceSuccess9.297
measureRepeatedReplaceSuccess1.207
measureGetCharSuccess9.007
measureGetLineSuccess10.196
measureSetSuccess3.920
measureTypingReplaceInLargeFileSuccess1.092
measureTypingReplaceInSmallFileSuccess1.073
measureGetAllSuccess11.119
testSetSuccess7.214
testReplaceSuccess6.558
testRandomReplaceSuccess11.421
testLineByOffsetSuccess13.373
testLineByOffset2Success70.209
testLineByIndexSuccess24.310
testLineByIndex2Success10.456
Properties >>

Back to top

TestCase EventDrivenTestSuite

NameStatusTypeTime(s)
testScrollJavaEditorPageWiseSuccess79.012
testScrollJavaEditorLineWiseMoveCaret2Success135.946
testScrollJavaEditorLineWiseSelect2Success255.382
testScrollJavaEditorLineWise2Success123.307
testScrollJavaEditorLineWiseSelectHoldKeysSuccess8.003
testScrollJavaEditorLineWiseHoldKeysSuccess8.003
testScrollTextEditorPageWiseSuccess53.242
testScrollTextEditorLineWiseMoveCaret2Success113.976
testScrollTextEditorLineWiseSelect2Success164.603
testScrollTextEditorLineWise2Success106.655
testScrollTextEditorLineWiseSelectHoldKeysSuccess8.003
testScrollTextEditorLineWiseHoldKeysSuccess8.003
testJavaIndenter2Success3.595
testTypeAMethodSuccess28.926
testTypeAMethodSuccess18.645
testOpenPreferencePageSuccess2.020
testScrollJavaEditorPageWiseSuccess74.373
testScrollJavaEditorLineWiseMoveCaret1Success141.424
testScrollJavaEditorLineWiseSelect1Success264.890
testScrollJavaEditorLineWise1Success128.733
testSuccess18.931
testSuccess76.839
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:129)
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:169)
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:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
at org.eclipse.core.launcher.Main.main(Main.java:30)
4.719
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:129)
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:169)
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:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
at org.eclipse.core.launcher.Main.main(Main.java:30)
2.720
Properties >>

Back to top

TestCase PerformanceTestSuite

NameStatusTypeTime(s)
testActivateEditorSuccess156.197
testRevertTextEditorSuccess31.414
testRevertJavaEditorSuccess33.645
test2Success32.792
testToggleComment2Success64.690
testUndoTextEditor2Success42.356
testUndoJavaEditor2Success69.979
testOpenQuickOutline1Success531.747
test1Success534.297
testActivateEditorSuccess79.022
test1Success37.019
test1Success175.525
testSuccess57.061
testSuccess6.806
testSuccess7.152
testSuccess26.635
testTextDirtySuccess1.427
testJavaDirtySuccess1.232
testPropertiesDirtySuccess1.370
testPluginXMLDirtySuccess13.886
testPluginPropertiesDirtySuccess1.754
testCompletionNoParamtersSuccess7.895
testApplicationNoParamtersSuccess16.676
testCompletionWithParamterNamesSuccess8.682
testApplicationWithParamterNamesSuccess21.106
testCompletionWithParamterGuessesSuccess8.546
testApplicationWithParamterGuessesSuccess16.273
testCompletionWithParamterGuesses2Success14.373
testApplicationWithParamterGuesses2Success29.758
testInitializationWithNoChangesSuccess13.244
testInitializationWithFewChangesSuccess12.225
testInitializationWithManyChangesSuccess3.685
testInitializationWithManyChangesButEqualSizeSuccess3.682
testInitializationWithNoChangesSuccess12.241
testInitializationWithFewChangesSuccess12.222
testInitializationWithManyChangesSuccess3.696
testInitializationWithManyChangesButEqualSizeSuccess3.692
testEditingUnchangedSuccess12.330
testEditingChangedSuccess12.347
testSetSuccess7.394
testReplaceSuccess6.697
testRandomReplaceSuccess11.311
testLineByOffsetSuccess13.414
testLineByOffset2Success70.145
testLineByIndexSuccess24.044
testLineByIndex2Success10.458
testSuccess0.000
Properties >>

Back to top

TestCase PerformanceTestSuite2

NameStatusTypeTime(s)
testOpenJavaEditor1Success85.109
testOpenJavaEditor2Success73.660
testOpenEditor3Success109.660
testOpenEditor4Success100.166
testOpenEditor5Success100.463
testOpenEditor6Success94.864
testSuccess0.000
Properties >>

Back to top

TestCase PerformanceTestSuite3

NameStatusTypeTime(s)
testOpenTextEditor1Success51.859
testOpenTextEditor2Success48.437
testOpenEditor3Success84.360
testSuccess0.000
Properties >>

Back to top

TestCase PerformanceTestSuite4

NameStatusTypeTime(s)
testJavaEditorStartupSuccess0.956
testSuccess0.000
Properties >>

Back to top

TestCase PerformanceTestSuite5

NameStatusTypeTime(s)
testTextEditorStartupSuccess0.588
Properties >>

Back to top