RTests are the original test harnesses used for testing Symbian OS. They compile into executables. The RTest logs of these
tests are currently redirected from a device via a serial port. Each RTest should be described in an XML file based on the
RTest DTD (Rtest.dtd
).
Below is an example of an RTest XML file, SampleLegacyTest7.xml
:
<?xml version="1.0"?>
<!DOCTYPE RTest SYSTEM "c:\program files\common files\symbian\RTest.dtd" [ ]>
<Rtest>
<name>SampleLegacyTest7</name>
<mmpFile>SampleLegacyTest7.mmp</mmpFile>
<bldInfPath>TestX\Test\Data\Source\group\bld.inf</bldInfPath>
<devicePath>c:\TestX\SampleLegacyTest7.exe</devicePath>
<timeout>30</timeout>
<copyFrom src="c:\testdriver\test.txt" dst="test.txt"/>
<beforeTestRun cmd="C:\WINNT\notepad.exe"/>
<afterTestRun cmd="c:\WINNT\notepad.exe"/>
<dependencies>
<data>
<hostPath>epoc32\WINSCW\c\testx\SampleLegacyTest7DataDep.txt</hostPath>
<devicePath>c:\TestX\SampleLegacyTest7DataDep.txt</devicePath>
</data>
<build type="test">
<hostPath>SampleLegacyTest7BuildDep.dll</hostPath>
<devicePath>c:\system\libs\SampleLegacyTest7BuildDep.dll</devicePath>
<mmpFile>SampleLegacyTest7BuildDep.mmp</mmpFile>
<bldInfPath>TestX\Test\Data\Source\group\bld.inf</bldInfPath>
</build>
</dependencies>
</RTest>
|