Unit Test Results

Designed for use with JUnit and Ant.

Summary

TestsFailuresErrorsSuccess rateTime
1221198.36%5149.309
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.performance122115149.309

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

NameTestsErrorsFailuresTime(s)
DocumentPerformanceTestSuite3700272.420
EventDrivenTestSuite24111838.239
PerformanceTestSuite47002275.141
PerformanceTestSuite2700565.888
PerformanceTestSuite3400192.991
PerformanceTestSuite42002.738
PerformanceTestSuite51001.892
Back to top


TestCase DocumentPerformanceTestSuite

NameStatusTypeTime(s)
measureDeleteInsertSuccess2.170
measureInsertAtStartSuccess5.421
measureInsertAtEndSuccess2.310
measureRandomReplaceSuccess10.154
measureRepeatedReplaceSuccess6.014
measureGetCharSuccess2.945
measureGetLengthSuccess3.589
measureGetLineSuccess2.229
measureGetNumberOfLinesSuccess3.168
measureLineByIndexSuccess3.445
measureLineDelimiterByIndexSuccess3.273
measureLineLengthByIndexSuccess3.271
measureSetSuccess2.274
measureTypingReplaceInLargeFileSuccess5.806
measureTypingReplaceInSmallFileSuccess5.663
measureGetAllSuccess0.215
measureLineByOffsetSuccess4.965
measureLineInfoByOffsetSuccess6.368
measureLineInfoByIndexSuccess7.605
measureDeleteInsertSuccess0.954
measureInsertAtStartSuccess0.976
measureInsertAtEndSuccess1.634
measureRandomReplaceSuccess9.181
measureRepeatedReplaceSuccess1.206
measureGetCharSuccess8.971
measureGetLineSuccess10.083
measureSetSuccess2.749
measureTypingReplaceInLargeFileSuccess1.092
measureTypingReplaceInSmallFileSuccess1.042
measureGetAllSuccess10.944
testSetSuccess7.205
testReplaceSuccess6.558
testRandomReplaceSuccess11.210
testLineByOffsetSuccess13.415
testLineByOffset2Success70.003
testLineByIndexSuccess23.885
testLineByIndex2Success10.380
Properties >>

Back to top

TestCase EventDrivenTestSuite

NameStatusTypeTime(s)
testScrollJavaEditorPageWiseSuccess79.033
testScrollJavaEditorLineWiseMoveCaret2Success136.214
testScrollJavaEditorLineWiseSelect2Success257.324
testScrollJavaEditorLineWise2Success123.505
testScrollJavaEditorLineWiseSelectHoldKeysSuccess8.003
testScrollJavaEditorLineWiseHoldKeysSuccess8.002
testScrollTextEditorPageWiseSuccess53.431
testScrollTextEditorLineWiseMoveCaret2Success114.460
testScrollTextEditorLineWiseSelect2Success166.581
testScrollTextEditorLineWise2Success107.251
testScrollTextEditorLineWiseSelectHoldKeysSuccess8.003
testScrollTextEditorLineWiseHoldKeysSuccess8.002
testJavaIndenter2Success3.599
testTypeAMethodSuccess28.447
testTypeAMethodSuccess18.308
testOpenPreferencePageSuccess2.003
testScrollJavaEditorPageWiseSuccess74.420
testScrollJavaEditorLineWiseMoveCaret1Success141.920
testScrollJavaEditorLineWiseSelect1Success267.795
testScrollJavaEditorLineWise1Success129.425
testSuccess19.116
testSuccess79.258
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: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)
1.978
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: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.096
Properties >>

Back to top

TestCase PerformanceTestSuite

NameStatusTypeTime(s)
testActivateEditorSuccess155.664
testRevertTextEditorSuccess31.512
testRevertJavaEditorSuccess34.154
test2Success32.751
testToggleComment2Success64.778
testUndoTextEditor2Success42.220
testUndoJavaEditor2Success70.122
testOpenQuickOutline1Success528.636
test1Success533.546
testActivateEditorSuccess78.759
test1Success37.636
test1Success164.646
testSuccess57.866
testSuccess6.855
testSuccess6.784
testSuccess24.658
testTextDirtySuccess1.539
testJavaDirtySuccess1.218
testPropertiesDirtySuccess1.249
testPluginXMLDirtySuccess13.541
testPluginPropertiesDirtySuccess1.616
testCompletionNoParamtersSuccess8.327
testApplicationNoParamtersSuccess16.867
testCompletionWithParamterNamesSuccess8.518
testApplicationWithParamterNamesSuccess21.330
testCompletionWithParamterGuessesSuccess8.548
testApplicationWithParamterGuessesSuccess16.228
testCompletionWithParamterGuesses2Success14.290
testApplicationWithParamterGuesses2Success29.725
testInitializationWithNoChangesSuccess13.239
testInitializationWithFewChangesSuccess12.239
testInitializationWithManyChangesSuccess3.682
testInitializationWithManyChangesButEqualSizeSuccess3.729
testInitializationWithNoChangesSuccess12.227
testInitializationWithFewChangesSuccess12.216
testInitializationWithManyChangesSuccess3.674
testInitializationWithManyChangesButEqualSizeSuccess3.669
testEditingUnchangedSuccess12.315
testEditingChangedSuccess12.319
testSetSuccess7.429
testReplaceSuccess6.722
testRandomReplaceSuccess11.510
testLineByOffsetSuccess13.374
testLineByOffset2Success70.164
testLineByIndexSuccess23.953
testLineByIndex2Success10.439
testSuccess0.000
Properties >>

Back to top

TestCase PerformanceTestSuite2

NameStatusTypeTime(s)
testOpenJavaEditor1Success85.296
testOpenJavaEditor2Success73.952
testOpenEditor3Success109.297
testOpenEditor4Success100.945
testOpenEditor5Success100.570
testOpenEditor6Success94.035
testSuccess0.001
Properties >>

Back to top

TestCase PerformanceTestSuite3

NameStatusTypeTime(s)
testOpenTextEditor1Success51.647
testOpenTextEditor2Success48.848
testOpenEditor3Success83.906
testSuccess0.000
Properties >>

Back to top

TestCase PerformanceTestSuite4

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

Back to top

TestCase PerformanceTestSuite5

NameStatusTypeTime(s)
testTextEditorStartupSuccess0.597
Properties >>

Back to top