- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 109 for reconstruction (0.06 sec)
-
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * Comprehensive test suite for NdrShort class * Tests construction, encoding, decoding, and edge cases */ @ExtendWith(MockitoExtension.class) @DisplayName("NdrShort Test Suite") class NdrShortTest { @Mock private NdrBuffer mockBuffer; @NestedRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
when(cfg.getMaximumBufferSize()).thenReturn(5); BufferCacheImpl impl = new BufferCacheImpl(cfg); // Verify interactions happen exactly once during construction verify(cfg, times(1)).getBufferCacheSize(); verify(cfg, times(1)).getMaximumBufferSize(); verifyNoMoreInteractions(cfg);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
} @Nested @DisplayName("Invalid constructor inputs") class InvalidInputs { @Test @DisplayName("Null delegate causes NullPointerException during construction") void nullDelegate_throwsNPE() throws Exception { SmbFile parent = newParent(); assertThrows(NullPointerException.class, () -> new ShareEnumIterator(parent, null, null)); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java
*/ public ApiExtractor() { // NOP } /** * Initializes the API extractor, setting up the HTTP client and configuration. * This method is called after construction to initialize the HTTP client with * configured timeouts, authentication, and request headers. */ @PostConstruct public void init() { if (logger.isDebugEnabled()) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 12.2K bytes - Viewed (0) -
android/guava/src/com/google/common/math/LinearTransformation.java
checkArgument(isFinite(x1) && isFinite(y1)); return new LinearTransformationBuilder(x1, y1); } /** * This is an intermediate stage in the construction process. It is returned by {@link * LinearTransformation#mapping}. You almost certainly don't want to keep instances around, but * instead use method chaining. This represents a single point mapping, i.e. a mapping between one
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
// Then assertNotNull(newResponse); // Verify the response was created successfully with the configuration // The constructor doesn't actually call any methods on the config during construction } } @Nested @DisplayName("Edge case tests") class EdgeCaseTests { @Test @DisplayName("Should handle maximum buffer index")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for {@link NdrShort}. The tests cover construction, * encoding and decoding logic, masking behaviour, alignment handling and * interaction with {@link NdrBuffer}. All public behaviour is exercised. */ @ExtendWith(MockitoExtension.class) class NdrShortTest {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
SmbFile dest = mock(SmbFile.class); CIFSContext ctx = ctxWithIgnore(false); when(src.getContext()).thenReturn(ctx); // Force failure before any stream construction when(src.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenThrow(new SmbException("boom"));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
when(this.mechContext.getFlags()).thenReturn(0x1234); when(this.mechContext.initSecContext(any(byte[].class), eq(0), eq(0))).thenReturn(new byte[] { 0x01, 0x02 }); // Act: len==0 triggers initial token construction byte[] out = ctx.initSecContext(null, 0, 0); // Assert: returns a SPNEGO token (opaque here but non-null/non-empty) assertNotNull(out); assertTrue(out.length > 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
// Re-prepare state for second branch: not open but handle set when(fileHandle.isValid()).thenReturn(false); // Need to reopen logic to set handle again // Reset open flag by reconstructing target target = new SmbPipeHandleImpl(pipe); target.ensureOpen(); // handle present but invalid per isValid=false target.close(); verify(fileHandle, atLeastOnce()).release();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0)