Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 235 for Scenario (0.31 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolverTest.java

         * Tests that <code>a:1.0</code> wins in the scenario:
         * <pre>
         * a:1.0
         * a:2.0
         * </pre>
         */
        @Test
        void testEqual() {
            ResolutionNode a1n = createResolutionNode(a1);
            ResolutionNode a2n = createResolutionNode(a2);
    
            assertResolveConflict(a1n, a1n, a2n);
        }
    
        /**
         * Tests that <code>a:1.0</code> wins in the scenario:
         * <pre>
         * a:2.0
         * a:1.0
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

        public void test_multipleExceptionScenarios() {
            // Test multiple realistic exception scenarios
    
            // Scenario 1: Command not found
            CommandExecutionException cmdNotFound = new CommandExecutionException("Command 'xyz' not found");
            assertTrue(cmdNotFound.getMessage().contains("not found"));
    
            // Scenario 2: Command timeout
            CommandExecutionException timeout =
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt

    abstract class AdHocPerformanceScenario(
        os: Os,
        arch: Arch = Arch.AMD64,
    ) : BuildType({
            val id = "Util_Performance_AdHocPerformanceScenario${os.asName()}${arch.asName()}"
            name = "AdHoc Performance Scenario - ${os.asName()} ${arch.asName()}"
            id(id)
    
            applyPerformanceTestSettings(os = os, arch = arch, timeout = 420)
            setArtifactRules(INDIVIDUAL_PERFORAMCE_TEST_ARTIFACT_RULES)
    
            params {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 14:08:32 GMT 2026
    - 6K bytes
    - Click Count (0)
  4. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  5. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

            // Create a hook that simulates an exception scenario
            AtomicBoolean exceptionHandled = new AtomicBoolean(false);
    
            FessCurtainFinallyHook customHook = new FessCurtainFinallyHook() {
                @Override
                public void hook(final FwAssistantDirector assistantDirector) {
                    try {
                        // Simulate a scenario where the method exists but invocation fails
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  7. .teamcity/src/main/kotlin/model/PerformanceTestSpec.kt

            get() = PerformanceTestType.AD_HOC
    
        override val failsStage: Boolean
            get() = false
    
        val buildSpecs: List<FlameGraphGenerationBuildSpec>
            get() =
                scenarios.flatMap { scenario ->
                    Os.values().flatMap { os ->
                        val arch = if (os == Os.MACOS) Arch.AARCH64 else Arch.AMD64
                        if (os == Os.WINDOWS) {
                            listOf("jprofiler")
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  8. SECURITY.md

    are skipped, and any checks implemented inside the shape inference code are not
    executed.
    
    The security impact of skipping those checks should be low, since the attack
    scenario would require a malicious user to be able to control the model which as
    stated above is already equivalent to code execution. In any case, the
    recommendation is not to serve models using Eager mode since it also has
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Oct 16 16:10:43 GMT 2024
    - 9.6K bytes
    - Click Count (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.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 3.1K bytes
    - Click Count (1)
  10. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:04:26 GMT 2026
    - 8K bytes
    - Click Count (0)
Back to Top