git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' into features/JAL-3010ontologyFeatureSettings
[jalview.git]
/
test
/
jalview
/
schemes
/
FeatureColourTest.java
diff --git
a/test/jalview/schemes/FeatureColourTest.java
b/test/jalview/schemes/FeatureColourTest.java
index
52ca360
..
dae70f7
100644
(file)
--- a/
test/jalview/schemes/FeatureColourTest.java
+++ b/
test/jalview/schemes/FeatureColourTest.java
@@
-173,6
+173,13
@@
public class FeatureColourTest
assertEquals(Color.yellow, fc1.getColour());
assertEquals(10f, fc1.getMin());
assertEquals(20f, fc1.getMax());
assertEquals(Color.yellow, fc1.getColour());
assertEquals(10f, fc1.getMin());
assertEquals(20f, fc1.getMax());
+
+ /*
+ * modify original attribute label and check that copy doesn't change
+ */
+ fc.setAttributeName("MAF", "AF");
+ assertArrayEquals(new String[] { "AF" }, fc1.getAttributeName());
+
}
@Test(groups = { "Functional" })
}
@Test(groups = { "Functional" })