- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 211 for Edge (0.01 sec)
-
src/test/java/jcifs/smb1/util/HexdumpTest.java
assertEquals('9', Hexdump.HEX_DIGITS[9]); assertEquals('A', Hexdump.HEX_DIGITS[10]); assertEquals('F', Hexdump.HEX_DIGITS[15]); } @Test @DisplayName("Should handle edge cases in toHexChars") void testToHexCharsEdgeCases() { // Test with zero char[] dst1 = new char[4]; java.util.Arrays.fill(dst1, 'X'); Hexdump.toHexChars(0, dst1, 0, 4);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
void testGetReferrals() { assertNotNull(buffer.getReferrals()); assertEquals(3, buffer.getReferrals().length); } } @Nested @DisplayName("Edge Cases and Boundary Tests") class EdgeCaseTests { @Test @DisplayName("Should handle maximum values") void testMaximumValues() { byte[] testBuffer = new byte[8];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
assertNotNull(result); assertTrue(result.contains("SmbInfoAllocation")); // Note: toString() uses this name } } @Nested @DisplayName("Edge Cases and Error Handling") class EdgeCasesTests { @Test @DisplayName("Should handle null buffer in decode") void testNullBuffer() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
assertNotNull(result.getServer()); // Empty components between double backslashes are handled } } @Nested @DisplayName("Edge Cases and Boundary Tests") class EdgeCasesTests { @ParameterizedTest @NullAndEmptySource @DisplayName("Should handle null and empty domains")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java
String[] sitemaps = robotsTxt.getSitemaps(); assertTrue(sitemaps.length >= 3); // At least the valid ones should be parsed // Test NumericBot - various crawl-delay formats // Should handle edge cases gracefully assertTrue(robotsTxt.getCrawlDelay("NumericBot") >= 0); // Test TabBot - tab characters should be treated as whitespace assertFalse(robotsTxt.allows("/tab1/", "TabBot"));
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 20.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/GraphsTest.java
import org.junit.runner.RunWith; import org.junit.runners.JUnit4; /** * Tests for {@link Graphs}. Tests assume that the implementation of the method {@code addEdge} adds * the missing nodes to the graph, then adds the edge between them. */ @RunWith(JUnit4.class) @NullUnmarked public class GraphsTest { private static final Integer N1 = 1; private static final Integer N2 = 2; private static final Integer N3 = 3;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 17:09:51 UTC 2025 - 30.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
// Then: Should return binding's string representation assertEquals("mockBindingString", result); } } @Nested @DisplayName("Edge Cases and Error Handling") class EdgeCaseTests { @Test @DisplayName("Should handle null binding toString") void testToStringWithNullBinding() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
assertNotNull(context); assertTrue(context.getContextType() > 0); } } } @Nested @DisplayName("Edge Cases and Error Handling") class EdgeCasesTest { @Test @DisplayName("Should handle maximum size arrays") void testMaximumSizeArrays() throws SMBProtocolDecodingException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
// Invalid unwrap assertThrows(ClassCastException.class, () -> sid.unwrap(String.class)); } @Test @DisplayName("isEmpty and isBlank edge cases") void testEmptyAndBlank() throws Exception { // No subauthorities SID s1 = new SID("S-1-5"); assertTrue(s1.isEmpty());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.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)