HomeSort by relevance Sort by last modified time
    Searched defs:class (Results 26 - 50 of 527) sorted by null

12 3 4 5 6 7 8 91011>>

  /packages/services/Car/car-lib/src/android/car/annotation/
FutureFeature.java 31 @Retention(RetentionPolicy.CLASS)
33 Class type() default Object.class;
ValueTypeDef.java 32 Class type() default Object.class;
  /packages/services/Car/car-support-lib/src/android/support/car/annotation/
ValueTypeDef.java 31 Class<?> type() default Object.class;
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
ReflectionTest.java 43 public final class ReflectionTest extends TestCase {
49 assertEquals(AbstractList.class, ArrayList.class.getSuperclass());
50 assertEquals(AbstractCollection.class, AbstractList.class.getSuperclass());
51 assertEquals(AbstractCollection.class, AbstractList.class.getSuperclass());
52 assertEquals(Object.class, AbstractCollection.class.getSuperclass());
53 assertNull(Object.class.getSuperclass())
    [all...]
  /external/desugar/java/com/google/devtools/common/options/
Option.java 25 * access these fields directly, but instead go through that class.
122 // Can't figure out how to coerce Converter.class into Class<? extends Converter<?>>
123 Class<? extends Converter> converter() default Converter.class;
156 * <p>If provided (i.e. not {@link ExpansionFunction}{@code .class}), the {@code expansion} field
160 Class<? extends ExpansionFunction> expansionFunction() default ExpansionFunction.class;
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/
TemporaryBindingsTest.java 13 @RunWith(WithTestDefaultsRunner.class)
14 public class TemporaryBindingsTest {
18 assertThat(shadowOf(new View(null)).getClass().getSimpleName(), equalTo(ShadowView.class.getSimpleName()));
20 Robolectric.bindShadowClass(TemporaryShadowView.class);
23 equalTo(TemporaryShadowView.class.getSimpleName()));
28 assertThat(shadowOf(new View(null)).getClass().getSimpleName(), equalTo(ShadowView.class.getSimpleName()));
30 Robolectric.bindShadowClass(TemporaryShadowView.class);
33 equalTo(TemporaryShadowView.class.getSimpleName()));
36 @Implements(View.class)
37 public static class TemporaryShadowView
    [all...]
RobolectricTestRunnerClassLoaderSetup.java 10 @RunWith(WithTestDefaultsRunner.class)
11 public class RobolectricTestRunnerClassLoaderSetup {
16 Assert.assertEquals(classLoader.getClass().getName(), RobolectricClassLoader.class.getName());
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
RobolectricTestRunnerClassLoaderConfigTest.java 11 @RunWith(RobolectricTestRunner.class)
12 public class RobolectricTestRunnerClassLoaderConfigTest {
17 Assert.assertEquals(classLoader.getClass().getName(), SandboxClassLoader.class.getName());
22 assertThat(DummyClass.class.getClassLoader()).isInstanceOf(SandboxClassLoader.class);
23 assertThat(DummyClass.class.getPackage()).isNotNull();
24 assertThat(DummyClass.class.getName()).startsWith(DummyClass.class.getPackage().getName());
28 assertThat(Test.class.getPackage()).isNotNull();
30 assertThat(Package.getPackage("org.junit")).isEqualTo(Test.class.getPackage())
    [all...]
  /external/testng/src/main/java/org/testng/annotations/
Test.java 11 * Mark a class or a method as part of the test.
19 * The list of groups this class/method belongs to.
24 * Whether methods on this class/method are enabled.
97 * The class where to look for the data provider. If not
98 * specified, the dataprovider will be looked on the class
101 * needs to be static on the specified class.
103 public Class<?> dataProviderClass() default Object.class;
123 public Class[] expectedExceptions() default {};
132 * The name of the suite this test class should be placed in. Thi
    [all...]
  /external/testng/src/test/java/test/dependent/
MultiGroupTest.java 7 public class MultiGroupTest extends BaseTest {
10 addClass(MultiGroup1SampleTest.class.getName());
11 addClass(MultiGroup2SampleTest.class.getName());
DependentTest.java 13 public class DependentTest extends BaseTest {
17 addClass(SampleDependent1.class.getName());
29 addClass(SampleDependentMethods.class.getName());
41 addClass(SampleDependentMethods4.class.getName());
52 @ExpectedExceptions({ org.testng.TestNGException.class })
54 addClass(SampleDependentMethods5.class.getName());
64 @Test(expectedExceptions = org.testng.TestNGException.class)
66 addClass(SampleDependentMethods6.class.getName());
70 @Test(expectedExceptions = org.testng.TestNGException.class)
78 addClass(MultipleDependentSampleTest.class.getName())
    [all...]
  /libcore/libart/src/main/java/java/lang/invoke/
ByteBufferViewVarHandle.java 26 final class ByteBufferViewVarHandle extends VarHandle {
29 private ByteBufferViewVarHandle(Class<?> arrayClass, ByteOrder byteOrder) {
30 super(arrayClass.getComponentType(), byte[].class, false /* isFinal */,
31 ByteBuffer.class, int.class);
35 static ByteBufferViewVarHandle create(Class<?> arrayClass, ByteOrder byteOrder) {
  /art/test/988-method-trace/src/art/
Test988Intrinsics.java 25 class Test988Intrinsics {
33 // In addition, pre-load classes here so that we don't see diverging class loading traces.
34 java.lang.Double.class.toString();
35 java.lang.Float.class.toString();
36 java.lang.Integer.class.toString();
37 java.lang.Long.class.toString();
38 java.lang.Short.class.toString();
39 java.lang.Math.class.toString();
40 java.lang.Thread.class.toString();
41 java.lang.String.class.toString()
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/
RobolectricTestRunner.java 47 public class RobolectricTestRunner extends BlockJUnit4ClassRunner implements RobolectricTestRunnerInterface {
57 Logger.getLogger(RobolectricTestRunner.class.getSimpleName());
97 * @param classOrPackageToBeInstrumented fully-qualified class or package name
109 * @param testClass the test class to be run
112 public RobolectricTestRunner(final Class<?> testClass) throws InitializationError {
123 * @param testClass the test class to be run
127 public RobolectricTestRunner(final Class<?> testClass, RobolectricClassLoader classLoader)
142 * @param testClass the test class to be run
146 protected RobolectricTestRunner(final Class<?> testClass, final RobolectricConfig robolectricConfig)
158 * @param testClass the test class to be ru
    [all...]
  /art/test/031-class-attributes/src/
ClassAttrs.java 17 public class ClassAttrs {
20 class ConsInnerNamed {
30 public class PublicInnerClass {
33 protected class ProtectedInnerClass {
36 private class PrivateInnerClass {
39 class PackagePrivateInnerClass {
54 private static void showModifiers(Class<?> c) {
61 showModifiers(int.class);
62 showModifiers(int[].class);
65 showModifiers(Object.class);
    [all...]
  /libcore/benchmarks/src/benchmarks/regression/
AnnotatedElementBenchmark.java 25 public class AnnotatedElementBenchmark {
27 private Class<?> type;
33 type = Type.class;
34 field = Type.class.getField("field");
35 method = Type.class.getMethod("method", String.class);
67 type.getAnnotation(Marker.class);
73 field.getAnnotation(Marker.class);
79 method.getAnnotation(Marker.class);
85 type.isAnnotationPresent(Marker.class);
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
OldClassTest.java 42 public class OldClassTest extends junit.framework.TestCase {
55 public static class TestClass1C {
63 public static class TestClass2 {
70 public static class TestClass3 {
81 static class StaticMember$Class {
82 class Member2$A {
86 class Member$Class {
87 class Member3$B
    [all...]
  /art/test/952-invoke-custom/src/
TestLinkerUnrelatedBSM.java 23 class TestLinkerUnrelatedBSM extends TestBase {
27 enclosingType = UnrelatedBSM.class,
29 MethodHandles.Lookup.class,
30 String.class,
31 MethodType.class,
32 Class.class
37 returnType = float.class,
38 parameterTypes = {float.class, float.class},
    [all...]
  /external/annotation-tools/asmx/test/conform/annotations/
ValuesAnnotation.java 23 Class classValue() default Values.class;
39 Class[] classArrayValue() default { Values.class, Values.class};
  /external/elfutils/libasm/
asm_begin.c 88 int class = ebl_get_elfclass (ebl); local
89 if (gelf_newehdr (result->out.elf, class) == 0)
101 /* Use the machine, class, and endianess values from the Ebl descriptor. */
103 ehdr->e_ident[EI_CLASS] = class;
  /external/guice/extensions/persist/src/com/google/inject/persist/finder/
Finder.java 46 * Returns the configured autoboxing collection class.
50 Class<? extends Collection> returnAs() default Collection.class;
  /external/guice/extensions/testlib/src/com/google/inject/testing/fieldbinder/
Bind.java 39 Class<?> to() default Bind.class;
  /external/junit/src/main/java/org/junit/
Test.java 11 * JUnit first constructs a fresh instance of the class then invokes the
18 * public class Example {
31 * &#064;Test(<b>expected=IndexOutOfBoundsException.class</b>) public void outOfBounds() {
71 static class None extends Throwable {
80 * and only if an exception of the specified class is thrown by the method. If the Throwable's
84 Class<? extends Throwable> expected() default None.class;
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
H2DatabaseTest.java 12 @DatabaseConfig.UsingDatabaseMap(H2Map.class)
13 @RunWith(WithTestDefaultsRunner.class)
14 public class H2DatabaseTest extends DatabaseTestBase {
18 equalTo(H2Map.class.getName()));
  /external/robolectric-shadows/annotations/src/main/java/org/robolectric/annotation/
Implements.java 10 * Indicates that a class declaration is intended to shadow an Android class declaration.
13 * class.
21 * The Android class to be shadowed.
23 * @return Android class to shadow.
25 Class<?> value() default void.class;
28 * Android class name (if the Class object is not accessible).
30 * @return Android class name
    [all...]

Completed in 1629 milliseconds

12 3 4 5 6 7 8 91011>>