Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 2,907 for xtest (0.02 sec)

  1. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

            assertNull(data.getDataMap().get("key1"));
        }
    
        public void test_register_string() {
            RenderData data = new RenderData();
            RenderDataUtil.register(data, "key1", "test value");
            assertEquals("test value", data.getDataMap().get("key1"));
    
            RenderDataUtil.register(data, "key2", "");
            assertEquals("", data.getDataMap().get("key2"));
        }
    
        public void test_register_primitives() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/PythonJobTest.java

            }
    
            Map<String, String> env = testProcessHelper.capturedEnvironment;
            if (env != null) {
                assertEquals("test-session", env.get("SESSION_ID"));
                // OPENSEARCH_URL may not be set in test environment
            }
        }
    
        // Test working directory setup
        public void test_executePython_workingDirectory() {
            pythonJob.filename("test.py");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/LineIteratorTest.java

    import static org.hamcrest.CoreMatchers.not;
    import static org.junit.Assert.assertThat;
    
    import java.io.StringReader;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class LineIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final StringReader reader = new StringReader("aaa\nbbb\nccc\n");
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/ResourceBundleUtilTest.java

    import static org.junit.Assert.assertThat;
    
    import java.util.Map;
    import java.util.ResourceBundle;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class ResourceBundleUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testConvertMap() throws Exception {
            final ResourceBundle bundle = ResourceBundleUtil.getBundle("CLMessages", null);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

        expectUnchanged();
        assertTrue(collection.contains(e0()));
      }
    
      /*
       * AbstractCollection fails the removeAll(null) test when the subject
       * collection is empty, but we'd still like to test removeAll(null) when we
       * can. We split the test into empty and non-empty cases. This allows us to
       * suppress only the former.
       */
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

                    }
    
                    return null;
                }
            };
    
            // Test with string parameter
            Map<String, Object> stringParams = new HashMap<>();
            stringParams.put("string", "test");
            assertNotNull(queryRescorer.evaluate(stringParams));
    
            // Test with number parameter
            Map<String, Object> numberParams = new HashMap<>();
            numberParams.put("number", 123);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/log/LoggerTest.java

         */
        @Test
        public void testInfo() throws Exception {
            logger.info("info");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testWarn() throws Exception {
            logger.warn("warn");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testError() throws Exception {
            logger.error("error");
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    import org.junit.jupiter.api.Test;
    
    public class AvFlagsTest {
    
        /**
         * Test constructor with raw bytes.
         */
        @Test
        void testAvFlagsByteArrayConstructor() {
            // Test with a positive integer
            byte[] rawBytes = new byte[] { 0x01, 0x02, 0x03, 0x04 }; // Represents 0x04030201 (little-endian)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            assertThat(map.indexOf(null), is(0));
            assertThat(map.indexOf("test3"), is(-1));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet() throws Exception {
            assertThat(map.get("1"), is("test"));
            assertThat(map.get(null), is(nullValue()));
            assertThat(map.get("test3"), is(nullValue()));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

        }
    
        /**
         * Test basic session lifecycle management
         */
        @Test
        @Timeout(5)
        public void testSessionLifecycle() throws Exception {
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
            // Test initial state - session starts with usage count > 0 due to transport.acquire()
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top