Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1651 - 1660 of 5,742 for text (0.12 seconds)

  1. src/test/java/org/codelibs/core/lang/ClassIteratorTest.java

    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class ClassIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final ClassIterator it = new ClassIterator(Integer.class);
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is(sameClass(Integer.class)));
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardActionTest.java

            assertEquals("s3://my-bucket/folder/file.txt", wizardAction.convertCrawlingPath("s3://my-bucket/folder/file.txt"));
            assertEquals("s3://bucket/", wizardAction.convertCrawlingPath("s3://bucket/"));
            assertEquals("s3://my-bucket-name/deep/nested/path/file.txt",
                    wizardAction.convertCrawlingPath("s3://my-bucket-name/deep/nested/path/file.txt"));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/InputValidatorTest.java

        void testValidSmbPaths(String path) {
            assertDoesNotThrow(() -> InputValidator.validateSmbPath(path));
        }
    
        @ParameterizedTest
        @DisplayName("Test invalid path characters")
        @ValueSource(strings = { "file:name.txt", "file<name>.txt", "file|name.txt", "file*name.txt", "file?name.txt", "file\"name.txt" })
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertThat(cycle.next()).isEqualTo("b");
        assertTrue(cycle.hasNext());
        assertThat(cycle.next()).isEqualTo("a");
        cycle.remove();
        assertEquals(singletonList("b"), iterable);
        assertTrue(cycle.hasNext());
        assertThat(cycle.next()).isEqualTo("b");
        assertTrue(cycle.hasNext());
        assertThat(cycle.next()).isEqualTo("b");
        cycle.remove();
        assertEquals(emptyList(), iterable);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 57.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/core/collection/LruHashMapTest.java

            assertThat(i.next(), is("bbb"));
            assertThat(i.next(), is("ccc"));
            assertThat(i.next(), is("aaa"));
            lru.put("ddd", "444");
            assertThat(lru.size(), is(3));
            assertThat(lru.get("bbb"), is(nullValue()));
            i = lru.keySet().iterator();
            assertThat(i.next(), is("ccc"));
            assertThat(i.next(), is("aaa"));
            assertThat(i.next(), is("ddd"));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. 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();
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  7. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

        assertEquals(immutableEntry("foo", 5), entryIterator.next());
        assertEquals(immutableEntry("bar", 4), entryIterator.next());
        assertEquals(immutableEntry("foo", 3), entryIterator.next());
        assertEquals(immutableEntry("cow", 2), entryIterator.next());
        assertEquals(immutableEntry("bar", 1), entryIterator.next());
    
        Iterator<Entry<String, Collection<Integer>>> collectionIterator =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 16.5K bytes
    - Click Count (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()}
         * .
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

        }
    
        @ParameterizedTest
        @ValueSource(strings = { "", "a", "test.txt", "very_long_filename_that_exceeds_normal_length_limits_and_tests_buffer_handling.txt",
                "file with spaces.txt", "file*with?wildcards.txt", "../relative/path/file.txt", "C:\\absolute\\path\\file.txt" })
        void testFilenameHandling(String filename) {
            // Test various filename formats
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.2K bytes
    - Click Count (0)
Back to Top