In unit-tests, always use StringIO, not io
[zeroinstall.git] / tests / Command.xml
blobe06837b0d6b573452a54d834d621f81afc5be802
1 <?xml version="1.0" ?>
2 <interface xmlns="http://zero-install.sourceforge.net/2004/injector/interface"
3            xmlns:custom='http://custom'>
4   <name>Commands</name>
5   <summary>Local feed</summary>
7   <group main='foo' self-test='test-foo' local-path='.'>
8     <requires interface="./Binary.xml" importance='optional'>
9       <version not-before='9999'/>
10     </requires>
12     <implementation id="a" version="0.1"/>
13     <implementation id="b" main='bar' version="0.1"/>
14     <implementation id="c" version="0.1" main='ignored'>
15       <command name='run' path="test-gui" custom:attr='namespaced'>
16         <custom:child/>
17         <requires interface='./Local.xml'>
18           <environment name='LOCAL' insert='local'/>
19         </requires>
20         <executable-in-var name='SELF_COMMAND'/>
21       </command>
22       <command name='test' path="test-baz"/>
23     </implementation>
24   </group>
25 </interface>