Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for test (0.14 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/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)
  6. 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)
  7. src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class DocumentHelperTest extends UnitFessTestCase {
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
        }
    
        public void test_getContent() {
            DocumentHelper documentHelper = new DocumentHelper();
    
            ResponseData responseData = new ResponseData();
            Map<String, Object> dataMap = new HashMap<>();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

     */
    package org.codelibs.fess.util;
    
    import java.util.List;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class QueryResponseListTest extends UnitFessTestCase {
        public void test_calculatePageInfo_page0() {
            QueryResponseList qrList;
    
            qrList = new QueryResponseList(null, 0, 20, 0) {
                @Override
                public int size() {
                    return 0;
                }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 14K bytes
    - Viewed (0)
  9. pom.xml

    				<activeByDefault>true</activeByDefault>
    			</activation>
    			<properties>
    				<test.include.path>**/*Test.java</test.include.path>
    				<test.command.args>--illegal-access=permit</test.command.args>
    			</properties>
    		</profile>
    		<profile>
    			<id>integrationTests</id>
    			<properties>
    				<test.include.path>**/*Tests.java</test.include.path>
    				<test.command.args />
    			</properties>
    		</profile>
    	</profiles>
    	<build>
    XML
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Apr 22 12:06:58 GMT 2024
    - 48.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/ComponentUtil.java

                return SingletonLaContainer.getComponent(SYSTEM_HELPER) != null;
            } catch (final Exception e) {
                // ignore
            }
            return false;
        }
    
        /**
         * For test purpose only.
         *
         * @param fessConfig fessConfig instance
         */
        public static void setFessConfig(final FessConfig fessConfig) {
            ComponentUtil.fessConfig = fessConfig;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 20K bytes
    - Viewed (0)
Back to top