Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2431 - 2440 of 4,407 for Avoid (0.02 sec)

  1. src/test/java/org/codelibs/core/collection/ArrayIteratorTest.java

        /**
         *
         */
        @Test
        public void testNext() {
            final ArrayIterator<String> itr = new ArrayIterator<String>("a", "b", "c");
            assertThat(itr.next(), equalTo("a"));
            assertThat(itr.next(), equalTo("b"));
            assertThat(itr.next(), equalTo("c"));
        }
    
        /**
         *
         */
        @Test
        public void testNoSuchElement() {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

    public class MinimalIterableTest extends TestCase {
    
      public void testOf_empty() {
        Iterable<String> iterable = MinimalIterable.<String>of();
        Iterator<String> iterator = iterable.iterator();
        assertFalse(iterator.hasNext());
        assertThrows(NoSuchElementException.class, () -> iterator.next());
        assertThrows(IllegalStateException.class, () -> iterable.iterator());
      }
    
      public void testOf_one() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/TraverserUtilTest.java

    import org.codelibs.core.lang.ClassUtil;
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class TraverserUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testFromClass_FileSystem() throws Exception {
            final Traverser traverser = TraversalUtil.getTraverser(DummyTest.class);
            assertThat(traverser, is(notNullValue()));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DosFileFilterTest.java

     */
    @ExtendWith(MockitoExtension.class)
    class DosFileFilterTest {
    
        @Mock
        private SmbFile mockFile;
    
        private DosFileFilter dosFileFilter;
    
        @BeforeEach
        void setUp() {
            // Basic setup, specific filter attributes will be set in each test
        }
    
        /**
         * Tests the constructor of DosFileFilter.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/SourceSinkFactories.java

          }
    
          @Override
          public byte[] getExpected(byte[] data) {
            return factory.getExpected(new String(data, UTF_8)).getBytes(UTF_8);
          }
    
          @Override
          public void tearDown() throws IOException {
            factory.tearDown();
          }
        };
      }
    
      public static CharSourceFactory asCharSourceFactory(ByteSourceFactory factory) {
        checkNotNull(factory);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/ResponseDataUtilTest.java

    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * Test class for ResponseDataUtil.
     *
     * @author shinsuke
     */
    public class ResponseDataUtilTest extends PlainTestCase {
    
        public void test_createResponseBodyFile_basic() throws Exception {
            // Create a mock ResponseData
            ResponseData responseData = new ResponseData() {
                @Override
                public InputStream getResponseBody() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/JobLogService.java

         * @param jobLog the job log to store
         */
        public void store(final JobLog jobLog) {
    
            jobLogBhv.insertOrUpdate(jobLog, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        /**
         * Deletes a specific job log from the database.
         *
         * @param jobLog the job log to delete
         */
        public void delete(final JobLog jobLog) {
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

         * @param timeout the timeout in milliseconds
         */
        public void setTimeout(final long timeout) {
            this.timeout = timeout;
        }
    
        /**
         * Sets whether the extraction thread should be a daemon thread.
         * @param isDaemonThread true to make it a daemon thread, false otherwise.
         */
        public void setDaemonThread(final boolean isDaemonThread) {
            this.isDaemonThread = isDaemonThread;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

        }
    
        @Override
        public synchronized void insert(final StopwordsItem item) {
            try (StopwordsUpdater updater = new StopwordsUpdater(item)) {
                reload(updater);
            }
        }
    
        @Override
        public synchronized void update(final StopwordsItem item) {
            try (StopwordsUpdater updater = new StopwordsUpdater(item)) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

         */
        public void setHighlightedFields(final String[] highlightedFields) {
            this.highlightedFields = highlightedFields;
        }
    
        /**
         * Processes the highlighted fields using the provided stream consumer.
         *
         * @param stream consumer that processes the stream of highlighted field names
         */
        public void highlightedFields(final Consumer<Stream<String>> stream) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 21.9K bytes
    - Viewed (0)
Back to top