- Sort Score
- Result 10 results
- Languages All
Results 1021 - 1030 of 1,336 for setups (0.04 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
public class SmbComRenameTest { private Configuration config; private SmbComRename smbComRename; @Mock private Configuration mockConfig; @BeforeEach public void setUp() throws CIFSException { MockitoAnnotations.openMocks(this); config = new PropertyConfiguration(new Properties()); } /** * Test constructor initialization with valid parameters */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
import jcifs.internal.util.SMBUtil; /** * Unit tests for FileNotifyInformationImpl class */ class FileNotifyInformationImplTest { private FileNotifyInformationImpl notifyInfo; @BeforeEach void setUp() { notifyInfo = new FileNotifyInformationImpl(); } @Test @DisplayName("Test default constructor creates instance with null values") void testDefaultConstructor() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
@Mock private Configuration mockConfig; @Mock private NetbiosName mockCalledName; @Mock private NetbiosName mockCallingName; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); when(mockConfig.getNetbiosScope()).thenReturn(null); // Configure OEM encoding to avoid NullPointerExceptionRegistered: 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/http/HandlerTest.java
@ExtendWith(MockitoExtension.class) class HandlerTest { @Mock private CIFSContext mockCifsContext; private Handler handler; private Properties originalSystemProperties; @BeforeEach void setUp() throws Exception { // Backup system properties to restore them after each test originalSystemProperties = (Properties) System.getProperties().clone();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
import jcifs.smb.SmbException; /** * Test cases for ServerResponseValidator */ public class ServerResponseValidatorTest { private ServerResponseValidator validator; @BeforeEach public void setUp() { validator = new ServerResponseValidator(); } @Test public void testValidBuffer() throws Exception { byte[] buffer = new byte[1024]; validator.validateBuffer(buffer, 100, 2048);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
verify(dest, times(1)).openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt()); } // --- WriterThread behavior --- @Test @DisplayName("WriterThread writes provided buffer and stops on -1") void writerThread_writes_and_stops() throws Exception { // Arrange WriterThread w = new WriterThread(); SmbFileOutputStream out = mock(SmbFileOutputStream.class);
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/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
import jcifs.internal.util.SMBUtil; @ExtendWith(MockitoExtension.class) class SrvCopyChunkCopyResponseTest { private SrvCopyChunkCopyResponse response; @BeforeEach void setUp() { response = new SrvCopyChunkCopyResponse(); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
import jcifs.ResolverType; import jcifs.SmbConstants; /** * Test class for BaseConfiguration */ class BaseConfigurationTest { private BaseConfiguration config; @BeforeEach void setUp() throws CIFSException { config = new BaseConfiguration(false); } @Test @DisplayName("Test constructor with initDefaults true") void testConstructorWithInitDefaults() throws CIFSException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
import org.mockito.MockitoAnnotations; class SessionServicePacketTest { private TestSessionServicePacket packet; @Mock private InputStream mockInputStream; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); packet = new TestSessionServicePacket(); } // Tests for static methods @Test @DisplayName("writeInt2 should correctly write 16-bit integer")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** */ @Deprecated public abstract class AbstractModelInterpolatorTest { private Properties context; @BeforeEach public void setUp() { context = new Properties(); context.put("basedir", "myBasedir"); context.put("project.baseUri", "myBaseUri"); } protected void assertProblemFree(SimpleProblemCollector collector) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 18.2K bytes - Viewed (0)