- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 15 for testValues (0.11 seconds)
-
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java
@Test public void test_getTimeAdjustTimeMillis_stringValues() { // Test various string formats String[] testValues = { "0", "1000", "-1000", "999999999", "-999999999", "1", "-1" }; for (String value : testValues) { FessConfig testConfig = new FessConfig.SimpleImpl() { private static final long serialVersionUID = 1L; @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
// Test various values long[] testValues = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 0x123456789ABCDEFL }; for (long testValue : testValues) { // Create and encode FileEndOfFileInformation original = new FileEndOfFileInformation(testValue); byte[] buffer = new byte[8]; int encoded = original.encode(buffer, 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java
} @Test public void test_encode_decode_symmetry() { String[] testValues = { "guest", "{user}guest", "{group}guest", "{role}guest", "(deny){user}guest", "(deny){group}guest", "(deny){role}guest" }; for (String value : testValues) { String encoded = permissionHelper.encode(value); if (encoded != null) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
}; for (long testValue : testValues) { FileInternalInfo testInfo = new FileInternalInfo(); byte[] buffer = new byte[8]; SMBUtil.writeInt8(testValue, buffer, 0); int bytesDecoded = testInfo.decode(buffer, 0, buffer.length); assertEquals(8, bytesDecoded); assertEquals(testValue, testInfo.getIndexNumber());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/SystemUtilTest.java
try { // Test multiple value changes String[] testValues = { "http://localhost:9200", "https://elasticsearch.example.com", "http://127.0.0.1:9201", "https://search.domain.com:443" }; for (String testValue : testValues) { System.setProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS, testValue); String result = SystemUtil.getSearchEngineHttpAddress();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 17.1K bytes - Click Count (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();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 21.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
} catch (UnsupportedOperationException | NullPointerException e) { // Expected. } } assertInvariants(map); } public void testValues() { Map<K, V> map; try { map = makePopulatedMap(); } catch (UnsupportedOperationException e) { return; } assertInvariants(map);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 43.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
} catch (UnsupportedOperationException | NullPointerException e) { // Expected. } } assertInvariants(map); } public void testValues() { Map<K, V> map; try { map = makePopulatedMap(); } catch (UnsupportedOperationException e) { return; } assertInvariants(map);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 43.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/OptionalUtilTest.java
List<String> testValue = null; OptionalEntity<List<String>> result = OptionalUtil.ofNullable(testValue); assertNotNull(result); assertFalse(result.isPresent()); } @Test public void test_ofNullable_withMap() { Map<String, Object> testValue = new HashMap<>(); testValue.put("key1", "value1"); testValue.put("key2", 42);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
// Given: NdrShort with test value int testValue = 123; NdrShort ndrShort = new NdrShort(testValue); // When: Encoding the value ndrShort.encode(mockBuffer); // Then: Should call enc_ndr_short with masked value verify(mockBuffer).enc_ndr_short(testValue & 0xFF); verifyNoMoreInteractions(mockBuffer); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.2K bytes - Click Count (0)