- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 62 for testValue (0.08 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapValuesTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultimapValuesTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> { public void testValues() { List<V> expected = new ArrayList<>(); for (Entry<K, V> entry : getSampleElements()) { expected.add(entry.getValue()); } assertEqualIgnoringOrder(expected, multimap().values()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 13.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapValuesTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultimapValuesTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> { public void testValues() { List<V> expected = new ArrayList<>(); for (Entry<K, V> entry : getSampleElements()) { expected.add(entry.getValue()); } assertEqualIgnoringOrder(expected, multimap().values()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java
} public void testIsEmpty() { assertFalse(testTable.isEmpty()); } public void testSize() { assertEquals(1, testTable.size()); } public void testValues() { assertThat(testTable.values()).contains("blah"); } @Override Iterable<ImmutableTable<Character, Integer, String>> getTestInstances() { return ImmutableSet.of(testTable); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java
public int getLtrWindowSize() { return testWindowSize; } }); Map<String, Object> params = new HashMap<>(); params.put("string_param", "test_value"); params.put("int_param", 42); params.put("double_param", 3.14); params.put("boolean_param", true); Map<String, String> nestedMap = new HashMap<>();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java
} public void testCellSet() { for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { assertEquals(CELLS, testInstance.cellSet()); } } public void testValues() { for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { assertThat(testInstance.values()).containsExactly("foo", "bar", "baz").inOrder(); } } public void testSize() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
Map<String, Integer> map = create(); Set<String> keySet = map.keySet(); assertTrue(keySet instanceof SynchronizedSet); assertSame(mutex, ((SynchronizedSet<?>) keySet).mutex); } public void testValues() { Map<String, Integer> map = create(); Collection<Integer> values = map.values(); assertTrue(values instanceof SynchronizedCollection); assertSame(mutex, ((SynchronizedCollection<?>) values).mutex);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 28 19:11:14 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java
boolean[] pbCallExecuted = { false }; Consumer<ProcessBuilder> pbCall = pb -> { pb.redirectErrorStream(true); pb.environment().put("TEST_VAR", "test_value"); pbCallExecuted[0] = true; }; try { JobProcess jobProcess = processHelper.startProcess(sessionId, cmdList, pbCall); assertNotNull(jobProcess);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java
assertTrue(localLogMsg.get().contains("\"event.dataset\":\"test-dataset\"")); } public void test_setEnvMap() { Map<String, String> testEnv = new HashMap<>(); testEnv.put("TEST_KEY", "TEST_VALUE"); activityHelper.setEnvMap(testEnv); assertEquals(testEnv, activityHelper.getEnvMap()); } public void test_getEnvMap_withoutCustomMap() { activityHelper.setEnvMap(null);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 18.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
Set<String> keys = bimap.keySet(); assertEquals(newHashSet("one", "two", "three", "four"), keys); assertThat(keys).containsExactly("one", "two", "three", "four").inOrder(); } public void testValues() { ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf(ImmutableMap.of("one", 1, "two", 2, "three", 3, "four", 4)); Set<Integer> values = bimap.values();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.2K bytes - Viewed (0)