Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1421 - 1430 of 3,963 for void (0.02 sec)

  1. src/test/java/jcifs/netbios/LmhostsTest.java

        private Configuration mockConfig;
    
        @TempDir
        Path tempDir;
    
        @BeforeEach
        void setUp() {
            lmhosts = new Lmhosts();
            mockContext = mock(CIFSContext.class);
            mockConfig = mock(Configuration.class);
            when(mockContext.getConfig()).thenReturn(mockConfig);
        }
    
        @Test
        void testGetByNameWithNullLmHostsFile() {
            // Test when lmhosts file is not configured
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AbstractService.java

       * #monitor}.
       */
      private void dispatchListenerEvents() {
        if (!monitor.isOccupiedByCurrentThread()) {
          listeners.dispatch();
        }
      }
    
      private void enqueueStartingEvent() {
        listeners.enqueue(STARTING_EVENT);
      }
    
      private void enqueueRunningEvent() {
        listeners.enqueue(RUNNING_EVENT);
      }
    
      private void enqueueStoppingEvent(State from) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/HexdumpTest.java

     */
    @DisplayName("SMB1 Hexdump Utility Tests")
    class HexdumpTest extends BaseTest {
    
        @Test
        @DisplayName("Should convert integer to hex string with specified size")
        void testToHexStringInt() {
            // Test zero
            assertEquals("00000000", Hexdump.toHexString(0, 8));
            assertEquals("0000", Hexdump.toHexString(0, 4));
            assertEquals("00", Hexdump.toHexString(0, 2));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/DfsReferralDataTest.java

            // Given
            String path = "/test/path";
            when(mockReferralData.getPath()).thenReturn(path);
    
            // When
            String result = mockReferralData.getPath();
    
            // Then
            assertEquals(path, result);
            verify(mockReferralData).getPath();
        }
    
        @Test
        @DisplayName("Should get expiration")
        void testGetExpiration() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsRelatedContent.java

            return convertEmptyToNull(content);
        }
    
        public void setContent(String value) {
            registerModifiedProperty("content");
            this.content = value;
        }
    
        public String getCreatedBy() {
            checkSpecifiedProperty("createdBy");
            return convertEmptyToNull(createdBy);
        }
    
        public void setCreatedBy(String value) {
            registerModifiedProperty("createdBy");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutIfAbsent_supportedAbsent() {
        assertNull(
            "putIfAbsent(notPresent, value) should return null", getMap().putIfAbsent(k3(), v3()));
        expectAdded(e3());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_supportedPresent() {
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

            void testNullSystemNameDoesNotThrow() {
                // Arrange
                SamrPolicyHandle ph = createMockPolicyHandle();
    
                // Act & Assert
                assertDoesNotThrow(() -> new MsrpcSamrConnect2(null, 0, ph));
            }
    
            @Test
            @DisplayName("should accept negative access mask values")
            void testNegativeAccessMaskAccepted() {
                // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

                return true;
            }
    
            @Override
            public void destroy() {
                destroyCalled = true;
            }
    
            public boolean isGenerateCalled() {
                return generateCalled;
            }
    
            public boolean isDestroyCalled() {
                return destroyCalled;
            }
        }
    
        public void test_isAvailable() {
            // Test default implementation
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

         */
        @Test
        void testConstructor() {
            // The constructor is called in setUp(), so we just verify the result.
            assertNotNull(response, "The response object should not be null.");
        }
    
        /**
         * Tests the writeSetupWireFormat method.
         */
        @Test
        void testWriteSetupWireFormat() {
            byte[] dst = new byte[10];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/JvmUtilTest.java

            assertEquals(11, JvmUtil.getJavaVersion());
        }
    
        public void test_filterJvmOptions_emptyArray() {
            System.setProperty("java.version", "11.0.1");
            String[] result = JvmUtil.filterJvmOptions(new String[0]);
            assertEquals(0, result.length);
        }
    
        public void test_filterJvmOptions_singleElement() {
            System.setProperty("java.version", "11.0.1");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top