Home
last modified time | relevance | path

Searched refs:assertSuccess (Results 1 – 25 of 101) sorted by relevance

12345

/external/selinux/python/semanage/
Dtest-semanage.py24 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/
Dtest_sepolicy.py22 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/
Dscientificnumberformattertest.cpp58 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 …]
Dnumbertest_modifiers.cpp30 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 …]
Dformatted_string_builder_test.cpp66 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 …]
Dnumbertest_patternmodifier.cpp28 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 …]
Dtufmtts.cpp112 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 …]
Dsimpleformattertest.cpp87 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 …]
Ddcfmapts.cpp665 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 …]
Dnumbertest_affixutils.cpp126 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 …]
Ddtifmtts.cpp1216 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 …]
Dunifiedcachetest.cpp123 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()
Dsvccoll.cpp492 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()
Dnumfmtst.cpp675 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/
Duformattedvaluetst.c43 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 …]
Dunumberformattertst.c62 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 …]
Dcpluralrulestest.c268 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()
Dulistfmttest.c138 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()
Dcdateintervalformattest.c367 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/
DTestContextObject.py35 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/
Dtest_audit2allow.py23 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/
Dtest_sandbox.py23 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/
DTestContextObjectObjc.py47 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/
DTestCallThatRestarts.py83 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/
DTestExprOptions.py49 self.assertSuccess(val.GetError())
56 self.assertSuccess(val.GetError())
83 self.assertSuccess(val.GetError())

12345