Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 3,261 for avoid (0.08 sec)

  1. 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 milliseconds
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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_PRINTER
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImplTest.java

        @InjectMocks
        private UrlQueueServiceImpl service;
    
        @Mock
        private MemoryDataHelper dataHelper;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            MockitoAnnotations.openMocks(this);
        }
    
        public void test_add() {
            // Setup
            String sessionId = "session123";
            String url = "https://example.com/page";
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

                return resource;
            }
        }
    
        @BeforeEach
        void setUp() {
            lenient().when(fileEntry.getName()).thenReturn("test");
        }
    
        @Test
        @DisplayName("Iterator without filter - simple case")
        void iteratorWithoutFilter() {
            // Setup: constructor calls advance() once
            when(delegate.hasNext()).thenReturn(true, false);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
Back to top