- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 274 for edge (0.02 sec)
-
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
assertEquals(1, pairs.size(), "Should have one pair"); assertTrue(pairs.get(0) instanceof AvChannelBindings, "Should be AvChannelBindings instance"); } /** * Test edge case with maximum data size */ @Test @DisplayName("Handle large data size") void testLargeDataSize() throws CIFSException { // Create a large data arrayRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
request.writeBytesWireFormat(buffer, 0); assertEquals(Smb2ReadRequest.SMB2_CHANNEL_NONE, SMBUtil.readInt4(buffer, 36)); } } @Nested @DisplayName("Edge Case Tests") class EdgeCaseTests { @Test @DisplayName("Should handle negative offset") void testNegativeOffset() { request.setOffset(-1L);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
request.setData(new byte[7], 0, 7); // Not 8-byte aligned assertEquals(((Smb2Constants.SMB2_HEADER_LENGTH + 48 + 7 + 7) / 8) * 8, request.size()); } } @Nested @DisplayName("Edge Case Tests") class EdgeCaseTests { @Test @DisplayName("Should handle null data with non-zero length") void testNullDataNonZeroLength() { request.setData(null, 0, 100);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
assertEquals(0, dst[nullTerminatorIndex]); assertEquals(0, dst[nullTerminatorIndex + 1]); } } @Nested @DisplayName("Edge Cases and Boundary Tests") class EdgeCaseTests { @Test @DisplayName("Should handle maximum path length") void testMaximumPathLength() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
// Since these are protected fields, we can't access them directly // But we can verify the object is created successfully with these values } @Test @DisplayName("Test information level mapping edge cases") void testInformationLevelMappingEdgeCases() { // Test with SMB_INFO_ALLOCATION (-1 as byte) trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
assertTrue(result.contains("command=" + expectedStrings[i]), "Expected: " + expectedStrings[i] + " in result: " + result); } } } @Nested @DisplayName("Edge Case Tests") class EdgeCaseTests { @BeforeEach void setup() { testBlock = new TestServerMessageBlock(mockConfig); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
assertEquals(24 + (24 * lockCount), bytesWritten); assertEquals(lockCount, SMBUtil.readInt2(buffer, 2)); } } @Nested @DisplayName("Edge Case Tests") class EdgeCaseTests { @Test @DisplayName("Should handle null locks array") void testNullLocksArray() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java
Rule matchedRule = ruleManager.getRule(responseData); assertNotNull(matchedRule); assertEquals("rule2", matchedRule.getRuleId()); } /** * Test edge cases for rule ID */ public void test_ruleId_edgeCases() { // Very long rule ID StringBuilder longId = new StringBuilder(); for (int i = 0; i < 1000; i++) {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 21.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
// When & Then assertThrows(CIFSException.class, () -> transportPool.getChallenge(context, address)); } } @Nested @DisplayName("Edge Cases and Error Handling") class EdgeCasesTests { @Test @DisplayName("Should handle null context") void testNullContext() { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java
MessageUtils.builder().a(" ").strong(resumeBuildHint).toString()); } /** * A helper method to determine the value to resume the build with {@code -rf} taking into account the edge case * where multiple modules in the reactor have the same artifactId. * <p> * {@code -rf :artifactId} will pick up the first module which matches, but when multiple modules in the reactor
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Sep 11 17:20:46 UTC 2025 - 28.2K bytes - Viewed (0)