- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 120 for 1900 (0.02 seconds)
-
guava-tests/test/com/google/common/base/SplitterTest.java
assertThrows( IllegalArgumentException.class, () -> COMMA_SPLITTER.withKeyValueSeparator("=").split("a=1,b,c=2")); } /** * Testing the behavior in https://github.com/google/guava/issues/1900 - this behavior may want to * be changed? */ public void testMapSplitter_extraValueDelimiter() { assertThrows( IllegalArgumentException.class,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 29.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java
// Default buffer size is 1000; offer more than that for (int i = 0; i < 1100; i++) { helper.offer(new LogNotificationEvent(i, "ERROR", "org.test", "msg" + i, null)); } List<LogNotificationEvent> events = helper.drainAll(); // Should be capped at buffer size (1000) assertTrue(events.size() <= 1000); assertTrue(events.size() > 0); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 6.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
Stopwatch stopwatch = Stopwatch.createStarted(); Condition condition = TestCondition.createAndSignalAfter(1000, MILLISECONDS); requestInterruptIn(500); boolean returnedBeforeTimeout = awaitUninterruptibly(condition, 1500, MILLISECONDS); assertTrue(returnedBeforeTimeout); assertTimeNotPassed(stopwatch, LONG_DELAY_MS); assertInterrupted(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
Stopwatch stopwatch = Stopwatch.createStarted(); Condition condition = TestCondition.createAndSignalAfter(1000, MILLISECONDS); requestInterruptIn(500); boolean returnedBeforeTimeout = awaitUninterruptibly(condition, 1500, MILLISECONDS); assertTrue(returnedBeforeTimeout); assertTimeNotPassed(stopwatch, LONG_DELAY_MS); assertInterrupted(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java
encrypted = false; value = System.currentTimeMillis() / 1000 + "\nrole1"; roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted); assertEquals(1, roleSet.size()); assertTrue(roleSet.contains("role1")); encrypted = false; value = System.currentTimeMillis() / 1000 + "\nrole1,role2"; roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 28.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
for (int i = 0; i < 1000; i++) { pool.execute(() -> { assertEquals(result, crawlingInfoHelper.generateId(dataMap)); counter.incrementAndGet(); }); } pool.shutdown(); pool.awaitTermination(10, TimeUnit.SECONDS); assertEquals(1000, counter.get()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 28.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/StopwatchTest.java
assertThat(stopwatch.toString()).isEqualTo("0.000 ns"); ticker.advance(1); assertThat(stopwatch.toString()).isEqualTo("1.000 ns"); ticker.advance(998); assertThat(stopwatch.toString()).isEqualTo("999.0 ns"); ticker.advance(1); assertThat(stopwatch.toString()).isEqualTo("1.000 \u03bcs"); ticker.advance(1); assertThat(stopwatch.toString()).isEqualTo("1.001 \u03bcs"); ticker.advance(8998);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java
public void test_getDetectText_longText() { StringBuilder sb = new StringBuilder(); for (int i = 0; i < 1100; i++) { sb.append("a"); } String longText = sb.toString(); String result = languageHelper.getDetectText(longText); assertEquals(1000, result.length()); } @Test public void test_getDetectText_whitespaceNormalization() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java
@Size(max = 1000) public String ldapSecurityAuthentication; /** LDAP initial context factory class name. */ @Size(max = 1000) public String ldapInitialContextFactory; /** OpenID Connect client ID. */ @Size(max = 1000) public String oicClientId; /** OpenID Connect client secret. */ @Size(max = 1000) public String oicClientSecret;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 15.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
CacheBuilder.newBuilder().expireAfterAccess(1000, MILLISECONDS).ticker(fakeTicker).build(); cache.put(0, 10); cache.put(2, 30); fakeTicker.advance(999, MILLISECONDS); assertThat(cache.getIfPresent(2)).isEqualTo(30); fakeTicker.advance(1, MILLISECONDS); assertThat(cache.getIfPresent(2)).isEqualTo(30); fakeTicker.advance(1000, MILLISECONDS); assertThat(cache.getIfPresent(0)).isNull();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15K bytes - Click Count (0)