- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 104 for snappy (0.03 sec)
-
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
private SmbFileInputStream newStream() throws SmbException { // Constructor that avoids external I/O; stays in-memory when(mockTree.isSMB2()).thenReturn(true); // default SMB2 for simple happy-path return new SmbFileInputStream(mockFile, mockTree, mockHandle); } @BeforeEach void setUp() throws Exception { // Common, safe defaults for collaboratorsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
assertTrue(ex.getMessage().contains("Watch was broken by tree disconnect")); } // Happy path for SMB2: a response is received and the list is returned; tree is closed @Test @DisplayName("watch() SMB2 happy path returns notifications and closes tree") void watch_smb2_success_returnsList_andClosesTree() throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java
/** * Unit tests for {@link TransWaitNamedPipeResponse}. * * The implementation contains only trivial methods that return {@code 0} * or construct a string representation. The tests focus on: * * <ul> * <li>happy‑path behaviour</li> * <li>boundary arguments (e.g., negative indices, large values)</li> * <li>string representation containing the class name</li> * <li>null buffer handling</li> * </ul> */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
* * The tests exercise the public API: constructors, {@link #getNtStatus()}, * {@link #getRootCause()}, and {@link #toString()}. */ @ExtendWith(MockitoExtension.class) class SmbExceptionTest { /** * Happy path – constructor with a valid NT status code (0). */ @Test @DisplayName("Constructor 0 – NT_STATUS_SUCCESS") void testConstructorWithZeroCode() { SmbException ex = new SmbException(0, false);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
return SingletonContext.getInstance(); } @Nested @DisplayName("Constructor behavior") class ConstructorTests { @ParameterizedTest @DisplayName("Accepts IPC$ URLs (happy path)") @ValueSource(strings = { "smb://server/IPC$/foo", "smb://server/IPC$/PIPE/foo" }) void constructsWithIpcShare(String url) throws Exception { // Arrange & Act
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
verify(treeConnection).ensureDFSResolved(resourceLoc); } @Test @DisplayName("hasCapability delegates and propagates exceptions") void hasCapabilityDelegates() throws Exception { // Happy path delegates; invalid case propagates SmbException when(treeConnection.hasCapability(123)).thenReturn(true); assertTrue(handle.hasCapability(123)); verify(treeConnection).hasCapability(123);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
f.setAccessible(true); f.set(target, value); } catch (Exception e) { throw new RuntimeException(e); } } @Test @DisplayName("getters and basic state (happy path)") void testGettersAndState() { SmbSessionImpl session = newSession(); // Basic getters assertSame(configuration, session.getConfig(), "getConfig delegates to transportContext");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java
import org.codehaus.plexus.logging.AbstractLogEnabled; /** * Describes a version transformation during artifact resolution. * * TODO try and refactor to remove abstract methods - not particular happy about current design */ @Deprecated public abstract class AbstractVersionTransformation extends AbstractLogEnabled implements ArtifactTransformation { @InjectRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
public long getLastAccessTime() { return lastAccessTime; } @Override public long getSize() { return size; } } // --- Happy path: direct values are returned as provided --- @Test void returnsProvidedValues_happyPath() { // Arrange
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
kotlin-js-store/yarn.lock
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jul 22 12:28:51 UTC 2023 - 87.4K bytes - Viewed (0)