Project: Eclipse_Platform_UI
Bug 229779 NPE in performance tests
Reported: 2008-05-01 09:52:09 | Status: verified fixed

There are several NPEs within the UI session tests that prevent them from running. They all are due to calls to setDegredationComment() within the constructor of the tests. This should instead be called from within the test method itself - the test object does not exist when the constructor is invoked and this method will NPE.

Files changed in fix:
tests/org.eclipse.ui.tests.performance/src/org/eclipse/ui/tests/performance/OpenMultipleEditorTest.java tests/org.eclipse.ui.tests.performance/src/org/eclipse/ui/tests/performance/PerspectiveSwitchTest.java