Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 430 for consistency (0.13 seconds)

  1. src/test/java/jcifs/DialectVersionTest.java

            assertEquals(0, DialectVersion.SMB302.compareTo(DialectVersion.SMB302));
        }
    
        @Test
        @DisplayName("Should return consistent ordinal values")
        void testOrdinalValues() {
            // Ordinal values should be consistent with enum declaration order
            assertTrue(DialectVersion.SMB1.ordinal() < DialectVersion.SMB202.ordinal());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/suggest/constants/FieldNames.java

    /**
     * This class contains constants for field names used in the Fess Suggest system.
     * These constants represent various field names that are used throughout the application
     * to ensure consistency and avoid hardcoding strings.
     *
     * <ul>
     * <li>{@link #ID} - The unique identifier field.</li>
     * <li>{@link #TEXT} - The text content field.</li>
     * <li>{@link #READING_PREFIX} - The prefix for reading fields.</li>
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java

            assertTrue(result.contains(expectedHashCode));
        }
    
        // Test toString() format consistency
        @Test
        public void test_toString_formatConsistency() {
            // Create multiple instances and verify consistent format
            FessUserTimeZoneProcessProvider provider1 = new FessUserTimeZoneProcessProvider();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java

        public void test_getMessage_consistency() {
            // Test that getMessage returns consistent results
            String message = "Consistent message";
            JobNotFoundException exception = new JobNotFoundException(message);
    
            assertEquals(message, exception.getMessage());
            assertEquals(message, exception.getMessage()); // Call twice to verify consistency
            assertEquals(message, exception.getLocalizedMessage());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  5. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

            assertEquals(start1, start2, "Start time should remain constant");
            assertNotNull(start1, "Start time should not be null");
        }
    
        @Nested
        @DisplayName("Time consistency tests")
        class TimeConsistencyTests {
    
            @Test
            @DisplayName("Current time should be after start time")
            void testCurrentTimeAfterStart() {
                Instant now = MonotonicClock.now();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 15 06:28:29 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

            assertFalse(exception1.equals(exception2));
            assertTrue(exception1.equals(exception1));
        }
    
        @Test
        public void test_hashCode() {
            // Test hashCode consistency
            DictionaryExpiredException exception = new DictionaryExpiredException();
            int hashCode1 = exception.hashCode();
            int hashCode2 = exception.hashCode();
    
            assertEquals(hashCode1, hashCode2);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            }
    
            // Then - no exceptions should have been thrown
            assertTrue(true); // If we reach here, no exceptions occurred
        }
    
        /**
         * Test consistency across multiple calls
         */
        @Test
        @DisplayName("Test consistency across multiple calls")
        public void testConsistencyAcrossMultipleCalls() {
            // Given
            smbComTreeDisconnect = new SmbComTreeDisconnect(config);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/util/CryptoTest.java

                MessageDigest md5 = Crypto.getMD5();
                md5.digest(null);
            });
        }
    
        @Test
        @DisplayName("Should produce consistent hash results")
        void testHashConsistency() {
            // Given
            String input = "Test consistency";
            byte[] data = input.getBytes();
    
            // When
            MessageDigest md5_1 = Crypto.getMD5();
            MessageDigest md5_2 = Crypto.getMD5();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/config/PropertyConfigurationTest.java

            assertEquals("parentdomain", testConfig.getDefaultDomain()); // Inherited
        }
    
        @Test
        @DisplayName("Should validate configuration consistency")
        void testConfigurationValidation() throws CIFSException {
            // Given
            Properties props = new Properties();
            props.setProperty("jcifs.smb.client.minVersion", "SMB311");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

           * pass.
           *
           * 2. We would probably choose to compare exceptions using == instead of equals() (for
           * consistency with how weak references are cleared). That's a behavior change -- arguably the
           * removal of a feature.
           *
           * Fortunately, exceptions rarely contain references to expensive resources.
           */
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.5K bytes
    - Click Count (0)
Back to Top