Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 583 for incorrectly (0.05 sec)

  1. src/test/java/jcifs/internal/AllocInfoTest.java

            }
        }
    
        @Nested
        @DisplayName("Test Implementation Tests")
        class TestImplementationTests {
    
            @Test
            @DisplayName("Should correctly store and return capacity")
            void shouldCorrectlyStoreAndReturnCapacity() {
                // Given
                long expectedCapacity = 1024L * 1024L * 1024L * 500L; // 500GB
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            int FLAG_A = 0x01;
            int FLAG_B = 0x02;
            assertFalse(m.isFlagSet(FLAG_A));
            m.setFlag(FLAG_A);
            assertTrue(m.isFlagSet(FLAG_A));
            // unset correctly removes the flag
            m.unsetFlag(FLAG_A);
            assertFalse(m.isFlagSet(FLAG_A));
            // Test another flag
            m.setFlag(FLAG_B);
            assertTrue(m.isFlagSet(FLAG_B));
            m.unsetFlag(FLAG_B);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. buildSrc/src/main/kotlin/JavaModules.kt

        // not needed when compiling with recent JDKs, e.g. 17
        options.compilerArgs.add("-Xlint:-requires-transitive-automatic")
    
        // Patch the compileKotlinJvm output classes into the compilation so exporting packages works correctly.
        options.compilerArgs.addAll(
          listOf(
            "--patch-module",
            "$moduleName=${compileKotlinTask.destinationDirectory.get().asFile}",
          ),
        )
    
        classpath = compileKotlinTask.libraries
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:22:22 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

                assertEquals("Expected structureSize = 4", exception.getMessage());
            }
    
            @Test
            @DisplayName("Should correctly calculate bytes read from different starting positions")
            void testReadBytesWireFormatDifferentStartPositions() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[20];
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java

     *
     * <p>The actual tests are distributed among the other classes in this package based on whether they
     * are annotated or abstract in the superclass.
     *
     * <p>This test must be outside the c.g.c.eventbus package to test correctly.
     *
     * @author Louis Wasserman
     */
    abstract class AbstractEventBusTest<H> extends TestCase {
      static final Object EVENT = new Object();
    
      abstract H createSubscriber();
    
      private @Nullable H subscriber;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileInformationTest.java

     */
    @TestInstance(TestInstance.Lifecycle.PER_CLASS)
    class FileInformationTest {
    
        /**
         * Test that interface constants are correctly defined
         */
        @Test
        @DisplayName("Test FileInformation constants are correctly defined")
        void testInterfaceConstants() {
            // Verify all constants have expected values
            assertEquals((byte) 20, FileInformation.FILE_ENDOFFILE_INFO);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/netbios/NbtExceptionTest.java

            String expected = "unknown error class: 1234";
            assertEquals(expected, NbtException.getErrorString(unknownClass, 0));
        }
    
        @Test
        @DisplayName("Constructor sets fields and message correctly")
        void testConstructor() {
            NbtException e = new NbtException(NbtException.ERR_SSN_SRVC, NbtException.CONNECTION_REFUSED);
            assertEquals(NbtException.ERR_SSN_SRVC, e.errorClass);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. .github/CONTRIBUTING.md

    - OkHttp is a small and light dependency.  Don't introduce new dependencies or major new functionality.
    - OkHttp targets the intersection of RFC correct *and* widely implemented.  Incorrect implementations that are very widely implemented e.g. a bug in Apache, Nginx, Google, Firefox should also be handled.
    
    Before your code can be accepted into the project you must also sign the
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Mar 17 04:16:26 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

                assertEquals(2, pair.length, String.format("Error mapping at index %d should contain two integers", i));
            }
        }
    
        @Test
        @DisplayName("Known DOS error is correctly mapped to NTSTATUS")
        void testKnownMapping() {
            final int dosErr = 0x00010001;
            final int expectedNt = 0xc0000002;
            Optional<Integer> actual = findNtStatus(dosErr);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t07/ProjectInheritanceTest.java

                        + " Optional=" + (artifact.isOptional() ? "true" : "false"));
                assertTrue(
                        artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId());
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top