/external/selinux/python/semanage/ |
D | test-semanage.py | 24 def assertSuccess(self, status, err): member in SemanageTests 35 self.assertSuccess(p.returncode, err) 41 self.assertSuccess(p.returncode, err) 45 self.assertSuccess(p.returncode, err) 49 self.assertSuccess(p.returncode, err) 53 self.assertSuccess(p.returncode, err) 57 self.assertSuccess(p.returncode, err) 61 self.assertSuccess(p.returncode, err) 70 self.assertSuccess(p.returncode, err) 79 self.assertSuccess(p.returncode, err) [all …]
|
/external/selinux/python/sepolicy/ |
D | test_sepolicy.py | 22 def assertSuccess(self, status, err): member in SepolicyTests 30 self.assertSuccess(p.returncode, err) 36 self.assertSuccess(p.returncode, err) 42 self.assertSuccess(p.returncode, err) 48 self.assertSuccess(p.returncode, err) 54 self.assertSuccess(p.returncode, err) 60 self.assertSuccess(p.returncode, err) 66 self.assertSuccess(p.returncode, err) 72 self.assertSuccess(p.returncode, err) 78 self.assertSuccess(p.returncode, err) [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | scientificnumberformattertest.cpp | 58 if (!assertSuccess("Can't create ScientificNumberFormatter", status)) { in TestBasic() 72 if (!assertSuccess("Can't create ScientificNumberFormatter2", status)) { in TestBasic() 96 assertSuccess("", status); in TestBasic() 106 if (!assertSuccess("Can't create ScientificNumberFormatter", status)) { in TestFarsi() 115 assertSuccess("", status); in TestFarsi() 126 if (!assertSuccess("", status)) { in TestPlusSignInExponentMarkup() 133 if (!assertSuccess("Can't create ScientificNumberFormatter", status)) { in TestPlusSignInExponentMarkup() 142 assertSuccess("", status); in TestPlusSignInExponentMarkup() 153 if (!assertSuccess("", status)) { in TestPlusSignInExponentSuperscript() 160 if (!assertSuccess("Can't create ScientificNumberFormatter", status)) { in TestPlusSignInExponentSuperscript() [all …]
|
D | numbertest_modifiers.cpp | 30 assertSuccess("Spot 1", status); in testConstantAffixModifier() 34 assertSuccess("Spot 2", status); in testConstantAffixModifier() 43 assertSuccess("Spot 1", status); in testConstantMultiFieldModifier() 49 assertSuccess("Spot 2", status); in testConstantMultiFieldModifier() 53 assertSuccess("Spot 3", status); in testConstantMultiFieldModifier() 82 assertSuccess("Spot 1", status); in testSimpleModifier() 86 assertSuccess("Spot 2", status); in testSimpleModifier() 96 assertSuccess("Spot 3", status); in testSimpleModifier() 104 if (!assertSuccess("Spot 1", status, true)) { in testCurrencySpacingEnabledModifier() 111 assertSuccess("Spot 2", status); in testCurrencySpacingEnabledModifier() [all …]
|
D | formatted_string_builder_test.cpp | 66 assertSuccess("Appending to sb2", status); in testInsertAppendUnicodeString() 68 assertSuccess("Appending to sb3", status); in testInsertAppendUnicodeString() 78 assertSuccess("Appending to sb5", status); in testInsertAppendUnicodeString() 80 assertSuccess("Inserting into sb5", status); in testInsertAppendUnicodeString() 87 assertSuccess("Inserting into sb5 again", status); in testInsertAppendUnicodeString() 94 assertSuccess("Appending again to sb5", status); in testInsertAppendUnicodeString() 129 assertSuccess("Splicing into sb2 first time", status); in testSplice() 142 assertSuccess("Splicing into sb2 second time", status); in testSplice() 158 assertSuccess("Appending to sb2", status); in testInsertAppendCodePoint() 160 assertSuccess("Appending to sb3", status); in testInsertAppendCodePoint() [all …]
|
D | numbertest_patternmodifier.cpp | 28 assertSuccess("Spot 1", status); in testBasic() 33 if (!assertSuccess("Spot 2", status, true)) { in testBasic() 58 assertSuccess("Spot 3", status); in testBasic() 62 assertSuccess("Spot 4", status); in testBasic() 86 assertSuccess("Spot 5", status); in testBasic() 94 assertSuccess("Spot 1", status); in testPatternWithNoPlaceholder() 99 if (!assertSuccess("Spot 2", status, true)) { in testPatternWithNoPlaceholder() 107 assertSuccess("Spot 3", status); in testPatternWithNoPlaceholder() 109 assertSuccess("Spot 4", status); in testPatternWithNoPlaceholder() 115 assertSuccess("Spot 5", status); in testPatternWithNoPlaceholder() [all …]
|
D | tufmtts.cpp | 112 if (!assertSuccess("TimeUnitFormat(full)", status, TRUE)) return; in testBasic() 114 if (!assertSuccess("TimeUnitFormat(short)", status)) return; in testBasic() 133 if (!assertSuccess("TimeUnitAmount()", status)) return; in testBasic() 138 if (!assertSuccess("format()", status)) return; in testBasic() 146 if (!assertSuccess("parseObject()", status)) return; in testBasic() 153 if (!assertSuccess("parseObject()", status)) return; in testBasic() 172 if (!assertSuccess("TimeUnit::createInstance", status)) return; in testAPI() 197 if (!assertSuccess("TimeUnit::createInstance", status)) return; in testAPI() 203 if (!assertSuccess("TimeUnit::createInstance", status)) return; in testAPI() 224 if (!assertSuccess("TimeUnitAmount(formattable...)", status)) return; in testAPI() [all …]
|
D | simpleformattertest.cpp | 87 assertSuccess("Status", status); in TestNoArguments() 103 if (!assertSuccess("Status", status)) { in TestOneArgument() 129 assertSuccess("Status", status); in TestOneArgument() 135 if (!assertSuccess("Status", status)) { in TestBigArgument() 147 assertSuccess("Status", status); in TestBigArgument() 155 if (!assertSuccess("Status", status)) { in TestManyArguments() 176 if (!assertSuccess("Status", status)) { in TestManyArguments() 244 assertSuccess("Status", status); in TestManyArguments() 285 assertSuccess("", status); in TestBadArguments() 353 if (!assertSuccess("Status", status)) { in TestFormatReplaceNoOptimization() [all …]
|
D | dcfmapts.cpp | 665 assertSuccess(WHERE, status); in TestFixedDecimal() 671 assertSuccess(WHERE, status); in TestFixedDecimal() 677 assertSuccess(WHERE, status); in TestFixedDecimal() 683 assertSuccess(WHERE, status); in TestFixedDecimal() 685 assertSuccess(WHERE, status); in TestFixedDecimal() 695 assertSuccess(WHERE, status); in TestFixedDecimal() 707 assertSuccess(WHERE, status); in TestFixedDecimal() 717 assertSuccess(WHERE, status); in TestFixedDecimal() 730 assertSuccess(WHERE, status); in TestFixedDecimal() 740 assertSuccess(WHERE, status); in TestFixedDecimal() [all …]
|
D | numbertest_affixutils.cpp | 126 assertSuccess("Constructing DefaultSymbolProvider", status); in testUnescape() 133 assertSuccess("Spot 1", status); in testUnescape() 135 assertSuccess("Spot 2", status); in testUnescape() 138 assertSuccess("Spot 3", status); in testUnescape() 142 assertSuccess("Spot 4", status); in testUnescape() 168 assertSuccess("Spot 1", status); in testContainsReplaceType() 171 assertSuccess("Spot 2", status); in testContainsReplaceType() 181 assertSuccess("Constructing DefaultSymbolProvider", status); in testInvalid() 226 assertSuccess("Spot 1", status); in testUnescapeWithSymbolProvider() 234 assertSuccess("Spot 2", status); in testUnescapeWithSymbolProvider() [all …]
|
D | dtifmtts.cpp | 1216 if (!assertSuccess("parse 1st data in expect", ec)) return; in expect() 1218 if (!assertSuccess("parse 2nd data in expect", ec)) return; in expect() 1224 if (!assertSuccess("createInstance(skeleton) in expect", ec)) return; in expect() 1227 if (!assertSuccess("format in expect", ec)) return; in expect() 1493 if (!assertSuccess("parse in expectUserDII", ec)) return; in expectUserDII() 1495 if (!assertSuccess("parse in expectUserDII", ec)) return; in expectUserDII() 1503 if (!assertSuccess("DateIntervalInfo::setIntervalPattern", ec)) return; in expectUserDII() 1505 if (!assertSuccess("DateIntervalInfo::setIntervalPattern", ec)) return; in expectUserDII() 1508 if (!assertSuccess("createInstance(skeleton,dtitvinf) in expectUserDII", ec)) return; in expectUserDII() 1511 if (!assertSuccess("format in expectUserDII", ec)) return; in expectUserDII() [all …]
|
D | unifiedcachetest.cpp | 123 assertSuccess("", status); in TestEvictionPolicy() 167 assertSuccess("T4", status); in TestEvictionPolicy() 184 assertSuccess("T0", status); in TestBounded() 293 assertSuccess("T18", status); in TestBounded() 300 assertSuccess("", status); in TestBasic() 325 assertSuccess("T1", status); in TestBasic() 349 assertSuccess("T7", status); in TestBasic() 355 assertSuccess("", status); in TestError()
|
D | svccoll.cpp | 492 assertSuccess("count", ec); in checkStringEnumeration() 497 if (!assertSuccess("snext", ec) || s == NULL) in checkStringEnumeration() 523 if (!assertSuccess("unext", ec) || s == NULL) in checkStringEnumeration() 571 if (!assertSuccess("getKeywords", ec)) return; in TestSeparateTree() 577 if (!assertSuccess("getKeywordValues", ec)) return; in TestSeparateTree() 585 assertSuccess("getFunctionalEquivalent", ec); in TestSeparateTree() 593 assertSuccess("getFunctionalEquivalent", ec); in TestSeparateTree() 601 assertSuccess("getFunctionalEquivalent", ec); in TestSeparateTree() 609 assertSuccess("getFunctionalEquivalent", ec); in TestSeparateTree()
|
D | numfmtst.cpp | 675 if (assertSuccess("", status, true, __FILE__, __LINE__)) { in TestScientificGrouping() 2086 assertSuccess("ucurr_getName", ec); in TestCurrencyNames() 2215 assertSuccess("CurrencyUnit", ec); in TestCurrencyUnit() 2222 assertSuccess("non-standard", ec); in TestCurrencyUnit() 2273 assertSuccess("CurrencyUnit", ec); in TestCurrencyUnit() 2278 assertSuccess("CurrencyUnit", ec); in TestCurrencyUnit() 2306 assertSuccess("Restoring from MeasureUnit", ec); in TestCurrencyUnit() 2316 assertSuccess("Creating meter", ec); in TestCurrencyUnit() 2350 assertSuccess("CurrencyAmount", ec); in TestCurrencyAmount() 2496 if (!assertSuccess("DecimalFormat ct", ec)) return; in TestPerMill() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | uformattedvaluetst.c | 43 assertSuccess("opening ucfpos", &status); in TestBasic() 62 assertSuccess("opening ucfpos", &status); in TestSetters() 66 assertSuccess("setters 0", &status); in TestSetters() 78 assertSuccess("setters 1", &status); in TestSetters() 90 assertSuccess("setters 2", &status); in TestSetters() 102 assertSuccess("setters 3", &status); in TestSetters() 114 assertSuccess("setters 4", &status); in TestSetters() 156 assertSuccess(AAPE_MSG("_"), &status); in AssertAllPartsEqual() 160 assertSuccess(AAPE_MSG("field"), &status); in AssertAllPartsEqual() 165 assertSuccess(AAPE_MSG("indexes"), &status); in AssertAllPartsEqual() [all …]
|
D | unumberformattertst.c | 62 assertSuccess("Should create result without error", &ec); in TestSkeletonFormatToString() 69 assertSuccess("Should print string to buffer without error", &ec); in TestSkeletonFormatToString() 74 assertSuccess("Should format double without error", &ec); in TestSkeletonFormatToString() 76 assertSuccess("Should print string to buffer without error", &ec); in TestSkeletonFormatToString() 81 assertSuccess("Should format decimal without error", &ec); in TestSkeletonFormatToString() 83 assertSuccess("Should print string to buffer without error", &ec); in TestSkeletonFormatToString() 102 assertSuccess("Should create result without error", &ec); in TestSkeletonFormatToFields() 197 assertSuccess("There should not be a failure in the example code", &ec); in TestExampleCode() 214 assertSuccess("Should create result without error", &ec); in TestFormattedValue() 219 assertSuccess("Should convert without error", &ec); in TestFormattedValue() [all …]
|
D | cpluralrulestest.c | 268 if (!assertSuccess("open plural rules", &ec)) { in TestFormatted() 273 if (!assertSuccess("open unumf", &ec)) { in TestFormatted() 278 if (!assertSuccess("open result", &ec)) { in TestFormatted() 283 if (!assertSuccess("format", &ec)) { in TestFormatted() 289 if (!assertSuccess("select", &ec)) { in TestFormatted() 312 if (!assertSuccess("open plural rules", &ec)) { in TestSelectRange() 324 if (!assertSuccess("open unumrf", &ec)) { in TestSelectRange() 329 if (!assertSuccess("open result", &ec)) { in TestSelectRange() 334 if (!assertSuccess("format", &ec)) { in TestSelectRange() 340 if (!assertSuccess("select", &ec)) { in TestSelectRange()
|
D | ulistfmttest.c | 138 assertSuccess("Opening", &ec); in TestUListFmtToValue() 149 assertSuccess("Formatting", &ec); in TestUListFmtToValue() 180 assertSuccess("Formatting", &ec); in TestUListFmtToValue() 219 assertSuccess("Opening", &ec); in TestUListOpenStyled() 230 assertSuccess("Formatting", &ec); in TestUListOpenStyled()
|
D | cdateintervalformattest.c | 367 assertSuccess("Opening", &ec); in TestFormatToResult() 373 assertSuccess("Formatting", &ec); in TestFormatToResult() 399 assertSuccess("Formatting", &ec); in TestFormatToResult() 437 assertSuccess("Opening", &ec); in TestFormatCalendarToResult() 443 assertSuccess("Formatting", &ec); in TestFormatCalendarToResult() 469 assertSuccess("Formatting", &ec); in TestFormatCalendarToResult() 498 assertSuccess("Formatting", &ec); in TestFormatCalendarToResult() 532 assertSuccess("Formatting", &ec); in TestFormatCalendarToResult()
|
/external/llvm-project/lldb/test/API/commands/expression/context-object/ |
D | TestContextObject.py | 35 self.assertSuccess(value.GetError()) 41 self.assertSuccess(value.GetError()) 47 self.assertSuccess(value.GetError()) 60 self.assertSuccess(value.GetError()) 90 self.assertSuccess(value.GetError()) 108 self.assertSuccess(value.GetError()) 138 self.assertSuccess(value.GetError())
|
/external/selinux/python/audit2allow/ |
D | test_audit2allow.py | 23 def assertSuccess(self, cmd, status, err): member in Audit2allowTests 38 self.assertSuccess("sepolgen-ifgen", p.returncode, err) 48 self.assertSuccess("audit2allow", p.returncode, err) 56 self.assertSuccess("audit2why", p.returncode, err) 65 self.assertSuccess("xperms", p.returncode, err)
|
/external/selinux/sandbox/ |
D | test_sandbox.py | 23 def assertSuccess(self, status, err): member in SandboxTests 76 self.assertSuccess(p.returncode, err) 82 self.assertSuccess(p.returncode, err) 90 self.assertSuccess(p.returncode, err) 98 self.assertSuccess(p.returncode, err) 105 self.assertSuccess(p.returncode, err)
|
/external/llvm-project/lldb/test/API/commands/expression/context-object-objc/ |
D | TestContextObjectObjc.py | 47 self.assertSuccess(value.GetError()) 53 self.assertSuccess(value.GetError()) 66 self.assertSuccess(value.GetError()) 71 self.assertSuccess(value.GetError())
|
/external/llvm-project/lldb/test/API/commands/expression/call-restarts/ |
D | TestCallThatRestarts.py | 83 self.assertSuccess(value.GetError()) 101 self.assertSuccess(value.GetError()) 114 self.assertSuccess(value.GetError()) 126 self.assertSuccess(value.GetError()) 146 self.assertSuccess(error,
|
/external/llvm-project/lldb/test/API/commands/expression/options/ |
D | TestExprOptions.py | 49 self.assertSuccess(val.GetError()) 56 self.assertSuccess(val.GetError()) 83 self.assertSuccess(val.GetError())
|