summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2014-06-26 14:35:09 +0000
committerrandomdan <randomdan@localhost>2014-06-26 14:35:09 +0000
commit526c85df485bca11c70146c797d7d70f8546cada (patch)
treefc34a0ea6dfa2b89f42e1f4e76df4f3ced613dbb
parentAdds support for classes with inheritance (diff)
downloadslicer-526c85df485bca11c70146c797d7d70f8546cada.tar.bz2
slicer-526c85df485bca11c70146c797d7d70f8546cada.tar.xz
slicer-526c85df485bca11c70146c797d7d70f8546cada.zip
Add missing unit test data
-rw-r--r--slicer/test/initial/inherit-a.xml37
-rw-r--r--slicer/test/initial/inherit-b.xml44
2 files changed, 81 insertions, 0 deletions
diff --git a/slicer/test/initial/inherit-a.xml b/slicer/test/initial/inherit-a.xml
new file mode 100644
index 0000000..a00c151
--- /dev/null
+++ b/slicer/test/initial/inherit-a.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<InheritanceCont>
+ <b>
+ <a>1</a>
+ </b>
+ <bs>
+ <element>
+ <a>1</a>
+ </element>
+ <element>
+ <a>2</a>
+ </element>
+ <element>
+ <a>3</a>
+ </element>
+ </bs>
+ <bm>
+ <element>
+ <key>10</key>
+ <value>
+ <a>11</a>
+ </value>
+ </element>
+ <element>
+ <key>12</key>
+ <value>
+ <a>13</a>
+ </value>
+ </element>
+ <element>
+ <key>14</key>
+ <value>
+ <a>15</a>
+ </value>
+ </element>
+ </bm>
+</InheritanceCont>
diff --git a/slicer/test/initial/inherit-b.xml b/slicer/test/initial/inherit-b.xml
new file mode 100644
index 0000000..6d07d06
--- /dev/null
+++ b/slicer/test/initial/inherit-b.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<InheritanceCont>
+ <b slicer-typeid="::TestModule::D1">
+ <a>1</a>
+ <b>2</b>
+ </b>
+ <bs>
+ <element slicer-typeid="::TestModule::D2">
+ <a>1</a>
+ <c>100</c>
+ </element>
+ <element slicer-typeid="::TestModule::D3">
+ <a>2</a>
+ <c>100</c>
+ <d>200</d>
+ </element>
+ <element>
+ <a>3</a>
+ </element>
+ </bs>
+ <bm>
+ <element>
+ <key>10</key>
+ <value slicer-typeid="::TestModule::D1">
+ <a>11</a>
+ <b>100</b>
+ </value>
+ </element>
+ <element>
+ <key>12</key>
+ <value slicer-typeid="::TestModule::D3">
+ <a>13</a>
+ <c>100</c>
+ <d>200</d>
+ </value>
+ </element>
+ <element>
+ <key>14</key>
+ <value>
+ <a>15</a>
+ </value>
+ </element>
+ </bm>
+</InheritanceCont>