testSingleResourceInTheClassLoader() — netty Function Reference
Architecture documentation for the testSingleResourceInTheClassLoader() function in NativeLibraryLoaderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 36cab0b1_1c27_000e_19c5_1b5da6706e2e["testSingleResourceInTheClassLoader()"] 9022161d_835d_6545_8d58_577531ba9962["NativeLibraryLoaderTest"] 36cab0b1_1c27_000e_19c5_1b5da6706e2e -->|defined in| 9022161d_835d_6545_8d58_577531ba9962 style 36cab0b1_1c27_000e_19c5_1b5da6706e2e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/internal/NativeLibraryLoaderTest.java lines 96–107
@Test
@EnabledOnOs(LINUX)
@EnabledIf("is_x86_64")
void testSingleResourceInTheClassLoader() throws MalformedURLException {
URL url1 = new File("src/test/data/NativeLibraryLoader/1").toURI().toURL();
URL url2 = new File("src/test/data/NativeLibraryLoader/2").toURI().toURL();
URLClassLoader loader = new URLClassLoader(new URL[] {url1, url2});
String resourceName = "test2";
NativeLibraryLoader.load(resourceName, loader);
assertTrue(true);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testSingleResourceInTheClassLoader() do?
testSingleResourceInTheClassLoader() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/internal/NativeLibraryLoaderTest.java.
Where is testSingleResourceInTheClassLoader() defined?
testSingleResourceInTheClassLoader() is defined in common/src/test/java/io/netty/util/internal/NativeLibraryLoaderTest.java at line 96.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free