/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 | 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 | 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_stringbuilder.cpp | 46 assertSuccess("Appending to sb2", status); in testInsertAppendUnicodeString() 48 assertSuccess("Appending to sb3", status); in testInsertAppendUnicodeString() 58 assertSuccess("Appending to sb5", status); in testInsertAppendUnicodeString() 60 assertSuccess("Inserting into sb5", status); in testInsertAppendUnicodeString() 67 assertSuccess("Inserting into sb5 again", status); in testInsertAppendUnicodeString() 74 assertSuccess("Appending again to sb5", status); in testInsertAppendUnicodeString() 109 assertSuccess("Splicing into sb2 first time", status); in testSplice() 122 assertSuccess("Splicing into sb2 second time", status); in testSplice() 138 assertSuccess("Appending to sb2", status); in testInsertAppendCodePoint() 140 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() 56 assertSuccess("Spot 3", status); in testBasic() 60 assertSuccess("Spot 4", status); in testBasic() 82 assertSuccess("Spot 5", status); in testBasic() 90 assertSuccess("Spot 1", status); in testPatternWithNoPlaceholder() 95 if (!assertSuccess("Spot 2", status, true)) { in testPatternWithNoPlaceholder() 104 assertSuccess("Spot 3", status); in testPatternWithNoPlaceholder() 106 assertSuccess("Spot 4", status); in testPatternWithNoPlaceholder() 112 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() 342 if (!assertSuccess("Status", status)) { in TestFormatReplaceNoOptimization() [all …]
|
D | numberformat2test.cpp | 414 assertSuccess("", status); in TestQuantize() 809 assertSuccess("", status); in TestDigitFormatterDefaultCtor() 824 if (!assertSuccess("", status)) { in TestDigitFormatterMonetary() 838 if (!assertSuccess("", status)) { in TestDigitFormatterMonetary() 865 if (!assertSuccess("", status)) { in TestDigitFormatter() 875 if (!assertSuccess("", status)) { in TestDigitFormatter() 922 if (!assertSuccess("", status)) { in TestDigitFormatter() 939 if (!assertSuccess("", status)) { in TestDigitFormatter() 967 if (!assertSuccess("", status)) { in TestDigitFormatter() 995 if (!assertSuccess("", status)) { in TestDigitFormatter() [all …]
|
D | numbertest_affixutils.cpp | 127 assertSuccess("Constructing DefaultSymbolProvider", status); in testUnescape() 134 assertSuccess("Spot 1", status); in testUnescape() 136 assertSuccess("Spot 2", status); in testUnescape() 139 assertSuccess("Spot 3", status); in testUnescape() 143 assertSuccess("Spot 4", status); in testUnescape() 169 assertSuccess("Spot 1", status); in testContainsReplaceType() 172 assertSuccess("Spot 2", status); in testContainsReplaceType() 182 assertSuccess("Constructing DefaultSymbolProvider", status); in testInvalid() 227 assertSuccess("Spot 1", status); in testUnescapeWithSymbolProvider() 235 assertSuccess("Spot 2", status); in testUnescapeWithSymbolProvider() [all …]
|
D | dtifmtts.cpp | 1072 if (!assertSuccess("parse 1st data in expect", ec)) return; in expect() 1074 if (!assertSuccess("parse 2nd data in expect", ec)) return; in expect() 1080 if (!assertSuccess("createInstance(skeleton) in expect", ec)) return; in expect() 1083 if (!assertSuccess("format in expect", ec)) return; in expect() 1270 if (!assertSuccess("parse in expectUserDII", ec)) return; in expectUserDII() 1272 if (!assertSuccess("parse in expectUserDII", ec)) return; in expectUserDII() 1280 if (!assertSuccess("DateIntervalInfo::setIntervalPattern", ec)) return; in expectUserDII() 1282 if (!assertSuccess("DateIntervalInfo::setIntervalPattern", ec)) return; in expectUserDII() 1285 if (!assertSuccess("createInstance(skeleton,dtitvinf) in expectUserDII", ec)) return; in expectUserDII() 1288 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 | numfmtst.cpp | 627 if (assertSuccess("", status, true, __FILE__, __LINE__)) { in TestScientificGrouping() 2059 assertSuccess("ucurr_getName", ec); in TestCurrencyNames() 2102 assertSuccess("CurrencyUnit", ec); in TestCurrencyUnit() 2117 assertSuccess("CurrencyUnit", ec); in TestCurrencyUnit() 2122 assertSuccess("CurrencyUnit", ec); in TestCurrencyUnit() 2147 assertSuccess("Restoring from MeasureUnit", ec); in TestCurrencyUnit() 2155 assertSuccess("Creating meter", ec); in TestCurrencyUnit() 2165 assertSuccess("CurrencyAmount", ec); in TestCurrencyAmount() 2311 if (!assertSuccess("DecimalFormat ct", ec)) return; in TestPerMill() 2316 if (!assertSuccess("", ec, true, __FILE__, __LINE__)) { in TestPerMill() [all …]
|
D | measfmttest.cpp | 226 assertSuccess("", status); in TestCompatible53() 353 assertSuccess("", status); in TestCompatible54() 481 assertSuccess("", status); in TestCompatible55() 616 assertSuccess("", status); in TestCompatible56() 756 assertSuccess("", status); in TestCompatible57() 900 assertSuccess("", status); in TestCompatible58() 1041 assertSuccess("", status); in TestCompatible59() 1189 assertSuccess("", status); in TestCompatible63() 1294 if (!assertSuccess("Error creating formatters", status)) { in TestExamplesInDocs() 1308 if (!assertSuccess("Error creating measurements.", status)) { in TestExamplesInDocs() [all …]
|
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 | numfmtspectest.cpp | 204 assertSuccess("", status); in TestPadding() 222 assertSuccess("", status); in TestPadding() 241 assertSuccess("", status); in TestPadding() 268 assertSuccess("", status); in assertPatternFr()
|
D | numbertest_decimalquantity.cpp | 95 assertSuccess("Rounding to increment", status); in testDecimalQuantityBehaviorStandalone() 98 assertSuccess("Rounding to magnitude", status); in testDecimalQuantityBehaviorStandalone() 117 assertSuccess("Rounding to magnitude", status); in testSwitchStorage() 306 assertSuccess("Rounding to magnitude", status); in testUseApproximateDoubleWhenAble()
|
D | numbertest_patternstring.cpp | 77 assertSuccess(input, status); in testToPatternSimple() 112 assertSuccess("Spot 1", status); in testBug13117()
|
D | dtfmttst.cpp | 2039 if (!assertSuccess("parse", ec)) return; in expect() 2046 if (!assertSuccess("parse", ec)) return; in expect() 2048 if (assertSuccess((UnicodeString)"\"" + currentPat + "\".parse(" + string + ")", ec)) { in expect() 2060 if (!assertSuccess("parse", ec)) return; in expect() 2062 if (assertSuccess((UnicodeString)"\"" + currentPat + "\".parse(" + string + ")", ec)) { in expect() 2078 if (!assertSuccess("parse", ec)) return; in expect() 2084 if (assertSuccess((UnicodeString)"\"" + currentPat + "\".parse(" + string + ")", ec)) { in expect() 2140 if (!assertSuccess("parse", ec)) return; in expectFormat() 4724 if (!assertSuccess("SimpleDateFormat with pattern MM d", status)) { in TestNumberFormatOverride() 4731 assertSuccess("NumberFormat en_US", status); in TestNumberFormatOverride() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | unumberformattertst.c | 45 assertSuccess("Should create result without error", &ec); in TestSkeletonFormatToString() 52 assertSuccess("Should print string to buffer without error", &ec); in TestSkeletonFormatToString() 57 assertSuccess("Should format double without error", &ec); in TestSkeletonFormatToString() 59 assertSuccess("Should print string to buffer without error", &ec); in TestSkeletonFormatToString() 64 assertSuccess("Should format decimal without error", &ec); in TestSkeletonFormatToString() 66 assertSuccess("Should print string to buffer without error", &ec); in TestSkeletonFormatToString() 85 assertSuccess("Should create result without error", &ec); in TestSkeletonFormatToFields() 179 assertSuccess("There should not be a failure in the example code", &ec); in TestExampleCode()
|
D | cdattst.c | 1227 if (!assertSuccess("udat_format", ec)) return FALSE; in _aux1ExtremeDates() 1631 if (!assertSuccess("udat_open()", &status)) { in TestOverrideNumberFormat() 1639 assertSuccess("unum_open()", &status); in TestOverrideNumberFormat() 1642 assertSuccess("udat_setNumberFormatForField()", &status); in TestOverrideNumberFormat() 1652 assertSuccess("unum_open()", &status); in TestOverrideNumberFormat() 1664 assertSuccess("udat_open() with en_US", &status); in TestOverrideNumberFormat() 1667 assertSuccess("unum_open() in loop", &status); in TestOverrideNumberFormat() 1680 assertSuccess("unum_open() in mixed", &status); in TestOverrideNumberFormat() 1683 assertSuccess("udat_setNumberFormatForField() in mixed", &status); in TestOverrideNumberFormat() 1695 assertSuccess("udat_setNumberFormatForField() in loop", &status); in TestOverrideNumberFormat() [all …]
|
/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/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | AbstractChainedListenableFutureTest.java | 76 listener.assertSuccess(getSuccessfulResult()); in testAddListenerAfterCallback() 82 listener.assertSuccess(getSuccessfulResult()); in testFutureBeforeCallback()
|
/external/icu/icu4c/source/common/ |
D | errorcode.cpp | 32 void ErrorCode::assertSuccess() const { in assertSuccess() function in ErrorCode
|