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

1234

/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;
H A Dtest_set.cpp17 #include "TestClass.h"
34 typedef EH_STD::__multiset__<TestClass, ThrowCompare, eh_allocator(TestClass) > TestMultiSet;
68 typedef EH_STD::__set__<TestClass, ThrowCompare, 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/android-mock/tests/com/google/android/testing/mocking/
H A DConstructorCreationTests.java42 public static class TestClass { class in class:ConstructorCreationTests
47 public TestClass(Foo foo) { method in class:ConstructorCreationTests.TestClass
51 public TestClass(Foo foo, Bar bar) { method in class:ConstructorCreationTests.TestClass
55 public TestClass(int v1) { method in class:ConstructorCreationTests.TestClass
59 public TestClass(int v1, float v2) { method in class:ConstructorCreationTests.TestClass
65 public TestClass(int v1, double v2) { method in class:ConstructorCreationTests.TestClass
73 Constructor<TestClass> constructor =
74 AndroidMock.getConstructorFor(TestClass.class, args);
80 Constructor<TestClass> constructor =
81 AndroidMock.getConstructorFor(TestClass
[all...]
/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/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/
H A DAccessibleObjectTest.java24 public class TestClass { class in class:AccessibleObjectTest
34 AccessibleObject ao = TestClass.class.getField("aField");
49 AccessibleObject ao = TestClass.class.getField("aField");
/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/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
H A DClassTest.java60 public static class TestClass { class in class:ClassTest
83 public TestClass() { method in class:ClassTest.TestClass
87 private TestClass(Object o) { method in class:ClassTest.TestClass
91 public static class SubTestClass extends TestClass {
233 TestClass.class.getConstructor(new Class[0]);
235 TestClass.class.getConstructor(Object.class);
246 Constructor[] c = TestClass.class.getConstructors();
261 Constructor<TestClass> c = TestClass.class.getDeclaredConstructor(new Class[0]);
263 c = TestClass
[all...]
/external/icu4c/test/intltest/
H A Ditformat.cpp63 #define TESTCLASS(id, TestClass) \
65 name = #TestClass; \
67 logln(#TestClass " test---"); \
69 TestClass test; \
/external/junit/src/org/junit/internal/runners/
H A DClassRoadie.java21 private TestClass fTestClass;
25 public ClassRoadie(RunNotifier notifier, TestClass testClass,
H A DTestMethod.java22 private TestClass fTestClass;
24 public TestMethod(Method method, TestClass testClass) {
/external/junit/src/org/junit/runners/
H A DParameterized.java18 import org.junit.runners.model.TestClass;
147 private List<Object[]> getParametersList(TestClass klass)
153 private FrameworkMethod getParametersMethod(TestClass testClass)
/external/junit/src/org/junit/experimental/theories/internal/
H A DAssignments.java15 import org.junit.runners.model.TestClass;
26 private final TestClass fClass;
29 List<ParameterSignature> unassigned, TestClass testClass) {
40 TestClass testClass) throws Exception {

Completed in 1513 milliseconds

1234