Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 474 for incorrect (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

        class ConstantsTests {
    
            @Test
            @DisplayName("Should have correct FLAGS_NAME_LIST_REFERRAL value")
            void testFlagsNameListReferralConstant() {
                assertEquals(0x0002, Trans2GetDfsReferralResponse.FLAGS_NAME_LIST_REFERRAL);
            }
    
            @Test
            @DisplayName("Should have correct FLAGS_TARGET_SET_BOUNDARY value")
            void testFlagsTargetSetBoundaryConstant() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class FessWebResourceRootTest extends UnitFessTestCase {
    
        public void test_classExists() {
            // Basic test to verify the class exists and has the correct structure
            assertNotNull("FessWebResourceRoot class should exist", FessWebResourceRoot.class);
        }
    
        public void test_inheritance() {
            // Verify that FessWebResourceRoot extends StandardRoot
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java

            // Although we cannot directly verify the super constructor call with Mockito for a real class,
            // we can infer its correct behavior if the object is successfully constructed and its own fields are correct.
            // The super constructor is called with (domainHandle, 0, acct_flags, null, 0)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertEquals(mockConfig, responseConfig);
    
            // Verify response has correct fileId
            assertEquals(testFileId, response.getFileId());
    
            // Verify response has correct fileName
            assertEquals(testFileName, response.getFileName());
        }
    
        @Test
        @DisplayName("size should return correct message size")
        void testSize() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. src/bufio/scan.go

    		return 0, nil, nil
    	}
    
    	// We have a real UTF-8 encoding error. Return a properly encoded error rune
    	// but advance only one byte. This matches the behavior of a range loop over
    	// an incorrectly encoded string.
    	return 1, errorRune, nil
    }
    
    // dropCR drops a terminal \r from the data.
    func dropCR(data []byte) []byte {
    	if len(data) > 0 && data[len(data)-1] == '\r' {
    		return data[0 : len(data)-1]
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed May 21 18:05:26 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. tests/migrate_test.go

    					t.Fatalf("column id primary key should be correct, name: %v, column: %#v", columnType.Name(),
    						columnType)
    				}
    			case "name":
    				dataType := DB.Dialector.DataTypeOf(stmt.Schema.LookUpField(columnType.Name()))
    				if !strings.Contains(strings.ToUpper(dataType), strings.ToUpper(columnType.DatabaseTypeName())) {
    					t.Fatalf("column name type should be correct, name: %v, length: %v, expects: %v, column: %#v",
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/SecureKeyManagerTest.java

            assertEquals(32, derived1.length, "Derived key should have correct length");
            assertEquals(32, derived2.length, "Derived key should have correct length");
            assertEquals(32, derived3.length, "Derived key should have correct length");
    
            assertFalse(Arrays.equals(derived1, derived2), "Different labels should produce different keys");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            String result = purgeDocJob.execute();
    
            // Assert deleteByQuery was called
            assertTrue(deleteByQueryCalled);
    
            // Assert correct index was used
            assertEquals("fess.update", deleteIndex);
    
            // Assert query builder is correct
            assertNotNull(deleteQuery);
            assertTrue(deleteQuery instanceof RangeQueryBuilder);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

        @Test
        @DisplayName("Should create correct response")
        void testCreateResponse() {
            // When
            Smb2ChangeNotifyResponse response = request.createResponse(mockContext, request);
    
            // Then
            assertNotNull(response);
            assertTrue(response instanceof Smb2ChangeNotifyResponse);
        }
    
        @Test
        @DisplayName("Should calculate correct size")
        void testSize() {
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

            }
        }
    
        public void test_name() {
            // Test name() method returns correct string representation
            assertEquals("METADATA", SsoResponseType.METADATA.name());
            assertEquals("LOGOUT", SsoResponseType.LOGOUT.name());
        }
    
        public void test_ordinal() {
            // Test ordinal() method returns correct position
            assertEquals(0, SsoResponseType.METADATA.ordinal());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top