Home
last modified time | relevance | path

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

123

/external/skia/tests/
DShadowTest.cpp23 ExpectVerts expectVerts, bool expectSuccess) { in check_result() argument
24 if (expectSuccess != SkToBool(verts)) { in check_result()
26 expectSuccess ? "succeed" : "fail"); in check_result()
38 const SkPoint3& heightParams, ExpectVerts expectVerts, bool expectSuccess) { in tessellate_shadow() argument
41 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
44 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
47 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
51 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
54 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
57 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
DPathOpsExtendedTest.cpp393 static void json_status(ExpectSuccess expectSuccess, ExpectMatch expectMatch, bool opSucceeded) { in json_status() argument
395 ExpectSuccess::kNo == expectSuccess ? "no" : in json_status()
396 ExpectSuccess::kYes == expectSuccess ? "yes" : "flaky"); in json_status()
462 ExpectSuccess expectSuccess, SkipAssert skipAssert, ExpectMatch expectMatch) { in inner_simplify() argument
477 if (ExpectSuccess::kYes == expectSuccess) { in inner_simplify()
482 json_status(expectSuccess, expectMatch, false); in inner_simplify()
487 if (ExpectSuccess::kNo == expectSuccess) { in inner_simplify()
492 json_status(expectSuccess, expectMatch, true); in inner_simplify()
533 const SkPathOp shapeOp, const char* testName, ExpectSuccess expectSuccess, in innerPathOp() argument
551 if (ExpectSuccess::kYes == expectSuccess) { in innerPathOp()
[all …]
/external/skqp/tests/
DShadowTest.cpp22 ExpectVerts expectVerts, bool expectSuccess) { in check_result() argument
23 if (expectSuccess != SkToBool(verts)) { in check_result()
25 expectSuccess ? "succeed" : "fail"); in check_result()
37 const SkPoint3& heightParams, ExpectVerts expectVerts, bool expectSuccess) { in tessellate_shadow() argument
40 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
43 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
46 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
49 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
DPathOpsExtendedTest.cpp487 static void json_status(ExpectSuccess expectSuccess, ExpectMatch expectMatch, bool opSucceeded) { in json_status() argument
489 ExpectSuccess::kNo == expectSuccess ? "no" : in json_status()
490 ExpectSuccess::kYes == expectSuccess ? "yes" : "flaky"); in json_status()
563 ExpectSuccess expectSuccess, SkipAssert skipAssert, ExpectMatch expectMatch) { in inner_simplify() argument
581 if (ExpectSuccess::kYes == expectSuccess) { in inner_simplify()
586 json_status(expectSuccess, expectMatch, false); in inner_simplify()
591 if (ExpectSuccess::kNo == expectSuccess) { in inner_simplify()
596 json_status(expectSuccess, expectMatch, true); in inner_simplify()
646 const SkPathOp shapeOp, const char* testName, ExpectSuccess expectSuccess, in innerPathOp() argument
667 if (ExpectSuccess::kYes == expectSuccess) { in innerPathOp()
[all …]
/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/android/guava-tests/test/com/google/common/primitives/
DUnsignedIntegerTest.java78 boolean expectSuccess = value >= min && value <= max; in testValueOfLong()
81 assertTrue(expectSuccess); in testValueOfLong()
83 assertFalse(expectSuccess); in testValueOfLong()
92 boolean expectSuccess = value >= min && value <= max; in testValueOfBigInteger()
95 assertTrue(expectSuccess); in testValueOfBigInteger()
97 assertFalse(expectSuccess); in testValueOfBigInteger()
DUnsignedLongTest.java82 boolean expectSuccess = value >= 0; in testValueOfLong()
85 assertTrue(expectSuccess); in testValueOfLong()
87 assertFalse(expectSuccess); in testValueOfLong()
96 boolean expectSuccess = big.compareTo(min) >= 0 && big.compareTo(max) <= 0; in testValueOfBigInteger()
99 assertTrue(expectSuccess); in testValueOfBigInteger()
101 assertFalse(expectSuccess); in testValueOfBigInteger()
/external/guava/guava-tests/test/com/google/common/primitives/
DUnsignedIntegerTest.java78 boolean expectSuccess = value >= min && value <= max; in testValueOfLong()
81 assertTrue(expectSuccess); in testValueOfLong()
83 assertFalse(expectSuccess); in testValueOfLong()
92 boolean expectSuccess = value >= min && value <= max; in testValueOfBigInteger()
95 assertTrue(expectSuccess); in testValueOfBigInteger()
97 assertFalse(expectSuccess); in testValueOfBigInteger()
DUnsignedLongTest.java82 boolean expectSuccess = value >= 0; in testValueOfLong()
85 assertTrue(expectSuccess); in testValueOfLong()
87 assertFalse(expectSuccess); in testValueOfLong()
96 boolean expectSuccess = big.compareTo(min) >= 0 && big.compareTo(max) <= 0; in testValueOfBigInteger()
99 assertTrue(expectSuccess); in testValueOfBigInteger()
101 assertFalse(expectSuccess); in testValueOfBigInteger()
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Domains/
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_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_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_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)
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)
/external/mockito/src/test/java/org/mockitousage/junitrule/
DStubbingWarningsJUnitRuleTest.java80 rule.expectSuccess(new Runnable() { in no_stubbing_warning_on_pass()
165 rule.expectSuccess(new Runnable() { in no_stubbing_arg_mismatch_on_pass()
182 rule.expectSuccess(new Runnable() { in warns_about_unused_stubs_when_passed()
DStubbingWarningsMultiThreadingTest.java30 rule.expectSuccess(new Runnable() { in using_stubbing_from_different_thread()
48 rule.expectSuccess(new Runnable() { in unused_stub_from_different_thread()
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Types/
DtParameter_Block.py165 out,err = self.pfw.sendCmd("setParameter",self.block_name, value, expectSuccess=False)
172 out,err = self.pfw.sendCmd("getParameter",self.block_name, value, expectSuccess=False)
226 … out,err = self.pfw.sendCmd("setParameter",self.param_name[1],param_value, expectSuccess=False)
276 … out,err = self.pfw.sendCmd("setParameter",param_undefined_name,param_value, expectSuccess=False)
DtBit_Block.py162 out,err = self.pfw.sendCmd("setParameter",self.block_name, value, expectSuccess=False)
166 out,err = self.pfw.sendCmd("getParameter",self.block_name, value, expectSuccess=False)
213 out,err = self.pfw.sendCmd("setParameter",self.bit_name[1],bit_value, expectSuccess=False)
257 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.py159 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)
/external/brotli/java/org/brotli/dec/
DSynthTest.java50 private void checkSynth(byte[] compressed, boolean expectSuccess, in checkSynth() argument
55 if (!expectSuccess) { in checkSynth()
60 if (expectSuccess) { in checkSynth()
/external/brotli/csharp/org/brotli/dec/
DSynthTest.cs35 private void CheckSynth(byte[] compressed, bool expectSuccess, string expectedOutput) in CheckSynth() argument
41 if (!expectSuccess) in CheckSynth()
49 if (expectSuccess) in CheckSynth()

123