/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Domains/ |
tDomain_Configuration.py | 51 log=ACTLogging.Logger() variable 87 log.D(self.test_Conf_Creation_Error.__doc__) 89 log.I("New domain creation for testing purpose : %s" % (self.domain_name)) 90 log.I("command [createDomain]") 94 log.I("command [createDomain] correctly executed") 95 log.I("Domain %s created" % (self.domain_name)) 100 log.I("New configuration %s creation for domain %s" % (new_conf_name,self.domain_name)) 101 log.I("command [createConfiguration]") 105 log.I("command [createConfiguration] correctly executed") 106 log.I("Configuration %s created for domain %s" % (new_conf_name,self.domain_name) [all...] |
tDomain_Rules.py | 49 log=ACTLogging.Logger() variable 92 log.D(self.test_ClearRule_Errors.__doc__) 94 log.I("New domain creation for testing purpose : %s" % (self.domain_name)) 95 log.I("command [createDomain]") 99 log.I("command [createDomain] correctly executed") 100 log.I("Domain %s created" % (self.domain_name)) 103 log.I("New configuration %s creation for domain %s for testing purpose" % (self.conf_1,self.domain_name)) 104 log.I("command [createConfiguration]") 108 log.I("command [createConfiguration] correctly executed") 109 log.I("Configuration %s created for domain %s" % (self.conf_1,self.domain_name) [all...] |
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Functions/ |
tFunction_Export_Import_Domains.py | 53 log=ACTLogging.Logger() variable 111 log.D(self.test_01_importDomainsWithSettingsXML_Nominal_Case.__doc__) 114 log.I("Import Domains with settings from %s"%(self.reference_xml)) 116 assert err == None, log.E("Command [importDomainsWithSettingsXML %s] : %s"%(self.reference_xml,err)) 117 assert out == "Done", log.F("When using function importDomainsWithSettingsXML %s]"%(self.reference_xml)) 121 log.I("Current domains listing") 122 log.I("Command [listDomains]") 124 assert err == None, log.E("Command [listDomains] : %s"%(err)) 125 log.I("Command [listDomains] - correctly executed") 128 log.I("Actual domains: %s" % domainBackup [all...] |
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Types/ |
tBit_Block.py | 62 log=ACTLogging.Logger() variable 112 log.D(self.test_Nominal_Case.__doc__) 118 log.I("set parameter %s to %s"%(self.bit_name[index_bit],value_bit[index_bit])) 120 assert err == None, log.E("setParameter %s %s : %s" % (self.bit_name[index_bit],value_bit[index_bit], err)) 121 assert out == "Done", log.F("setParameter %s %s" %(self.bit_name[index_bit],value_bit[index_bit])) 122 log.I("Check bit %s value"%(self.bit_name[index_bit])) 124 assert err == None, log.E("getParameter %s : %s" % (self.block_name, err)) 125 assert out == value_bit[index_bit], log.F("getParameter %s - Expected : %s Found : %s" %(self.bit_name[index_bit],value_bit[index_bit], out)) 126 log.I("Check filesystem value") 127 assert open(self.filesystem_name).read()[:-1] == filesystem_value[index_bit], log.F("FILESYSTEM : parameter update error for %s after setting bit %s "%(self.block_name, self.bit_na (…) [all...] |
tBoolean.py | 50 log=ACTLogging.Logger() variable 78 log.D(self.testBooleanMaximum.__doc__) 81 assert err == None, log.E("When setting parameter %s : %s" % (self.param_name, err)) 82 assert out == "Done", log.F("When setting parameter %s : %s" % (self.param_name, out)) 84 assert out == value, log.F("incorrect value for %s, expected: %s, found: %s" % (self.param_name, value, out)) 103 log.D(self.testBooleanMinimum.__doc__) 106 assert err == None, log.E("When setting parameter %s : %s" % (self.param_name, err)) 107 assert out == "Done", log.F("When setting parameter %s : %s" % (self.param_name, out)) 109 assert err == None, log.E("Error when setting parameter %s : %s" % (self.param_name, err)) 110 assert out == value, log.F("Incorrect value for %s, expected: %s, found: %s" % (self.param_name, value, out) [all...] |
tEnum.py | 57 log=ACTLogging.Logger() variable 88 log.D(self.test_Nominal_Case.__doc__) 91 log.I("Set parameter %s to %s"%(self.param_name,value)) 93 assert err == None, log.E("setParameter %s %s : %s" % (self.param_name, value, err)) 94 assert out == "Done", log.F("setParameter %s %s - expected : Done : %s" % (self.param_name, value,out)) 95 log.I("Check Enum parameter state") 97 assert err == None, log.E("getParameter %s : %s" % (self.param_name, err)) 98 assert out == value, log.F("getParameter %s - expected : %s , found : %s" % (self.param_name,value,out)) 99 log.I("Check filesystem value") 100 assert open(self.filesystem_name).read()[:-1] == filesystem_value, log.F("FILESYSTEM : parameter update error for %s"%(self.param_name) [all...] |
tFP16_Q0_15.py | 58 log=ACTLogging.Logger() variable 88 log.D(self.test_Nominal_Case.__doc__) 91 log.I("Setting %s to value %s" % (self.type_name, value)) 94 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 95 assert out == "Done", log.F("when setting parameter %s : %s" % (self.param_name, out)) 98 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 99 assert round(float(out),4) == float(value), log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s" % (self.param_name, value, out)) 101 assert open(os.environ["PFW_RESULT"] + "/FP16_Q0.15").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error") 102 log.I("test OK") 122 log.D(self.test_TypeMin.__doc__ [all...] |
tFP16_Q15_0.py | 58 log=ACTLogging.Logger() variable 87 log.D(self.test_Nominal_Case.__doc__) 88 log.I("FP16_Q15.0 parameter in nominal case = 2222") 93 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 94 assert out == "Done", log.F("when setting parameter %s : %s" % (self.param_name, out)) 97 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 98 assert float(out) == float(value), log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s" % (self.param_name, value, out)) 100 assert open(os.environ["PFW_RESULT"] + "/FP16_Q15.0").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error") 101 log.I("test OK") 121 log.D(self.test_TypeMin.__doc__ [all...] |
tFP16_Q7_8.py | 58 log=ACTLogging.Logger() variable 88 log.D(self.test_Nominal_Case.__doc__) 89 log.I("FP16_Q7.8 parameter in nominal case = 23.59") 94 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 95 assert out == "Done", log.F("when setting parameter %s : %s" % (self.param_name, out)) 98 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 99 assert round(float(out),2) == float(value), log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s" 102 assert open(os.environ["PFW_RESULT"] + "/FP16_Q7.8").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error") 103 log.I("test OK") 123 log.D(self.test_TypeMin.__doc__ [all...] |
tFP32_Q0_31.py | 58 log=ACTLogging.Logger() variable 87 log.D(self.test_Nominal_Case.__doc__) 88 log.I("FP32_Q0.31 parameter in nominal case = 0.500000000") 93 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 94 assert out == "Done", log.F("when setting parameter %s : %s" % (self.param_name, out)) 97 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 98 assert round(float(out),10) == round(float(value),10), log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s" 101 assert open(os.environ["PFW_RESULT"] + "/FP32_Q0.31").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error") 102 log.I("test OK") 122 log.D(self.test_TypeMin.__doc__ [all...] |
tFP32_Q15_16.py | 58 log=ACTLogging.Logger() variable 87 log.D(self.test_Nominal_Case.__doc__) 88 log.I("FP32_Q15.16 parameter in nominal case = 12345.12345") 93 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 94 assert out == "Done", log.F("when setting parameter %s : %s" % (self.param_name, err)) 97 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 98 assert round(float(out),4) == float(value), log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s" 101 assert open(os.environ["PFW_RESULT"] + "/FP32_Q15.16").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error") 102 log.I("test OK") 123 log.D(self.test_TypeMin.__doc__ [all...] |
tFP32_Q31_0.py | 58 log=ACTLogging.Logger() variable 87 log.D(self.test_Nominal_Case.__doc__) 88 log.I("FP32_Q31.0 parameter in nominal case = 2222") 93 assert err == None, log.E("when setting parameter %s : %s" 95 assert out == "Done", log.F("when setting parameter %s : %s" 99 assert err == None, log.E("when setting parameter %s : %s" 101 assert float(out) == float(value), log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s" 104 assert open(os.environ["PFW_RESULT"] + "/FP32_Q31.0").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error") 105 log.I("test OK") 125 log.D(self.test_TypeMin.__doc__ [all...] |
tFP32_Q8_20.py | 58 log=ACTLogging.Logger() variable 87 log.D(self.test_Nominal_Case.__doc__) 88 log.I("FP32_Q8.20 parameter in nominal case = -128.123456") 93 assert err == None, log.E("when setting parameter %s : %s" 95 assert out == "Done", log.F("when setting parameter %s : %s" 99 assert err == None, log.E("when setting parameter %s : %s" 101 assert round(float(out),6) == float(value), log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s" 104 assert open(os.environ["PFW_RESULT"] + "/FP32_Q8.20").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error") 105 log.I("test OK") 125 log.D(self.test_TypeMin.__doc__ [all...] |
tFP8_Q0_7.py | 59 log=ACTLogging.Logger() variable 89 log.D(self.test_Nominal_Case.__doc__) 92 log.I("Setting %s to value %s" % (self.type_name, value)) 95 assert err == None, log.E("when setting parameter %s : %s" 97 assert out == "Done", log.F("when setting parameter %s : %s" 101 assert err == None, log.E("when setting parameter %s : %s" 103 assert round(float(out), 2) == float(value), log.F("BLACKBOARD - Incorrect value for %s, expected: %s, found: %s" 106 assert open(os.environ["PFW_RESULT"] + "/FP8_Q0.7").read()[:-1] == hex_value, log.F("FILESYSTEM - parameter update error") 107 log.I("test OK") 127 log.D(self.test_TypeMin.__doc__ [all...] |
tFP8_Q3_4.py | 58 log=ACTLogging.Logger() variable 88 log.D(self.test_Nominal_Case.__doc__) 91 log.I("Setting %s to value %s" % (self.type_name, value)) 94 assert err == None, log.E("when setting parameter %s : %s" 96 assert out == "Done", log.F("when setting parameter %s : %s" 100 assert err == None, log.E("when setting parameter %s : %s" 102 assert round(float(out), 1) == float(value), log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s" 105 assert open(os.environ["PFW_RESULT"] + "/FP8_Q3.4").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error") 106 log.I("test OK") 126 log.D(self.test_TypeMin.__doc__ [all...] |
tFP8_Q7_0.py | 58 log=ACTLogging.Logger() variable 88 log.D(self.test_Nominal_Case.__doc__) 91 log.I("Setting %s to value %s" % (self.type_name, value)) 94 assert err == None, log.E("when setting parameter %s : %s" 96 assert out == "Done", log.F("when setting parameter %s : %s" 100 assert err == None, log.E("when setting parameter %s : %s" 102 assert float(out) == float(value), log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s" 105 assert open(os.environ["PFW_RESULT"] + "/FP8_Q7.0").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error") 106 log.I("test OK") 126 log.D(self.test_TypeMin.__doc__ [all...] |
tINT16.py | 57 log=ACTLogging.Logger() variable 86 log.D(self.test_Nominal_Case.__doc__) 87 log.I("INT16 parameter in nominal case = 50") 92 assert err == None, log.E("when setting parameter %s : %s" 94 assert out == "Done", log.F("when setting parameter %s : %s" 98 assert err == None, log.E("when setting parameter %s : %s" 100 assert out == value, log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s" 103 assert open(os.environ["PFW_RESULT"] + "/INT16").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error") 104 log.I("test OK") 124 log.D(self.test_TypeMin.__doc__ [all...] |
tINT16_ARRAY.py | 58 log=ACTLogging.Logger() variable 97 log.D(self.test_Nominal_Case.__doc__) 107 assert err == None, log.E("when setting parameter %s[%s]: %s" 109 assert out == "Done", log.F("when setting parameter %s[%s]: %s" 113 assert err == None, log.E("when setting parameter %s[%s] : %s" 115 assert out == str(indexed_array_value), log.F("BLACKBOARD : Incorrect value for %s[%s], expected: %s, found: %s" 119 assert indexed_files_system_array_value == hex_indexed_array_value, log.F("FILESSYSTEM : %s[%s] update error" 140 log.D(self.test_Min_Value.__doc__) 147 assert err == None, log.E("when setting parameter %s[%s]: %s" 149 assert out == "Done", log.E("when setting parameter %s[%s]: %s [all...] |
tINT16_Max.py | 57 log=ACTLogging.Logger() variable 86 log.D(self.test_Nominal_Case.__doc__) 87 log.I("INT16_Max parameter in nominal case = 50") 92 assert err == None, log.E("when setting parameter %s : %s" 94 assert out == "Done", log.F("when setting parameter %s : %s" 98 assert err == None, log.E("when setting parameter %s : %s" 100 assert out == value, log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s" 103 assert open(os.environ["PFW_RESULT"] + "/INT16_Max").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error") 104 log.I("test OK") 124 log.D(self.test_TypeMin.__doc__ [all...] |
tINT32.py | 57 log=ACTLogging.Logger() variable
|
tINT32_Max.py | 57 log=ACTLogging.Logger() variable 86 log.D(self.test_Nominal_Case.__doc__) 87 log.I("INT32_Max parameter in nominal case = 50") 92 assert err == None, log.E("when setting parameter %s : %s" 94 assert out == "Done", log.F("when setting parameter %s : %s" 98 assert err == None, log.E("when setting parameter %s : %s" 100 assert out == value, log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s" 103 assert open(os.environ["PFW_RESULT"] + "/INT32_Max").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error") 104 log.I("test OK") 123 log.D(self.test_TypeMin.__doc__ [all...] |
tINT8.py | 57 log=ACTLogging.Logger() variable 86 log.D(self.test_Nominal_Case.__doc__) 87 log.I("INT8 parameter in nominal case = 50") 92 assert err == None, log.E("when setting parameter %s : %s" 94 assert out == "Done", log.F("when setting parameter %s : %s" 98 assert err == None, log.E("when setting parameter %s : %s" 100 assert out == value, log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s" 103 assert open(os.environ["PFW_RESULT"] + "/INT8").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error") 104 log.I("test OK") 124 log.D(self.test_TypeMin.__doc__ [all...] |
tINT8_Max.py | 57 log=ACTLogging.Logger() variable
|
tParameter_Block.py | 58 log=ACTLogging.Logger() variable 106 log.D(self.test_Nominal_Case.__doc__) 112 log.I("set parameter %s to %s" 115 assert err == None, log.E("setParameter %s %s : %s" 117 assert out == "Done", log.F("setParameter %s %s" 119 log.I("Check parameter %s value" 122 assert err == None, log.E("getParameter %s : %s" 124 assert out == value_param[index_param], log.F("getParameter %s - Expected : %s Found : %s" 126 log.I("Check filesystem value") 128 == filesystem_value[index_param]), log.F("FILESYSTEM : parameter update error for %s after setting %s [all...] |
tUINT16.py | 60 log=ACTLogging.Logger() variable 90 log.D(self.test_Nominal_Case.__doc__) 91 log.I("UINT16 parameter in nominal case = 50") 96 assert err == None, log.E("when setting parameter %s : %s" 98 assert out == "Done", log.F("when setting parameter %s : %s" 102 assert err == None, log.E("when setting parameter %s : %s" 104 assert out == value, log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s" 107 assert open(os.environ["PFW_RESULT"] + "/UINT16").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error") 108 log.I("test OK") 128 log.D(self.test_TypeMin.__doc__ [all...] |