- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for testGetResource (0.09 sec)
-
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
assertEquals("3", "org/codelibs/core/io/ResourceUtilTest.class", ResourceUtil.getResourcePath(getClass())); } /** * @throws Exception */ public void testGetResource() throws Exception { assertNotNull(ResourceUtil.getResource("java/lang/String.class", "class")); assertNotNull(ResourceUtil.getResource("org/codelibs")); try {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ResourcesTest.java
IllegalArgumentException.class, () -> Resources.getResource("no such resource")); assertThat(e).hasMessageThat().isEqualTo("resource no such resource not found."); } public void testGetResource() { assertNotNull(Resources.getResource("com/google/common/io/testdata/i18n.txt")); } public void testGetResource_relativePath_notFound() { IllegalArgumentException e = assertThrows(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
IllegalArgumentException.class, () -> Resources.getResource("no such resource")); assertThat(e).hasMessageThat().isEqualTo("resource no such resource not found."); } public void testGetResource() { assertNotNull(Resources.getResource("com/google/common/io/testdata/i18n.txt")); } public void testGetResource_relativePath_notFound() { IllegalArgumentException e = assertThrows(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
cmd/handler-utils_test.go
if err == nil && !reflect.DeepEqual(metadata, testCase.metadata) { t.Fatalf("Test %d failed: Expected \"%#v\", got \"%#v\"", i+1, testCase.metadata, metadata) } } } // Test getResource() func TestGetResource(t *testing.T) { testCases := []struct { p string host string domains []string expectedResource string }{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 6.1K bytes - Viewed (0)