diff options
author | Adrien M <adrienx.martin@intel.com> | 2015-03-10 15:21:30 +0100 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2015-04-24 13:39:12 -0700 |
commit | ec5130b950992fe79400ba66336d19169772a530 (patch) | |
tree | 0ddf66f1d680bf4be582b949d2596b7f08c8b74a /test/functional-tests/PfwTestCase/Types/tParameter_Block.py | |
parent | 5aaddd16f2aabccf07687f1761567eb6455abe61 (diff) | |
download | external_parameter-framework-ec5130b950992fe79400ba66336d19169772a530.zip external_parameter-framework-ec5130b950992fe79400ba66336d19169772a530.tar.gz external_parameter-framework-ec5130b950992fe79400ba66336d19169772a530.tar.bz2 |
Add functionnal tests to the pfw.
This patch adds functionnal test to the PFW.
The execution of these tests needs the test-subsystem to be compiled.
The tests can be launch with 'make test'.
We set the environment vars in the cmake.
Then we launch ACTCampaignEngine.py.
Temporary files like build time conf files are placed on the build directory.
Next steps :
- Test-subsystem needs to be reworked (with binding python).
Signed-off-by: Adrien M <adrienx.martin@intel.com>
Diffstat (limited to 'test/functional-tests/PfwTestCase/Types/tParameter_Block.py')
-rw-r--r-- | test/functional-tests/PfwTestCase/Types/tParameter_Block.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/functional-tests/PfwTestCase/Types/tParameter_Block.py b/test/functional-tests/PfwTestCase/Types/tParameter_Block.py index bc763bd..dcbe098 100644 --- a/test/functional-tests/PfwTestCase/Types/tParameter_Block.py +++ b/test/functional-tests/PfwTestCase/Types/tParameter_Block.py @@ -51,6 +51,7 @@ Test cases : - Testing error : Try to set an undefined param """ import commands +import unittest from Util.PfwUnitTestLib import PfwTestCase from Util import ACTLogging log=ACTLogging.Logger() @@ -65,13 +66,13 @@ class TestCases(PfwTestCase): #UINT8_0, size = 8 self.param_name.append(self.block_name+"/UINT8") - self.filesystem_name.append("$PFW_FILESYSTEM/BLOCK_UINT8") + self.filesystem_name.append("$PFW_RESULT/BLOCK_UINT8") #UINT16_1, size = 16 self.param_name.append(self.block_name+"/UINT16") - self.filesystem_name.append("$PFW_FILESYSTEM/BLOCK_UINT16") + self.filesystem_name.append("$PFW_RESULT/BLOCK_UINT16") #UINT32_2, size = 32 self.param_name.append(self.block_name+"/UINT32") - self.filesystem_name.append("$PFW_FILESYSTEM/BLOCK_UINT32") + self.filesystem_name.append("$PFW_RESULT/BLOCK_UINT32") self.pfw.sendCmd("setTuningMode", "on") @@ -79,6 +80,7 @@ class TestCases(PfwTestCase): self.pfw.sendCmd("setTuningMode", "off") + @unittest.expectedFailure def test_Nominal_Case(self): """ Testing BLOCK_PARAMETER in nominal case |