]> source.dussan.org Git - aspectj.git/commitdiff
Disabling test reads from user preferences store.
authorwisberg <wisberg>
Wed, 14 May 2003 03:11:59 +0000 (03:11 +0000)
committerwisberg <wisberg>
Wed, 14 May 2003 03:11:59 +0000 (03:11 +0000)
This was discussed on the list before rc2.

ajde/testsrc/org/aspectj/ajde/BuildOptionsTest.java
ajde/testsrc/org/aspectj/ajde/NullIdeManager.java

index f30b4f3084c0c9c81a3762e48cfe1392fc9e5bd7..072596daa308f7cff576bb1a5ad00cf6f8254c03 100644 (file)
@@ -146,7 +146,7 @@ public class BuildOptionsTest extends AjdeTestCase {
        
        protected void setUp() throws Exception {
                super.setUp();
-               preferencesAdapter = new UserPreferencesStore();
+               preferencesAdapter = new UserPreferencesStore(false);
                buildOptions = new AjcBuildOptions(preferencesAdapter);
        }
 
index 5e44c56569181d6c70915a64a1b0d20ae32dd5e7..71a50575ea49526461a938630232952c2584040a 100644 (file)
@@ -42,7 +42,7 @@ public class NullIdeManager {
        
        public void init(String testProjectPath) {
                try {
-                       UserPreferencesAdapter preferencesAdapter = new UserPreferencesStore();
+                       UserPreferencesAdapter preferencesAdapter = new UserPreferencesStore(false);
                        ProjectPropertiesAdapter browserProjectProperties = new NullIdeProperties(testProjectPath);
                        taskListManager = new NullIdeTaskListManager();
                        BasicEditor ajdeEditor = new BasicEditor();