Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 111 for Scenario (0.04 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private GeneratedMonitorTest(
          Method method,
          Scenario scenario,
          boolean fair,
          @Nullable Timeout timeout,
          Outcome expectedOutcome) {
        super(nameFor(method, scenario, fair, timeout, expectedOutcome));
        this.method = method;
        this.scenario = scenario;
        this.timeout = timeout;
        this.expectedOutcome = expectedOutcome;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        @SuppressWarnings("unchecked")
        Scenario<T> starter = new Scenario<>((Ordering<T>) ordering, list, emptyArray);
        verifyScenario(starter, 0);
      }
    
      private static <T extends @Nullable Object> void verifyScenario(Scenario<T> scenario, int level) {
        scenario.testCompareTo();
        scenario.testIsOrdered();
        scenario.testMinAndMax();
        scenario.testBinarySearch();
        scenario.testSortedCopy();
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/OrderingTest.java

        @SuppressWarnings("unchecked")
        Scenario<T> starter = new Scenario<>((Ordering<T>) ordering, list, emptyArray);
        verifyScenario(starter, 0);
      }
    
      private static <T extends @Nullable Object> void verifyScenario(Scenario<T> scenario, int level) {
        scenario.testCompareTo();
        scenario.testIsOrdered();
        scenario.testMinAndMax();
        scenario.testBinarySearch();
        scenario.testSortedCopy();
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DfsImplTest.java

        void testIsTrustedDomain_DfsDisabled() throws SmbAuthException {
            // Scenario: DFS is disabled in the configuration.
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertFalse(dfsImpl.isTrustedDomain(mockContext, "anydomain.com"));
        }
    
        @Test
        void testIsTrustedDomain_NoUserDomain() throws SmbAuthException {
            // Scenario: The user credentials do not specify a domain.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            assertEquals(11, response.dialectIndex);
        }
    
        @Test
        void testReadBytesWireFormat_NoExtendedSecurity() throws UnsupportedEncodingException {
            // Setup server data for this scenario
            serverData.capabilities = 0; // No extended security
            serverData.encryptionKeyLength = 8;
            response.byteCount = 15; // 8 bytes key + 6 bytes "DOMAIN" + 1 null terminator
    
            // Prepare byte array
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

      }
    
      /**
       * Test that verifies the resource leak fix for <a
       * href="https://github.com/google/guava/issues/5756">Issue #5756</a>.
       *
       * <p>This test covers a scenario where we write a smaller amount of data first, then write a
       * large amount that crosses the threshold (transitioning from "not at threshold" to "over the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 16:30:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbWatchHandleTest.java

        }
    
        /**
         * Test watch() method returning empty list when buffer overflow
         */
        @Test
        void testWatchBufferOverflow() throws CIFSException {
            // Setup mock behavior for buffer overflow scenario
            when(watchHandle.watch()).thenReturn(Collections.emptyList());
    
            // Execute
            List<FileNotifyInformation> result = watchHandle.watch();
    
            // Verify
            assertNotNull(result);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (1)
  8. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

        }
    
        /**
         * Test partial read scenario where parameters are not fully read
         */
        @Test
        public void readBytesWireFormat_partialRead_doesNotSetFlags() {
            DummyResponse d = new DummyResponse();
            byte[] tx = new byte[100];
            d.txn_buf = tx;
    
            // Set up a partial read scenario
            d.bufParameterStart = 0;
            d.bufDataStart = 20;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. docs/features/caching.md

              maxSize = 50L * 1024L * 1024L // 50 MiB
          ))
          .build()
    ```
    
    ## EventListener events 
    
    Cache Events are exposed via the EventListener API.  Typical scenarios are below.
    
    ### Cache Hit
    
    In the ideal scenario the cache can fulfill the request without any conditional call to the network.
    This will skip the normal events such as DNS, connecting to the network, and downloading the response body.
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (1)
  10. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

      }
    
      /**
       * Test that verifies the resource leak fix for <a
       * href="https://github.com/google/guava/issues/5756">Issue #5756</a>.
       *
       * <p>This test covers a scenario where we write a smaller amount of data first, then write a
       * large amount that crosses the threshold (transitioning from "not at threshold" to "over the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 16:30:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top