- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for test_head (0.87 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
import junit.framework.AssertionFailedError; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * A helper for concurrency testing. One or more {@code TestThread} instances are instantiated in a * test with reference to the same "lock-like object", and then their interactions with that object * are choreographed via the various methods on this class. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 11.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
import junit.framework.AssertionFailedError; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * A helper for concurrency testing. One or more {@code TestThread} instances are instantiated in a * test with reference to the same "lock-like object", and then their interactions with that object * are choreographed via the various methods on this class. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 11.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java
String seed = "test_seed"; String[] tags = null; String[] roles = null; String[] fields = null; String[] excludes = null; String result = popularWordHelper.getCacheKey(seed, tags, roles, fields, excludes); assertNotNull(result); assertTrue(result.contains("test_seed"));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/SchedulerTests.java
final Map<String, Object> updateMap = new HashMap<>(); updateMap.put("target", "new_target"); return updateMap; } @Test void crudTest() { testCreate(); testRead(); testUpdate(); testDelete(); } @Test void testStartJob_notFound() { // Try to start a non-existent job
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 2.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
// Test with normal thread Thread testThread = new Thread(() -> { try { Thread.sleep(100); } catch (InterruptedException e) { // Ignore } }); testThread.start(); long startTime = System.currentTimeMillis(); method.invoke(crawler, testThread); long endTime = System.currentTimeMillis();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 30.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java
assertNull(testLdapManager.changePasswordUsername); assertNull(testLdapManager.changePasswordPassword); assertTrue(testLdapManager.changePasswordCalled); } @Test public void test_load() { // Test load method User user = createTestUser("testuser", "password123"); User result = ldapChain.load(user); assertSame(user, result);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteSourceTester.java
try { byte[] readBytes = ByteStreams.toByteArray(in); assertExpectedBytes(readBytes); } finally { in.close(); } } public void testRead() throws IOException { byte[] readBytes = source.read(); assertExpectedBytes(readBytes); } public void testCopyTo_outputStream() throws IOException {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 8.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTester.java
try { byte[] readBytes = ByteStreams.toByteArray(in); assertExpectedBytes(readBytes); } finally { in.close(); } } public void testRead() throws IOException { byte[] readBytes = source.read(); assertExpectedBytes(readBytes); } public void testCopyTo_outputStream() throws IOException {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 8.6K bytes - Click Count (0)