Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 1,283 for best (0.02 seconds)

  1. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            assertEquals(0L, info.getSize());
        }
    
        @Test
        @DisplayName("Test size method returns correct buffer size")
        void testSize() {
            assertEquals(40, fileBasicInfo.size());
        }
    
        @Test
        @DisplayName("Test encode method")
        void testEncode() throws SMBProtocolDecodingException {
            // Create instance with test values
            FileBasicInfo info =
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            assertSame(dataStore, retrieved);
        }
    
        // Test getDataStore with non-existing name
        @Test
        public void test_getDataStore_nonExistingName() {
            DataStore retrieved = dataStoreFactory.getDataStore("nonExisting");
            assertNull(retrieved);
        }
    
        // Test getDataStore with null name
        @Test
        public void test_getDataStore_nullName() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

        }
    
        @Test
        @DisplayName("Test with maximum and minimum values")
        void testWithBoundaryValues() {
            // Test with minimum values
            trans2SetFileInfo = new Trans2SetFileInformation(config, 0, 0, 0L, 0L, 0L);
            assertNotNull(trans2SetFileInfo);
    
            // Test with maximum values
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            response = new NetServerEnum2Response(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor with configuration")
        void testConstructor() {
            assertNotNull(response);
            // Response is successfully created with configuration
            assertTrue(response instanceof NetServerEnum2Response);
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat returns 0")
        void testWriteSetupWireFormat() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            assertTrue(result instanceof MatchAllQueryBuilder);
        }
    
        @Test
        public void test_constructor() {
            // Test that constructor creates a valid instance
            MatchAllQueryCommand command = new MatchAllQueryCommand();
            assertNotNull(command);
        }
    
        @Test
        public void test_execute_logOutput() {
            // Test that execute method logs debug output when debug is enabled
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (0)
  6. cmd/erasure_test.go

    		}
    		if err != nil && !test.shouldFail {
    			t.Errorf("Test %d: test should pass but it failed: %v", i, err)
    		}
    
    		decoded := encoded
    		if !test.shouldFail {
    			if test.reconstructParity {
    				for j := range decoded {
    					if decoded[j] == nil {
    						t.Errorf("Test %d: failed to reconstruct shard %d", i, j)
    					}
    				}
    			} else {
    				for j := range decoded[:test.dataBlocks] {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComTreeDisconnectTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Test class for SmbComTreeDisconnect.
     */
    class SmbComTreeDisconnectTest {
    
        /**
         * Test the constructor of SmbComTreeDisconnect.
         */
        @Test
        void testConstructor() {
            // When
            SmbComTreeDisconnect smbComTreeDisconnect = new SmbComTreeDisconnect();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java

        @Test
        public void test_webFileRulePattern_xhtmlXml() {
            // Test that application/xhtml+xml is correctly matched
            Pattern pattern = Pattern.compile(WEB_FILE_RULE_PATTERN);
            assertTrue(pattern.matcher("application/xhtml+xml").matches());
        }
    
        @Test
        public void test_webFileRulePattern_rdfXml() {
            // Test that application/rdf+xml is correctly matched
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/util/HexdumpTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.BaseTest;
    
    /**
     * Test class for jcifs.smb1.util.Hexdump utility functionality
     */
    @DisplayName("SMB1 Hexdump Utility Tests")
    class HexdumpTest extends BaseTest {
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            assertNull(testBlock.getAndx());
        }
    
        @Test
        @DisplayName("Test getBatchLimit returns 0 by default")
        void testGetBatchLimit() {
            testBlock = new TestAndXServerMessageBlock(mockConfig);
    
            assertEquals(0, testBlock.getBatchLimit(mockConfig, (byte) 0x25));
        }
    
        @Test
        @DisplayName("Test encode without andx command")
        void testEncodeWithoutAndx() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
Back to Top