Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 268 for arrayTest (0.06 sec)

  1. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

            mockBhv.setTestData(new ArrayList<>());
    
            int count = relatedContentHelper.load();
            assertEquals(0, count);
    
            String[] results = relatedContentHelper.getRelatedContents("anyterm");
            assertEquals(0, results.length);
        }
    
        public void test_load_simpleTerms() {
            List<RelatedContent> testData = new ArrayList<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Lists.java

      /**
       * Creates an {@code ArrayList} instance backed by an array with the specified initial size;
       * simply delegates to {@link ArrayList#ArrayList(int)}.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use {@code new }{@link ArrayList#ArrayList(int) ArrayList}{@code <>(int)} directly, taking
       * advantage of <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            final List<PathMapping> pathMappingList = new ArrayList<PathMapping>();
            pathMappingHelper.setPathMappingList(null, pathMappingList);
            assertNull(pathMappingHelper.getPathMappingList("test"));
        }
    
        public void test_setPathMappingList_withNullList() {
            final String sessionId = "test";
            final List<PathMapping> pathMappingList = new ArrayList<PathMapping>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ArrayListMultimap.java

       *     call, or switch to a {@code HashMap<K, ArrayList<V>>}.
       */
      @Deprecated
      public void trimToSize() {
        for (Collection<V> collection : backingMap().values()) {
          ArrayList<V> arrayList = (ArrayList<V>) collection;
          arrayList.trimToSize();
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

            BsUser entity1 = new BsUser();
            entity1.setName("user1");
    
            // Test ArrayList specifically (not just List interface)
            ArrayList<BsUser> arrayList = new ArrayList<>();
            arrayList.add(entity1);
    
            RenderDataUtil.register(data, "arrayList", arrayList);
    
            Object result = data.getDataMap().get("arrayList");
            assertNotNull(result);
            assertTrue(result instanceof List);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

            mockBhv.setTestData(new ArrayList<>());
    
            int count = relatedQueryHelper.load();
            assertEquals(0, count);
    
            String[] results = relatedQueryHelper.getRelatedQueries("anyterm");
            assertEquals(0, results.length);
        }
    
        public void test_load_singleTerm() {
            List<RelatedQuery> testData = new ArrayList<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                    crawlingInfoHelper.generateId(dataMap));
    
            final List<String> browserTypeList = new ArrayList<String>();
            dataMap.put("type", browserTypeList);
            final List<String> roleTypeList = new ArrayList<String>();
            dataMap.put("role", roleTypeList);
    
            assertEquals(
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        @SuppressWarnings("rawtypes") // raw class ArrayList.class
        Constructor<ArrayList> constructor = ArrayList.class.getConstructor();
        assertEquals(
            TypeToken.of(ArrayList.class),
            TypeToken.of(ArrayList.class).constructor(constructor).getOwnerType());
        assertEquals(
            new TypeToken<ArrayList<String>>() {},
            new TypeToken<ArrayList<String>>() {}.constructor(constructor).getOwnerType());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

            helper.duplicateHostList = new ArrayList<>();
    
            String url = "http://test.com";
            String result = helper.convert(url);
    
            assertEquals(url, result);
        }
    
        public void test_convert_multipleTransformations() {
            DuplicateHostHelper helper = new DuplicateHostHelper();
            helper.duplicateHostList = new ArrayList<>();
    
            DuplicateHost host1 = new DuplicateHost();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        List<ParameterNotInstantiableException> paramErrors = new ArrayList<>();
        List<ParameterHasNoDistinctValueException> distinctValueErrors = new ArrayList<>();
        List<InvocationTargetException> instantiationExceptions = new ArrayList<>();
        List<FactoryMethodReturnsNullException> nullErrors = new ArrayList<>();
        // Try factories with the greatest number of parameters.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
Back to top