Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Scenario (0.16 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. 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)
  5. 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)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ExtractDataTest.java

            String result = data.toString();
            assertNotNull(result);
            assertTrue(result.contains("ExtractData"));
        }
    
        public void test_complexScenario() {
            // Test complex scenario with multiple operations
            ExtractData data = new ExtractData();
    
            // Set content
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java

            // data1 should also be modified (same object)
            assertEquals("https://modified.com", data1.getUrl());
        }
    
        public void test_complexScenarioWithGet() {
            // Test complex scenario with GET method
            RequestData data = RequestDataBuilder.newRequestData().get().url("https://api.example.com/users/123").weight(0.8f).build();
    
            assertEquals(Method.GET, data.getMethod());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java

            // Test close without any file
            ResponseData data = new ResponseData();
            data.close(); // Should not throw exception
        }
    
        public void test_complexScenario() {
            // Test complex scenario with multiple operations
            ResponseData data = new ResponseData();
    
            // Set various properties
            data.setUrl("https://example.com/page");
            data.setHttpStatusCode(200);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md

    5. **Resources**: Test resources are properly managed and cleaned up
    
    ## Contributing
    
    When adding new tests:
    1. Follow the existing naming convention: `test_<method>_<scenario>_<expectedResult>`
    2. Add clear JavaDoc comments explaining the test purpose
    3. Ensure tests are independent and can run in any order
    4. Clean up resources in finally blocks or use try-with-resources
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            Handler handler = new Handler();
            Handler.GcsURLConnection conn = (Handler.GcsURLConnection) handler.openConnection(url);
    
            // Ensure environment variables are not set (in real scenario)
            // In this test, we expect IOException when project ID is blank
            try {
                conn.connect();
                fail("Should throw IOException when project ID is not set");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top