/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/ |
D | InlineByteBuddyMockMakerTest.java | 49 MockCreationSettings<FinalClass> settings = settingsFor(FinalClass.class); in should_create_mock_from_final_class() 50 … FinalClass proxy = mockMaker.createMock(settings, new MockHandlerImpl<FinalClass>(settings)); in should_create_mock_from_final_class() 126 MockCreationSettings<FinalClass> settings = new CreationSettings<FinalClass>() in should_fail_at_creating_a_mock_of_a_final_class_with_explicit_serialization() 127 .setTypeToMock(FinalClass.class) in should_fail_at_creating_a_mock_of_a_final_class_with_explicit_serialization() 131 mockMaker.createMock(settings, new MockHandlerImpl<FinalClass>(settings)); in should_fail_at_creating_a_mock_of_a_final_class_with_explicit_serialization() 143 MockCreationSettings<FinalClass> settings = new CreationSettings<FinalClass>() in should_fail_at_creating_a_mock_of_a_final_class_with_extra_interfaces() 144 .setTypeToMock(FinalClass.class) in should_fail_at_creating_a_mock_of_a_final_class_with_extra_interfaces() 148 mockMaker.createMock(settings, new MockHandlerImpl<FinalClass>(settings)); in should_fail_at_creating_a_mock_of_a_final_class_with_extra_interfaces() 338 private static final class FinalClass { class in InlineByteBuddyMockMakerTest
|
/external/mockito/subprojects/inline/src/test/java/org/mockitoinline/ |
D | FinalClassMockingTest.java | 15 Mockito.mock(FinalClass.class); in no_exception_while_mocking_final_class() 18 private static final class FinalClass { class in FinalClassMockingTest
|
/external/mockito/src/test/java/org/mockitousage/misuse/ |
D | InvalidUsageTest.java | 79 final class FinalClass {} class in InvalidUsageTest 83 …lse("Inlining mock allows mocking final classes", mock(FinalClass.class).getClass() == FinalClass.… in shouldNotAllowMockingFinalClassesIfDisabled()
|
/external/mockito/src/test/java/org/mockito/internal/util/ |
D | MockUtilTest.java | 80 final class FinalClass {} class in MockUtilTest 86 Assertions.assertThat(MockUtil.typeMockabilityOf(FinalClass.class).mockable()) in should_know_if_type_is_mockable() 87 .isEqualTo(Plugins.getMockMaker().isTypeMockable(FinalClass.class).mockable()); in should_know_if_type_is_mockable()
|
/external/llvm-project/lldb/test/API/lang/cpp/multiple-inheritance/ |
D | main.cpp | 35 struct FinalClass : Base1, Base2 { struct 44 FinalClass C; in main() argument
|
/external/mockito/src/test/java/org/mockitousage/stubbing/ |
D | DeepStubbingTest.java | 38 public FinalClass getFinalClass() { in getFinalClass() 67 static final class FinalClass {} class in DeepStubbingTest 316 FinalClass value = new FinalClass(); in shouldFailGracefullyWhenClassIsFinal()
|
/external/javapoet/src/test/java/com/squareup/javapoet/ |
D | MethodSpecTest.java | 132 final class FinalClass { class in MethodSpecTest 221 TypeElement classElement = getElement(FinalClass.class); in overrideFinalClassMethod()
|
/external/guava/android/guava-tests/test/com/google/common/reflect/ |
D | InvokableTest.java | 305 private static final class FinalClass { class in InvokableTest 311 Invokable<?, ?> delegate = Invokable.from(FinalClass.class.getDeclaredMethod("notFinalMethod")); in testNonFinalMethodInFinalClass_isOverridable()
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | InvokableTest.java | 305 private static final class FinalClass { class in InvokableTest 311 Invokable<?, ?> delegate = Invokable.from(FinalClass.class.getDeclaredMethod("notFinalMethod")); in testNonFinalMethodInFinalClass_isOverridable()
|
/external/clang/test/SemaCXX/ |
D | type-traits.cpp | 306 struct FinalClass final { struct 335 { int arr[T(__is_final(FinalClass))]; } in is_final() 358 { int arr[T(__is_sealed(FinalClass))]; } in is_sealed()
|
/external/llvm-project/clang/test/SemaCXX/ |
D | type-traits.cpp | 362 struct FinalClass final { struct 391 { int arr[T(__is_final(FinalClass))]; } in is_final() 414 { int arr[T(__is_sealed(FinalClass))]; } in is_sealed()
|