Home
last modified time | relevance | path

Searched refs:Foo (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DContentHandlerTest.java35 Class[] classes = { Foo.class, String.class, }; in test_getContent()
37 ((ContentHandlerImpl) handler).setContent(new Foo()); in test_getContent()
39 assertEquals("Foo", ((Foo) content).getFoo()); in test_getContent()
43 assertEquals("FooSub", ((Foo) content).getFoo()); in test_getContent()
46 ((ContentHandlerImpl) handler).setContent(new Foo()); in test_getContent()
66 class Foo { class
72 class FooSub extends Foo {
/libcore/benchmarks/src/benchmarks/
DArrayListIterationBenchmark.java29 ArrayList<Foo> mList = new ArrayList<Foo>();
31 for (int i = 0; i < 27; ++i) mList.add(new Foo()); in mList.add() argument
36 ArrayList<Foo> list = mList; in timeArrayListIterationIndexed()
46 for (Foo a : mList) { in timeArrayListIterationForEach()
DArrayIterationBenchmark.java27 Foo[] mArray = new Foo[27];
29 for (int i = 0; i < mArray.length; ++i) mArray[i] = new Foo();
42 Foo[] localArray = mArray; in timeArrayIterationCached()
53 for (Foo a: mArray) { in timeArrayIterationForEach()
DFoo.java22 public class Foo { class
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DAnnotationsTest.java103 assertEquals(AnnotationsTest.class, Foo.class.getEnclosingClass()); in testGetEnclosingClass()
107 assertEquals(AnnotationsTest.class, Foo.class.getEnclosingClass()); in testGetEnclosingClass()
112 assertEquals(AnnotationsTest.class, Foo.class.getDeclaringClass()); in testGetDeclaringClass()
157 Foo foo = new Foo("string"); in testClassEnclosedByConstructor()
158 assertEquals(Foo.class, foo.c.getEnclosingClass()); in testClassEnclosedByConstructor()
159 assertEquals(Foo.class.getDeclaredConstructor(String.class), in testClassEnclosedByConstructor()
166 Foo foo = new Foo(); in testClassEnclosedByMethod()
168 assertEquals(Foo.class, foo.c.getEnclosingClass()); in testClassEnclosedByMethod()
170 assertEquals(Foo.class.getDeclaredMethod("foo", String.class), in testClassEnclosedByMethod()
225 int modifiers = Foo.class.getModifiers(); in testInnerClassModifiers()
[all …]
/libcore/support/src/test/java/tests/resources/
Dhyts_Foo.serFoo.java package foo.bar.execjartest public foo.bar.execjartest.Foo extends java ...
/libcore/luni/src/test/java/libcore/java/lang/
DClassTest.java22 interface Foo { interface in ClassTest
40 assertNull(Foo.class.getGenericSuperclass()); in test_getGenericSuperclass_nullReturnCases()