Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testRemoteExtension (0.1 sec)

  1. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

            assertEquals("1", "xml", ResourceUtil.getExtension("aaa/bbb.xml"));
            assertEquals("2", null, ResourceUtil.getExtension("aaa"));
        }
    
        /**
         * @throws Exception
         */
        public void testRemoteExtension() throws Exception {
            assertEquals("1", "aaa/bbb", ResourceUtil.removeExtension("aaa/bbb.xml"));
            assertEquals("2", "aaa/bbb", ResourceUtil.removeExtension("aaa/bbb"));
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top