diff options
author | randomdan <randomdan@localhost> | 2014-06-26 14:35:09 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2014-06-26 14:35:09 +0000 |
commit | 68f3c5105f497322a7ea9683cd96a584e7b0e770 (patch) | |
tree | fc34a0ea6dfa2b89f42e1f4e76df4f3ced613dbb | |
parent | Adds support for classes with inheritance (diff) | |
download | slicer-68f3c5105f497322a7ea9683cd96a584e7b0e770.tar.bz2 slicer-68f3c5105f497322a7ea9683cd96a584e7b0e770.tar.xz slicer-68f3c5105f497322a7ea9683cd96a584e7b0e770.zip |
Add missing unit test data
-rw-r--r-- | slicer/test/initial/inherit-a.xml | 37 | ||||
-rw-r--r-- | slicer/test/initial/inherit-b.xml | 44 |
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> |