aboutsummaryrefslogtreecommitdiff
path: root/tests/testdata
diff options
context:
space:
mode:
authorGravatar rcoh <rcoh@mit.edu>2011-02-19 13:38:03 +0800
committerGravatar Russell <rcoh@mit.edu>2011-02-20 03:54:11 +0800
commitcf3dfd79fb22574b3b9aa9c549be47c3fc9267bb (patch)
treea521664f41c07fe21335701f043b0b0aa3700206 /tests/testdata
parent67c62d8c9e650f594e9aea348b8ed0c1351c7d81 (diff)
Added XML introspection script (XmlInfo.py). Should make reading XML files a lot easier for us
humans!
Diffstat (limited to 'tests/testdata')
-rw-r--r--tests/testdata/XmlInfoTest.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/testdata/XmlInfoTest.xml b/tests/testdata/XmlInfoTest.xml
new file mode 100644
index 0000000..c79896a
--- /dev/null
+++ b/tests/testdata/XmlInfoTest.xml
@@ -0,0 +1,30 @@
+<LightInstallation>
+ <InstallationConfiguration>
+ <Defaults>
+ <PixelMapper>simplemap</PixelMapper>
+ </Defaults>
+ </InstallationConfiguration>
+ <PixelConfiguration>
+ <InheritsFrom>layouts/C5SignLayout.xml</InheritsFrom>
+ </PixelConfiguration>
+ <PixelMapperConfiguration>
+ <PixelMapper>
+ <Class>pixelmappers.C5SignMapper</Class>
+ <Args>
+ <Id>simplemap</Id>
+ <CutoffDist>20</CutoffDist>
+ <Doc>SimpleMapper is a mapper which returns the closest pixel.</Doc>
+ </Args>
+ </PixelMapper>
+ <PixelMapper>
+ <Class>pixelmappers.GaussianMapper</Class>
+ <Args>
+ <Id>gaussmap</Id>
+ <CutoffDist>30</CutoffDist>
+ <MinWeight>0.1</MinWeight>
+ <Width>7</Width>
+ <Height>1</Height>
+ </Args>
+ </PixelMapper>
+ </PixelMapperConfiguration>
+</LightInstallation>