Home
last modified time | relevance | path

Searched refs:Test (Results 1 – 25 of 3200) sorted by relevance

12345678910>>...128

/external/owasp/sanitizer/src/tests/org/owasp/html/
DCssTokensTest.java36 import org.junit.Test;
55 @Test
83 @Test
130 @Test
139 @Test
144 @Test
154 @Test
224 @Test
229 @Test
238 @Test
[all …]
DHtmlSanitizerTest.java35 import org.junit.Test;
40 @Test
46 @Test
51 @Test
56 @Test
62 @Test
68 @Test
75 @Test
82 @Test
89 @Test
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/
DDiagBigDecimal.java412 (new Test("con001")).ok = (com.ibm.icu.math.BigDecimal.ZERO.toString()).equals("0"); in diagconstructors()
413 (new Test("con002")).ok = (com.ibm.icu.math.BigDecimal.ONE.toString()).equals("1"); in diagconstructors()
414 (new Test("con003")).ok = (com.ibm.icu.math.BigDecimal.TEN.toString()).equals("10"); in diagconstructors()
415 (new Test("con004")).ok = (com.ibm.icu.math.BigDecimal.ZERO.intValueExact()) == 0; in diagconstructors()
416 (new Test("con005")).ok = (com.ibm.icu.math.BigDecimal.ONE.intValueExact()) == 1; in diagconstructors()
417 (new Test("con006")).ok = (com.ibm.icu.math.BigDecimal.TEN.intValueExact()) == 10; in diagconstructors()
420 …(new Test("cbd001")).ok = ((new com.ibm.icu.math.BigDecimal(new java.math.BigDecimal("0"))).toStri… in diagconstructors()
421 …(new Test("cbd002")).ok = ((new com.ibm.icu.math.BigDecimal(new java.math.BigDecimal("1"))).toStri… in diagconstructors()
422 …(new Test("cbd003")).ok = ((new com.ibm.icu.math.BigDecimal(new java.math.BigDecimal("10"))).toStr… in diagconstructors()
423 …(new Test("cbd004")).ok = ((new com.ibm.icu.math.BigDecimal(new java.math.BigDecimal("1000"))).toS… in diagconstructors()
[all …]
/external/vixl/test/
Dtest-runner.cc33 vixl::Test* vixl::Test::first_ = NULL;
34 vixl::Test* vixl::Test::last_ = NULL;
37 bool vixl::Test::debug_ = false;
40 bool vixl::Test::trace_sim_ = false;
41 bool vixl::Test::trace_reg_ = false;
42 bool vixl::Test::trace_write_ = false;
45 bool vixl::Test::coloured_trace_ = false;
48 bool vixl::Test::instruction_stats_ = false;
51 bool vixl::Test::sim_test_trace_ = false;
54 vixl::Test::Test(const char* name, TestFunction* callback) in Test() function in vixl::Test
[all …]
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestAutoAST.java31 import org.junit.Test;
36 @Test public void testTokenList() throws Exception { in testTokenList()
49 @Test public void testTokenListInSingleAltBlock() throws Exception { in testTokenListInSingleAltBlock()
62 @Test public void testSimpleRootAtOuterLevel() throws Exception { in testSimpleRootAtOuterLevel()
75 @Test public void testSimpleRootAtOuterLevelReverse() throws Exception { in testSimpleRootAtOuterLevelReverse()
88 @Test public void testBang() throws Exception { in testBang()
101 @Test public void testOptionalThenRoot() throws Exception { in testOptionalThenRoot()
114 @Test public void testLabeledStringRoot() throws Exception { in testLabeledStringRoot()
127 @Test public void testWildcard() throws Exception { in testWildcard()
140 @Test public void testWildcardRoot() throws Exception { in testWildcardRoot()
[all …]
DTestNFAConstruction.java33 import org.junit.Test;
41 @Test public void testA() throws Exception { in testA()
54 @Test public void testAB() throws Exception { in testAB()
68 @Test public void testAorB() throws Exception { in testAorB()
91 @Test public void testRangeOrRange() throws Exception { in testRangeOrRange()
113 @Test public void testRange() throws Exception { in testRange()
127 @Test public void testCharSetInParser() throws Exception { in testCharSetInParser()
141 @Test public void testABorCD() throws Exception { in testABorCD()
161 @Test public void testbA() throws Exception { in testbA()
181 @Test public void testbA_bC() throws Exception { in testbA_bC()
[all …]
DTestRewriteAST.java36 import org.junit.Test;
41 @Test public void testDelete() throws Exception { in testDelete()
54 @Test public void testSingleToken() throws Exception { in testSingleToken()
67 @Test public void testSingleTokenToNewNode() throws Exception { in testSingleTokenToNewNode()
80 @Test public void testSingleTokenToNewNodeRoot() throws Exception { in testSingleTokenToNewNodeRoot()
93 @Test public void testSingleTokenToNewNode2() throws Exception { in testSingleTokenToNewNode2()
107 @Test public void testSingleCharLiteral() throws Exception { in testSingleCharLiteral()
120 @Test public void testSingleStringLiteral() throws Exception { in testSingleStringLiteral()
133 @Test public void testSingleRule() throws Exception { in testSingleRule()
147 @Test public void testReorderTokens() throws Exception { in testReorderTokens()
[all …]
DTestTreeGrammarRewriteAST.java37 import org.junit.Test;
47 @Test public void testFlatList() throws Exception { in testFlatList()
67 @Test public void testSimpleTree() throws Exception { in testSimpleTree()
87 @Test public void testNonImaginaryWithCtor() throws Exception { in testNonImaginaryWithCtor()
106 @Test public void testCombinedRewriteAndAuto() throws Exception { in testCombinedRewriteAndAuto()
130 @Test public void testAvoidDup() throws Exception { in testAvoidDup()
150 @Test public void testLoop() throws Exception { in testLoop()
170 @Test public void testAutoDup() throws Exception { in testAutoDup()
190 @Test public void testAutoDupRule() throws Exception { in testAutoDupRule()
211 @Test public void testAutoWildcard() throws Exception { in testAutoWildcard()
[all …]
DTestHeteroAST.java30 import org.junit.Test;
38 @Test public void testToken() throws Exception { in testToken()
55 @Test public void testTokenCommonTree() throws Exception { in testTokenCommonTree()
67 @Test public void testTokenWithQualifiedType() throws Exception { in testTokenWithQualifiedType()
84 @Test public void testNamedType() throws Exception { in testNamedType()
102 @Test public void testTokenWithLabel() throws Exception { in testTokenWithLabel()
119 @Test public void testTokenWithListLabel() throws Exception { in testTokenWithListLabel()
136 @Test public void testTokenRoot() throws Exception { in testTokenRoot()
153 @Test public void testTokenRootWithListLabel() throws Exception { in testTokenRootWithListLabel()
170 @Test public void testString() throws Exception { in testString()
[all …]
DTestSets.java30 import org.junit.Test;
40 @Test public void testSeqDoesNotBecomeSet() throws Exception { in testSeqDoesNotBecomeSet()
54 @Test public void testParserSet() throws Exception { in testParserSet()
63 @Test public void testParserNotSet() throws Exception { in testParserNotSet()
72 @Test public void testParserNotToken() throws Exception { in testParserNotToken()
81 @Test public void testParserNotTokenWithLabel() throws Exception { in testParserNotTokenWithLabel()
90 @Test public void testRuleAsSet() throws Exception { in testRuleAsSet()
99 @Test public void testRuleAsSetAST() throws Exception { in testRuleAsSetAST()
109 @Test public void testNotChar() throws Exception { in testNotChar()
119 @Test public void testOptionalSingleElement() throws Exception { in testOptionalSingleElement()
[all …]
DTestASTConstruction.java31 import org.junit.Test;
39 @Test public void testA() throws Exception { in testA()
49 @Test public void testEmptyAlt() throws Exception { in testEmptyAlt()
59 @Test public void testNakeRulePlusInLexer() throws Exception { in testNakeRulePlusInLexer()
70 @Test public void testRulePlus() throws Exception { in testRulePlus()
81 @Test public void testNakedRulePlus() throws Exception { in testNakedRulePlus()
92 @Test public void testRuleOptional() throws Exception { in testRuleOptional()
103 @Test public void testNakedRuleOptional() throws Exception { in testNakedRuleOptional()
114 @Test public void testRuleStar() throws Exception { in testRuleStar()
125 @Test public void testNakedRuleStar() throws Exception { in testNakedRuleStar()
[all …]
DTestSemanticPredicateEvaluation.java30 import org.junit.Test;
33 @Test public void testSimpleCyclicDFAWithPredicate() throws Exception { in testSimpleCyclicDFAWithPredicate()
44 @Test public void testSimpleCyclicDFAWithInstanceVarPredicate() throws Exception { in testSimpleCyclicDFAWithInstanceVarPredicate()
56 @Test public void testPredicateValidation() throws Exception { in testPredicateValidation()
72 @Test public void testLexerPreds() throws Exception { in testLexerPreds()
85 @Test public void testLexerPreds2() throws Exception { in testLexerPreds2()
98 @Test public void testLexerPredInExitBranch() throws Exception { in testLexerPredInExitBranch()
112 @Test public void testLexerPredInExitBranch2() throws Exception { in testLexerPredInExitBranch2()
124 @Test public void testLexerPredInExitBranch3() throws Exception { in testLexerPredInExitBranch3()
136 @Test public void testLexerPredInExitBranch4() throws Exception { in testLexerPredInExitBranch4()
[all …]
DTestCharDFAConversion.java34 import org.junit.Test;
46 @Test public void testSimpleRangeVersusChar() throws Exception { in testSimpleRangeVersusChar()
59 @Test public void testRangeWithDisjointSet() throws Exception { in testRangeWithDisjointSet()
76 @Test public void testDisjointSetCollidingWithTwoRanges() throws Exception { in testDisjointSetCollidingWithTwoRanges()
93 @Test public void testDisjointSetCollidingWithTwoRangesCharsFirst() throws Exception { in testDisjointSetCollidingWithTwoRangesCharsFirst()
109 @Test public void testDisjointSetCollidingWithTwoRangesAsSeparateAlts() throws Exception { in testDisjointSetCollidingWithTwoRangesAsSeparateAlts()
135 @Test public void testKeywordVersusID() throws Exception { in testKeywordVersusID()
154 @Test public void testIdenticalRules() throws Exception { in testIdenticalRules()
178 @Test public void testAdjacentNotCharLoops() throws Exception { in testAdjacentNotCharLoops()
193 @Test public void testNonAdjacentNotCharLoops() throws Exception { in testNonAdjacentNotCharLoops()
[all …]
/external/clang/test/SemaCXX/
Dwarn-new-overaligned.cpp4 struct Test { struct
14 Test t; in helper()
15 …new Test; // expected-warning {{type 'test1::Test' requires 256 bytes of alignment and the defaul… in helper() argument
16 …new Test[10]; // expected-warning {{type 'test1::Test' requires 256 bytes of alignment and the de… in helper()
21 class Test { class
27 Test t; in helper()
28 …new Test; // expected-warning {{type 'test2::Test' requires 256 bytes of alignment and the defaul… in helper()
29 …new Test[10]; // expected-warning {{type 'test2::Test' requires 256 bytes of alignment and the de… in helper()
34 struct Test { struct
48 Test t; in helper()
[all …]
/external/lldb/test/unittest2/test/
Dtest_setups.py31 class Test(unittest2.TestCase): class
35 Test.setUpCalled += 1
42 result = self.runTests(Test)
44 self.assertEqual(Test.setUpCalled, 1)
49 class Test(unittest2.TestCase): class
53 Test.tearDownCalled += 1
60 result = self.runTests(Test)
62 self.assertEqual(Test.tearDownCalled, 1)
67 class Test(unittest2.TestCase): class
71 Test.tearDownCalled += 1
[all …]
/external/v8/test/webkit/
Ddictionary-no-cache.js26 var Test = function(){}; class
31 Test.prototype['myMethod' + i] = function(){};
34 var test1 = new Test();
38 Test.prototype.myAdditionalMethod = function(){};
39 var test2 = new Test();
47 var Test = function(){};
49 Test.prototype['myMethod' + i] = function(){};
51 var test1 = new Test();
55 delete (Test.prototype)[k]
56 var test2 = new Test();
[all …]
/external/pcre/dist/testdata/
Dgrepoutput1 ---------------------------- Test 1 ------------------------------
6 ---------------------------- Test 2 ------------------------------
9 ---------------------------- Test 3 ------------------------------
15 ---------------------------- Test 4 ------------------------------
18 ---------------------------- Test 5 ------------------------------
27 ---------------------------- Test 6 ------------------------------
36 ---------------------------- Test 7 ------------------------------
40 ---------------------------- Test 8 ------------------------------
43 ---------------------------- Test 9 ------------------------------
45 ---------------------------- Test 10 -----------------------------
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DRectTest.java6 import org.junit.Test;
18 @Test
27 @Test
38 @Test
44 @Test
50 @Test
57 @Test
64 @Test
70 @Test
76 @Test
[all …]
/external/libunwind/tests/
DLtest-cxx-exceptions.cxx35 struct Test struct
38 Test() { ++counter_; } in Test() function
39 ~Test() { -- counter_; } in ~Test() argument
40 Test(const Test&) { ++counter_; } in Test() argument
46 int Test::counter_ = 0; argument
51 Test t; in bar()
53 Test t; in bar()
56 Test t; in bar()
68 Test t; in main()
72 if (Test::counter_ != 0) in main()
[all …]
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/
DWebSocketWriterTest.java26 import org.junit.Test;
46 @Test public void serverSendSimpleHello() throws IOException { in serverSendSimpleHello()
52 @Test public void clientSendSimpleHello() throws IOException { in clientSendSimpleHello()
58 @Test public void serverStreamSimpleHello() throws IOException { in serverStreamSimpleHello()
71 @Test public void serverStreamCloseFlushes() throws IOException { in serverStreamCloseFlushes()
82 @Test public void clientStreamSimpleHello() throws IOException { in clientStreamSimpleHello()
95 @Test public void serverSendBinary() throws IOException { in serverSendBinary()
102 @Test public void serverSendBinaryShort() throws IOException { in serverSendBinaryShort()
109 @Test public void serverSendBinaryLong() throws IOException { in serverSendBinaryLong()
116 @Test public void clientSendBinary() throws IOException { in clientSendBinary()
[all …]
/external/v8/test/mjsunit/
Ddebug-liveedit-literals.js33 function Test(old_expression, new_expression) { class
66 Test("['Cat'][0]", "['Capybara'][0]");
67 Test("['Cat'][0]", "{a:'Capybara'}.a");
70 Test("'Cat'", "['Capybara'][0]");
73 Test("'Cat'", "['Capy'][0] + {a:'bara'}.a");
76 Test("['Cat'][0]", "'Capybara'");
79 Test("['Ca'][0] + {a:'t'}.a", "'Capybara'");
82 Test("'Cat'", "(/.A.Y.A.A/i).exec('Capybara')[0]");
85 Test("['Cat'][0]", "(/.A.Y.A.A/i).exec('Capybara')[0]");
88 Test("(/.A./i).exec('Cat')[0]", "{c:'Capybara'}.c");
[all …]
/external/okhttp/okio/okio/src/test/java/okio/
DByteStringTest.java21 import org.junit.Test;
33 @Test public void ofCopyRange() { in ofCopyRange()
41 @Test public void getByte() throws Exception { in getByte()
47 @Test public void getByteOutOfBounds() throws Exception { in getByteOutOfBounds()
56 @Test public void equals() throws Exception { in equals()
68 @Test public void utf8() throws Exception { in utf8()
75 @Test public void md5() { in md5()
84 @Test public void sha256() { in sha256()
93 @Test public void testHashCode() throws Exception { in testHashCode()
99 @Test public void read() throws Exception { in read()
[all …]
DBufferedSourceTest.java25 import org.junit.Test;
118 @Test public void readBytes() throws Exception { in readBytes()
125 @Test public void readShort() throws Exception { in readShort()
134 @Test public void readShortLe() throws Exception { in readShortLe()
143 @Test public void readShortSplitAcrossMultipleSegments() throws Exception { in readShortSplitAcrossMultipleSegments()
151 @Test public void readInt() throws Exception { in readInt()
161 @Test public void readIntLe() throws Exception { in readIntLe()
171 @Test public void readIntSplitAcrossMultipleSegments() throws Exception { in readIntSplitAcrossMultipleSegments()
181 @Test public void readLong() throws Exception { in readLong()
192 @Test public void readLongLe() throws Exception { in readLongLe()
[all …]
/external/valgrind/none/tests/s390x/
Dspechelper-icm-2.stdout.exp1 Test #1 mask == 0, value == 0xFFFFFFFF --> cc == 0
3 Test #2 mask == 0xF, value == 0 --> cc == 0
5 Test #3 load one byte, msb set --> cc == 1
7 Test #4 load two bytes, msb set --> cc == 1
9 Test #5 load three bytes, msb set --> cc == 1
11 Test #6 load four bytes, msb set --> cc == 1
13 Test #7 load one byte, msb not set --> cc == 2
15 Test #8 load two bytes, msb not set --> cc == 2
17 Test #9 load three bytes, msb not set --> cc == 2
19 Test #10 load four bytes, msb not set --> cc == 2
Dspechelper-icm-1.stdout.exp1 Test #1 mask == 0, value == 0xFFFFFFFF --> cc == 0
3 Test #2 mask == 0xF, value == 0 --> cc == 0
5 Test #3 load one byte, msb set --> cc == 1
7 Test #4 load two bytes, msb set --> cc == 1
9 Test #5 load three bytes, msb set --> cc == 1
11 Test #6 load four bytes, msb set --> cc == 1
13 Test #7 load one byte, msb not set --> cc == 2
15 Test #8 load two bytes, msb not set --> cc == 2
17 Test #9 load three bytes, msb not set --> cc == 2
19 Test #10 load four bytes, msb not set --> cc == 2

12345678910>>...128