Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 111 for Scenario (0.04 sec)

  1. 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)
  2. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

        void testCapacityEdgeValues(long capacity) {
            when(mockAllocInfo.getCapacity()).thenReturn(capacity);
            assertEquals(capacity, mockAllocInfo.getCapacity());
        }
    
        /**
         * Null pointer scenario – calls on a null reference should raise
         * {@link NullPointerException}. This test is defensive; in real code it
         * would likely be handled elsewhere.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeInternalTest.java

        @Test
        @DisplayName("send with explicit null varargs propagates exception from implementation")
        void send_nullVarargsArray_throws() throws Exception {
            // Arrange: passing explicit null vararg array is edge scenario
            when(tree.send(eq(request), isNull())).thenThrow(new CIFSException("null params"));
    
            // Act + Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

     * provides {@code static final} constants, so the test suite focuses on
     * value correctness, bit‑mask logic, and some derived properties.
     *
     * <p>Mockito is exercised in a dummy scenario to satisfy the
     * request for an interaction test.  The mock represents a
     * {@code SmbTransport} collaborator and is used only for
     * demonstration – the real class behaviour is not required for
     * validating constants.
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

            SmbRenewableCredentials impl = supplier.get();
    
            // Act: call renew
            CredentialsInternal renewed = impl.renew();
    
            // Assert: verify behavior based on scenario
            if (expectSame) {
                assertSame(impl, renewed, "renew() should return the same instance");
            } else if (expectNew) {
                assertNotNull(renewed, "renew() should return a new non-null instance");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                assertEquals(500L * sectorSize, fileFsFullSizeInfo.getFree());
            }
    
            @Test
            @DisplayName("Should handle full disk scenario")
            void shouldHandleFullDiskScenario() throws SMBProtocolDecodingException {
                // Given - disk with no free space
                ByteBuffer buffer = ByteBuffer.allocate(32);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

          required: false
    
      - type: markdown
        attributes:
          value: >
            #### Ubiquity: provide concrete use cases
    
    
            Did you *actually* encounter the need for this feature in a real-world scenario, or is it
            just a feature that seems like a sensible addition to Guava?
    
    
            Before new features get added to Guava, we really want to be sure that it's for a use case
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top