- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for test_list (0.07 sec)
-
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
assertEquals(Arrays.asList("aaa", "bbb"), (List<String>) DocumentUtil.getValue(doc, "key1", List.class)); } public void test_list() { Map<String, Object> doc = new HashMap<>(); doc.put("key1", Arrays.asList("aaa", "bbb")); assertArrayEquals(new String[] { "aaa", "bbb" }, DocumentUtil.getValue(doc, "key1", String[].class));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java
List<DuplicateHost> testList = new ArrayList<>(); DuplicateHost testHost = new DuplicateHost(); testHost.setRegularName("www.test.com"); testHost.setDuplicateHostName("test.com"); testList.add(testHost); helper.setDuplicateHostList(testList); assertEquals(testList, helper.duplicateHostList);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 6.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java
set.intersection(ContiguousSet.create(Range.open(-1, 4), integers()))); assertEquals( ImmutableSet.of(3), set.intersection(ContiguousSet.create(Range.closed(3, 5), integers()))); } public void testAsList() { ImmutableList<Integer> list = ContiguousSet.create(Range.closed(1, 3), integers()).asList(); for (int i = 0; i < 3; i++) { assertEquals(i + 1, list.get(i).intValue()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ContiguousSetTest.java
set.intersection(ContiguousSet.create(Range.open(-1, 4), integers()))); assertEquals( ImmutableSet.of(3), set.intersection(ContiguousSet.create(Range.closed(3, 5), integers()))); } public void testAsList() { ImmutableList<Integer> list = ContiguousSet.create(Range.closed(1, 3), integers()).asList(); for (int i = 0; i < 3; i++) { assertEquals(i + 1, list.get(i).intValue()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java
final FieldDesc aaa = beanDesc.getFieldDesc("aaa"); aaa.setStaticFieldValue(String.class); } /** * @throws Exception */ @Test public void testList() throws Exception { final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); final FieldDesc hoge = beanDesc.getFieldDesc("list");
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
assertThat(GenericsUtil.getGenericParameter(t2, 0), is(sameClass(String.class))); } /** * @throws Exception */ public void testList() throws Exception { final Method m1 = ListType.class.getMethod("listOfString"); final Type t1 = m1.getGenericReturnType(); assertThat(GenericsUtil.isTypeOf(t1, List.class), is(true));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java
assertEquals(a, sortedSet.last()); } @CollectionSize.Require(SEVERAL) public void testFirst() { assertEquals(a, sortedSet.first()); } @CollectionSize.Require(SEVERAL) public void testLast() { assertEquals(c, sortedSet.last()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
} @CollectionSize.Require(SEVERAL) public void testFirst() { assertEquals(a.getKey(), navigableMap.firstKey()); } @CollectionSize.Require(SEVERAL) public void testLast() { assertEquals(c.getKey(), navigableMap.lastKey()); } @CollectionSize.Require(absent = ZERO) public void testHeadMapExclusive() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 6.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
public void testToObjectArray_NoArray() throws Exception { ArrayUtil.toObjectArray("a"); } /** * @throws Exception */ @Test public void testToList() throws Exception { final Object a = new int[] { 1, 5 }; final List<Integer> list = ArrayUtil.toList(a); assertThat(list.get(0), is(Integer.valueOf(1)));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 10.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
} public void testImmutableTable() { assertFreshInstance(new TypeToken<ImmutableTable<String, Integer, ImmutableList<String>>>() {}); } public void testList() { assertFreshInstance(new TypeToken<List<String>>() {}); assertNotInstantiable(new TypeToken<List<EmptyEnum>>() {}); } public void testArrayList() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 17.3K bytes - Viewed (0)