Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 211 for test (0.15 sec)

  1. src/test/java/org/codelibs/core/lang/StringUtilTest.java

    import static org.junit.Assert.assertThat;
    import static org.junit.Assert.assertTrue;
    
    import java.lang.reflect.Method;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class StringUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testReplace() throws Exception {
            assertEquals("1", "1bc45", StringUtil.replace("12345", "23", "bc"));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java

            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        //    @Test
        //    public void testToDate_Null() throws Exception {
        //        assertThat(toDate(null, Locale.JAPAN), is(nullValue()));
        //    }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_EmptyString() throws Exception {
            assertThat(toDate("", Locale.JAPAN), is(nullValue()));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

    import org.codelibs.core.beans.converter.NumberConverter;
    import org.codelibs.core.exception.ConverterRuntimeException;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class CopyOptionsTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testIncludes() throws Exception {
            final CopyOptions option = new CopyOptions();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

    import org.codelibs.core.beans.impl.sub.MogeBeanFactory;
    import org.codelibs.core.exception.IllegalPropertyRuntimeException;
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class PropertyDescImplTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testSetValue() throws Exception {
            final MyBean myBean = new MyBean();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

    import org.junit.Rule;
    import org.junit.Test;
    import org.junit.rules.ExpectedException;
    
    /**
     * @author shot
     * @author manhole
     */
    public class EnumerationIteratorTest {
    
        /**
         * @see org.junit.rules.ExpectedException
         */
        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        /**
         *
         */
        @Test
        public void testEnumerationIterator() {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

    import org.codelibs.core.beans.ParameterizedClassDesc;
    import org.codelibs.core.exception.FieldNotStaticRuntimeException;
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class FieldDescImplTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testHOGE() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/lang/ClassIteratorTest.java

    import static org.junit.Assert.assertThat;
    
    import org.codelibs.core.exception.ClIllegalArgumentException;
    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class ClassIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final ClassIterator it = new ClassIterator(Integer.class);
            assertThat(it.hasNext(), is(true));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/FessActionDefTest.java

        //    public void test_component() throws Exception {
        //        policeStoryOfJavaClassChase(new ActionComponentPolice(tp -> getComponent(tp)));
        //    }
    
        // TODO
        //    public void test_hotDeployDestroyer() throws Exception {
        //        policeStoryOfJavaClassChase(new HotDeployDestroyerPolice(tp -> getComponent(tp)));
        //    }
    
        public void test_nonActionExtendsAction() throws Exception {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            text = "あああ。いいい" + viewHelper.originalHighlightTagPre + "aaa" + viewHelper.originalHighlightTagPost;
            assertEquals("いいい" + viewHelper.highlightTagPre + "aaa" + viewHelper.highlightTagPost, viewHelper.escapeHighlight(text));
    
            text = "";
            assertEquals("", viewHelper.escapeHighlight(text));
    
            text = "aaa";
            assertEquals("aaa", viewHelper.escapeHighlight(text));
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 15.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java

        /** The key of the configuration. e.g. localhost:25 */
        String MAIL_SMTP_SERVER_MAIN_HOST_AND_PORT = "mail.smtp.server.main.host.and.port";
    
        /** The key of the configuration. e.g. [Test] */
        String MAIL_SUBJECT_TEST_PREFIX = "mail.subject.test.prefix";
    
        /** The key of the configuration. e.g. root@localhost */
        String MAIL_RETURN_PATH = "mail.return.path";
    
        /**
         * Get the value of property as {@link String}.
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
Back to top