Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,147 for correctly (0.07 sec)

  1. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

       * more bytes.
       *
       * <p>Note: Direct testing of the {@link IOException} scenario during write/flush is challenging
       * without mocking. This test verifies that normal operation with threshold crossing still works
       * correctly with the fix in place.
       */
      public void testThresholdCrossing_resourceManagement() throws Exception {
        FileBackedOutputStream out = new FileBackedOutputStream(/* fileThreshold= */ 10);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 16:30:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/ResponseDataUtilTest.java

                // Clean up
                tempFile.delete();
            }
        }
    
        public void test_createResponseBodyFile_filePermissions() throws Exception {
            // Test that file permissions are set correctly
            ResponseData responseData = new ResponseData() {
                @Override
                public InputStream getResponseBody() {
                    return new ByteArrayInputStream("Test permissions".getBytes());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

            }
        }
    
        @Nested
        @DisplayName("Version Comparison")
        class VersionComparisonTests {
    
            @Test
            @DisplayName("should compare versions correctly")
            void shouldCompareVersionsCorrectly() {
                // Based on the actual implementation, it only handles specific cases
                assertTrue(ModelVersionUtils.isVersionGreaterOrEqual("4.1.0", "4.1.0"));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

            int actual = (int) getPrivateField(req, "createOptions");
            assertEquals(0x0040, actual, "createOptions should be padded with 0x0040");
        }
    
        @Test
        @DisplayName("addFlags0 combines flags correctly")
        void addFlags0() {
            SmbComNTCreateAndX req = createRequest(0, 0);
            req.addFlags0(0x10);
            int flags0 = (int) getPrivateField(req, "flags0");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            assertEquals(dataLength, largeResponse.getDataLength());
            assertEquals(dataRemaining, largeResponse.getDataRemaining());
        }
    
        @Test
        @DisplayName("Should handle empty data correctly")
        void testReadBytesWireFormatEmptyData() throws Exception {
            // Given
            byte[] buffer = new byte[256];
            int bodyStart = 0;
            int dataLength = 0;
            int dataRemaining = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            // The class should be serializable as it extends RuntimeException
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        @Test
        @DisplayName("Should behave correctly in catch blocks")
        void testCatchBlockBehavior() {
            // Test that RuntimeCIFSException can be caught as RuntimeException
            assertThrows(RuntimeException.class, () -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/DoubleUtils.java

         * the exponent. This is exactly the behavior we get from just adding signifRounded to bits
         * directly. If the exponent is MAX_DOUBLE_EXPONENT, we round up (correctly) to
         * Double.POSITIVE_INFINITY.
         */
        bits |= x.signum() & SIGN_MASK;
        return longBitsToDouble(bits);
      }
    
      /** Returns its argument if it is non-negative, zero if it is negative. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

                }
                lifecyclesPrinted = true;
            }
    
            // If people are going to make their own lifecycles then we need to tell people how to namespace them correctly
            // so that they don't interfere with internally defined lifecycles.
    
            Map<String, Lifecycle> phaseToLifecycleMap = new HashMap<>();
    
            for (Lifecycle lifecycle : getLifeCycles()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md

    **Test Count**: 12 tests
    
    **Key Scenarios**:
    - ✅ Descriptive error messages for invalid archives
    - ✅ Continues processing when some entries fail
    - ✅ Handles empty archives gracefully
    - ✅ Mixed valid/invalid entries processed correctly
    - ✅ Null input stream validation
    
    ---
    
    ### 4. AbstractExtractorTest.java
    **Purpose**: Test the base AbstractExtractor functionality.
    
    **Key Test Areas**:
    - `validateInputStream()` method behavior
    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. guava/src/com/google/common/collect/ArrayListMultimap.java

     * implement {@link java.util.RandomAccess}.
     *
     * <p>This class is not threadsafe when any concurrent operations update the multimap. Concurrent
     * read operations will work correctly. To allow concurrent update operations, wrap your multimap
     * with a call to {@link Multimaps#synchronizedListMultimap}.
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 23:15:58 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top