From: wisberg Date: Wed, 14 May 2003 03:11:59 +0000 (+0000) Subject: Disabling test reads from user preferences store. X-Git-Tag: V1_1_0~131 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=13112ba2cd7401eac88b78e0fb886384e4718170;p=aspectj.git Disabling test reads from user preferences store. This was discussed on the list before rc2. --- diff --git a/ajde/testsrc/org/aspectj/ajde/BuildOptionsTest.java b/ajde/testsrc/org/aspectj/ajde/BuildOptionsTest.java index f30b4f308..072596daa 100644 --- a/ajde/testsrc/org/aspectj/ajde/BuildOptionsTest.java +++ b/ajde/testsrc/org/aspectj/ajde/BuildOptionsTest.java @@ -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); } diff --git a/ajde/testsrc/org/aspectj/ajde/NullIdeManager.java b/ajde/testsrc/org/aspectj/ajde/NullIdeManager.java index 5e44c5656..71a50575e 100644 --- a/ajde/testsrc/org/aspectj/ajde/NullIdeManager.java +++ b/ajde/testsrc/org/aspectj/ajde/NullIdeManager.java @@ -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();