Home
last modified time | relevance | path

Searched refs:Test2 (Results 1 – 25 of 157) sorted by relevance

1234567

/external/clang/test/CodeGenCXX/
Dconstructor-direct-call.cpp16 class Test2 { class
18 Test2() { a = 10; b = 10; } in Test2() function in Test2
26 Test2 var; in f2()
29 var.Test2::Test2(); in f2()
32 var.Test2::Test2(var); in f2()
Dmangle-valist.cpp8 class Test2 { class
13 void Test2::test2(const char *fmt, va_list ap) { in test2()
/external/clang/test/PCH/
Dcxx11-inheriting-ctors.cpp30 struct Test2 : Base { struct
44 Test2<int> test2a(42);
45 Test2<int> test2b(nullptr);
50 #pragma clang __debug dump Test2
56 Test2<int> retest2a(42);
57 Test2<int> retest2b(nullptr);
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DConfigMergerTest.java28 assertThat(configFor(Test2.class, "withoutAnnotation", in defaultValuesAreMerged()
34 assertThat(configFor(Test2.class, "withoutAnnotation", in globalValuesAreMerged()
76 new Class[] {Test1.class, Test2.class}, in whenClassHasConfigAnnotation_getConfig_shouldMergeClassAndMethodConfig()
84 configFor(Test2.class, "withoutAnnotation"), in whenClassDoesntHaveConfigAnnotation_getConfig_shouldUseMethodConfig()
97 configFor(Test2.class, "withDefaultsAnnotation"), in whenClassDoesntHaveConfigAnnotation_getConfig_shouldUseMethodConfig()
110 configFor(Test2.class, "withOverrideAnnotation"), in whenClassDoesntHaveConfigAnnotation_getConfig_shouldUseMethodConfig()
244 new Class[] {Test1.class, Test2.class}, in whenClassAndSubclassHaveConfigAnnotation_getConfig_shouldMergeClassSubclassAndMethodConfig()
306 configFor(Test2.class, "withoutAnnotation", of("robolectric.properties", properties)), in shouldLoadDefaultsFromGlobalPropertiesFile()
323 Test2.class, in shouldMergeConfigFromTestClassPackageProperties()
342 Test2.class, in shouldMergeConfigUpPackageHierarchy()
[all …]
/external/python/cpython2/Lib/unittest/test/
Dtest_setups.py81 class Test2(unittest.TestCase): class
85 Test2.tearDownCalled += 1
92 result = self.runTests(Test, Test2)
95 self.assertEqual(Test2.tearDownCalled, 1)
129 class Test2(unittest.TestCase): class
133 Test2.tornDown += 1
140 result = self.runTests(Test, Test2)
144 self.assertEqual(Test2.tornDown, 1)
215 class Test2(unittest.TestCase): class
239 Test1.__module__ = Test2.__module__ = 'Module'
[all …]
/external/python/cpython3/Lib/unittest/test/
Dtest_setups.py80 class Test2(unittest.TestCase): class
84 Test2.tearDownCalled += 1
91 result = self.runTests(Test, Test2)
94 self.assertEqual(Test2.tearDownCalled, 1)
128 class Test2(unittest.TestCase): class
132 Test2.tornDown += 1
139 result = self.runTests(Test, Test2)
143 self.assertEqual(Test2.tornDown, 1)
214 class Test2(unittest.TestCase): class
238 Test1.__module__ = Test2.__module__ = 'Module'
[all …]
/external/clang/test/SemaCXX/
Dbitfield-layout.cpp13 struct Test2 { struct
16 CHECK_SIZE(Test2, 2); argument
17 CHECK_ALIGN(Test2, 2);
/external/clang/test/Analysis/
Ddead-stores.cpp26 class Test2 { class
29 Test2(int &y) : x(y) {} in Test2() function in Test2
30 ~Test2() { ++x; } in ~Test2()
34 { Test2 a(x); } // no-warning in test2()
/external/clang/test/CXX/special/class.copy/
Dp12-0x.cpp210 struct Test2 : HasImplicitlyDefaultedCopyCtor {}; struct
212 static_assert(__has_trivial_copy(Test2), "");
213 static_assert(__is_trivially_constructible(Test2, const Test2 &), "");
215 static_assert(__is_trivially_constructible(Test2, Test2 &&), "");
/external/clang/test/Index/
Dfile-refs.cpp32 namespace Test2 { namespace
43 p = Test2::S(0,2); in f()
44 p = Test2::Cake(0,2); in f()
/external/clang/test/CodeGenObjCXX/
Dmangle.mm63 @interface Test2 @end interface
64 @interface Test2 () interface in assign
67 @interface Test2 (a) interface in a
70 @implementation Test2 { implementation
76 void test2(Test2 *t) {
103 void kindof_test2(__kindof Test2 *t2) { }
Dproperty-reference.mm56 @interface Test2 interface
61 template <class T> void test2(Test2 *a) {
66 template void test2<int>(Test2*);
80 template <class T> void test3(Test2 *a) {
85 template void test3<int>(Test2*);
/external/clang/test/Sema/
Dwarn-outof-range-assign-enum.c36 enum Test2 { K_zero, K_one }; enum
37 enum Test2 test2(enum Test2 *t) { in test2()
Dconstant-conversion.c22 enum Test2 { K_zero, K_one }; enum
23 enum Test2 test2(enum Test2 *t) { in test2()
/external/libchrome/base/
Doptional_unittest.cc412 class Test2 { in TEST() class
414 Test2(const Test2&) = delete; in TEST()
415 explicit Test2(Test1&& other) : bar_(other.foo()) {} in TEST() function in base::TEST::Test2
424 Optional<Test2> second(std::move(first)); in TEST()
824 struct Test2 { in TEST() struct
833 Test2() = default; in TEST()
834 explicit Test2(const Test1& test1) in TEST() argument
836 explicit Test2(Test1&& test1) : state(State::MOVE_CONSTRUCTED_FROM_TEST1) { in TEST() argument
839 Test2& operator=(const Test1& test1) { in TEST() argument
843 Test2& operator=(Test1&& test1) { in TEST() argument
[all …]
/external/perfetto/src/base/
Doptional_unittest.cc429 class Test2 { in TEST() class
431 Test2(const Test2&) = delete; in TEST()
432 explicit Test2(Test1&& other) : bar_(other.foo()) {} in TEST() function in perfetto::base::TEST::Test2
441 Optional<Test2> second(std::move(first)); in TEST()
840 struct Test2 { in TEST() struct
849 Test2() = default; in TEST()
850 explicit Test2(const Test1&) : state(State::COPY_CONSTRUCTED_FROM_TEST1) {} in TEST() function
851 explicit Test2(Test1&& test1) : state(State::MOVE_CONSTRUCTED_FROM_TEST1) { in TEST() function
854 Test2& operator=(const Test1&) { in TEST() argument
858 Test2& operator=(Test1&& test1) { in TEST() argument
[all …]
/external/clang/test/CXX/class.access/
Dp4.cpp213 class Test2 : A {}; // expected-error {{private member}} class
215 Test2 a; in test2()
216 a = Test2(); // expected-note{{implicit copy}} in test2()
232 class Test2 : A {}; // expected-error {{base class 'test6::A' has private copy constructor}} class
233 void test2(const Test2 &t) { in test2()
234 Test2 a = t; // expected-note{{implicit copy}} in test2()
/external/clang/test/CodeGenObjC/
Drelated-result-type.m30 @interface Test2 : NSString interface
34 @implementation Test2 implementation
35 // CHECK: define internal {{.*}}i8* @"\01-[Test2 init]"
Darc-property.m44 @interface Test2 { interface
52 @implementation Test2 implementation
58 // CHECK: define internal void @"\01-[Test2 test]"(
68 // CHECK: define internal i8* @"\01-[Test2 theClass]"(
73 // CHECK: define internal void @"\01-[Test2 setTheClass:]"(
80 // CHECK: define internal void @"\01-[Test2 .cxx_destruct]"(
/external/curl/tests/data/
Dtest433 …pt: replaced" -H "X-Custom-Header;" -H "X-Test: foo; " -H "X-Test:" -H "X-Test2: foo;" -H "X-Test3…
50 X-Test2: foo;
58 X-Test2: foo;
/external/flatbuffers/tests/MyGame/Example/
DVec3.cs26 public Color Test2 { get { return (Color)__p.bb.GetSbyte(__p.bb_pos + 24); } } property
30 …FlatBufferBuilder builder, float X, float Y, float Z, double Test1, Color Test2, short test3_A, sb… in CreateVec3()
38 builder.PutSbyte((sbyte)Test2); in CreateVec3()
/external/tensorflow/tensorflow/core/lib/gtl/
Dmanual_constructor_test.cc36 typedef TestN<2> Test2; typedef
49 CHECK_EQ(sizeof(ManualConstructor<Test2>), sizeof(Test2)); in TEST()
/external/testng/src/test/java/test/pkg2/
DTest2.java6 public class Test2 { class
7 private Test2(float afloat) { in Test2() method in Test2
/external/clang/test/CoverageMapping/
Dnestedclass.cpp10 struct Test2 { // CHECK-INNER: emitTest2 struct
24 Test::Test2 t2; in main() argument
/external/clang/test/ARCMT/Inputs/
Dtest1.m.in.result7 @interface Test2
11 @implementation Test2

1234567