Classes | |
class | InnerLiteTest |
class | InnerTest |
interface | RegistryTests |
Public Member Functions | |
void | runTest () throws Exception |
void | runTest () throws Exception |
Static Public Member Functions | |
static Test | suite () |
static Test | suite () |
Private Member Functions | |
void | runTestMethod (ClassLoader classLoader, Class<? extends RegistryTests > testClass) throws Exception |
void | runTestMethod (ClassLoader classLoader, Class<? extends RegistryTests > testClass) throws Exception |
Static Private Member Functions | |
static ClassLoader | getLiteOnlyClassLoader () |
static ClassLoader | getLiteOnlyClassLoader () |
Static Private Attributes | |
static final ClassLoader | LITE_CLASS_LOADER = getLiteOnlyClassLoader() |
Tests for ExtensionRegistryFactory and the ExtensionRegistry instances it creates.
This test simulates the runtime behaviour of the ExtensionRegistryFactory by delegating test definitions to two inner classes InnerTest and InnerLiteTest, the latter of which is executed using a custom ClassLoader, simulating the ProtoLite environment.
The test mechanism employed here is based on the pattern in
Tests for ExtensionRegistryFactory and the ExtensionRegistry instances it creates.
This test simulates the runtime behaviour of the ExtensionRegistryFactory by delegating test definitions to two inner classes InnerTest and InnerLiteTest, the latter of which is executed using a custom ClassLoader, simulating the ProtoLite environment.
The test mechanism employed here is based on the pattern in
This test is temporarily disabled while we figure out how to fix the class loading used for testing lite functionality.
Definition at line 56 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ExtensionRegistryFactoryTest.java.
|
inlinestaticprivate |
Constructs a custom ClassLoader blacklisting the classes which are inspected in the SUT to determine the Lite/non-Lite runtime.
Definition at line 247 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ExtensionRegistryFactoryTest.java.
|
inlinestaticprivate |
Constructs a custom ClassLoader blacklisting the classes which are inspected in the SUT to determine the Lite/non-Lite runtime.
Definition at line 255 of file protobuf/java/core/src/test/java/com/google/protobuf/ExtensionRegistryFactoryTest.java.
|
inline |
Sequentially runs first the Lite and then the non-Lite test variant via classloader manipulation.
Definition at line 220 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ExtensionRegistryFactoryTest.java.
|
inline |
Sequentially runs first the Lite and then the non-Lite test variant via classloader manipulation.
Definition at line 228 of file protobuf/java/core/src/test/java/com/google/protobuf/ExtensionRegistryFactoryTest.java.
|
inlineprivate |
Definition at line 235 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ExtensionRegistryFactoryTest.java.
|
inlineprivate |
Definition at line 243 of file protobuf/java/core/src/test/java/com/google/protobuf/ExtensionRegistryFactoryTest.java.
|
inlinestatic |
Defines a suite of tests which the JUnit3 runner retrieves by reflection.
Definition at line 207 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ExtensionRegistryFactoryTest.java.
|
inlinestatic |
Defines a suite of tests which the JUnit3 runner retrieves by reflection.
Definition at line 215 of file protobuf/java/core/src/test/java/com/google/protobuf/ExtensionRegistryFactoryTest.java.
|
staticprivate |
Definition at line 59 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ExtensionRegistryFactoryTest.java.