Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for expectedResult (0.27 sec)

  1. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

            @ParameterizedTest
            @DisplayName("Should handle various pathConsumed values")
            @CsvSource({ "0, 0", "10, 5", "100, 50", "1000, 500", "65534, 32767" })
            void testPathConsumedValues(int rawValue, int expectedResult) {
                byte[] testBuffer = new byte[8];
                ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
                bb.putShort((short) rawValue); // pathConsumed
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. 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)
Back to top