Home
last modified time | relevance | path

Searched defs:test (Results 1 – 25 of 7557) sorted by relevance

12345678910>>...303

/external/rust/crates/anyhow/tests/
Dtest_ensure.rs85 let test = || Ok(ensure!( in test_recursion() localVariable
101 let test = || { in test_low_precedence_control_flow() localVariable
118 let test = || Ok(ensure!(false == true && false)); in test_low_precedence_binary_operator() localVariable
122 let test = || Ok(ensure!(while false == true && false {} < ())); in test_low_precedence_binary_operator() localVariable
134 let test = || Ok(ensure!(S + move || 1 == 1)); in test_closure() localVariable
137 let test = || Ok(ensure!(S + || 1 == 1)); in test_closure() localVariable
142 let test = || Ok(ensure!(S + move |()| 1 == 1)); in test_closure() localVariable
145 let test = || Ok(ensure!(S + |()| 1 == 1)); in test_closure() localVariable
152 let test = || Ok(ensure!(*x == 2)); in test_unary() localVariable
155 let test = || Ok(ensure!(!x == 1)); in test_unary() localVariable
[all …]
/external/clang/test/Lexer/
Dchar-escapes.c3 int test['\\' == 92 ? 1 : -1]; variable
4 int test['\"' == 34 ? 1 : -1]; variable
5 int test['\'' == 39 ? 1 : -1]; variable
6 int test['\?' == 63 ? 1 : -1]; variable
7 int test['\a' == 7 ? 1 : -1]; variable
8 int test['\b' == 8 ? 1 : -1]; variable
9 int test['\e' == 27 ? 1 : -1]; // expected-warning {{non-standard escape}} variable
10 int test['\E' == 27 ? 1 : -1]; // expected-warning {{non-standard escape}} variable
11 int test['\f' == 12 ? 1 : -1]; variable
12 int test['\n' == 10 ? 1 : -1]; variable
[all …]
/external/libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/
Dctor_comp_alloc.pass.cpp22 struct test struct
25 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; argument
29 explicit test(const test_allocator<int>& a) : base(a) {} in test() argument
30 test(const value_compare& comp, const test_allocator<int>& a) in test() argument
32 test(const value_compare& comp, const container_type& c, in test() function
35 test(const value_compare& comp, container_type&& c, in test() argument
37 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() argument
39 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
Dctor_alloc.pass.cpp22 struct test struct
25 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; argument
29 explicit test(const test_allocator<int>& a) : base(a) {} in test() argument
30 test(const value_compare& comp, const test_allocator<int>& a) in test() argument
32 test(const value_compare& comp, const container_type& c, in test() argument
35 test(const value_compare& comp, container_type&& c, in test() function
37 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() argument
39 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
Dctor_comp_rcont_alloc.pass.cpp33 struct test struct
36 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; argument
40 explicit test(const test_allocator<int>& a) : base(a) {} in test() argument
41 test(const value_compare& comp, const test_allocator<int>& a) in test() argument
43 test(const value_compare& comp, const container_type& c, in test() function
46 test(const value_compare& comp, container_type&& c, in test() function
48 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() function
50 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
Dctor_move_alloc.pass.cpp36 struct test struct
39 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; argument
43 explicit test(const test_allocator<int>& a) : base(a) {} in test() argument
44 test(const value_compare& comp, const test_allocator<int>& a) in test() function
46 test(const value_compare& comp, const container_type& c, in test() function
48 test(const value_compare& comp, container_type&& c, in test() argument
50 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() argument
51 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
Dctor_comp_cont_alloc.pass.cpp33 struct test struct
36 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; argument
40 explicit test(const test_allocator<int>& a) : base(a) {} in test() argument
41 test(const value_compare& comp, const test_allocator<int>& a) in test() argument
43 test(const value_compare& comp, const container_type& c, in test() argument
46 test(const value_compare& comp, container_type&& c, in test() function
48 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() function
50 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
Dctor_copy_alloc.pass.cpp31 struct test struct
34 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; argument
38 explicit test(const test_allocator<int>& a) : base(a) {} in test() function
39 test(const value_compare& comp, const test_allocator<int>& a) in test() argument
41 test(const value_compare& comp, const container_type& c, in test() function
43 test(const test& q, const test_allocator<int>& a) : base(q, a) {} in test() argument
44 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/
Dctor_comp_alloc.pass.cpp21 struct test struct
24 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; argument
28 explicit test(const test_allocator<int>& a) : base(a) {} in test() argument
29 test(const value_compare& compare, const test_allocator<int>& a) in test() argument
31 test(const value_compare& compare, const container_type& container, in test() argument
34 test(const value_compare& compare, container_type&& container, in test() function
36 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() argument
38 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
Dctor_alloc.pass.cpp21 struct test struct
24 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; argument
28 explicit test(const test_allocator<int>& a) : base(a) {} in test() argument
29 test(const value_compare& comp, const test_allocator<int>& a) in test() function
31 test(const value_compare& comp, const container_type& container, in test() function
34 test(const value_compare& comp, container_type&& container, in test() argument
36 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() argument
38 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
Dctor_comp_rcont_alloc.pass.cpp32 struct test struct
35 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; argument
39 explicit test(const test_allocator<int>& a) : base(a) {} in test() argument
40 test(const value_compare& compare, const test_allocator<int>& a) in test() argument
42 test(const value_compare& compare, const container_type& container, in test() function
45 test(const value_compare& compare, container_type&& container, in test() argument
47 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() argument
49 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
Dctor_move_alloc.pass.cpp36 struct test struct
39 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; argument
43 explicit test(const test_allocator<int>& a) : base(a) {} in test() argument
44 test(const value_compare& compare, const test_allocator<int>& a) in test() function
46 test(const value_compare& compare, const container_type& container, in test() argument
48 test(const value_compare& compare, container_type&& container, in test() argument
50 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() argument
51 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
Dctor_comp_cont_alloc.pass.cpp32 struct test struct
35 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; argument
39 explicit test(const test_allocator<int>& a) : base(a) {} in test() argument
40 test(const value_compare& compare, const test_allocator<int>& a) in test() argument
42 test(const value_compare& compare, const container_type& container, in test() function
45 test(const value_compare& compare, container_type&& container, in test() function
47 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() argument
49 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
Dctor_copy_alloc.pass.cpp31 struct test struct
34 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; argument
38 explicit test(const test_allocator<int>& a) : base(a) {} in test() function
39 test(const value_compare& compare, const test_allocator<int>& a) in test() argument
41 test(const value_compare& compare, const container_type& container, in test() function
43 test(const test& q, const test_allocator<int>& a) : base(q, a) {} in test() function
44 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
/external/icu/icu4c/source/test/intltest/
Ditmajor.cpp58 IntlTestUtilities test; in runIndexedTest() local
67 IntlTestNormalize test; in runIndexedTest() local
77 IntlTestCollator test; in runIndexedTest() local
87 RegexTest test; in runIndexedTest() local
97 IntlTestFormat test; in runIndexedTest() local
107 IntlTestTransliterator test; in runIndexedTest() local
117 IntlTestRBBI test; in runIndexedTest() local
126 IntlTestRBNF test; in runIndexedTest() local
135 RbnfRoundTripTest test; in runIndexedTest() local
145 ICUServiceTest test; in runIndexedTest() local
[all …]
Ditformat.cpp157 LocalPointer<IntlTest> test(createTimeUnitTest()); in runIndexedTest() local
172 LocalPointer<IntlTest> test(createGenderInfoTest()); in runIndexedTest() local
181 LocalPointer<IntlTest> test(createCompactDecimalFormatTest()); in runIndexedTest() local
192 LocalPointer<IntlTest> test(createRelativeDateTimeFormatterTest()); in runIndexedTest() local
202 LocalPointer<IntlTest> test(createMeasureFormatTest()); in runIndexedTest() local
211 LocalPointer<IntlTest> test(createNumberFormatSpecificationTest()); in runIndexedTest() local
220 LocalPointer<IntlTest> test(createScientificNumberFormatterTest()); in runIndexedTest() local
232 LocalPointer<IntlTest> test(createFormattedValueTest()); in runIndexedTest() local
241 LocalPointer<IntlTest> test(createFormattedStringBuilderTest()); in runIndexedTest() local
250 LocalPointer<IntlTest> test(createStringSegmentTest()); in runIndexedTest() local
[all …]
/external/cronet/third_party/icu/source/test/intltest/
Ditmajor.cpp58 IntlTestUtilities test; in runIndexedTest() local
67 IntlTestNormalize test; in runIndexedTest() local
77 IntlTestCollator test; in runIndexedTest() local
87 RegexTest test; in runIndexedTest() local
97 IntlTestFormat test; in runIndexedTest() local
107 IntlTestTransliterator test; in runIndexedTest() local
117 IntlTestRBBI test; in runIndexedTest() local
126 IntlTestRBNF test; in runIndexedTest() local
135 RbnfRoundTripTest test; in runIndexedTest() local
145 ICUServiceTest test; in runIndexedTest() local
[all …]
Ditformat.cpp157 LocalPointer<IntlTest> test(createTimeUnitTest()); in runIndexedTest() local
172 LocalPointer<IntlTest> test(createGenderInfoTest()); in runIndexedTest() local
181 LocalPointer<IntlTest> test(createCompactDecimalFormatTest()); in runIndexedTest() local
192 LocalPointer<IntlTest> test(createRelativeDateTimeFormatterTest()); in runIndexedTest() local
202 LocalPointer<IntlTest> test(createMeasureFormatTest()); in runIndexedTest() local
211 LocalPointer<IntlTest> test(createNumberFormatSpecificationTest()); in runIndexedTest() local
220 LocalPointer<IntlTest> test(createScientificNumberFormatterTest()); in runIndexedTest() local
232 LocalPointer<IntlTest> test(createFormattedValueTest()); in runIndexedTest() local
241 LocalPointer<IntlTest> test(createFormattedStringBuilderTest()); in runIndexedTest() local
250 LocalPointer<IntlTest> test(createStringSegmentTest()); in runIndexedTest() local
[all …]
/external/libcxx/test/std/containers/container.adaptors/queue/queue.cons.alloc/
Dctor_alloc.pass.cpp21 struct test struct
24 typedef std::queue<int, std::deque<int, test_allocator<int> > > base; argument
26 explicit test(const test_allocator<int>& a) : base(a) {} in test() argument
27 test(const container_type& c, const test_allocator<int>& a) : base(c, a) {} in test() argument
29 test(container_type&& c, const test_allocator<int>& a) : base(std::move(c), a) {} in test() argument
30 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() function
32 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
Dctor_rcontainer_alloc.pass.cpp37 struct test struct
41 typedef test_allocator<MoveOnly> allocator_type; argument
44 explicit test(const allocator_type& a) : base(a) {} in test() argument
45 test(const container_type& c, const allocator_type& a) : base(c, a) {} in test() function
46 test(container_type&& c, const allocator_type& a) : base(std::move(c), a) {} in test() function
47 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} in test() function
54 test<MoveOnly> q(make<C>(5), test_allocator<MoveOnly>(4)); in main() argument
Dctor_rqueue_alloc.pass.cpp37 struct test struct
41 typedef test_allocator<MoveOnly> allocator_type; argument
44 explicit test(const allocator_type& a) : base(a) {} in test() argument
45 test(const container_type& c, const allocator_type& a) : base(c, a) {} in test() function
46 test(container_type&& c, const allocator_type& a) : base(std::move(c), a) {} in test() argument
47 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} in test() argument
54 test<MoveOnly> q(make<C>(5), test_allocator<MoveOnly>(4)); in main() argument
/external/libcxx/test/std/containers/container.adaptors/stack/stack.cons.alloc/
Dctor_alloc.pass.cpp21 struct test struct
24 typedef std::stack<int, std::deque<int, test_allocator<int> > > base; argument
26 explicit test(const test_allocator<int>& a) : base(a) {} in test() argument
27 test(const container_type& c, const test_allocator<int>& a) : base(c, a) {} in test() argument
29 test(container_type&& c, const test_allocator<int>& a) : base(std::move(c), a) {} in test() argument
30 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() argument
32 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
Dctor_rcontainer_alloc.pass.cpp37 struct test struct
41 typedef test_allocator<MoveOnly> allocator_type; argument
44 explicit test(const allocator_type& a) : base(a) {} in test() argument
45 test(const container_type& c, const allocator_type& a) : base(c, a) {} in test() function
46 test(container_type&& c, const allocator_type& a) : base(std::move(c), a) {} in test() argument
47 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} in test() function
54 test<MoveOnly> q(make<C>(5), test_allocator<MoveOnly>(4)); in main() argument
Dctor_rqueue_alloc.pass.cpp37 struct test struct
41 typedef test_allocator<MoveOnly> allocator_type; argument
44 explicit test(const allocator_type& a) : base(a) {} in test() argument
45 test(const container_type& c, const allocator_type& a) : base(c, a) {} in test() argument
46 test(container_type&& c, const allocator_type& a) : base(std::move(c), a) {} in test() argument
47 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} in test() function
54 test<MoveOnly> q(make<C>(5), test_allocator<MoveOnly>(4)); in main() argument
/external/autotest/docs/
Dbest-practices.md90 ### Control files
107 ### Running tests in suites
122 ### Pure python
149 ### Reporting failures
161 ### Considerations when writing client-side tests
188 ### Reusing code (“fixtures”)
195 ### Considerations when writing server-side tests
203 ### When/why to write a server-side test
215 ### Control files for server-side tests
246 ### Operations on Host objects
[all …]

12345678910>>...303