clean up some create pref tests
authortimkelly
Thu, 14 Oct 2010 11:26:55 -0500
changeset 2157 90c82caa6918
parent 2152 816abb894472
child 2158 ac14826aa14b
clean up some create pref tests
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() {