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

12 3 4 5 6 7 8 91011>>

  /external/android-mock/tests/com/google/android/testing/mocking/
FileUtilsTest.java 26 public class FileUtilsTest extends TestCase {
28 assertEquals(convertPathToNative("java/lang/Object.class"),
29 FileUtils.getFilenameFor(Object.class.getName()));
31 "com/google/android/testing/mocking/FileUtilsTest$InnerClass.class"),
32 FileUtils.getFilenameFor(InnerClass.class.getName()));
36 assertEquals(convertPathToNative("java/lang/Object.class"),
37 FileUtils.getFilenameFor(Object.class.getName()));
39 "com/google/android/testing/mocking/FileUtilsTest$InnerClass.class"),
40 FileUtils.getFilenameFor(InnerClass.class.getName()));
45 FileUtils.getInterfaceNameFor(Vector.class, SdkVersion.CUPCAKE))
    [all...]
  /frameworks/testing/androidtestlib/tests/src/com/android/test/runner/
TestRequestBuilderTest.java 41 public class TestRequestBuilderTest {
43 public static class SampleTest {
56 public static class SampleClassSize {
67 public static class SampleNoSize extends TestCase {
77 public static class SampleJUnit3Test extends TestCase {
92 public static class SampleJUnit3ClassSize extends TestCase {
102 public static class SampleJUnit3Suppressed extends TestCase {
128 b.addTestClass(SampleTest.class.getName());
141 b.addTestClass(SampleTest.class.getName());
150 * Test that size annotation filtering by class work
    [all...]
  /frameworks/base/test-runner/tests/src/android/test/
AndroidTestRunnerTest.java 37 public class AndroidTestRunnerTest extends TestCase {
51 mAndroidTestRunner.setTestClassName(TestSuite.class.getName(), null);
57 assertEquals(TestSuite.class.getSimpleName(), mAndroidTestRunner.getTestClassName());
61 mAndroidTestRunner.setTestClassName(OneTestTestCase.class.getName(), null);
67 assertEquals(OneTestTestCase.class.getSimpleName(), mAndroidTestRunner.getTestClassName());
71 mAndroidTestRunner.setTestClassName(OneTestTestCase.class.getName(), null);
83 OneAndroidTestTestCase.class.getName(), "testOneAndroid");
98 mAndroidTestRunner.setTestClassName(OneAndroidTestTestCase.class.getName(), null);
114 mAndroidTestRunner.setTestClassName(AndroidTestCaseTestSuite.class.getName(), null);
130 mAndroidTestRunner.setTestClassName(OneTestTestCase.class.getName(), null)
    [all...]
  /cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityEndToEndTest.java 40 * This class performs end-to-end testing of the accessibility feature by
44 public class AccessibilityEndToEndTest extends
53 super(AccessibilityEndToEndActivity.class);
61 expected.setClassName(ListView.class.getName());
102 expected.setClassName(Button.class.getName());
138 expected.setClassName(Button.class.getName());
174 expected.setClassName(Button.class.getName());
242 expected.setClassName(EditText.class.getName());
280 expected.setClassName(AlertDialog.class.getName());
328 expected.setClassName(Notification.class.getName())
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/
RobolectricClassLoader.java 12 public class RobolectricClassLoader extends javassist.Loader {
21 super(RobolectricClassLoader.class.getClassLoader(), null);
23 delegateLoadingOf(AndroidTranslator.class.getName());
24 delegateLoadingOf(ClassHandler.class.getName());
37 classPool.appendClassPath(new LoaderClassPath(RobolectricClassLoader.class.getClassLoader()));
53 public Class loadClass(String name) throws ClassNotFoundException {
57 Class<?> theClass;
67 public Class<?> bootstrap(Class testClass) {
78 protected Class findClass(String name) throws ClassNotFoundException
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
LintFix.java 59 abstract class LintFix implements ICompletionProposal {
147 private static final Map<String, Class<? extends LintFix>> sFixes =
148 new HashMap<String, Class<? extends LintFix>>();
152 LinearLayoutWeightFix.class);
153 sFixes.put(AccessibilityDetector.ISSUE.getId(), SetAttributeFix.class);
154 sFixes.put(InefficientWeightDetector.BASELINE_WEIGHTS.getId(), SetAttributeFix.class);
155 sFixes.put(ManifestOrderDetector.ALLOW_BACKUP.getId(), SetAttributeFix.class);
156 sFixes.put(MissingIdDetector.ISSUE.getId(), SetAttributeFix.class);
157 sFixes.put(HardcodedValuesDetector.ISSUE.getId(), ExtractStringFix.class);
158 sFixes.put(UselessViewDetector.USELESS_LEAF.getId(), RemoveUselessViewFix.class);
    [all...]
  /libcore/benchmarks/src/benchmarks/regression/
AnnotatedElementBenchmark.java 26 public class AnnotatedElementBenchmark extends SimpleBenchmark {
28 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/javax/net/ssl/
SSLSocketFactoryTest.java 31 public class SSLSocketFactoryTest extends TestCase {
35 assertTrue(SSLSocketFactory.class.isAssignableFrom(sf.getClass()));
75 assertTrue(SSLSocket.class.isAssignableFrom(ssl.getClass()));
  /art/test/004-annotations/src/android/test/anno/
AnnoFancyMethod.java 13 Class someClass() default SomeClass.class;
  /art/test/044-proxy/src/
Clash.java 23 * Try to instantiate a proxy class with interfaces that have conflicting
26 public class Clash {
32 Proxy.newProxyInstance(Clash.class.getClassLoader(),
33 new Class[] { Interface1A.class, Interface1A.class },
41 Proxy.newProxyInstance(Clash.class.getClassLoader(),
42 new Class[] { Interface1A.class, Interface1B.class },
    [all...]
Clash2.java 23 * Try to instantiate a proxy class with interfaces that have conflicting
26 public class Clash2 {
31 Proxy.newProxyInstance(Clash.class.getClassLoader(),
32 new Class[] { Interface2A.class, Interface2B.class },
53 class Clash2InvocationHandler implements InvocationHandler {
  /cts/tests/tests/app/src/android/app/cts/
AliasActivityTest.java 23 public class AliasActivityTest extends AndroidTestCase {
31 intent.setClass(getContext(), AliasActivityStub.class);
SearchManagerTest.java 21 public class SearchManagerTest extends CTSActivityTestCaseBase {
27 intent.setClass(getInstrumentation().getTargetContext(), SearchManagerStubActivity.class);
  /dalvik/tests/004-annotations/src/android/test/anno/
AnnoFancyMethod.java 13 Class someClass() default SomeClass.class;
  /dalvik/tests/044-proxy/src/
Clash.java 23 * Try to instantiate a proxy class with interfaces that have conflicting
26 public class Clash {
32 Proxy.newProxyInstance(Clash.class.getClassLoader(),
33 new Class[] { Interface1A.class, Interface1A.class },
41 Proxy.newProxyInstance(Clash.class.getClassLoader(),
42 new Class[] { Interface1A.class, Interface1B.class },
    [all...]
Clash2.java 23 * Try to instantiate a proxy class with interfaces that have conflicting
26 public class Clash2 {
31 Proxy.newProxyInstance(Clash.class.getClassLoader(),
32 new Class[] { Interface2A.class, Interface2B.class },
53 class Clash2InvocationHandler implements InvocationHandler {
  /external/mockito/src/org/mockito/internal/configuration/injection/scanner/
InjectMocksScanner.java 21 public class InjectMocksScanner {
22 private final Class<?> clazz;
27 * @param clazz Current class in the hierarchy of the test
29 public InjectMocksScanner(Class<?> clazz) {
52 if (null != field.getAnnotation(InjectMocks.class)) {
53 assertNoAnnotations(field, Mock.class, MockitoAnnotations.Mock.class, Captor.class);
61 void assertNoAnnotations(final Field field, final Class... annotations) {
62 for (Class annotation : annotations)
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/loadso/macos/
SDL_sysloadso.c 81 CFragSymbolClass class; local
87 (char **)&symbol, &class) != noErr ) {
  /frameworks/base/core/java/android/widget/
ImageSwitcher.java 27 public class ImageSwitcher extends ViewSwitcher
62 event.setClassName(ImageSwitcher.class.getName());
68 info.setClassName(ImageSwitcher.class.getName());
RadioButton.java 52 public class RadioButton extends CompoundButton {
83 event.setClassName(RadioButton.class.getName());
89 info.setClassName(RadioButton.class.getName());
TextSwitcher.java 35 public class TextSwitcher extends ViewSwitcher {
97 event.setClassName(TextSwitcher.class.getName());
103 info.setClassName(TextSwitcher.class.getName());
  /libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
TestAnnotation3.java 12 * only primitive type, String, Class, annotation,
26 Class aClazz() default Void.class;
TestAnnotation3b.java 12 * only primitive type, String, Class, annotation,
26 Class aClazz() default Void.class;
  /packages/apps/VoiceDialer/tests/src/com/android/voicedialer/
VoiceDialerLaunchPerformance.java 24 * Instrumentation class for DeskClock launch performance testing.
26 public class VoiceDialerLaunchPerformance extends LaunchPerformanceBase {
32 mIntent.setClass(getTargetContext(), VoiceDialerActivity.class);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
SpellCheckerSettingsFragment.java 29 public final class SpellCheckerSettingsFragment extends PreferenceFragment {
43 getActivity(), SpellCheckerSettingsActivity.class));

Completed in 266 milliseconds

12 3 4 5 6 7 8 91011>>