Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1131 - 1140 of 4,254 for avoid (0.03 sec)

  1. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

    import org.codelibs.fess.suggest.exception.SuggesterException;
    import org.codelibs.fess.suggest.request.suggest.SuggestResponse;
    import org.junit.Test;
    
    public class DeferredTest {
        @Test
        public void test_doneBeforeResolve() throws Exception {
            final Deferred<SuggestResponse> deferred = new Deferred<>();
    
            Thread th = new Thread(() -> {
                try {
                    Thread.sleep(1000);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

                    return null;
                }
            };
        }
    
        @Test
        void testGetModel() {
            ToolchainModel model = new ToolchainModel();
            DefaultToolchain toolchain = newDefaultToolchain(model);
            assertEquals(model, toolchain.getModel());
        }
    
        @Test
        void testGetType() {
            ToolchainModel model = new ToolchainModel();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      }
    
      public void testEmpty_tailSet() {
        SortedSet<String> set = of();
        assertSame(set, set.tailSet("f"));
      }
    
      public void testEmpty_subSet() {
        SortedSet<String> set = of();
        assertSame(set, set.subSet("c", "f"));
      }
    
      public void testEmpty_first() {
        SortedSet<String> set = of();
        assertThrows(NoSuchElementException.class, () -> set.first());
      }
    
      public void testEmpty_last() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

    @NullUnmarked
    public class TypeResolverTest extends TestCase {
    
      public void testWhere_noMapping() {
        Type t = aTypeVariable();
        assertEquals(t, new TypeResolver().resolveType(t));
      }
    
      public void testWhere_typeVariableMapping() {
        Type t = aTypeVariable();
        assertEquals(String.class, new TypeResolver().where(t, String.class).resolveType(t));
      }
    
      public <T> void testWhere_indirectMapping() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/ClassPathTest.java

      }
    
      @AndroidIncompatible // Android forbids null parent ClassLoader
      public void testClassPathEntries_emptyURLClassLoader_noParent() {
        assertThat(ClassPath.getClassPathEntries(new URLClassLoader(new URL[0], null)).keySet())
            .isEmpty();
      }
    
      @AndroidIncompatible // Android forbids null parent ClassLoader
      public void testClassPathEntries_urlClassLoader_noParent() throws Exception {
        URL url1 = new URL("file:/a");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

            byte[] buf = new byte[length];
            Arrays.fill(buf, (byte) 0xFF);
            return buf;
        }
    
        @Test
        @DisplayName("constructor initialises command and parameters correctly")
        void testConstructorInitialisesFields() throws Exception {
            int level = 42;
            Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(level);
            // constants are defined on SmbComTransaction, inherited via
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/pager/LabelTypePager.java

        public String createdTime;
    
        /** The version number of the label type. */
        public String versionNo;
    
        /**
         * Clears the pager fields.
         */
        public void clear() {
            allRecordCount = 0;
            allPageCount = 0;
            existPrePage = false;
            existNextPage = false;
            pageSize = getDefaultPageSize();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/pager/BadWordPager.java

         * Default constructor for BadWordPager.
         */
        public BadWordPager() {
            // Default constructor
        }
    
        /**
         * Clears all search criteria and resets pagination settings.
         */
        public void clear() {
            allRecordCount = 0;
            allPageCount = 0;
            existPrePage = false;
            existNextPage = false;
            pageSize = getDefaultPageSize();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

        assertSame(map, ImmutableClassToInstanceMap.copyOf(map));
      }
    
      public void testOf_zero() {
        assertTrue(ImmutableClassToInstanceMap.of().isEmpty());
      }
    
      public void testOf_one() {
        ImmutableClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.of(int.class, 1);
        assertEquals(1, map.size());
      }
    
      public void testCopyOf_map_valid() {
        Map<Class<? extends Number>, Number> in = new HashMap<>();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      // maximum size, size of initial contents, default capacity...
    
      private static void checkNatural(MinMaxPriorityQueue<Integer> queue) {
        assertSame(Ordering.natural(), queue.comparator());
      }
    
      private static void checkUnbounded(MinMaxPriorityQueue<Integer> queue) {
        assertEquals(Integer.MAX_VALUE, queue.maximumSize);
      }
    
      public void testHeapIntact() {
        Random random = new Random(0);
        int heapSize = 99;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.1K bytes
    - Viewed (0)
Back to top