[MOBY-guts] biomoby commit
Martin Senger
senger at dev.open-bio.org
Mon Mar 3 03:11:28 UTC 2008
senger
Sun Mar 2 22:11:27 EST 2008
Update of /home/repository/moby/moby-live/Java/src/test/junit-resources
In directory dev.open-bio.org:/tmp/cvs-serv2132/src/test/junit-resources
Modified Files:
parser-test-input-2.xml parser-test-input-3.xml
parser-test-input-4.xml
Added Files:
parser-test-input-set.xml parser-test-input-xrefs.xml
Log Message:
More junit tests for XML parser
moby-live/Java/src/test/junit-resources parser-test-input-set.xml,NONE,1.1 parser-test-input-xrefs.xml,NONE,1.1 parser-test-input-2.xml,1.1,1.2 parser-test-input-3.xml,1.1,1.2 parser-test-input-4.xml,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/test/junit-resources/parser-test-input-2.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/test/junit-resources/parser-test-input-2.xml 2008/02/28 05:21:48 1.1
+++ /home/repository/moby/moby-live/Java/src/test/junit-resources/parser-test-input-2.xml 2008/03/03 03:11:27 1.2
@@ -6,8 +6,8 @@
<moby:mobyData moby:queryID="a1">
<moby:Simple moby:articleName="myDNA">
<moby:MyDNASequence xmlns:moby="http://www.biomoby.org/moby" moby:id="ir" moby:namespace="">
- <moby:Integer moby:id="3" moby:namespace="a" moby:articleName="Length">12</moby:Integer>
- <moby:String moby:id="3" moby:namespace="b" moby:articleName="SequenceString">abcd</moby:String>
+ <moby:Integer moby:id="1" moby:namespace="a" moby:articleName="Length">12</moby:Integer>
+ <moby:String moby:id="2" moby:namespace="b" moby:articleName="SequenceString">abcd</moby:String>
<moby:Boolean moby:id="3" moby:namespace="c" moby:articleName="Flag">true</moby:Boolean>
</moby:MyDNASequence>
</moby:Simple>
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/test/junit-resources/parser-test-input-3.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/test/junit-resources/parser-test-input-3.xml 2008/02/28 05:21:48 1.1
+++ /home/repository/moby/moby-live/Java/src/test/junit-resources/parser-test-input-3.xml 2008/03/03 03:11:27 1.2
@@ -10,9 +10,16 @@
<Integer id="" namespace="" articleName="start">1</Integer>
<String id="" namespace="" articleName="phase">b</String>
<Float id="" namespace="" articleName="score">12.34</Float>
- <MY_multi_key_value_pair id="" namespace="" articleName="column9_tag_value">
+ <MY_multi_key_value_pair id="1" namespace="" articleName="column9_tag_value">
<String id="" namespace="" articleName="key">key1</String>
<String id="" namespace="" articleName="value">value1</String>
+ <String id="" namespace="" articleName="value">value2</String>
+ <String id="" namespace="" articleName="value">value3</String>
+ <String id="" namespace="" articleName="mode">mode1</String>
+ </MY_multi_key_value_pair>
+ <MY_multi_key_value_pair id="2" namespace="" articleName="column9_tag_value">
+ <String id="" namespace="" articleName="key">key2</String>
+ <String id="" namespace="" articleName="value">valueA</String>
<String id="" namespace="" articleName="mode">mode1</String>
</MY_multi_key_value_pair>
</BasicGFF3SequenceFeature>
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/test/junit-resources/parser-test-input-4.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/test/junit-resources/parser-test-input-4.xml 2008/02/28 05:21:48 1.1
+++ /home/repository/moby/moby-live/Java/src/test/junit-resources/parser-test-input-4.xml 2008/03/03 03:11:27 1.2
@@ -1,10 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- ========================================== -->
-<!-- A testing data for MobyParser. -->
-<!-- Use: build/run/run-moby-parser "this-file" -->
-<!-- ========================================== -->
-
<moby:MOBY xmlns:moby="http://www.biomoby.org/moby">
<moby:mobyContent moby:authority="http://"me".<org>&">
<moby:serviceNotes><Notes>freetext notes here the notes</Notes></moby:serviceNotes>
@@ -24,8 +19,8 @@
</moby:Simple>
<moby:Simple moby:articleName="mySeq">
<moby:MyDNASequence xmlns:moby="http://www.biomoby.org/moby" moby:id="ir" moby:namespace="">
- <moby:Integer moby:id="3" moby:namespace="a" moby:articleName="Length">12</moby:Integer>
- <moby:String moby:id="3" moby:namespace="b" moby:articleName="SequenceString">abcd</moby:String>
+ <moby:Integer moby:id="3" moby:namespace="c" moby:articleName="Length">123</moby:Integer>
+ <moby:String moby:id="4" moby:namespace="d" moby:articleName="SequenceString">xyz</moby:String>
</moby:MyDNASequence>
</moby:Simple>
</moby:mobyData>
More information about the MOBY-guts
mailing list