Home
last modified time | relevance | path

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

12345

/external/stlport/test/eh/
DTestClass.h32 class TestClass
35 inline TestClass();
36 inline TestClass( int value );
37 inline TestClass( const TestClass& rhs );
38 inline ~TestClass();
40 inline TestClass& operator=( const TestClass& rhs );
43 inline TestClass operator!() const;
45 bool operator==( const TestClass& rhs ) const
50 bool operator<( const TestClass& rhs ) const {
69 __MSL_FIX_ITERATORS__(TestClass);
[all …]
Dtest_algobase.cpp37 : stuff( new TestClass[kBufferSize] ), end_of_stuff(stuff + kBufferSize) { in test_uninitialized_copy()
43 void operator()( TestClass* buffer ) const in operator ()()
45 EH_STD::uninitialized_copy((TestClass*)stuff, (TestClass*)end_of_stuff, buffer ); in operator ()()
46 EH_ASSERT( EH_STD::equal( (TestClass*)stuff, (TestClass*)end_of_stuff, buffer ) ); in operator ()()
51 TestClass * stuff;
52 TestClass * end_of_stuff;
61 void operator()( TestClass* buffer ) const in operator ()()
63 TestClass* buf_end = buffer + kBufferSize; in operator ()()
70 TestClass testValue;
78 void operator()( TestClass* buffer ) const in operator ()()
[all …]
DSortClass.h26 class SortClass : public TestClass
31 SortClass( int v ) : TestClass( v ), addr(0) { in SortClass()
35 SortClass() : TestClass( (int)get_random(kRange) ), addr(0) { in SortClass()
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 );
DThrowCompare.h25 bool operator()( const TestClass& a, const TestClass& b ) const { in operator()
33 inline bool operator()( const TestClass& a, const TestClass& b ) const { in operator()
40 inline EH_CSTD::size_t operator()( const TestClass& a ) const { in operator()
Dtest_vector.cpp31 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 ) in prepare_insert_range()
86 TestClass x; in test_vector()
88 testVector2.push_back( TestClass() ); in test_vector()
92 TestClass *insFirst = new TestVector::value_type[1+ insCnt]; in test_vector()
Dtest_slist.cpp32 typedef EH_STD::slist<TestClass, eh_allocator(TestClass) > TestSList;
34 typedef EH_STD::__slist__<TestClass, eh_allocator(TestClass) > TestSList;
60 TestClass x; in test_slist()
62 testSList2.push_front( TestClass() ); in test_slist()
74 TestClass *insFirst = new TestSList::value_type[1+insCnt]; in test_slist()
Dtest_hash_map.cpp37 typedef EH_STD::__hash_multimap__<TestClass, TestClass, ThrowHash, ThrowEqual,
38 eh_allocator(TestClass) > TestMultiMap;
84 typedef EH_STD::__hash_map__<TestClass, TestClass, ThrowHash,
85 ThrowEqual, eh_allocator(TestClass) > TestMap;
Dtest_map.cpp48 typedef EH_STD::__multimap__<TestClass, TestClass, ThrowCompare, eh_allocator(TestClass) > TestMult…
86 typedef EH_STD::__map__<TestClass, TestClass, ThrowCompare, eh_allocator(TestClass) > TestMap;
Dtest_list.cpp31 typedef EH_STD::__list__<TestClass, eh_allocator(TestClass) > TestList;
71 TestClass x; in test_list()
73 testList2.push_back( TestClass() ); in test_list()
85 TestClass *insFirst = new TestList::value_type[1+insCnt]; in test_list()
Dtest_set.cpp34 typedef EH_STD::__multiset__<TestClass, ThrowCompare, eh_allocator(TestClass) > TestMultiSet;
68 typedef EH_STD::__set__<TestClass, ThrowCompare, eh_allocator(TestClass) > TestSet;
Dtest_hash_set.cpp32 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/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/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}}
31 int i = TestClass.setterOnly + 1; // expected-error {{no getter method for read from property}}
32 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/
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()
DCountModifierDebuggee.java40 static class TestClass { class in CountModifierDebuggee
51 private void countAndCall(TestClass obj) { in countAndCall()
56 private static void catchException(TestClass obj) { in catchException()
85 TestClass obj = 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/clang/test/OpenMP/
Dthreadprivate_messages.cpp58 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…
115 …static TestClass LocalClass(y); // expected-error {{variable with local storage in initial value o… in main()
/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/chromium_org/third_party/icu/source/test/intltest/
Ditformat.cpp59 #define TESTCLASS(id, TestClass) \ argument
61 name = #TestClass; \
63 logln(#TestClass " test---"); \
65 TestClass test; \
/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()); \

12345