Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testGetResourcePath (0.14 sec)

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

    /**
     * @author higa
     *
     */
    public class ResourceUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testGetResourcePath() throws Exception {
            assertEquals("1", "aaa/bbb.xml", ResourceUtil.getResourcePath("aaa/bbb.xml", "xml"));
            assertEquals("2", "aaa/bbb.xml", ResourceUtil.getResourcePath("aaa.bbb", "xml"));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/ClassUtilTest.java

            assertThat(ClassUtil.concatName("", null), is(nullValue()));
            assertThat(ClassUtil.concatName("", ""), is(nullValue()));
        }
    
        /**
         *
         */
        @Test
        public void testGetResourcePath() {
            assertThat(ClassUtil.getResourcePath(getClass()), is("org/codelibs/core/lang/ClassUtilTest.class"));
        }
    
        /**
         *
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top