- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 3,252 for Avoid (0.02 sec)
-
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
} @Test @DisplayName("Test constructor initializes fields correctly") void testConstructor() { assertNotNull(fileBothDirectoryInfo); assertNotNull(fileBothDirectoryInfoNonUnicode); } @Test @DisplayName("Test getName returns filename") void testGetName() throws SMBProtocolDecodingException { // Prepare test dataRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
@BeforeEach void setUp() { MockitoAnnotations.openMocks(this); when(mockConfig.getMaximumBufferSize()).thenReturn(65536); when(mockConfig.getListSize()).thenReturn(65536); when(mockContext.getConfig()).thenReturn(mockConfig); } @Test @DisplayName("Test constructor with configuration only") void testConstructorWithConfig() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
public class SmbComQueryInformationResponseTest { private Configuration mockConfig; private SmbComQueryInformationResponse response; @BeforeEach void setUp() { mockConfig = mock(Configuration.class); } @Test void testConstructor() { // Test constructor with positive timezone offset long serverTimeZoneOffset = 3600000L; // 1 hour in millisecondsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
private int[] testHashAlgos; @BeforeEach void setUp() { testSalt = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; testHashAlgos = new int[] { PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512 }; } @Test @DisplayName("Should create context with constructor parameters") void testConstructorWithParameters() { // Act
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/SmbPipeHandleTest.java
*/ @Test public void testGetPipe() { assertEquals(mockPipeResource, smbPipeHandle.getPipe(), "getPipe() should return the underlying pipe resource."); } /** * Tests that the getter for the input stream returns the correct stream. * @throws CIFSException if an error occurs while getting the stream. */ @Test public void testGetInputStream() throws CIFSException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java
* Test of getName method, of class SmbShareInfo. */ @Test void testGetName() { String netName = "TEST_SHARE"; SmbShareInfo instance = new SmbShareInfo(netName, 0, "remark"); assertEquals(netName, instance.getName()); } /** * Test of getType method, of class SmbShareInfo. */ @Test void testGetType() { // Test for TYPE_PRINTERRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
future.get(); }); } @Test public void testGetMaxRetries() { assertEquals(2, reconnector.getMaxRetries()); } @Test public void testGetRetryDelay() { assertEquals(50, reconnector.getRetryDelay()); } @Test public void testDefaultConstructor() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/user/cbean/cq/bs/BsUserCQ.java
public void setId_Equal(String id) { setId_Term(id, null); } public void setId_Equal(String id, ConditionOptionCall<TermQueryBuilder> opLambda) { setId_Term(id, opLambda); } public void setId_Term(String id) { setId_Term(id, null); } public void setId_Term(String id, ConditionOptionCall<TermQueryBuilder> opLambda) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 326.2K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/RequestTest.java
import org.mockito.MockitoAnnotations; class RequestTest { @Mock private Request mockRequest; @BeforeEach void setUp() { // Initialize mocks before each test MockitoAnnotations.openMocks(this); } @Test void testGetCreditCost() { // Test case for getCreditCost method int expectedCreditCost = 10;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsWebConfigCQ.java
public void setId_Equal(String id) { setId_Term(id, null); } public void setId_Equal(String id, ConditionOptionCall<TermQueryBuilder> opLambda) { setId_Term(id, opLambda); } public void setId_Term(String id) { setId_Term(id, null); } public void setId_Term(String id, ConditionOptionCall<TermQueryBuilder> opLambda) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 172.1K bytes - Viewed (0)