Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for hoge3 (0.32 sec)

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

         */
        @Test
        public void testCopy_BeanToNewMap_Prefix() throws Exception {
            final HogeDto2 hoge = new HogeDto2();
            hoge.aaa = "1";
            hoge.search_bbb = "2";
            hoge.search_ccc$ddd = "3";
            hoge.search_employee$name = "4";
            final Map<String, Object> map = BeanUtil.copyBeanToNewMap(hoge, new CopyOptions().prefix("search_"));
            assertThat(map.size(), is(3));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 34.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

                    new CopyOptions().include(BeanNames.hoge(), BeanNames.hoge2()).exclude(BeanNames.hoge2(), BeanNames.hoge3());
            assertThat(option.isTargetProperty("hoge"), is(true));
            assertThat(option.isTargetProperty("hoge2"), is(not(true)));
            assertThat(option.isTargetProperty("hoge3"), is(not(true)));
            assertThat(option.isTargetProperty("hoge4"), is(not(true)));
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/Hoge.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * @author higa
     *
     */
    @Retention(RetentionPolicy.RUNTIME)
    @Target({ ElementType.TYPE, ElementType.METHOD })
    public @interface Hoge {
    
        /**
         *
         */
        String aaa() default "123";
    
        /**
         *
         */
        String bbb();
    
        /**
         *
         */
        String ccc() default "";
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

         *
         */
        public static interface MyInterface {
            /**
             *
             */
            String HOGE = "hoge";
        }
    
        /**
         *
         */
        public static interface MyInterface2 extends MyInterface {
            /**
             *
             */
            String HOGE = "hoge2";
        }
    
        /**
         *
         */
        public static class MyBean implements MyInterface2 {
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java

            // ## Arrange ##
            Locale.setDefault(Locale.JAPANESE);
            final NullArgumentException nullArgumentException = new NullArgumentException("hoge");
            assertThat(nullArgumentException.getArgName(), is("hoge"));
            assertThat(nullArgumentException.getMessage(), is("[ECL0008]argument[hoge] is null."));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testErrorMessage_en() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java

            assertThat(BinaryConversionUtil.toBinary(null), nullValue());
            final byte[] b = { 0x00, 0x01 };
            assertThat(BinaryConversionUtil.toBinary(b), is(b));
            assertThat(BinaryConversionUtil.toBinary("hoge"), is("hoge".getBytes()));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.convert.BinaryConversionUtil#toBinary(java.lang.Object)}
         * .
         */
        @Test
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/text/TokenizerTest.java

        /**
         * @throws Exception
         */
        @Test
        public void pend_testDot() throws Exception {
            final Tokenizer tokenizer = new Tokenizer("abc.hoge");
            assertThat(tokenizer.nextToken(), is(Tokenizer.TT_WORD));
            assertThat(tokenizer.getStringValue(), is("abc.hoge"));
            assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java

            assertThat(ctor.getParameterTypes().length, is(1));
            assertThat(ctor.isPublic(), is(true));
            final MyBean myBean = ctor.newInstance("hoge");
            assertThat(myBean, is(notNullValue()));
            assertThat(myBean.s, is("hoge"));
        }
    
        /**
         */
        public static class MyBean {
            /** */
            public String s;
    
            /**
             *
             */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java

         * .
         */
        @Test
        public void testIsNotEmptyCollectionOfQ() {
            final Collection<String> c = new ArrayList<String>();
            c.add("hoge");
            assertThat(CollectionsUtil.isNotEmpty(c), is(true));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.collection.CollectionsUtil#isEmpty(java.util.Map)}
         * .
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

            assertNotNull(ResourceUtil.getResource("org/codelibs"));
            try {
                ResourceUtil.getResource("hoge", "xml");
                fail("2");
            } catch (final ResourceNotFoundRuntimeException e) {
                System.out.println(e);
                assertEquals("3", "hoge.xml", e.getPath());
            }
            System.out.println(ResourceUtil.getResource("."));
        }
    
        /**
         * @throws Exception
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.3K bytes
    - Viewed (0)
Back to top