# HG changeset patch # User timkelly # Date 1287073615 18000 # Node ID 90c82caa691853793c3e4482c99e4747fddbc170 # Parent 816abb894472dd54d47b23dd74f34edd13a1b217 clean up some create pref tests diff -r 816abb894472 -r 90c82caa6918 builder/com.nokia.carbide.cdt.builder.test/src/com/nokia/carbide/cdt/builder/test/TestCreateGlobalPrefs.java --- a/builder/com.nokia.carbide.cdt.builder.test/src/com/nokia/carbide/cdt/builder/test/TestCreateGlobalPrefs.java Wed Oct 13 12:30:28 2010 -0500 +++ b/builder/com.nokia.carbide.cdt.builder.test/src/com/nokia/carbide/cdt/builder/test/TestCreateGlobalPrefs.java Thu Oct 14 11:26:55 2010 -0500 @@ -33,8 +33,6 @@ //com.nokia.carbide.cpp.logging.LoggingPreferencesPage private static final String[] carbidePrefIds = { "com.nokia.carbide.cpp.sdk.ui.preferences.BuildPlatformFilterPage", "com.nokia.carbide.cpp.internal.sdk.ui.SDKPreferencePage", - "com.nokia.carbide.cpp.internal.sdk.ui.SDKPreferencePage", - "com.nokia.carbide.cdt.internal.builder.ui.BuilderPreferencePage", "com.nokia.carbide.cpp.preferences.ExtensionsPreferencesPage", "com.nokia.carbide.cpp.internal.builder.utils.ui.PreprocessPreferencePage", "com.nokia.carbide.cpp.internal.project.ui.preferences.CarbidePreferencePage", @@ -64,11 +62,11 @@ // make sure to run on UI thread // Display getAsynch() // capture and throw exception -// wait to finish before existing +// wait to finish before exiting // TODO: Need to throw exception on error when loading a pref page - Display.getDefault().asyncExec(new Runnable() { + Display.getDefault().syncExec(new Runnable() { @Override public void run() {