Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 529 for ensure (0.05 sec)

  1. src/test/java/jcifs/ResolverTypeTest.java

        @Test
        void testNumberOfEnumConstants() {
            // Ensure there are exactly 4 resolver types
            assertEquals(4, ResolverType.values().length, "There should be exactly 4 resolver types.");
        }
    
        /**
         * Tests the names of the enum constants.
         */
        @Test
        void testEnumNames() {
            // Verify the names of the enum constants to ensure they are not accidentally changed
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java

     * <p>
     * This class provides precise time measurements using {@link System#nanoTime()}
     * while maintaining wall-clock time information in UTC. The wall-clock time
     * is computed from the monotonic duration since system start to ensure consistency
     * between time measurements.
     * <p>
     * This implementation is singleton-based and always uses UTC timezone. The clock
     * cannot be adjusted to different timezones to maintain consistent monotonic behavior.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

            // and the credentials. The delegate is tested implicitly by calling super's methods.
            // We can directly test getCredentials() to ensure it returns the initial credentials.
            assertEquals(mockCredentials, wrapper.getCredentials(), "Initial credentials should be set by constructor");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       * reference has been cleared and one {@code finalize} method has been run before this method
       * returns. This method may be useful when testing the garbage collection mechanism itself, or
       * inhibiting a spontaneous GC initiation in subsequent code.
       *
       * <p>In contrast, a plain call to {@link java.lang.System#gc()} does not ensure finalization
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/Closer.java

       * in a {@code RuntimeException}. <b>Note:</b> Be sure to declare all of the checked exception
       * types your try block can throw when calling an overload of this method so as to avoid losing
       * the original exception type.
       *
       * <p>This method always throws, and as such should be called as {@code throw closer.rethrow(e);}
       * to ensure the compiler knows that it will throw.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/GcFinalization.java

       * reference has been cleared and one {@code finalize} method has been run before this method
       * returns. This method may be useful when testing the garbage collection mechanism itself, or
       * inhibiting a spontaneous GC initiation in subsequent code.
       *
       * <p>In contrast, a plain call to {@link java.lang.System#gc()} does not ensure finalization
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/WinErrorTest.java

        }
    
        @Test
        @DisplayName("Constants: values match Windows error codes")
        void constants_have_expected_values() {
            // Ensure each public constant has its documented numeric value (happy path)
            assertAll(() -> assertEquals(0, WinError.ERROR_SUCCESS), () -> assertEquals(5, WinError.ERROR_ACCESS_DENIED),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  8. .github/DISCUSSION_TEMPLATE/translations.yml

          value: |
            Thanks for your interest in helping translate the FastAPI docs! 🌍
    
            Please follow these instructions carefully to propose a new language translation. 🙏
    
            This structured process helps ensure translations can be properly maintained long-term.
      - type: checkboxes
        id: checks
        attributes:
          label: Initial Checks
          description: Please confirm and check all the following options.
          options:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Jul 26 11:35:42 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

            try {
                // Create a new instance to ensure clean state
                SystemMonitorTarget testTarget = new SystemMonitorTarget();
    
                // Try to call the expired method
                // Note: This method may fail in test environments due to system dependencies
                // but we mainly want to ensure the method signature is correct
                testTarget.expired();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/MapCacheTest.java

        }
      }
    
      @Test
      public void testPutNewValue() {
        assertThat(mapCache.put("key", "value")).isNull();
        assertThat(mapCache.get("key")).isEqualTo("value"); // ensure key/value is cached
        assertThat(mapCache.put("key", "new value")).isEqualTo("value");
        assertThat(mapCache.get("key")).isEqualTo("new value");
      }
    
      @Test
      public void testRemoveEqualKeyWithDifferentReference() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top