/external/v8/test/mjsunit/es6/ |
D | spread-call-new.js | 32 function TestClass(a, b, c) { class 36 TestClass.prototype.method = function() { class 40 assertInstanceof(new TestClass(...[1, 2, 3]), TestClass); 41 assertEquals([1, 2, 3], (new TestClass(...[1, 2, 3])).method()); 42 assertEquals([1, 2, 3], (new TestClass(...[1, 2, 3])).args); 43 assertTrue((new TestClass(...[1, 2, 3])).wasCalled); 48 function TestClass(a, b, c) { class 52 TestClass.prototype.method = function() { 56 assertInstanceof(new TestClass(...[1, 2, 3]), TestClass); 57 assertEquals([1, 2, 3], (new TestClass(...[1, 2, 3])).method()); [all …]
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | ToStringHelperTest.java | 49 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/clang/test/OpenMP/ |
D | single_codegen.cpp | 12 class TestClass { class 15 TestClass() : a(0) {} in TestClass() function in TestClass 16 TestClass(const TestClass &C) : a(C.a) {} in TestClass() function in TestClass 17 TestClass &operator=(const TestClass &) { return *this;} in operator =() argument 18 ~TestClass(){}; in ~TestClass() 27 TestClass tc; 28 TestClass tc2[2]; 41 TestClass &c = tc; in main()
|
D | threadprivate_messages.cpp | 58 class TestClass { class 62 TestClass() : a(0){} in TestClass() function in TestClass 64 TestClass (int aaa) : a(aaa) {} in TestClass() function in TestClass 68 #pragma omp threadprivate (TestClass::b) // expected-error {{'#pragma omp threadprivate' must appea… 121 …static TestClass LocalClass(y); // expected-error {{variable with local storage in initial value o… in main()
|
/external/android-mock/tests/com/google/android/testing/mocking/ |
D | ConstructorCreationTests.java | 42 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/libcxx/test/std/utilities/function.objects/func.invoke/ |
D | invoke.pass.cpp | 52 struct TestClass { struct 53 explicit TestClass(int x) : data(x) {} in TestClass() function 67 TestClass(TestClass const&) = delete; argument 68 TestClass& operator=(TestClass const&) = delete; 71 struct DerivedFromTestClass : public TestClass { 72 explicit DerivedFromTestClass(int x) : TestClass(x) {} in DerivedFromTestClass() 83 typedef Signature TestClass::*ClassFunc; in test_b12() 84 ClassFunc func_ptr = &TestClass::operator(); in test_b12() 109 typedef int TestClass::*ClassFunc; in test_b34() 110 ClassFunc func_ptr = &TestClass::data; in test_b34() [all …]
|
/external/javassist/src/test/test/javassist/proxy/ |
D | ProxySerializationTest.java | 21 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
|
D | ProxyFactoryCompatibilityTest.java | 47 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/ |
D | error-missing-getter.m | 22 @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}}
|
D | synthesize-setter-contclass.m | 4 @interface TestClass interface 12 @interface TestClass() interface in readwrite 16 @implementation TestClass implementation
|
D | warn-protocol-method-deprecated.m | 11 @interface TestClass : NSObject <TestProtocol> interface 21 TestClass *testObj = (TestClass*)0;
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/ |
D | CountModifierDebuggee.java | 39 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()
|
D | InstanceOnlyModifierDebuggee.java | 31 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()
|
D | ThreadOnlyModifierDebuggee.java | 31 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/chromium-trace/catapult/telemetry/third_party/mox3/mox3/tests/ |
D | test_mox.py | 596 instA = TestClass() 597 instB = TestClass() 728 self.assertNotEqual(self.mock_object, TestClass()) 938 self.mock_object = mox.MockObject(TestClass) 977 self.assertTrue(isinstance(self.mock_object, TestClass)) 1013 self.assertNotEqual(self.mock_object, mox.MockObject(TestClass)) 1018 self.assertNotEqual(self.mock_object, TestClass()) 1030 dummy = mox.MockObject(TestClass) 1044 dummy = mox.MockObject(TestClass) 1055 dummy = mox.MockObject(TestClass) [all …]
|
/external/chromium-trace/catapult/third_party/mox3/mox3/tests/ |
D | test_mox.py | 596 instA = TestClass() 597 instB = TestClass() 728 self.assertNotEqual(self.mock_object, TestClass()) 938 self.mock_object = mox.MockObject(TestClass) 977 self.assertTrue(isinstance(self.mock_object, TestClass)) 1013 self.assertNotEqual(self.mock_object, mox.MockObject(TestClass)) 1018 self.assertNotEqual(self.mock_object, TestClass()) 1030 dummy = mox.MockObject(TestClass) 1044 dummy = mox.MockObject(TestClass) 1055 dummy = mox.MockObject(TestClass) [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/ |
D | InvokeMethodDefault002Debuggee.java | 47 static class TestClass implements TestInterface { class in InvokeMethodDefault002Debuggee 54 return TestClass.RETURN_VALUE; in testDefaultMethod() 59 static TestClass invokeReceiver = new TestClass();
|
D | InvokeMethod003Debuggee.java | 26 static class TestClass { class in InvokeMethod003Debuggee 34 static TestClass invokeReceiver = new TestClass();
|
D | InvokeMethod002Debuggee.java | 27 static class TestClass { class in InvokeMethod002Debuggee 39 static TestClass invokeReceiver = new TestClass();
|
D | InvokeMethodDefaultDebuggee.java | 47 public static class TestClass implements TestInterface { class in InvokeMethodDefaultDebuggee 51 static TestClass invokeReceiver = new TestClass();
|
/external/icu/icu4c/source/test/intltest/ |
D | intltest.h | 103 #define TESTCASE_AUTO_CLASS(TestClass) \ argument 105 name = #TestClass; \ 107 logln(#TestClass "---"); \ 109 TestClass test; \ 115 #define TESTCASE_AUTO_CREATE_CLASS(TestClass) \ argument 117 name = #TestClass; \ 119 logln(#TestClass "---"); \ 121 LocalPointer<IntlTest> test(create##TestClass()); \
|
D | itformat.cpp | 73 #define TESTCLASS(id, TestClass) \ argument 75 name = #TestClass; \ 77 logln(#TestClass " test---"); \ 79 TestClass test; \
|
/external/clang/test/CodeGenCXX/ |
D | captured-statements.cpp | 16 struct TestClass { struct 19 TestClass() : x(0) {}; in TestClass() argument 32 TestClass c; in test1() argument
|
/external/autotest/client/common_lib/ |
D | site_utils_unittest.py | 16 class TestClass(object): class 71 self.run_test(TestClass().test_instance_function, True) 77 self.run_test(TestClass.test_class_function, True) 83 self.run_test(TestClass.test_static_function, False)
|
/external/junit/src/org/junit/experimental/theories/internal/ |
D | Assignments.java | 15 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()
|