Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 3,662 for Void (0.02 sec)

  1. src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java

        private static final int KEY_TYPE_1 = 1;
        private static final int KEY_TYPE_2 = 2;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        /**
         * Test constructor with a valid login context.
         *
         * @throws LoginException if login fails.
         */
        @Test
        void testConstructor_Success() throws LoginException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

        void testSingletonInstance() {
            MonotonicClock clock1 = MonotonicClock.get();
            MonotonicClock clock2 = MonotonicClock.get();
    
            assertSame(clock1, clock2, "Multiple calls to get() should return the same instance");
        }
    
        @Test
        @DisplayName("MonotonicClock should always use UTC timezone")
        void testClockTimezone() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

        }
    
        // Helper methods to write numbers to byte array in little-endian format.
        private void writeInt2(int val, byte[] dst, int dstIndex) {
            dst[dstIndex++] = (byte) val;
            dst[dstIndex++] = (byte) (val >> 8);
        }
    
        private void writeInt4(int val, byte[] dst, int dstIndex) {
            dst[dstIndex++] = (byte) val;
            dst[dstIndex++] = (byte) (val >> 8);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

        }
    
        private void checkVertices(int nVertices) {
            if (vertices == null) {
                vertices = new TreeSet<>();
            }
        }
    
        private void checkEdges() {
            int count = DEFAULT_EDGES;
    
            if (vertices != null) {
                count = vertices.size() + vertices.size() / 2;
            }
    
            checkEdges(count);
        }
    
        private void checkEdges(int nEdges) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java

        /**
         * Test constructor.
         */
        @Test
        void testConstructor() {
            SmbComDeleteDirectory sdd = new SmbComDeleteDirectory("testDir");
            assertEquals("testDir", sdd.path);
            assertEquals(ServerMessageBlock.SMB_COM_DELETE_DIRECTORY, sdd.command);
        }
    
        /**
         * Test writeParameterWordsWireFormat.
         */
        @Test
        void testWriteParameterWordsWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/PacCredentialTypeTest.java

         */
        @Test
        void testConstructorWithValidData() {
            // A byte array with a length less than 32 should be considered valid.
            byte[] validData = new byte[31];
            assertDoesNotThrow(() -> new PacCredentialType(validData));
        }
    
        /**
         * Tests the constructor with a null byte array, which should throw an exception.
         */
        @Test
        void testConstructorWithNullData() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractorTest.java

        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("htmlExtractor", HtmlExtractor.class);
            htmlExtractor = container.getComponent("htmlExtractor");
            htmlExtractor.addMetadata("title", "//TITLE");
        }
    
        public void test_getHtml_utf8() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsPagingResultBean.java

            return took;
        }
    
        public void setTook(long took) {
            this.took = took;
        }
    
        public int getTotalShards() {
            return totalShards;
        }
    
        public void setTotalShards(int totalShards) {
            this.totalShards = totalShards;
        }
    
        public int getSuccessfulShards() {
            return successfulShards;
        }
    
        public void setSuccessfulShards(int successfulShards) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/SmbCircuitBreaker.java

                    throw (CIFSException) e;
                }
                throw new CIFSException("Circuit breaker operation failed", e);
            }
        }
    
        private void onSuccess() {
            onSuccess(0);
        }
    
        private void onSuccess(long responseTimeMs) {
            State currentState = state.get();
            totalSuccesses.incrementAndGet();
            consecutiveSuccesses.incrementAndGet();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

        @Mock
        private SmbResource mockResource1;
    
        @Mock
        private SmbResource mockResource2;
    
        @Mock
        private SmbResource mockResource3;
    
        @BeforeEach
        void setUp() {
            lenient().when(mockFileEntry1.getName()).thenReturn("file1.txt");
            lenient().when(mockFileEntry2.getName()).thenReturn("file2.txt");
            lenient().when(mockFileEntry3.getName()).thenReturn("file3.txt");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top