Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testTrimPrefix (0.1 sec)

  1. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

            assertThat(option.isTargetProperty("hoge4"), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testTrimPrefix() throws Exception {
            final CopyOptions option = new CopyOptions();
            assertThat(option.trimPrefix("aaa"), is("aaa"));
            option.prefix(BeanNames.search_());
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/StringUtilTest.java

        public void testTrimSuffix() throws Exception {
            assertEquals("aaa", StringUtil.trimSuffix("aaaLogic", "Logic"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testTrimPrefix() throws Exception {
            assertEquals("AAA", StringUtil.trimPrefix("T_AAA", "T_"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsBlank() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top