- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 261 for edges (0.1 sec)
-
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
// When & Then assertEquals(attributes, info.getAttributes()); } } @Test @DisplayName("Test with edge case time values") void testWithEdgeCaseTimeValues() { // Test with various time values including edge cases long[][] timeValues = { { 0L, 0L, 0L, 0L }, // All zeros { Long.MAX_VALUE, Long.MAX_VALUE, Long.MAX_VALUE, Long.MAX_VALUE }, // Max valuesRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
"-1, -1, -1", // Negative values (should still create instance) "0, 9223372036854775807, 0" // Edge cases }) void testConstructorWithVariousValues(long sourceOffset, long targetOffset, int length) { // When SrvCopychunk chunk = new SrvCopychunk(sourceOffset, targetOffset, length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java
assertSame(tz1, tz2); assertSame(FessUserTimeZoneProcessProvider.centralTimeZone, tz1); } // Test with null RequestManager (edge case) public void test_getRequestedTimeZone_withNullRequestManager() { // Execute with null request manager TimeZone result = provider.getRequestedTimeZone(null);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
NdrHyper decoded = new NdrHyper(0); decoded.decode(buf); assertEquals(original, decoded.value, "Decoded value should match encoded value"); } /** * Parameterised test for a selection of edge and typical values. */ @ParameterizedTest(name = "Encode and decode {0}") @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java
* parameter word (the session identifier) is written in little‑endian form * and that the {@code toString} helper contains the expected values. * * <p>The tests also exercise edge cases such as negative (wrap‑around) session * identifiers and confirm that the writer does not alter any internal state. *</p> */ @ExtendWith(MockitoExtension.class) class SmbComFindClose2Test { @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
assertNotNull(msg); assertTrue(msg instanceof samr.SamrConnect2); assertTrue(msg instanceof DcerpcMessage); } } @Nested @DisplayName("Edge case handling") class EdgeCases { @Test @DisplayName("should handle null system name") void testNullSystemNameDoesNotThrow() { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
/** * Tests for SMBProtocolDowngradeException covering all constructors and behaviors. */ @ExtendWith(MockitoExtension.class) class SMBProtocolDowngradeExceptionTest { /** * Provides messages including edge cases (null and empty) for parameterized testing. */ static Stream<Arguments> messages() { return Stream.of(Arguments.of((String) null), Arguments.of(""), Arguments.of("unexpected downgrade")); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
assertSame(handle, handle.unwrap(SmbPipeHandle.class), "unwrap should return same instance for interface type"); } @ParameterizedTest @DisplayName("getPipeType echoes constructor input (edge values)") @ValueSource(ints = { 0, SmbPipeResource.PIPE_TYPE_RDONLY, SmbPipeResource.PIPE_TYPE_WRONLY, SmbPipeResource.PIPE_TYPE_DCE_TRANSACT }) void getPipeTypeEchoesInput(int pipeType) throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/https/HandlerTest.java
// Then assertEquals(443, httpsPort); assertEquals(80, httpPort); assertNotEquals(httpsPort, httpPort); } } @Nested @DisplayName("Edge Cases") class EdgeCaseTests { @Test @DisplayName("Should handle reflection access to protected method") void testProtectedMethodAccess() throws Exception { // GivenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
} /** * When lastWriteTime is zero the encoded unsigned time must be all 1s. */ @Test @DisplayName("edge: writeParameterWordsWireFormat with lastWriteTime=0") void testWriteParameterWordsZeroUTime() { SmbComClose close = new SmbComClose(42, 0L); byte[] buffer = new byte[6];Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0)