Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 551 for existent (0.1 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

                }
            };
    
            try {
                emptyEnv.get("non.existent.property");
                fail("Should throw ConfigPropertyNotFoundException");
            } catch (ConfigPropertyNotFoundException e) {
                assertTrue(e.getMessage().contains("non.existent.property"));
            }
    
            try {
                emptyEnv.is("non.existent.boolean");
                fail("Should throw ConfigPropertyNotFoundException");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/SecureKeyManagerTest.java

            assertTrue(laterAge >= 200, "Age should increase after delay");
        }
    
        @Test
        public void testKeyAgeNonExistent() {
            assertEquals(-1, keyManager.getKeyAge("non-existent"), "Non-existent key should return -1 for age");
        }
    
        @Test
        public void testConfigureKeyRotation() {
            // Test that configuration doesn't throw
            keyManager.configureKeyRotation(60000);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

            assertEquals(123, dataStoreParams.get("key2"));
    
            dataStoreParams.put("key3", null);
            assertNull(dataStoreParams.get("key3"));
        }
    
        // Test get for non-existent key
        public void test_getNonExistentKey() {
            assertNull(dataStoreParams.get("nonexistent"));
        }
    
        // Test getAsString with String value
        public void test_getAsStringWithStringValue() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

            }
        }
    
        // Test getScriptEngine with non-existent name
        public void test_getScriptEngine_nonExistentName() {
            try {
                scriptEngineFactory.getScriptEngine("nonexistent");
                fail("Should throw ScriptEngineException for non-existent engine");
            } catch (ScriptEngineException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. cmd/os-readdir_test.go

    	"fmt"
    	"os"
    	"path"
    	"path/filepath"
    	"runtime"
    	"sort"
    	"testing"
    )
    
    // Test to check for different input arguments.
    func TestReadDirFail(t *testing.T) {
    	// Check non existent directory.
    	if _, err := readDir("/tmp/non-existent-directory"); err != errFileNotFound {
    		t.Fatalf("expected = %s, got: %s", errFileNotFound, err)
    	}
    
    	file := path.Join(os.TempDir(), "issue")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

            assertEquals("script for engine2", engine2.getLastScript());
        }
    
        public void test_execute_withInvalidScriptType() {
            // Try to execute with non-existent script type
            try {
                scriptExecutor.execute("nonexistent", "some script");
                fail("Expected ScriptEngineException");
            } catch (ScriptEngineException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

                }
            }
        }
    
        public void test_init_withNonExistentSSLCertificate() {
            setupMockConfig("localhost:9200", "", "", "/non/existent/cert.crt");
    
            curlHelper.init();
    
            // Should handle non-existent certificate gracefully
            SSLSocketFactory sslSocketFactory = getSSLSocketFactory(curlHelper);
            assertNull(sslSocketFactory);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  8. cmd/object_api_suite_test.go

    func TestNonExistentBucketOperations(t *testing.T) {
    	ExecObjectLayerTest(t, testNonExistentBucketOperations)
    }
    
    // Tests validate that bucket operation on non-existent bucket fails.
    func testNonExistentBucketOperations(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	var opts ObjectOptions
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            assertFalse(file.exists(), "Non-existent file should not exist");
            assertThrows(SmbException.class, () -> file.length(), "Getting length of non-existent file should throw exception");
            assertThrows(SmbException.class, () -> file.getInputStream(), "Getting input stream of non-existent file should throw exception");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            tempFile = new File(Curl.tmpDir, "non-existent-file.tmp");
            assertFalse(tempFile.exists());
    
            ContentCache cache = new ContentCache(tempFile);
    
            // Should throw IOException when file doesn't exist
            try {
                cache.close();
                fail("Expected IOException for non-existent file");
            } catch (IOException e) {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top