testexecfw/stf/examples/MigrationExample/FileStore/STF/conf/TestFileStore.cfg
author Johnson Ma <johnson.ma@nokia.com>
Fri, 09 Apr 2010 10:46:28 +0800
changeset 2 8bb370ba6d1d
permissions -rw-r--r--
contribute STF 1.0.0

[Test]
title Case1 (CreateFile, allow error -11)
create TestFileStore foobar
allowerrorcodes  -11
foobar CreateFile c:\testfileserver.test
foobar WriteFile c:\testfileserver.test
delete foobar
[Endtest]

[Test]
title Case2 (Loop , Print)
create TestFileStore foobar
loop 10000 msec
print Loop test: LOOP_COUNTER .
foobar ReadFile c:\testfileserver.test
endloop
delete foobar
[Endtest]

[Test]
title Case3 (pause)
create TestFileStore foobar
print Pause 2 seconds.
pause 2000
delete foobar
[Endtest] 

[Test]
title Case4 (expectedpanic)
create TestFileStore foobar
print set expected panic
expectedpanic 5
foobar PanicExample USER 5
delete foobar
[Endtest] 

[Test]
title Case5_1 (OpenFile, event testing)
print This case should be run with Case5_2 parallel.
create TestFileStore foobar
request Event1
wait Event1
foobar OpenFile c:\testfileserver.test
release Event1
delete foobar
[Endtest] 

[Test]
title Case5_2 (CreateFile, event testing)
print This case should be run with Case5_1 parallel.
create TestFileStore foobar
allowerrorcodes  -11
foobar CreateFile c:\testfileserver.test
set Event1 state
unset Event1
delete foobar
[Endtest]