Searched refs:withClassDefinition (Results 1 – 4 of 4) sorted by relevance
/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/ |
D | TypeCachingMockBytecodeGeneratorTest.java | 31 .withClassDefinition("foo.Bar", makeMarkerInterface("foo.Bar")) in ensure_cache_is_cleared_if_no_reference_to_classloader_and_classes() 60 .withClassDefinition("foo.Bar", makeMarkerInterface("foo.Bar")) in ensure_cache_returns_same_instance() 97 .withClassDefinition("foo.Bar", makeMarkerInterface("foo.Bar")) in ensure_cache_returns_different_instance_serializableMode() 121 .withClassDefinition("foo.Bar", makeMarkerInterface("foo.Bar")) in validate_simple_code_idea_where_weakhashmap_with_classloader_as_key_get_GCed_when_no_more_references()
|
/external/mockito/src/test/java/org/mockitoutil/ |
D | ClassLoadersTest.java | 184 … .withClassDefinition("yop.Dude", SimpleClassGenerator.makeMarkerInterface("yop.Dude")) in can_not_load_a_class_not_previously_registered_in_builder() 202 … .withClassDefinition("yop.Dude", SimpleClassGenerator.makeMarkerInterface("yop.Dude")) in can_load_a_class_in_memory_from_bytes() 238 … .withClassDefinition("a.A", SimpleClassGenerator.makeMarkerInterface("a.A")) in can_list_all_classes_reachable_in_a_classloader() 239 … .withClassDefinition("a.b.B", SimpleClassGenerator.makeMarkerInterface("a.b.B")) in can_list_all_classes_reachable_in_a_classloader() 240 … .withClassDefinition("c.C", SimpleClassGenerator.makeMarkerInterface("c.C")) in can_list_all_classes_reachable_in_a_classloader()
|
D | ClassLoaders.java | 331 public InMemoryClassLoaderBuilder withClassDefinition(String name, byte[] classDefinition) { in withClassDefinition() method in ClassLoaders.InMemoryClassLoaderBuilder
|
/external/mockito/src/test/java/org/mockitousage/basicapi/ |
D | MockingMultipleInterfacesTest.java | 101 .withClassDefinition("test.Interface1", makeMarkerInterface("test.Interface1")) in should_mock_class_with_interfaces_of_different_class_loader_AND_different_classpaths() 105 .withClassDefinition("test.Interface2", makeMarkerInterface("test.Interface2")) in should_mock_class_with_interfaces_of_different_class_loader_AND_different_classpaths()
|