Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 581 - 590 of 4,822 for Void (0.04 seconds)

  1. 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() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/SmbPipeResourceTest.java

         */
        @Test
        void testPipeTypeRdonly() {
            assertEquals(SmbConstants.O_RDONLY, SmbPipeResource.PIPE_TYPE_RDONLY, "PIPE_TYPE_RDONLY should match SmbConstants.O_RDONLY");
        }
    
        /**
         * Test if the PIPE_TYPE_WRONLY constant has the correct value.
         */
        @Test
        void testPipeTypeWronly() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testAddAtIndex_supportedPresent() {
        getList().add(0, e0());
        expectAdded(0, e0());
      }
    
      @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      /*
       * absent = ZERO isn't required, since unmodList.add() must
       * throw regardless, but it keeps the method name accurate.
       */
      public void testAddAtIndex_unsupportedPresent() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

        private static final int ALL_SECURITY_INFORMATION = 0x0000000F;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.getTransactionBufferSize()).thenReturn(65535);
        }
    
        @Test
        @DisplayName("Test constructor initialization with basic parameters")
        void testConstructorBasic() {
            int fid = 0x1234;
            int securityInfo = OWNER_SECURITY_INFORMATION;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/suggest/SuggesterIndexLifecycleTest.java

        @Test
        public void test_getIndex() throws Exception {
            Suggester suggester = createSuggester();
    
            // The index name should be {id}.suggest
            assertEquals("Should return correct index name", getIndexName(), suggester.getIndex());
        }
    
        @Test
        public void test_getAllWordsNum_onEmptyIndex() throws Exception {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

         * Sets the address of the OpenSearch instance.
         * @param address The address.
         */
        public void setAddress(final String address) {
            this.address = address;
        }
    
        /**
         * Adds a listener for connection events.
         *
         * @param listener The listener to add.
         */
        public void addOnConnectListener(final OnConnectListener listener) {
            onConnectListenerList.add(listener);
        }
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Nov 23 02:01:26 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

        private SecureRandom secureRandom;
    
        @BeforeEach
        public void setUp() {
            secureRandom = new SecureRandom();
            preauthService = new PreauthIntegrityService(secureRandom, PreauthIntegrityService.HASH_ALGO_SHA512, true);
        }
    
        @AfterEach
        public void tearDown() {
            if (preauthService != null) {
                preauthService.cleanup();
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

        void testConstructorWithPathEndingInBackslash() {
            // Test path already ending with backslash
            trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test\\path\\", "*.doc", 0x16, 20, 2048);
    
            assertEquals("\\test\\path\\", trans2FindFirst2.getPath());
        }
    
        @Test
        @DisplayName("Test constructor with root path")
        void testConstructorWithRootPath() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

        private Configuration mockConfig;
        private Smb2ChangeNotifyResponse response;
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            response = new Smb2ChangeNotifyResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Should create response with configuration")
        void testConstructorWithConfiguration() {
            // Given & When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

        private SecurityDescriptor securityDescriptor;
        private byte[] testBuffer;
    
        @BeforeEach
        void setUp() {
            securityDescriptor = new SecurityDescriptor();
            testBuffer = new byte[1024];
        }
    
        @Test
        @DisplayName("Test default constructor creates empty SecurityDescriptor")
        void testDefaultConstructor() {
            SecurityDescriptor sd = new SecurityDescriptor();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
Back to Top