- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 1,248 for Invalid (0.15 sec)
-
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
@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) { // When/Then: Should throw DcerpcException for invalid URLsRegistered: 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/jcifs/smb/SmbPipeHandleInternalTest.java
// After ensureOpen with valid fh when(pipe.ensureTreeConnected()).thenReturn(tree); when(tree.acquire()).thenReturn(tree); when(tree.isSMB2()).thenReturn(true); when(pipe.openUnshared(eq("\\\\pipe\\\\w"), eq(0), anyInt(), anyInt(), eq(SmbConstants.ATTR_NORMAL), eq(0))).thenReturn(fh); when(fh.acquire()).thenReturn(fh); when(fh.isValid()).thenReturn(true, false); // first true, then falseRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/plugin/ApiAdminPluginAction.java
final Artifact artifact = ComponentUtil.getPluginHelper().getArtifact(body.name, body.version); if (artifact == null) { return asJson( new ApiResult.ApiErrorResponse().message("invalid name or version").status(ApiResult.Status.BAD_REQUEST).result()); } installArtifact(artifact); return asJson(new ApiResult.ApiResponse().status(ApiResult.Status.OK).result()); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SambaHelper.java
*/ public static final int SID_TYPE_DOM_GRP = 2; /** * SID type for a domain. */ public static final int SID_TYPE_DOMAIN = 3; /** * SID type for an invalid SID. */ public static final int SID_TYPE_INVALID = 7; /** * SID type for an unknown SID. */ public static final int SID_TYPE_UNKNOWN = 8; /**Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java
assertTrue(queryParseException instanceof RuntimeException); } public void test_getMessage() { // Test that message is inherited from the cause String errorMessage = "Invalid query syntax"; ParseException parseException = new ParseException(errorMessage); QueryParseException queryParseException = new QueryParseException(parseException);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleInfoTest.java
assertArrayEquals(new byte[16], info.getFileId()); info.updateFileId(testFileId); assertArrayEquals(testFileId, info.getFileId()); // Test invalid file ID length assertThrows(IllegalArgumentException.class, () -> { info.updateFileId(new byte[8]); }); } @Test public void testReconnectingState() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
} @Test @DisplayName("Test initResolverOrder with invalid resolver and WINS without server") void testInitResolverOrderWithInvalidResolver() { config.winsServer = new InetAddress[0]; config.initResolverOrder("DNS,INVALID,WINS,LMHOSTS"); List<ResolverType> order = config.getResolveOrder(); assertEquals(2, order.size());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
} @Test @DisplayName("Should handle referral decode failure gracefully") void testReferralDecodeFailure() { // Create buffer with invalid referral data byte[] testBuffer = new byte[20]; ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN); bb.putShort((short) 0); // pathConsumedRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
tests/associations_belongs_to_test.go
AssertAssociationCount(t, user2, "Company", 0, "after clear") AssertAssociationCount(t, user2, "Manager", 0, "after clear") // unexist company id unexistCompanyID := company.ID + 9999999 user = User{Name: "invalid-user-with-invalid-belongs-to-foreign-key", CompanyID: &unexistCompanyID} if err := DB.Create(&user).Error; err == nil { tidbSkip(t, "not support the foreign key feature") t.Errorf("should have gotten foreign key violation error")
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
assertTrue(result.startsWith("10111213")); assertEquals(64, result.length()); // 32 bytes * 2 chars per byte } @Test @DisplayName("Should handle invalid offset and length parameters") void testInvalidParameters() { // Given byte[] data = createTestData(32); // When/Then assertThrows(IndexOutOfBoundsException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0)