Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 276 for consistently (0.06 sec)

  1. src/test/java/jcifs/EmptyIteratorTest.java

        @Test
        @DisplayName("EmptyIterator should behave consistently across multiple calls")
        void testConsistentBehavior() {
            // When & Then - test multiple sequential calls
            for (int i = 0; i < 10; i++) {
                assertFalse(emptyIterator.hasNext(), "hasNext should consistently return false");
                assertNull(emptyIterator.next(), "next should consistently return null");
            }
        }
    
        @RepeatedTest(5)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            assertTrue(toStringResult.contains(message));
        }
    
        public void test_getMessage_consistency() {
            // Test that getMessage returns the same value consistently
            String message = "Consistent message";
            UnsupportedSearchException exception = new UnsupportedSearchException(message);
    
            String firstCall = exception.getMessage();
            String secondCall = exception.getMessage();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * consistently between their order within {@code valuesInExpectedOrder} and the order implied by
       * the given {@code comparator}.
       *
       * <p>In detail, this method asserts
       *
       * <ul>
       *   <li><i>reflexivity</i>: {@code comparator.compare(t, t) = 0} for all {@code t} in {@code
       *       valuesInExpectedOrder}; and
       *   <li><i>consistency</i>: {@code comparator.compare(ti, tj) < 0} and {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            // This is expected behavior since they're created with the same configuration
            assertEquals(response1.toString(), response2.toString());
        }
    
        @Test
        @DisplayName("All write methods should consistently return 0")
        void testAllWriteMethodsReturnZero() {
            // Arrange
            byte[] buffer = new byte[100];
    
            // Act & Assert
            assertEquals(0, response.writeSetupWireFormat(buffer, 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/context/BaseContextTest.java

            // Then - should be same instances
            assertSame(config1, config2, "Configuration should be consistent");
            assertSame(dfs1, dfs2, "DFS resolver should be consistent");
            assertSame(cache1, cache2, "Buffer cache should be consistent");
        }
    
        @Test
        @DisplayName("Context should provide working resource creation")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/SmbNegotiationRequestTest.java

        @DisplayName("Test implementation consistency")
        void testImplementationConsistency() {
            // Given
            SmbNegotiationRequest consistentRequest = new TestSmbNegotiationRequest(true);
    
            // When & Then - verify consistency across multiple calls
            for (int i = 0; i < 10; i++) {
                assertTrue(consistentRequest.isSigningEnforced(), "Implementation should consistently return the same value");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                assertFalse(auth1.equals(auth3));
    
                // Test empty vs password
                assertFalse(auth2.equals(auth3));
    
                // These operations should complete quickly and consistently
                long startTime = System.nanoTime();
                for (int i = 0; i < 1000; i++) {
                    auth1.equals(auth2);
                    auth1.equals(auth3);
                    auth2.equals(auth3);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Hasher.java

     * is not equivalent to the concatenation of their encoded form. Therefore, {@link
     * #putString(CharSequence, Charset)} should only be used consistently with <i>complete</i>
     * sequences and not broken into chunks.
     *
     * @author Kevin Bourrillion
     * @since 11.0
     */
    @Beta
    public interface Hasher extends PrimitiveSink {
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

            }
        }
    
        public void test_findOnMainSchema_alwaysReturnsNull() {
            // Since the implementation always returns null (no DBFlute classification used),
            // test that it consistently returns null for any input
            assertNull(invokeMethod(provider, "findOnMainSchema", "TestClassification"));
            assertNull(invokeMethod(provider, "findOnMainSchema", ""));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            @Test
            @DisplayName("Should always force unicode")
            void testIsForceUnicode() {
                assertTrue(response.isForceUnicode());
            }
    
            @Test
            @DisplayName("Should consistently return true for unicode")
            void testIsForceUnicodeMultipleCalls() {
                for (int i = 0; i < 5; i++) {
                    assertTrue(response.isForceUnicode());
                }
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top