|
1 ut_oom are unit test code for oom. |
|
2 |
|
3 How to build test code |
|
4 go to group directory and run |
|
5 >sbs reallyclean |
|
6 >sbs |
|
7 |
|
8 How to install test module |
|
9 Copy related exe, dll, resource file to device |
|
10 1) \epoc32\release\armv5\udeb\ut_oom.dll -> c:\sys\bin\ut_oom.dll |
|
11 2) \epoc32\release\armv5\udeb\ut_oomplugin.dll -> c:\sys\bin\ut_oomplugin.dll |
|
12 3) \epoc32\Data\z\resource\plugins\ut_oomplugin.RSC -> C:\resource\plugins\ut_oomplugin.RSC |
|
13 4) \epoc32\release\armv5\udeb\ut_oomplugin2.dll -> c:\sys\bin\ut_oomplugin2.dll |
|
14 5) \epoc32\Data\z\resource\plugins\ut_oomplugin2.RSC -> C:\resource\plugins\ut_oomplugin2.RSC |
|
15 6) \epoc32\release\armv5\udeb\appfortest.exe -> c:\sys\bin\appfortest.exe |
|
16 7) \epoc32\release\armv5\udeb\ut_oomwatcher.dll -> c:\sys\bin\ut_oomwatcher.dll |
|
17 8) \epoc32\release\armv5\udeb\ut_mockoomserver.exe -> c:\sys\bin\ut_mockoomserver.exe |
|
18 9) \epoc32\release\armv5\udeb\ut_oom_closeapp.dll -> c:\sys\bin\ut_oom_closeapp.dll |
|
19 10) \epoc32\release\armv5\udeb\ut_oom_memorymonitor.dll -> c:\sys\bin\ut_oom_memorymonitor.dll |
|
20 11) \epoc32\winscw\c\testframework\oomconfig.xml -> c:\testframework\oomconfig.xml |
|
21 |
|
22 How to run test code at emulator |
|
23 1)start symbian device emulator |
|
24 2)start eshell |
|
25 3)start command at eshell |
|
26 atsinterface.exe -testmodule ut_oom |
|
27 atsinterface.exe -testmodule ut_oom_closeapp |
|
28 atsinterface.exe -testmodule ut_oomwatcher |
|
29 atsinterface.exe -testmodule ut_oom_memorymonitor |
|
30 |
|
31 How to run test code at hw |
|
32 1)start symbian device |
|
33 2)start eshell |
|
34 3)start command at eshell |
|
35 atsinterface.exe -testmodule ut_oom |
|
36 atsinterface.exe -testmodule ut_oom_closeapp |
|
37 atsinterface.exe -testmodule ut_oomwatcher |
|
38 atsinterface.exe -testmodule ut_oom_memorymonitor |