Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 77 for nonExistent (0.22 seconds)

  1. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

        @Test
        public void test_getParamValueArray_withNullParam() {
            MockHttpServletRequest request = new MockHttpServletRequest();
            String[] result = SearchRequestParams.getParamValueArray(request, "nonexistent");
            assertEquals(0, result.length);
        }
    
        @Test
        public void test_getParamValueArray_withBlankValues() {
            MockHttpServletRequest request = new MockHttpServletRequest();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 26.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/ConfigTest.java

            assertEquals(456, Config.getInt(testProperties, "nonexistent.int", 456));
            assertEquals(789, Config.getInt(testProperties, "test.invalid.int", 789));
        }
    
        @Test
        @DisplayName("Should get integer property")
        void testGetInt() {
            assertEquals(123, Config.getInt(testProperties, "test.int"));
            assertEquals(-1, Config.getInt(testProperties, "nonexistent.int"));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  3. docs/smb3-features/05-rdma-smb-direct-design.md

        CIFSContext context = getTestContext();
        context.getConfig().setProperty("jcifs.smb.client.useRDMA", "true");
        context.getConfig().setProperty("jcifs.smb.client.rdmaProvider", "nonexistent");
        
        SmbFile file = new SmbFile("smb://server/share/test.txt", context);
        
        // Should work even if RDMA provider is not available
        file.createNewFile();
        assertTrue(file.exists());
    }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  4. tests/test_application.py

    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/api_route", 200, {"message": "Hello World"}),
            ("/non_decorated_route", 200, {"message": "Hello World"}),
            ("/nonexistent", 404, {"detail": "Not Found"}),
        ],
    )
    def test_get_path(path, expected_status, expected_response):
        response = client.get(path)
        assert response.status_code == expected_status
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 56.9K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java

            assertEquals("", root.childText("description"), "Should get empty description text");
    
            // Test getting text from non-existing element
            assertNull(root.childText("nonexistent"), "Should return null for non-existing element");
        }
    
        @Test
        void testAddGAVElements() throws Exception {
            String pomXml = """
                <?xml version="1.0" encoding="UTF-8"?>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 31.3K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/io/MoreFilesTest.java

        Path path = FS.getPath("nonexistent.file");
        assertThat(path.getParent()).isNull();
        assertThat(path.toAbsolutePath().getParent()).isNotNull();
        MoreFiles.createParentDirectories(path); // test that there's no exception
      }
    
      public void testCreateParentDirectories_noParentsNeeded() throws IOException {
        Path path = tempDir.resolve("nonexistent.file");
        assertTrue(Files.exists(path.getParent()));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/chat/ChatClientTest.java

            chatClient.setSearchResults(Collections.emptyList());
            chatClient.resetSearchDocumentsCalled();
    
            final List<Map<String, Object>> result = chatClient.testSearchWithQuery("nonexistent");
            assertTrue(result.isEmpty());
        }
    
        // ========== Testable subclass ==========
    
        static class TestableChatClient extends ChatClient {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 40.6K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/io/FilesTest.java

        File file = file("nonexistent.file");
        assertThat(file.getParentFile()).isNull();
        assertThat(file.getCanonicalFile().getParentFile()).isNotNull();
        Files.createParentDirs(file);
      }
    
      public void testCreateParentDirs_noParentsNeeded() throws IOException {
        File file = file(getTempDir(), "nonexistent.file");
        assertTrue(file.getParentFile().exists());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

        Path path = FS.getPath("nonexistent.file");
        assertThat(path.getParent()).isNull();
        assertThat(path.toAbsolutePath().getParent()).isNotNull();
        MoreFiles.createParentDirectories(path); // test that there's no exception
      }
    
      public void testCreateParentDirectories_noParentsNeeded() throws IOException {
        Path path = tempDir.resolve("nonexistent.file");
        assertTrue(Files.exists(path.getParent()));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

                Path path = ResourceUtil.getConfOrClassesPath("nonexistent.conf");
                fail("Should throw ResourceNotFoundRuntimeException for non-existent file");
            } catch (org.codelibs.core.exception.ResourceNotFoundRuntimeException e) {
                // Expected behavior - method throws exception for non-existent files
                assertTrue(e.getMessage().contains("nonexistent.conf"));
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.8K bytes
    - Click Count (0)
Back to Top