Home
last modified time | relevance | path

Searched refs:expectSuccess (Results 1 – 25 of 59) sorted by relevance

123

/external/skia/tests/
DShadowUtilsTest.cpp16 bool expectSuccess) { in tessellate_shadow() argument
21 if (expectSuccess != SkToBool(verts)) { in tessellate_shadow()
23 expectSuccess ? "succeed" : "fail"); in tessellate_shadow()
26 if (expectSuccess != SkToBool(verts)) { in tessellate_shadow()
28 expectSuccess ? "succeed" : "fail"); in tessellate_shadow()
31 if (expectSuccess != SkToBool(verts)) { in tessellate_shadow()
33 expectSuccess ? "succeed" : "fail"); in tessellate_shadow()
36 if (expectSuccess != SkToBool(verts)) { in tessellate_shadow()
38 expectSuccess ? "succeed" : "fail"); in tessellate_shadow()
DBlurTest.cpp389 const bool expectSuccess = sigma > 0; in test_blurDrawLooper() local
396 REPORTER_ASSERT(reporter, success == expectSuccess); in test_blurDrawLooper()
409 SkBlurStyle style, SkBlurQuality quality, bool expectSuccess) { in test_looper() argument
412 REPORTER_ASSERT(reporter, success == expectSuccess); in test_looper()
413 if (success != expectSuccess) { in test_looper()
442 bool expectSuccess) { in test_layerDrawLooper() argument
459 test_looper(reporter, builder.detach(), sigma, style, quality, expectSuccess); in test_layerDrawLooper()
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Functions/
DtFunction_setParameter.py76 out, err = self.pfw.sendCmd("setParameter", "Undefined_parameter", "0", expectSuccess=False)
81 … out, err = self.pfw.sendCmd("setParameter", self.param_name, "Wrong_Value", expectSuccess=False)
87 out, err = self.pfw.sendCmd("setParameter", self.param_name, "1.2345", expectSuccess=False)
DtFunction_listingFunctions.py259 out, err = self.pfw.sendCmd("listElements", expectSuccess=False)
283 out, err = self.pfw.sendCmd("listParameters", expectSuccess=False)
339 out, err = self.pfw.sendCmd("getElementSize", expectSuccess=False)
391 out, err = self.pfw.sendCmd("showProperties", expectSuccess=False)
441 out, err = self.pfw.sendCmd("listBelongingDomains", expectSuccess=False)
DtFunction_Export_Import_Domains.py78 self.pfw.sendCmd("setTuningMode", "off", expectSuccess=None)
566 …, err = self.pfw.sendCmd("importDomainsWithSettingsXML",xml_path+xml_name, "", expectSuccess=False)
573 …, err = self.pfw.sendCmd("importDomainsWithSettingsXML",xml_path+xml_name, "", expectSuccess=False)
580 …, err = self.pfw.sendCmd("importDomainsWithSettingsXML",xml_path+xml_name, "", expectSuccess=False)
587 …, err = self.pfw.sendCmd("importDomainsWithSettingsXML",xml_path+xml_name, "", expectSuccess=False)
594 …, err = self.pfw.sendCmd("importDomainsWithSettingsXML",xml_path+xml_name, "", expectSuccess=False)
722 out, err = self.pfw.sendCmd("importDomainsXML",xml_path+xml_name, "", expectSuccess=False)
729 out, err = self.pfw.sendCmd("importDomainsXML",xml_path+xml_name, "", expectSuccess=False)
743 out, err = self.pfw.sendCmd("importDomainsXML",xml_path+xml_name, "", expectSuccess=False)
750 out, err = self.pfw.sendCmd("importDomainsXML",xml_path+xml_name, "", expectSuccess=False)
/external/parameter-framework/upstream/test/functional-tests-legacy/Util/
DPfwUnitTestLib.py51 expectSuccess=kwargs.get("expectSuccess", True)
67 if (expectSuccess != None):
68 …code == 0) == expectSuccess, "Unexpected command result:\nexpectedSuccess=%s\nCMD=%s\nreturncode=%…
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
DUnsignedLongTest.java77 boolean expectSuccess = value >= 0; in testValueOfLong()
80 assertTrue(expectSuccess); in testValueOfLong()
82 assertFalse(expectSuccess); in testValueOfLong()
91 boolean expectSuccess = in testValueOfBigInteger()
95 assertTrue(expectSuccess); in testValueOfBigInteger()
97 assertFalse(expectSuccess); in testValueOfBigInteger()
/external/guava/guava-tests/test/com/google/common/primitives/
DUnsignedIntegerTest.java80 boolean expectSuccess = value >= min && value <= max; in testValueOfLong()
83 assertTrue(expectSuccess); in testValueOfLong()
85 assertFalse(expectSuccess); in testValueOfLong()
94 boolean expectSuccess = value >= min && value <= max; in testValueOfBigInteger()
98 assertTrue(expectSuccess); in testValueOfBigInteger()
100 assertFalse(expectSuccess); in testValueOfBigInteger()
DUnsignedLongTest.java81 boolean expectSuccess = value >= 0; in testValueOfLong()
84 assertTrue(expectSuccess); in testValueOfLong()
86 assertFalse(expectSuccess); in testValueOfLong()
95 boolean expectSuccess = in testValueOfBigInteger()
99 assertTrue(expectSuccess); in testValueOfBigInteger()
101 assertFalse(expectSuccess); in testValueOfBigInteger()
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Domains/
DtDomain_Rules.py135 … out, err = self.pfw.sendCmd("clearRule",self.domain_name,"Wrong_Config_Name", expectSuccess=False)
141 … out, err = self.pfw.sendCmd("clearRule","Wrong_Domain_Name",self.conf_2, expectSuccess=False)
147 out, err = self.pfw.sendCmd("clearRule",self.conf_1,self.domain_name, expectSuccess=False)
212 …= self.pfw.sendCmd("setRule",self.domain_name,"Wrong_Config_Name",self.rule_1, expectSuccess=False)
218 … err = self.pfw.sendCmd("setRule","Wrong_Domain_Name",self.conf_1,self.rule_1, expectSuccess=False)
224 …= self.pfw.sendCmd("setRule",self.domain_name,self.conf_1,"Wrong_Rule_Format", expectSuccess=False)
234 …out, err = self.pfw.sendCmd("setRule",self.domain_name,self.conf_1, rule_name, expectSuccess=False)
318 … out, err = self.pfw.sendCmd("getRule",self.domain_name,"Wrong_Config_Name", expectSuccess=False)
324 out, err = self.pfw.sendCmd("getRule","Wrong_Domain_Name",self.conf_2, expectSuccess=False)
330 out, err = self.pfw.sendCmd("getRule",self.conf_1,self.domain_name, expectSuccess=False)
DtDomain_Configuration.py125 …, err = self.pfw.sendCmd("createConfiguration",self.domain_name,new_conf_name, expectSuccess=False)
131 out, err = self.pfw.sendCmd("createConfiguration",self.domain_name, expectSuccess=False)
137 …rr = self.pfw.sendCmd("createConfiguration","wrong_domain_name",new_conf_name, expectSuccess=False)
238 …lf.pfw.sendCmd("renameConfiguration",self.domain_name,conf_name,new_conf_name, expectSuccess=False)
244 …, err = self.pfw.sendCmd("renameConfiguration",self.domain_name,new_conf_name, expectSuccess=False)
250 …ndCmd("renameConfiguration","wrong_domain_name",new_conf_name,"Configuration", expectSuccess=False)
347 …pfw.sendCmd("deleteConfiguration",self.domain_name,"wrong_configuration_name", expectSuccess=False)
353 out, err = self.pfw.sendCmd("deleteConfiguration",self.domain_name, expectSuccess=False)
358 …rr = self.pfw.sendCmd("deleteConfiguration","wrong_domain_name",new_conf_name, expectSuccess=False)
DtDomain_Configuration_Backup.py158 out, err = self.pfw.sendCmd("saveConfiguration", self.domain_name, expectSuccess=False)
162 … err = self.pfw.sendCmd("saveConfiguration", "Wrong_Domain_Name", self.conf_1, expectSuccess=False)
166 …pfw.sendCmd("saveConfiguration", self.domain_name, "Wrong_Configuration_Name", expectSuccess=False)
221 out, err = self.pfw.sendCmd("restoreConfiguration", self.domain_name, expectSuccess=False)
225 …r = self.pfw.sendCmd("restoreConfiguration", "Wrong_Domain_Name", self.conf_1, expectSuccess=False)
229 ….sendCmd("restoreConfiguration", self.domain_name, "Wrong_Configuration_Name", expectSuccess=False)
DtDomain_Elements_Sequences.py162 …ame, self.configuration, self.elem_2_path, self.elem_0_path, self.elem_1_path, expectSuccess=False)
168 … self.configuration, "Wrong_Element_Name", self.elem_0_path, self.elem_1_path, expectSuccess=False)
241 …elf.pfw.sendCmd("getElementSequence", "Wrong_Domain_Name", self.configuration, expectSuccess=False)
247 …fw.sendCmd("getElementSequence", self.domain_name, "Wrong_Configuration_Name", expectSuccess=False)
DtDomain_Elements.py195 …= self.pfw.sendCmd("addElement", str(self.domain_name), str(self.elem_0_path), expectSuccess=False)
199 …= self.pfw.sendCmd("addElement", str(self.domain_name), "Non_Defined_Element", expectSuccess=False)
273 … self.pfw.sendCmd("removeElement", "Wrong_Domain_Name", str(self.elem_0_path), expectSuccess=False)
277 …self.pfw.sendCmd("removeElement", str(self.domain_name), "Wrong_Element_Name", expectSuccess=False)
/external/brotli/java/org/brotli/dec/
DSynthTest.java43 private void checkSynth(byte[] compressed, boolean expectSuccess, in checkSynth() argument
48 if (!expectSuccess) { in checkSynth()
53 if (expectSuccess) { in checkSynth()
/external/mockito/src/test/java/org/mockitousage/junitrule/
DStubbingWarningsJUnitRuleTest.java76 rule.expectSuccess(new Runnable() { in no_stubbing_warning_on_pass()
161 rule.expectSuccess(new Runnable() { in no_stubbing_arg_mismatch_on_pass()
178 rule.expectSuccess(new Runnable() { in warns_about_unused_stubs_when_passed()
DStubbingWarningsMultiThreadingTest.java26 rule.expectSuccess(new Runnable() { in using_stubbing_from_different_thread()
44 rule.expectSuccess(new Runnable() { in unused_stub_from_different_thread()
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Types/
DtParameter_Block.py166 out,err = self.pfw.sendCmd("setParameter",self.block_name, value, expectSuccess=False)
173 out,err = self.pfw.sendCmd("getParameter",self.block_name, value, expectSuccess=False)
227 … out,err = self.pfw.sendCmd("setParameter",self.param_name[1],param_value, expectSuccess=False)
277 … out,err = self.pfw.sendCmd("setParameter",param_undefined_name,param_value, expectSuccess=False)
DtBit_Block.py163 out,err = self.pfw.sendCmd("setParameter",self.block_name, value, expectSuccess=False)
167 out,err = self.pfw.sendCmd("getParameter",self.block_name, value, expectSuccess=False)
214 out,err = self.pfw.sendCmd("setParameter",self.bit_name[1],bit_value, expectSuccess=False)
258 out,err = self.pfw.sendCmd("setParameter",bit_undefined_name,bit_value, expectSuccess=False)
DtBoolean.py131 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
157 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
DtINT32.py160 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
225 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
DtINT8_Max.py160 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
225 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
DtEnum.py190 out,err = self.pfw.sendCmd("setParameter",self.param_name, value, expectSuccess=False)
224 out,err = self.pfw.sendCmd("setParameter",self.param_name, value, expectSuccess=False)
258 out,err = self.pfw.sendCmd("setParameter",self.param_name, value, expectSuccess=False)
DtINT16_ARRAY.py193 …ndCmd("setParameter", str(indexed_array_value_path), str(indexed_array_value), expectSuccess=False)
274 …ndCmd("setParameter", str(indexed_array_value_path), str(indexed_array_value), expectSuccess=False)
309 …endCmd("setParameter", str(indexed_array_value_path), str(indexed_array_value), expectSuccess=None)
DtUINT32_ARRAY.py194 …ndCmd("setParameter", str(indexed_array_value_path), str(indexed_array_value), expectSuccess=False)
275 …ndCmd("setParameter", str(indexed_array_value_path), str(indexed_array_value), expectSuccess=False)
310 …endCmd("setParameter", str(indexed_array_value_path), str(indexed_array_value), expectSuccess=None)

123