Searched refs:TestClass (Results 1 - 25 of 103) sorted by relevance

12345

/external/stlport/test/eh/
H A DTestClass.h2 TestClass.h
15 SUMMARY: TestClass simulates a class that uses resources. It is designed to
32 class TestClass class
35 inline TestClass();
36 inline TestClass( int value );
37 inline TestClass( const TestClass& rhs );
38 inline ~TestClass();
40 inline TestClass& operator=( const TestClass
69 __MSL_FIX_ITERATORS__(TestClass); variable
70 __MSL_FIX_ITERATORS__(const TestClass); variable
87 inline TestClass::TestClass() function in class:TestClass
92 inline TestClass::TestClass( int value ) function in class:TestClass
97 inline TestClass::TestClass( const TestClass& rhs ) function in class:TestClass
[all...]
H A DThrowCompare.h22 #include "TestClass.h"
25 bool operator()( const TestClass& a, const TestClass& b ) const {
33 inline bool operator()( const TestClass& a, const TestClass& b ) const {
40 inline EH_CSTD::size_t operator()( const TestClass& a ) const {
H A Dtest_algobase.cpp28 #include "TestClass.h"
37 : stuff( new TestClass[kBufferSize] ), end_of_stuff(stuff + kBufferSize) {
43 void operator()( TestClass* buffer ) const
45 EH_STD::uninitialized_copy((TestClass*)stuff, (TestClass*)end_of_stuff, buffer );
46 EH_ASSERT( EH_STD::equal( (TestClass*)stuff, (TestClass*)end_of_stuff, buffer ) );
51 TestClass * stuff;
52 TestClass * end_of_stuff;
61 void operator()( TestClass* buffe
[all...]
H A DTestClass.cpp2 TestClass.cpp
16 #include "TestClass.h"
20 std::ostream& operator << (std::ostream& s, const TestClass& t) {
H A DSortClass.h24 # include "TestClass.h"
26 class SortClass : public TestClass
31 SortClass( int v ) : TestClass( v ), addr(0) {
35 SortClass() : TestClass( (int)get_random(kRange) ), addr(0) {
39 bool operator<( const TestClass& rhs ) const
42 return (const TestClass&)*this < ( rhs );
45 bool operator==( const TestClass& rhs ) const
48 return (const TestClass&)*this == ( rhs );
H A Dtest_slist.cpp18 # include "TestClass.h"
32 typedef EH_STD::slist<TestClass, eh_allocator(TestClass) > TestSList;
34 typedef EH_STD::__slist__<TestClass, eh_allocator(TestClass) > TestSList;
60 TestClass x;
62 testSList2.push_front( TestClass() );
74 TestClass *insFirst = new TestSList::value_type[1+insCnt];
H A Dtest_vector.cpp17 #include "TestClass.h"
31 typedef EH_STD::vector<TestClass, eh_allocator(TestClass) > TestVector;
33 typedef EH_STD::__vector__<TestClass, eh_allocator(TestClass) > TestVector;
64 inline void prepare_insert_range( TestVector& vec, size_t, TestClass* first, TestClass* last )
86 TestClass x;
88 testVector2.push_back( TestClass() );
92 TestClass *insFirs
[all...]
H A Dtest_hash_map.cpp18 #include "TestClass.h"
31 template struct pair<const TestClass, TestClass>;
32 template struct __hashtable_node<pair<const TestClass, TestClass> >;
33 template class hash_map<TestClass, TestClass, ThrowHash, ThrowEqual>;
34 template class hash_multimap<TestClass, TestClass, ThrowHash, ThrowEqual>;
37 typedef EH_STD::__hash_multimap__<TestClass, TestClas
[all...]
H A Dtest_map.cpp17 #include "TestClass.h"
48 typedef EH_STD::__multimap__<TestClass, TestClass, ThrowCompare, eh_allocator(TestClass) > TestMultiMap;
86 typedef EH_STD::__map__<TestClass, TestClass, ThrowCompare, eh_allocator(TestClass) > TestMap;
H A Dtest_list.cpp17 #include "TestClass.h"
31 typedef EH_STD::__list__<TestClass, eh_allocator(TestClass) > TestList;
71 TestClass x;
73 testList2.push_back( TestClass() );
85 TestClass *insFirst = new TestList::value_type[1+insCnt];
H A Dtest_hash_set.cpp22 #include "TestClass.h"
32 typedef EH_STD::__hash_multiset__<TestClass, ThrowHash, ThrowEqual,
33 eh_allocator(TestClass) > TestMultiSet;
80 typedef EH_STD::__hash_set__<TestClass, ThrowHash, ThrowEqual, eh_allocator(TestClass) > TestSet;
/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/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 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 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 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/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");
/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
330 private static class TestClass {} class in class:ToStringHelperTest
[all...]
/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/clang/test/CodeGenCXX/
H A Dcaptured-statements.cpp16 struct TestClass { struct
19 TestClass() : x(0) {}; function in struct:TestClass
30 TestClass c;
32 // CHECK-1: %[[Capture:struct\.anon[\.0-9]*]] = type { %struct.Foo*, %struct.TestClass* }
46 // CHECK-1: getelementptr inbounds %struct.TestClass* {{[^,]*}}, i32 0, i32 0
/external/chromium_org/third_party/icu/source/test/intltest/
H A Ditformat.cpp65 #define TESTCLASS(id, TestClass) \
67 name = #TestClass; \
69 logln(#TestClass " test---"); \
71 TestClass test; \
/external/icu/icu4c/source/test/intltest/
H A Ditformat.cpp67 #define TESTCLASS(id, TestClass) \
69 name = #TestClass; \
71 logln(#TestClass " test---"); \
73 TestClass test; \

Completed in 2607 milliseconds

12345