- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for invalid_url (0.06 sec)
-
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
assertEquals(expectedEndpoint, binding.getEndpoint()); } @ParameterizedTest @DisplayName("Should reject invalid binding URLs") @ValueSource(strings = { "invalid_url", "proto:", "proto:server[]", "proto:[key=]", "proto:[=value]", "proto:server[endpoint=]", "proto:[endpoint=]" }) void testParseInvalidBindingUrls(String url) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java
assertTrue(transformer.isValidUrl("http://www.example.com")); assertTrue(transformer.isValidUrl("http://www.example.com/aaa")); assertTrue(transformer.isValidUrl("https://www.example.com")); assertTrue(transformer.isValidUrl("://www.example.com")); assertTrue(transformer.isValidUrl("//www.example.com")); assertFalse(transformer.isValidUrl(null));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 41.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
void invalidUrlPathThrows() throws Exception { // Override the default setup for this specific test URL invalidUrl = new URL("smb://server/share/dir"); // no trailing '/' when(locator.getURL()).thenReturn(invalidUrl); SmbException ex = assertThrows(SmbException.class, () -> new DirFileEntryEnumIterator1(tree, parent, "*", (ResourceNameFilter) null, 0));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
@Test @DisplayName("Should throw DcerpcException for invalid URL format") void testConstructor_InvalidUrl() { String invalidUrl = "invalid:server"; assertThrows(DcerpcException.class, () -> new DcerpcPipeHandle(invalidUrl, mockContext, false), "Should throw DcerpcException for invalid protocol"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0)