Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for scenarios (0.06 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

                fail("ProcessDestroyer inner class should exist");
            }
        }
    
        // Test exception handling scenarios
        public void test_exception_handling_scenarios() throws Exception {
            // Test various exception scenarios without triggering component dependencies
    
            // Test with null command list
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

                throw new AssertionError();
              }
            };
        assertThrows(IllegalStateException.class, iter::hasNext);
      }
    
      // Technically we should test other reentrant scenarios (9 combinations of
      // hasNext/next/peek), but we'll cop out for now, knowing that peek() and
      // next() both start by invoking hasNext() anyway.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  4. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    
    /**
     * Comprehensive test suite for CIFSUnsupportedCryptoException class.
     * Tests all constructors, inheritance behavior, and crypto-specific scenarios.
     */
    @DisplayName("CIFSUnsupportedCryptoException Tests")
    class CIFSUnsupportedCryptoExceptionTest extends BaseTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ACETest.java

                verify(ace, times(1)).getFlags();
            }
        }
    
        @Nested
        @DisplayName("Real-world Usage Scenarios")
        class RealWorldUsageTests {
    
            @Test
            @DisplayName("Should handle typical file system permission scenarios")
            void shouldHandleFileSystemPermissions() {
                // Read-only file access
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  6. 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 =
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. 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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            } catch (Exception e) {
                fail("Should have caught LdapOperationException");
            }
        }
    
        public void test_getMessage_consistency() {
            // Test message consistency across different scenarios
            String message1 = "LDAP bind failed";
            String message2 = "LDAP search failed";
            Exception cause = new Exception("Timeout");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

    import org.junit.jupiter.params.provider.MethodSource;
    import org.mockito.Mockito;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Tests for SmbBasicFileInfo interface.
     * The tests exercise typical, edge, and null scenarios using a simple
     * implementation and a Mockito mock to verify interactions.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbBasicFileInfoTest {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/spnego/NegTokenInitTest.java

                assertArrayEquals(largeMic, parsed.getMechanismListMIC());
            }
        }
    
        @Nested
        @DisplayName("Parameterized Tests for Multiple Scenarios")
        class ParameterizedTests {
    
            @ParameterizedTest
            @MethodSource("provideMechanismCombinations")
            @DisplayName("Various mechanism combinations round-trip correctly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top