Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for test_case (1.77 sec)

  1. src/test/java/org/codelibs/fess/suggest/normalizer/NormalizerChainTest.java

            chain.add((text, field, langs) -> text.replace(" ", "_"));
    
            String result = chain.normalize("  TEST CASE  ", "field");
    
            assertEquals("test_case", result);
        }
    
        @Test
        public void test_nullInput() throws Exception {
            NormalizerChain chain = new NormalizerChain();
            chain.add(new FullWidthToHalfWidthAlphabetNormalizer());
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:23:01 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            // Test with different parameters
            int[][] testCases = { { 0, 10 }, { 5, 20 }, { 50, 50 }, { 0, 0 } };
    
            for (int[] testCase : testCases) {
                // Arrange
                byte[] buffer = new byte[100];
                int bufferIndex = testCase[0];
                int len = testCase[1];
    
                // Act
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/ReferralTest.java

        }
    
        @Test
        public void testVariousFieldValues() {
            int[][] testCases = { { 0, 0, 0 }, { 100, 200, 300 }, { 32767, 32767, 32767 }, { 65535, 65535, 65535 } };
    
            for (int[] testCase : testCases) {
                int serverType = testCase[0];
                int proximity = testCase[1];
                int ttl = testCase[2];
    
                ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/TraverserUtilTest.java

            assertThat(set.contains(TraverserUtilTest.class.getName()), is(true));
            assertThat(set.contains(TestCase.class.getName()), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testFromClass_JarFile() throws Exception {
            final Traverser traverser = TraversalUtil.getTraverser(TestCase.class);
            assertThat(traverser, is(notNullValue()));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java

            assertThat(ClassLoaderUtil.getClassLoader(Object.class), is(sameInstance(ClassLoaderUtil.class.getClassLoader())));
    
            assertThat(ClassLoaderUtil.getClassLoader(TestCase.class), is(sameInstance(TestCase.class.getClassLoader())));
    
            final ClassLoader context = Thread.currentThread().getContextClassLoader();
            try {
                final ClassLoader cl = new URLClassLoader(new URL[0], getClass().getClassLoader());
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/convert/BigIntegerConversionUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.convert;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class BigIntegerConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToBigIntegerForEmptyString() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 960 bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/net/UuidUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.net;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class UuidUtilTest extends TestCase {
    
        /**
         * Test method for {@link org.codelibs.core.net.UuidUtil#create()}.
         */
        public void testCreate() {
            final String uuid = UuidUtil.create();
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterChainTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.converter;
    
    import junit.framework.TestCase;
    
    public class ReadingConverterChainTest extends TestCase {
        public void test_convert() throws Exception {
            /*
             * TODO ReadingConverterChain chain = new ReadingConverterChain(); chain.addConverter(new KatakanaConverter());
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

    import java.io.File;
    import java.io.IOException;
    import java.net.URL;
    import java.net.URLClassLoader;
    
    import junit.framework.TestCase;
    
    import org.codelibs.core.exception.ResourceNotFoundRuntimeException;
    
    /**
     * @author higa
     *
     */
    public class ResourceUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testGetResourcePath() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/convert/ByteConversionUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.convert;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class ByteConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToByte() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top