Home
last modified time | relevance | path

Searched refs:TestClass (Results 1 – 25 of 63) sorted by relevance

123

/external/clang/test/OpenMP/
Dsingle_codegen.cpp10 class TestClass { class
13 TestClass() : a(0) {} in TestClass() function in TestClass
14 TestClass(const TestClass &C) : a(C.a) {} in TestClass() function in TestClass
15 TestClass &operator=(const TestClass &) { return *this;} in operator =() argument
16 ~TestClass(){}; in ~TestClass()
25 TestClass tc;
26 TestClass tc2[2];
39 TestClass c; in main()
Dthreadprivate_messages.cpp57 class TestClass { class
61 TestClass() : a(0){} in TestClass() function in TestClass
63 TestClass (int aaa) : a(aaa) {} in TestClass() function in TestClass
67 #pragma omp threadprivate (TestClass::b) // expected-error {{'#pragma omp threadprivate' must appea…
117 …static TestClass LocalClass(y); // expected-error {{variable with local storage in initial value o… in main()
/external/guava/guava-tests/test/com/google/common/base/
DToStringHelperTest.java49 String toTest = Objects.toStringHelper(new TestClass()).toString(); in testConstructor_innerClass()
54 String toTest = Objects.toStringHelper(new TestClass()).toString(); in testConstructorLenient_innerClass()
71 String toTest = Objects.toStringHelper(TestClass.class).toString(); in testConstructor_classObject()
76 String toTest = Objects.toStringHelper(TestClass.class).toString(); in testConstructorLenient_classObject()
154 String toTest = Objects.toStringHelper(new TestClass()) in testToString_oneField()
162 String toTest = Objects.toStringHelper(new TestClass()) in testToString_oneIntegerField()
170 String toTest = Objects.toStringHelper(new TestClass()) in testToString_nullInteger()
177 String toTest = Objects.toStringHelper(new TestClass()) in testToStringLenient_oneField()
184 String toTest = Objects.toStringHelper(new TestClass()) in testToStringLenient_oneIntegerField()
191 String toTest = Objects.toStringHelper(new TestClass()) in testToStringLenient_nullInteger()
[all …]
/external/android-mock/tests/com/google/android/testing/mocking/
DConstructorCreationTests.java42 public static class TestClass { class in ConstructorCreationTests
47 public TestClass(Foo foo) { in TestClass() method in ConstructorCreationTests.TestClass
51 public TestClass(Foo foo, Bar bar) { in TestClass() method in ConstructorCreationTests.TestClass
55 public TestClass(int v1) { in TestClass() method in ConstructorCreationTests.TestClass
59 public TestClass(int v1, float v2) { in TestClass() method in ConstructorCreationTests.TestClass
65 public TestClass(int v1, double v2) { in TestClass() method in ConstructorCreationTests.TestClass
73 Constructor<TestClass> constructor = in hasConstructor()
74 AndroidMock.getConstructorFor(TestClass.class, args); in hasConstructor()
80 Constructor<TestClass> constructor = in doesNotHaveConstructor()
81 AndroidMock.getConstructorFor(TestClass.class, args); in doesNotHaveConstructor()
[all …]
/external/javassist/src/test/test/javassist/proxy/
DProxySerializationTest.java21 factory.setSuperclass(TestClass.class); in testSerialization()
34 TestClass proxy = (TestClass)constructor.newInstance(new Object[] {name}); in testSerialization()
43 TestClass newProxy = (TestClass)in.readObject(); in testSerialization()
61 TestClass proxy = (TestClass)constructor.newInstance(new Object[] {name}); in testSerialization()
70 TestClass newProxy = (TestClass)in.readObject(); in testSerialization()
128 public static class TestClass implements Serializable class in ProxySerializationTest
132 public TestClass() in TestClass() method in ProxySerializationTest.TestClass
136 public TestClass(String name) in TestClass() method in ProxySerializationTest.TestClass
DProxyFactoryCompatibilityTest.java47 factory.setSuperclass(TestClass.class); in testFactoryCompatibility()
54 TestClass proxy1 = (TestClass)proxyClass1.newInstance(); in testFactoryCompatibility()
61 TestClass proxy2 = (TestClass)proxyClass2.newInstance(); in testFactoryCompatibility()
71 factory.setSuperclass(TestClass.class); in testFactoryCompatibility()
79 TestClass proxy3 = (TestClass)proxyClass3.newInstance(); in testFactoryCompatibility()
85 TestClass proxy4 = (TestClass)proxyClass4.newInstance(); in testFactoryCompatibility()
95 public static class TestClass { class in ProxyFactoryCompatibilityTest
/external/clang/test/SemaObjC/
Derror-missing-getter.m22 @interface TestClass interface
27 if (TestClass.setterOnly) { // expected-error {{no getter method for read from property}}
28 TestClass.setterOnly = 1;
30 … func(TestClass.setterOnly + 1, x); // expected-error {{no getter method for read from property}} \
32 int i = TestClass.setterOnly + 1; // expected-error {{no getter method for read from property}}
33 return TestClass.setterOnly + 1; // expected-error {{no getter method for read from property}}
Dsynthesize-setter-contclass.m4 @interface TestClass interface
12 @interface TestClass() interface in readwrite
16 @implementation TestClass implementation
Dwarn-protocol-method-deprecated.m11 @interface TestClass : NSObject <TestProtocol> interface
21 TestClass *testObj = (TestClass*)0;
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/
DCountModifierDebuggee.java39 static class TestClass { class in CountModifierDebuggee
50 private void countAndCall(TestClass obj) { in countAndCall()
55 private static void catchException(TestClass obj) { in catchException()
72 TestClass obj = new TestClass(); in run()
DInstanceOnlyModifierDebuggee.java31 static class TestClass { class in InstanceOnlyModifierDebuggee
60 static TestClass INSTANCE_ONLY;
67 final TestClass[] instances = new TestClass[10]; in run()
69 instances[i] = new TestClass(); in run()
DThreadOnlyModifierDebuggee.java31 static class TestClass { class in ThreadOnlyModifierDebuggee
39 private final TestClass obj;
41 public TestThread(TestClass obj) { in TestThread()
80 TestClass obj = new TestClass(); in run()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
DInvokeMethod003Debuggee.java26 static class TestClass { class in InvokeMethod003Debuggee
34 static TestClass invokeReceiver = new TestClass();
DInvokeMethod002Debuggee.java27 static class TestClass { class in InvokeMethod002Debuggee
39 static TestClass invokeReceiver = new TestClass();
/external/icu/icu4c/source/test/intltest/
Dintltest.h120 #define TESTCASE_AUTO_CLASS(TestClass) \ argument
122 name = #TestClass; \
124 logln(#TestClass "---"); \
126 TestClass test; \
132 #define TESTCASE_AUTO_CREATE_CLASS(TestClass) \ argument
134 name = #TestClass; \
136 logln(#TestClass "---"); \
138 LocalPointer<IntlTest> test(create##TestClass()); \
Ditformat.cpp71 #define TESTCLASS(id, TestClass) \ argument
73 name = #TestClass; \
75 logln(#TestClass " test---"); \
77 TestClass test; \
/external/clang/test/CodeGenCXX/
Dcaptured-statements.cpp16 struct TestClass { struct
19 TestClass() : x(0) {}; in TestClass() argument
30 TestClass c; in test1() argument
/external/junit/src/org/junit/experimental/theories/internal/
DAssignments.java15 import org.junit.runners.model.TestClass;
26 private final TestClass fClass;
29 List<ParameterSignature> unassigned, TestClass testClass) { in Assignments()
40 TestClass testClass) throws Exception { in allUnassigned()
DAllMembersSupplier.java18 import org.junit.runners.model.TestClass;
53 private final TestClass fClass;
58 public AllMembersSupplier(TestClass type) { in AllMembersSupplier()
/external/junit/src/org/junit/experimental/theories/
DTheories.java21 import org.junit.runners.model.TestClass;
74 private TestClass fTestClass;
78 public TheoryAnchor(FrameworkMethod method, TestClass testClass) { in TheoryAnchor()
83 private TestClass getTestClass() { in getTestClass()
/external/clang/test/CodeGenObjC/
Dproperty-ref-cast-to-void.m5 @interface TestClass interface
12 TestClass *obj;
/external/junit/src/org/junit/runners/
DParameterized.java18 import org.junit.runners.model.TestClass;
147 private List<Object[]> getParametersList(TestClass klass) in getParametersList()
153 private FrameworkMethod getParametersMethod(TestClass testClass) in getParametersMethod()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
DNewInstance002Debuggee.java27 static class TestClass { class in NewInstance002Debuggee
32 public TestClass(Object obj) { in TestClass() method in NewInstance002Debuggee.TestClass
/external/junit/src/org/junit/internal/runners/
DJUnit4ClassRunner.java32 private TestClass fTestClass;
35 fTestClass= new TestClass(klass); in JUnit4ClassRunner()
142 protected TestClass getTestClass() { in getTestClass()
DTestMethod.java22 private TestClass fTestClass;
24 public TestMethod(Method method, TestClass testClass) { in TestMethod()

123