removed old example tests

This commit is contained in:
fros4943 2008-09-17 22:02:19 +00:00
parent 3a06219c1e
commit 29eb6ecba4
9 changed files with 0 additions and 327 deletions

View file

@ -1,84 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<simconf>
<simulation>
<title>My simulation</title>
<delaytime>0</delaytime>
<ticktime>1</ticktime>
<randomseed>123456</randomseed>
<nrticklists>1</nrticklists>
<motedelay>0</motedelay>
<radiomedium>
se.sics.cooja.radiomediums.UDGM
<transmitting_range>50.0</transmitting_range>
<interference_range>100.0</interference_range>
<success_ratio_tx>1.0</success_ratio_tx>
<success_ratio_rx>1.0</success_ratio_rx>
</radiomedium>
<motetype>
se.sics.cooja.contikimote.ContikiMoteType
<identifier>mtype1</identifier>
<description>Contiki Mote #1</description>
<contikibasedir>../../..</contikibasedir>
<contikicoredir>../../../platform/cooja</contikicoredir>
<compilefile>../apps/mrm</compilefile>
<compilefile>../apps/mspsim</compilefile>
<compilefile>../../../platform/cooja/testapps</compilefile>
<compilefile>testctimer.c</compilefile>
<process>test_ctimer_process</process>
<sensor>button_sensor</sensor>
<sensor>pir_sensor</sensor>
<sensor>radio_sensor</sensor>
<sensor>vib_sensor</sensor>
<moteinterface>se.sics.cooja.interfaces.Position</moteinterface>
<moteinterface>se.sics.cooja.interfaces.Battery</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiVib</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiMoteID</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiRS232</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiBeeper</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiIPAddress</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiRadio</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiButton</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiPIR</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiClock</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiLED</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiLog</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiCFS</moteinterface>
<coreinterface>cfs_interface</coreinterface>
<coreinterface>beep_interface</coreinterface>
<coreinterface>button_interface</coreinterface>
<coreinterface>radio_interface</coreinterface>
<coreinterface>ip_interface</coreinterface>
<coreinterface>leds_interface</coreinterface>
<coreinterface>moteid_interface</coreinterface>
<coreinterface>pir_interface</coreinterface>
<coreinterface>rs232_interface</coreinterface>
<coreinterface>vib_interface</coreinterface>
<coreinterface>clock_interface</coreinterface>
<coreinterface>simlog_interface</coreinterface>
<symbols>false</symbols>
<commstack>Rime</commstack>
</motetype>
<mote>
se.sics.cooja.contikimote.ContikiMote
<motetype_identifier>mtype1</motetype_identifier>
<interface_config>
se.sics.cooja.interfaces.Position
<x>79.66258522384587</x>
<y>56.93700296740023</y>
<z>0.0</z>
</interface_config>
<interface_config>
se.sics.cooja.contikimote.interfaces.ContikiMoteID
<id>1</id>
</interface_config>
<interface_config>
se.sics.cooja.contikimote.interfaces.ContikiIPAddress
<ipv4address>10.10.2.11</ipv4address>
</interface_config>
<interface_config>
se.sics.cooja.interfaces.Battery
<infinite>false</infinite>
</interface_config>
</mote>
</simulation>
</simconf>

View file

@ -1,4 +0,0 @@
if (msg.startsWith("Callback function called at time 50000 (counter=100)")) {
log.log("TEST OK\n");
mote.getSimulation().getGUI().doQuit(false);
}

View file

@ -1,54 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<simconf>
<simulation>
<title>My simulation</title>
<delaytime>0</delaytime>
<ticktime>1</ticktime>
<randomseed>123456</randomseed>
<nrticklists>1</nrticklists>
<motedelay>0</motedelay>
<radiomedium>
se.sics.cooja.radiomediums.UDGM
<transmitting_range>100.0</transmitting_range>
<interference_range>100.0</interference_range>
<success_ratio_tx>0.99</success_ratio_tx>
<success_ratio_rx>1.0</success_ratio_rx>
</radiomedium>
<motetype>
se.sics.cooja.mspmote.SkyMoteType
<identifier>sky1</identifier>
<description>Sky Mote Type #1</description>
<source>../../../examples/rime/example-rucb.c</source>
<command>make example-rucb.firmware TARGET=sky</command>
</motetype>
<mote>
se.sics.cooja.mspmote.SkyMote
<motetype_identifier>sky1</motetype_identifier>
<interface_config>
se.sics.cooja.interfaces.Position
<x>8.7830079223847</x>
<y>95.48302342542931</y>
<z>0.0</z>
</interface_config>
<interface_config>
se.sics.cooja.mspmote.interfaces.MspMoteID
<id>1</id>
</interface_config>
</mote>
<mote>
se.sics.cooja.mspmote.SkyMote
<motetype_identifier>sky1</motetype_identifier>
<interface_config>
se.sics.cooja.interfaces.Position
<x>27.845954712384994</x>
<y>89.7816915051461</y>
<z>0.0</z>
</interface_config>
<interface_config>
se.sics.cooja.mspmote.interfaces.MspMoteID
<id>2</id>
</interface_config>
</mote>
</simulation>
</simconf>

View file

@ -1,4 +0,0 @@
if (msg.startsWith("Completion time ")) {
log.log("TEST OK\n");
mote.getSimulation().getGUI().doQuit(false);
}

View file

@ -1,85 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<simconf>
<simulation>
<title>My simulation</title>
<delaytime>0</delaytime>
<ticktime>1</ticktime>
<randomseed>123456</randomseed>
<nrticklists>1</nrticklists>
<motedelay>0</motedelay>
<radiomedium>
se.sics.cooja.radiomediums.UDGM
<transmitting_range>100.0</transmitting_range>
<interference_range>100.0</interference_range>
<success_ratio_tx>1.0</success_ratio_tx>
<success_ratio_rx>1.0</success_ratio_rx>
</radiomedium>
<motetype>
se.sics.cooja.contikimote.ContikiMoteType
<identifier>mtype1</identifier>
<description>Contiki Mote #1</description>
<contikibasedir>../../..</contikibasedir>
<contikicoredir>../../../platform/cooja</contikicoredir>
<compilefile>../apps/mrm</compilefile>
<compilefile>../apps/mspsim</compilefile>
<compilefile>../../../platform/cooja/testapps</compilefile>
<compilefile>hello-world.c</compilefile>
<process>hello_world_process</process>
<sensor>button_sensor</sensor>
<sensor>pir_sensor</sensor>
<sensor>radio_sensor</sensor>
<sensor>vib_sensor</sensor>
<moteinterface>se.sics.cooja.interfaces.Position</moteinterface>
<moteinterface>se.sics.cooja.interfaces.Battery</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiVib</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiMoteID</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiRS232</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiBeeper</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiIPAddress</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiRadio</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiButton</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiPIR</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiClock</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiLED</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiLog</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiCFS</moteinterface>
<coreinterface>cfs_interface</coreinterface>
<coreinterface>beep_interface</coreinterface>
<coreinterface>button_interface</coreinterface>
<coreinterface>radio_interface</coreinterface>
<coreinterface>ip_interface</coreinterface>
<coreinterface>leds_interface</coreinterface>
<coreinterface>moteid_interface</coreinterface>
<coreinterface>pir_interface</coreinterface>
<coreinterface>rs232_interface</coreinterface>
<coreinterface>vib_interface</coreinterface>
<coreinterface>clock_interface</coreinterface>
<coreinterface>simlog_interface</coreinterface>
<symbols>false</symbols>
<commstack>Rime</commstack>
</motetype>
<mote>
se.sics.cooja.contikimote.ContikiMote
<motetype_identifier>mtype1</motetype_identifier>
<interface_config>
se.sics.cooja.interfaces.Position
<x>0.0</x>
<y>0.0</y>
<z>0.0</z>
</interface_config>
<interface_config>
se.sics.cooja.contikimote.interfaces.ContikiMoteID
<id>1</id>
</interface_config>
<interface_config>
se.sics.cooja.contikimote.interfaces.ContikiIPAddress
<ipv4address>10.10.10.10</ipv4address>
</interface_config>
<interface_config>
se.sics.cooja.interfaces.Battery
<infinite>false</infinite>
</interface_config>
</mote>
</simulation>
</simconf>

View file

@ -1,4 +0,0 @@
if (msg.startsWith("Hello, world")) {
log.log("TEST OK\n");
mote.getSimulation().getGUI().doQuit(false);
}

View file

@ -1,85 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<simconf>
<simulation>
<title>My simulation</title>
<delaytime>0</delaytime>
<ticktime>1</ticktime>
<randomseed>123456</randomseed>
<nrticklists>1</nrticklists>
<motedelay>0</motedelay>
<radiomedium>
se.sics.cooja.radiomediums.UDGM
<transmitting_range>100.0</transmitting_range>
<interference_range>100.0</interference_range>
<success_ratio_tx>1.0</success_ratio_tx>
<success_ratio_rx>1.0</success_ratio_rx>
</radiomedium>
<motetype>
se.sics.cooja.contikimote.ContikiMoteType
<identifier>mtype1</identifier>
<description>Contiki Mote #1</description>
<contikibasedir>../../..</contikibasedir>
<contikicoredir>../../../platform/cooja</contikicoredir>
<compilefile>../apps/mrm</compilefile>
<compilefile>../apps/mspsim</compilefile>
<compilefile>../../../platform/cooja/testapps</compilefile>
<compilefile>hello-world.c</compilefile>
<process>hello_world_process</process>
<sensor>button_sensor</sensor>
<sensor>pir_sensor</sensor>
<sensor>radio_sensor</sensor>
<sensor>vib_sensor</sensor>
<moteinterface>se.sics.cooja.interfaces.Position</moteinterface>
<moteinterface>se.sics.cooja.interfaces.Battery</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiVib</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiMoteID</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiRS232</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiBeeper</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiIPAddress</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiRadio</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiButton</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiPIR</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiClock</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiLED</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiLog</moteinterface>
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiCFS</moteinterface>
<coreinterface>cfs_interface</coreinterface>
<coreinterface>beep_interface</coreinterface>
<coreinterface>button_interface</coreinterface>
<coreinterface>radio_interface</coreinterface>
<coreinterface>ip_interface</coreinterface>
<coreinterface>leds_interface</coreinterface>
<coreinterface>moteid_interface</coreinterface>
<coreinterface>pir_interface</coreinterface>
<coreinterface>rs232_interface</coreinterface>
<coreinterface>vib_interface</coreinterface>
<coreinterface>clock_interface</coreinterface>
<coreinterface>simlog_interface</coreinterface>
<symbols>false</symbols>
<commstack>Rime</commstack>
</motetype>
<mote>
se.sics.cooja.contikimote.ContikiMote
<motetype_identifier>mtype1</motetype_identifier>
<interface_config>
se.sics.cooja.interfaces.Position
<x>0.0</x>
<y>0.0</y>
<z>0.0</z>
</interface_config>
<interface_config>
se.sics.cooja.contikimote.interfaces.ContikiMoteID
<id>1</id>
</interface_config>
<interface_config>
se.sics.cooja.contikimote.interfaces.ContikiIPAddress
<ipv4address>10.10.10.10</ipv4address>
</interface_config>
<interface_config>
se.sics.cooja.interfaces.Battery
<infinite>false</infinite>
</interface_config>
</mote>
</simulation>
</simconf>

View file

@ -1,3 +0,0 @@
Bogus test.
Expecting "bye world" from the hello world application.
This test should fail.

View file

@ -1,4 +0,0 @@
if (msg.startsWith("Bye, world")) {
log.log("TEST OK\n");
mote.getSimulation().getGUI().doQuit(false);
}