Searched defs:TestClass (Results 1 - 25 of 41) sorted by relevance

12

/external/v8/test/mjsunit/es6/
H A Dspread-call-new.js32 function TestClass(a, b, c) { class
36 TestClass.prototype.method = function() {
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) {
52 TestClass.prototype.method = function() {
56 assertInstanceof(new TestClass(
[all...]
/external/testng/src/test/java/test/preserveorder/
H A DTestClass.java2 * @(#) TestClass.java
19 public class TestClass { class
23 public TestClass(final int val) { method in class:TestClass
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/pkg1/
H A DTestClass.java24 * as the TestClass in o.a.h.l.tests.pkg2
26 public class TestClass implements Serializable { class in inherits:Serializable
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/pkg2/
H A DTestClass.java24 * as the TestClass in o.a.h.l.tests.pkg1
26 public class TestClass implements Serializable { class in inherits:Serializable
/external/clang/test/OpenMP/
H A Dsingle_codegen.cpp12 class TestClass { class
15 TestClass() : a(0) {} function in class:TestClass
16 TestClass(const TestClass &C) : a(C.a) {} function in class:TestClass
17 TestClass &operator=(const TestClass &) { return *this;}
18 ~TestClass(){};
27 TestClass tc;
28 TestClass tc2[2];
41 TestClass
[all...]
H A Dthreadprivate_messages.cpp58 class TestClass { class
62 TestClass() : a(0){} function in class:TestClass
64 TestClass (int aaa) : a(aaa) {} function in class:TestClass
68 #pragma omp threadprivate (TestClass::b) // expected-error {{'#pragma omp threadprivate' must appear in the scope of the 'TestClass::b' variable declaration}}
121 static TestClass LocalClass(y); // expected-error {{variable with local storage in initial value of threadprivate variable}}
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
H A DNewInstance002Debuggee.java27 static class TestClass { class in class:NewInstance002Debuggee
32 public TestClass(Object obj) { method in class:NewInstance002Debuggee.TestClass
46 // Preload TestClass so it is available during the test.
49 c = Class.forName("org.apache.harmony.jpda.tests.jdwp.ClassType.NewInstance002Debuggee$TestClass");
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
H A DInvokeMethod002Debuggee.java27 static class TestClass { class in class:InvokeMethod002Debuggee
38 // The instance used to invoke "TestClass.testMethod".
39 static TestClass invokeReceiver = new TestClass();
46 // Preload TestClass so it is available during the test.
49 c = Class.forName("org.apache.harmony.jpda.tests.jdwp.ObjectReference.InvokeMethod002Debuggee$TestClass");
H A DInvokeMethod003Debuggee.java26 static class TestClass { class in class:InvokeMethod003Debuggee
29 return "TestClass.toString()";
33 // The instance used to invoke "TestClass.testMethod".
34 static TestClass invokeReceiver = new TestClass();
41 // Preload TestClass so it is available during the test.
44 c = Class.forName("org.apache.harmony.jpda.tests.jdwp.ObjectReference.InvokeMethod003Debuggee$TestClass");
H A DInvokeMethodDefault002Debuggee.java47 static class TestClass implements TestInterface { class in class:InvokeMethodDefault002Debuggee
54 return TestClass.RETURN_VALUE;
58 // The instance used to invoke "TestClass.testMethod".
59 static TestClass invokeReceiver = new TestClass();
66 // Preload TestClass so it is available during the test.
71 packageName + "ObjectReference.InvokeMethodDefault002Debuggee$TestClass");
H A DInvokeMethodDefaultDebuggee.java47 public static class TestClass implements TestInterface { class in class:InvokeMethodDefaultDebuggee
50 // The instance used to invoke "TestClass.testMethod".
51 static TestClass invokeReceiver = new TestClass();
58 // Preload TestClass so it is available during the test.
63 packageName + "ObjectReference.InvokeMethodDefaultDebuggee$TestClass");
/external/javassist/src/test/test/javassist/proxy/
H A DProxyFactoryCompatibilityTest.java47 factory.setSuperclass(TestClass.class);
54 TestClass proxy1 = (TestClass)proxyClass1.newInstance();
61 TestClass proxy2 = (TestClass)proxyClass2.newInstance();
71 factory.setSuperclass(TestClass.class);
79 TestClass proxy3 = (TestClass)proxyClass3.newInstance();
85 TestClass proxy4 = (TestClass)proxyClass
95 public static class TestClass { class in class:ProxyFactoryCompatibilityTest
[all...]
H A DProxySerializationTest.java21 factory.setSuperclass(TestClass.class);
34 TestClass proxy = (TestClass)constructor.newInstance(new Object[] {name});
43 TestClass newProxy = (TestClass)in.readObject();
61 TestClass proxy = (TestClass)constructor.newInstance(new Object[] {name});
70 TestClass newProxy = (TestClass)in.readObject();
128 public static class TestClass implement class in class:ProxySerializationTest
132 public TestClass() method in class:ProxySerializationTest.TestClass
136 public TestClass(String name) method in class:ProxySerializationTest.TestClass
[all...]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/
H A DInstanceOnlyModifierDebuggee.java31 static class TestClass { class in class:InstanceOnlyModifierDebuggee
36 "InstanceOnlyModifierDebuggee.TestClass.eventTestMethod()");
49 "InstanceOnlyModifierDebuggee.TestClass.readAndWriteField()");
55 "InstanceOnlyModifierDebuggee.TestClass.throwException()");
60 static TestClass INSTANCE_ONLY;
67 final TestClass[] instances = new TestClass[10];
69 instances[i] = new TestClass();
H A DCountModifierDebuggee.java39 static class TestClass { class in class:CountModifierDebuggee
41 System.out.println("TestClass.eventTestMethod: count=" + locationEventCount);
45 System.out.println("TestClass.throwException: exceptionCount=" + exceptionEventCount);
50 private void countAndCall(TestClass obj) {
55 private static void catchException(TestClass obj) {
72 TestClass obj = new TestClass();
H A DThreadOnlyModifierDebuggee.java31 static class TestClass { class in class:ThreadOnlyModifierDebuggee
34 "ThreadOnlyModifierDebuggee.TestClass.eventTestMethod()");
39 private final TestClass obj;
41 public TestThread(TestClass obj) {
80 TestClass obj = new TestClass();
/external/llvm/test/tools/llvm-pdbdump/Inputs/
H A DFilterTest.cpp26 FilterTestClass TestClass; local
/external/autotest/client/common_lib/
H A Dsite_utils_unittest.py16 class TestClass(object): class in inherits:object
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/internal/runners/
H A DTestClass.java22 public class TestClass { class
25 public TestClass(Class<?> klass) { method in class:TestClass
/external/libcxx/test/std/utilities/function.objects/func.invoke/
H A Dinvoke.pass.cpp52 struct TestClass { struct
53 explicit TestClass(int x) : data(x) {} function in struct:TestClass
67 TestClass(TestClass const&) = delete;
68 TestClass& operator=(TestClass const&) = delete;
71 struct DerivedFromTestClass : public TestClass {
72 explicit DerivedFromTestClass(int x) : TestClass(x) {}
83 typedef Signature TestClass::*ClassFunc;
84 ClassFunc func_ptr = &TestClass
[all...]
/external/clang/test/CodeGenCXX/
H A Dcaptured-statements.cpp16 struct TestClass { struct
19 TestClass() : x(0) {}; function in struct:TestClass
32 TestClass c;
34 // CHECK-1: %[[Capture:struct\.anon[\.0-9]*]] = type { %struct.TestClass*, %struct.Foo* }
52 // CHECK-1: getelementptr inbounds %struct.TestClass, %struct.TestClass* {{[^,]*}}, i32 0, i32 0
H A Ddebug-info-use-after-free.cpp41 typename TestSel::template Bind < Type >::type TestClass; local
/external/junit/src/org/junit/runners/model/
H A DTestClass.java21 public class TestClass { class
29 * Creates a {@code TestClass} wrapping {@code klass}. Each time this
32 * try to share instances of {@code TestClass} where possible.
34 public TestClass(Class<?> klass) { method in class:TestClass
/external/guava/guava-tests/test/com/google/common/base/
H A DToStringHelperTest.java49 String toTest = Objects.toStringHelper(new TestClass()).toString();
50 assertEquals("TestClass{}", toTest);
54 String toTest = Objects.toStringHelper(new TestClass()).toString();
71 String toTest = Objects.toStringHelper(TestClass.class).toString();
72 assertEquals("TestClass{}", toTest);
76 String toTest = Objects.toStringHelper(TestClass.class).toString();
154 String toTest = Objects.toStringHelper(new TestClass())
157 assertEquals("TestClass{field1=Hello}", toTest);
162 String toTest = Objects.toStringHelper(new TestClass())
165 assertEquals("TestClass{field
437 private static class TestClass {} class in class:ToStringHelperTest
[all...]
/external/testng/src/main/java/org/testng/
H A DTestClass.java26 class TestClass extends NoOpTestClass implements ITestClass { class in inherits:NoOpTestClass,ITestClass
39 protected TestClass(IClass cls, method in class:TestClass
77 log(3, "Creating TestClass for " + cls);
193 log(4, "Adding method " + tm + " on TestClass " + m_testClass);
199 log(4, "Rejecting method " + tm + " for TestClass " + m_testClass);
216 Utils.log("TestClass", level, s);
220 System.out.println("[TestClass] " + s);

Completed in 845 milliseconds

12