Search Options

Results per page
Sort
Preferred Languages
Advance

Results 781 - 790 of 3,662 for Void (0.02 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java

        String getUrl();
    
        void setUrl(String url);
    
        String getBasedir();
    
        default Path getBasedirPath() {
            return Paths.get(getBasedir());
        }
    
        String getProtocol();
    
        String getId();
    
        void setId(String id);
    
        ArtifactRepositoryPolicy getSnapshots();
    
        void setSnapshotUpdatePolicy(ArtifactRepositoryPolicy policy);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4.3K bytes
    - Viewed (1)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        assertEquals("/", simplifyPath("/././././"));
      }
    
      public void testSimplify9() {
        assertEquals("/a", simplifyPath("/a/b/.."));
      }
    
      public void testSimplify10() {
        assertEquals("/", simplifyPath("/a/b/../../.."));
      }
    
      public void testSimplify11() {
        assertEquals("/", simplifyPath("//a//b/..////../..//"));
      }
    
      public void testSimplify12() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ACETest.java

            @DisplayName("Flag constants should be powers of 2")
            void shouldBeValidFlagPowersOfTwo(int flag) {
                assertTrue(flag > 0, "Flag should be positive");
                assertEquals(0, flag & (flag - 1), "Flag should be power of 2: " + Integer.toHexString(flag));
            }
    
            @Test
            @DisplayName("Should validate all constants are unique")
            void shouldHaveUniqueConstants() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            provider = new FessUserLocaleProcessProvider();
        }
    
        @Override
        public void tearDown() throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    
        // Test isAcceptCookieLocale method
        public void test_isAcceptCookieLocale() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

                }
    
                @Override
                public void setCommand(int command) {
                    this.command = command;
                }
    
                @Override
                public void setUid(int uid) {
                    // Implementation
                }
    
                @Override
                public void setExtendedSecurity(boolean extendedSecurity) {
                    // Implementation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            }
        }
    
        // Test basic getters
        public void test_getType() {
            assertEquals("stopwords", stopwordsFile.getType());
        }
    
        public void test_getPath() {
            assertEquals(testFile.getAbsolutePath(), stopwordsFile.getPath());
        }
    
        public void test_getSimpleName() {
            assertEquals(testFile.getName(), stopwordsFile.getSimpleName());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top