- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 53 for testLeak (0.05 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureLeakTest.java
import org.jspecify.annotations.NullUnmarked; /** Tests for {@link ClosingFuture} leaks. */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class ClosingFutureLeakTest extends TestCase { public void testLeak() { TestCloseable closeable = new TestCloseable("closeable"); awaitClear(leakClosingFuture(closeable)); assertThat(closeable.awaitClosed()).isTrue(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ClosingFutureLeakTest.java
import org.jspecify.annotations.NullUnmarked; /** Tests for {@link ClosingFuture} leaks. */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class ClosingFutureLeakTest extends TestCase { public void testLeak() { TestCloseable closeable = new TestCloseable("closeable"); awaitClear(leakClosingFuture(closeable)); assertThat(closeable.awaitClosed()).isTrue(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.8K bytes - Click Count (0) -
src/archive/tar/reader_test.go
testRemaining{5, 5}, testRead{5, "hello", io.EOF}, testRemaining{0, 0}, }, }, { maker: makeReg{"hello, world", 50}, tests: []testFnc{ testRemaining{50, 50}, testRead{7, "hello, ", nil}, testRemaining{43, 43}, testRead{5, "world", nil}, testRemaining{38, 38}, testWriteTo{nil, 0, io.ErrUnexpectedEOF}, testRead{1, "", io.ErrUnexpectedEOF},Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Dec 30 15:28:53 GMT 2025 - 47.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionTest.java
} // Test validation with valid cron expressions @Test public void test_validCronExpressions() { TestBean bean = new TestBean(); // Test null value (should be valid) bean.setCronExpression(null); Set<ConstraintViolation<TestBean>> violations = validator.validate(bean); assertTrue(violations.isEmpty()); // Test empty string (should be valid)Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/LogTests.java
return null; } @Override protected Map<String, Object> getUpdateMap() { fail(); // Unreachable return null; } @Override protected void testRead() { final Map<String, Object> searchBody = new HashMap<>(); final String response = checkMethodBase(searchBody).get(API_PATH + "/" + LIST_ENDPOINT_SUFFIX).asString();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 2.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/StatsTests.java
@Override protected Map<String, Object> getUpdateMap() { fail("getUpdateMap is not supported for StatsTests"); return null; } @Override protected void testRead() { logger.info("[BEGIN] testRead"); final Map<String, Object> searchBody = new HashMap<>(); String response = checkGetMethod(searchBody, "").asString(); logger.info("Stats response: {}", response);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/dict/DictTests.java
return null; } @Override protected Map<String, Object> getUpdateMap() { fail(); // Unreachable return null; } @Override protected void testRead() { final Map<String, Object> searchBody = new HashMap<>(); String response = checkGetMethod(searchBody, "").asString(); final int total = JsonPath.from(response).getInt("response.total");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 2.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/BackupTests.java
return null; } @Override protected Map<String, Object> getUpdateMap() { fail(); // Unreachable return null; } @Override protected void testRead() { final Map<String, Object> searchBody = new HashMap<>(); final String response = checkMethodBase(searchBody).get(API_PATH + "/" + LIST_ENDPOINT_SUFFIX).asString();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 2.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/GeneralTests.java
return null; } @Override protected Map<String, Object> getUpdateMap() { fail(); // Unreachable return null; } @Override protected void testRead() { final Map<String, Object> searchBody = new HashMap<>(); String response = checkGetMethod(searchBody, "").asString(); final Map<String, Object> res = JsonPath.from(response).getMap("response.setting");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 2.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/SuggestTests.java
return null; } @Override protected Map<String, Object> getUpdateMap() { fail(); // Unreachable return null; } @Override protected void testRead() { final Map<String, Object> searchBody = new HashMap<>(); String response = checkGetMethod(searchBody, "").asString(); final Map<String, Object> res = JsonPath.from(response).getMap("response.setting");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 3.5K bytes - Click Count (0)