JAL-2283 corrected preferences settings for test bug/JAL-2283consColourEnabled
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 24 Oct 2016 13:32:23 +0000 (14:32 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 24 Oct 2016 13:32:23 +0000 (14:32 +0100)
test/jalview/gui/AlignViewportTest.java

index d7b26b0..00c52ed 100644 (file)
@@ -338,11 +338,9 @@ public class AlignViewportTest
     /*
      * test for JAL-2283 don't inadvertently turn on colour by conservation
      */
-    Cache.applicationProperties.setProperty("SHOW_ANNOTATIONS",
-            Boolean.TRUE.toString());
-    Cache.applicationProperties.setProperty("SHOW_CONSERVATION",
-            Boolean.FALSE.toString());
     Cache.applicationProperties.setProperty("DEFAULT_COLOUR_PROT", "NONE");
+    Cache.applicationProperties.setProperty("SHOW_CONSERVATION",
+            Boolean.TRUE.toString());
     AlignFrame af = new FileLoader().LoadFileWaitTillLoaded(
             "examples/uniref50.fa", FormatAdapter.FILE);
     ColourSchemeI cs = new PIDColourScheme();