Home
last modified time | relevance | path

Searched refs:ClassWithAnnotation (Results 1 – 6 of 6) sorted by relevance

/aosp_15_r20/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/
H A DSubclassByteBuddyMockMakerTest.java57 … MockSettingsImpl<ClassWithAnnotation> mockSettings = new MockSettingsImpl<ClassWithAnnotation>(); in mock_type_with_annotations()
58 mockSettings.setTypeToMock(ClassWithAnnotation.class); in mock_type_with_annotations()
60 ClassWithAnnotation proxy = mockMaker.createMock(mockSettings, dummyHandler()); in mock_type_with_annotations()
71 … MockSettingsImpl<ClassWithAnnotation> mockSettings = new MockSettingsImpl<ClassWithAnnotation>(); in mock_type_without_annotations()
72 mockSettings.setTypeToMock(ClassWithAnnotation.class); in mock_type_without_annotations()
75 ClassWithAnnotation proxy = mockMaker.createMock(mockSettings, dummyHandler()); in mock_type_without_annotations()
93 public static class ClassWithAnnotation { class in SubclassByteBuddyMockMakerTest
/aosp_15_r20/frameworks/libs/modules-utils/javatests/android/annotation/
DRestrictedForEnvironmentTests.java32 ClassWithAnnotation clz = new ClassWithAnnotation(); in testAnnotationAvailableInRuntime()
50 ClassWithAnnotation clz = new ClassWithAnnotation(); in testAnnotationParameters()
62 ClassWithAnnotation clz = new ClassWithAnnotation(); in testAnnotationParameters_environmentToString()
82 private static class ClassWithAnnotation { class in RestrictedForEnvironmentTests
/aosp_15_r20/external/libchrome/base/test/android/junit/src/org/chromium/base/test/util/
H A DAnnotationProcessingUtilsTest.java76 getTest(ClassWithAnnotation.class, "methodWithoutAnnotation"), in testGetTargetAnnotation_OnClassButNotOnMethod()
87 getTest(ClassWithAnnotation.class, "methodWithTargetAnnotation"), in testGetTargetAnnotation_OnClassAndMethod()
130 getTest(ClassWithAnnotation.class, "methodWithTargetAnnotation"), in testGetAllTargetAnnotations()
293 private static class ClassWithAnnotation { class in AnnotationProcessingUtilsTest
310 private static class DerivedClassWithoutAnnotation extends ClassWithAnnotation {
325 private static class DerivedClassWithAnnotation extends ClassWithAnnotation {
/aosp_15_r20/external/cronet/base/test/android/junit/src/org/chromium/base/test/util/
H A DAnnotationProcessingUtilsTest.java82 getTest(ClassWithAnnotation.class, "methodWithoutAnnotation"), in testGetTargetAnnotation_OnClassButNotOnMethod()
94 getTest(ClassWithAnnotation.class, "methodWithTargetAnnotation"), in testGetTargetAnnotation_OnClassAndMethod()
145 getTest(ClassWithAnnotation.class, "methodWithTargetAnnotation"), in testGetAllTargetAnnotations()
324 private static class ClassWithAnnotation { class in AnnotationProcessingUtilsTest
341 private static class DerivedClassWithoutAnnotation extends ClassWithAnnotation {
356 private static class DerivedClassWithAnnotation extends ClassWithAnnotation {
/aosp_15_r20/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
H A DTestPredicatesTest.java31 assertTrue(hasExampleAnnotation(ClassWithAnnotation.class, "testWithAnnotation")); in testThatMethodWithAnnotationIsReportedAsBeingAnnotated()
41 assertTrue(hasExampleAnnotation(ClassWithAnnotation.class, "testWithoutAnnotation")); in testThatClassAnnotatioCausesAllMethodsToBeReportedAsBeingAnnotated()
57 static class ClassWithAnnotation extends TestCase { class in TestPredicatesTest
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_docxmlrpc.py57 class ClassWithAnnotation: class
64 serv.register_instance(ClassWithAnnotation())