Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 69 for non_existent (0.17 sec)

  1. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

        public void test_getScriptEngine_nonExistentName() {
            try {
                scriptEngineFactory.getScriptEngine("nonexistent");
                fail("Should throw ScriptEngineException for non-existent engine");
            } catch (ScriptEngineException e) {
                assertEquals("nonexistent is not found.", e.getMessage());
            }
        }
    
        // Test getScriptEngine with empty string
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. finisher_api.go

    //
    // FirstOrInit never modifies the database. It is often used with Assign and Attrs.
    //
    //	// assign an email if the record is not found
    //	db.Where(User{Name: "non_existing"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user)
    //	// user -> User{Name: "non_existing", Email: "******@****.***"}
    //
    //	// assign email regardless of if record is found
    //	db.Where(User{Name: "jinzhu"}).Assign(User{Email: "******@****.***"}).FirstOrInit(&user)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

            TestCorsHandler handler = new TestCorsHandler("example-handler");
            corsHandlerFactory.add(origin, handler);
    
            // Execute
            CorsHandler result = corsHandlerFactory.get("https://nonexistent.com");
    
            // Verify
            assertNull(result);
        }
    
        public void test_add_overwriteExistingOrigin() {
            // Setup
            String origin = "https://example.com";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. chainable_api.go

    //
    // Attrs only adds attributes if the record is not found.
    //
    //	// assign an email if the record is not found
    //	db.Where(User{Name: "non_existing"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user)
    //	// user -> User{Name: "non_existing", Email: "******@****.***"}
    //
    //	// assign an email if the record is not found, otherwise ignore provided email
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/OsddHelperTest.java

                @Override
                public String getSsoType() {
                    return "none";
                }
            });
            final OsddHelper osddHelper = new OsddHelper();
            osddHelper.setOsddPath("osdd/nonexistent.xml");
            osddHelper.init();
            assertFalse(osddHelper.hasOpenSearchFile());
    
            try {
                osddHelper.asStream();
                fail("Should throw exception when osddFile is null");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

            HandleInfo info = manager.getHandleByPath("/test/file.txt");
            assertNotNull(info);
            assertEquals(guid, info.getCreateGuid());
    
            assertNull(manager.getHandleByPath("/nonexistent/file.txt"));
        }
    
        @Test
        public void testMultipleHandles() {
            HandleGuid guid1 = manager.requestDurableHandle("/test/file1.txt", HandleType.DURABLE_V2, 120000, null);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

        }
    
        public void test_provide_notFound() {
            // Test with various classification names that should not be found
            assertProvideThrowsException("TestClassification");
            assertProvideThrowsException("NonExistent");
            assertProvideThrowsException("");
            assertProvideThrowsException("Some.Classification");
            assertProvideThrowsException("Project.TestClassification");
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            thread.start();
            thread.join(1000);
    
            assertTrue(thread.contains("exact line"));
            assertTrue(thread.contains("another line"));
            assertFalse(thread.contains("nonexistent"));
        }
    
        public void test_contains_withTrimming() throws InterruptedException {
            String input = "  trimmed line  \n\tanother\t";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

        }
    
        public void test_replaceUrl_withNonExistentSessionId() {
            final String url = "file:///home/user/";
            assertEquals(url, pathMappingHelper.replaceUrl("nonexistent", url));
        }
    
        public void test_replaceUrl_withEmptyList() {
            final String sessionId = "test";
            final List<PathMapping> pathMappingList = new ArrayList<PathMapping>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/context/SingletonContextTest.java

        }
    
        @Test
        void testInitIOExceptionHandling(@TempDir Path tempDir) {
            // Test handling IOException when loading jcifs.properties
            Path nonExistentPath = tempDir.resolve("nonexistent.properties");
            System.setProperty("jcifs.properties", nonExistentPath.toString());
    
            // Expect no exception to be thrown, but an error logged (which we can't directly assert here)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top