Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1251 - 1260 of 4,151 for text (0.04 sec)

  1. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            message = new TestNtlmMessage();
        }
    
        @Test
        void testGetAndSetFlags() {
            // Test setting and getting flags
            int testFlags = 0x12345678;
            message.setFlags(testFlags);
            assertEquals(testFlags, message.getFlags(), "Flags should be set and retrieved correctly.");
        }
    
        @Test
        void testGetFlag() {
            // Test getting individual flags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            assertEquals(10, sis.read());
            assertEquals(20, sis.read());
    
            // After all data consumed, next read fails
            assertThrows(IOException.class, () -> sis.read());
        }
    
        @Test
        @DisplayName("Unknown packet type is handled by continuing to next packet")
        void unknownPacketTypeHandled() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            }
        }
    
        @Test
        @DisplayName("Constructor with andx sets next command")
        void testConstructorWithAndx() {
            DummyPlainSMB next = new DummyPlainSMB();
            DummyAndXBlock block = new DummyAndXBlock(next);
    
            assertNotNull(block);
            assertSame(next, block.andx, "andx should reference provided SMB");
        }
    
        @Test
        @DisplayName("getBatchLimit defaults to 0")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            // Act
            assertTrue(it.hasNext());
            assertEquals("first", it.next().getName()); // initial
            assertTrue(it.hasNext());
            FileEntry next = it.next();
    
            // Assert: "bad" was skipped due to filter exception, "good" returned
            assertNotNull(next);
            assertEquals("good", next.getName());
            assertFalse(it.hasNext());
            verify(tree, times(1)).release();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

      }
    
      static int advanceOneBit(int next) {
        if ((next & 1) != 0) {
          return (next >>> 1) ^ CRC32C_GENERATOR_FLIPPED;
        } else {
          return next >>> 1;
        }
      }
    
      public void testCrc32cStrideTable() {
        int next = CRC32C_GENERATOR_FLIPPED;
        for (int i = 0; i < 12; i++) { // for 3 ints = 12 bytes in between each stride window
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertTrue(cycle.hasNext());
        assertEquals("a", cycle.next());
        cycle.remove();
        assertEquals(singletonList("b"), iterable);
        assertTrue(cycle.hasNext());
        assertEquals("b", cycle.next());
        assertTrue(cycle.hasNext());
        assertEquals("b", cycle.next());
        cycle.remove();
        assertEquals(emptyList(), iterable);
        assertFalse(cycle.hasNext());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.16.md

    - github.com/kr/pretty: [f31442d → v0.1.0](https://github.com/kr/pretty/compare/f31442d...v0.1.0)
    - github.com/kr/text: [6807e77 → v0.1.0](https://github.com/kr/text/compare/6807e77...v0.1.0)
    - github.com/libopenstorage/openstorage: [093a0c3 → v1.0.0](https://github.com/libopenstorage/openstorage/compare/093a0c3...v1.0.0)
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Oct 23 20:13:20 UTC 2024
    - 345.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

     * unconditional {@code setCount()} method and calls to the conditional {@code setCount()} method
     * when the expected present count is correct.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

         * @throws Exception
         */
        @Test
        public void testEntrySet() throws Exception {
            Iterator<Map.Entry<String, String>> i = map.entrySet().iterator();
            assertThat(i.next().getKey(), is(nullValue()));
            assertThat(i.next().getKey(), is("1"));
            assertThat(i.next().getKey(), is("2"));
        }
    
        /**
         * Test method for {@link org.seasar.util.collection.ArrayIterator#remove()}
         * .
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

    /**
     * Tests representing the contract of {@link Map}. Concrete subclasses of this base class test
     * conformance of concrete {@link Map} subclasses to that contract.
     *
     * @param <K> the type of keys used by the maps under test
     * @param <V> the type of mapped values used the maps under test
     * @author George van den Driessche
     */
    // TODO: Descriptive assertion messages, with hints as to probable fixes.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
Back to top