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
JAL-2422 updated unit test for ChimeraX command change
[jalview.git]
/
test
/
jalview
/
ext
/
rbvi
/
chimera
/
ChimeraXCommandsTest.java
diff --git
a/test/jalview/ext/rbvi/chimera/ChimeraXCommandsTest.java
b/test/jalview/ext/rbvi/chimera/ChimeraXCommandsTest.java
index
c1fa528
..
439401a
100644
(file)
--- a/
test/jalview/ext/rbvi/chimera/ChimeraXCommandsTest.java
+++ b/
test/jalview/ext/rbvi/chimera/ChimeraXCommandsTest.java
@@
-342,7
+342,7
@@
public class ChimeraXCommandsTest
{
List<StructureCommandI> cmds = testee.startNotifications("to here");
assertEquals(cmds.size(), 2);
{
List<StructureCommandI> cmds = testee.startNotifications("to here");
assertEquals(cmds.size(), 2);
- assertEquals(cmds.get(0), new StructureCommand("info notify start models prefix ModelChanged jalview url to here"));
+ assertEquals(cmds.get(0), new StructureCommand("info notify start models jalview prefix ModelChanged url to here"));
assertEquals(cmds.get(1), new StructureCommand("info notify start selection jalview prefix SelectionChanged url to here"));
}
assertEquals(cmds.get(1), new StructureCommand("info notify start selection jalview prefix SelectionChanged url to here"));
}
@@
-354,4
+354,11
@@
public class ChimeraXCommandsTest
assertEquals(cmds.get(0), new StructureCommand("info notify stop models jalview"));
assertEquals(cmds.get(1), new StructureCommand("info notify stop selection jalview"));
}
assertEquals(cmds.get(0), new StructureCommand("info notify stop models jalview"));
assertEquals(cmds.get(1), new StructureCommand("info notify stop selection jalview"));
}
+
+ @Test(groups = "Functional")
+ public void testListResidueAttributes()
+ {
+ assertEquals(testee.listResidueAttributes(),
+ new StructureCommand("info resattr"));
+ }
}
}