- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 508 for assertNull (0.06 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
} }); executionThread.start(); } }; @Override protected final void tearDown() { tearDownStack.runTearDown(); assertNull( "exceptions should not be propagated to uncaught exception handlers", thrownByExecutionThread); } public void testServiceStartStop() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 12.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/QueuesTest.java
} /** Checks that #drain() invocations behave correctly for a drained (empty) queue. */ private void assertDrained(BlockingQueue<Object> q) { assertNull(q.peek()); assertInterruptibleDrained(q); assertUninterruptibleDrained(q); } private void assertInterruptibleDrained(BlockingQueue<Object> q) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 12.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumBiMapTest.java
assertEquals(bimap1, bimap2); bimap2.inverse().put(Country.SWITZERLAND, Currency.FRANC); assertEquals(Country.SWITZERLAND, bimap2.get(Currency.FRANC)); assertNull(bimap1.get(Currency.FRANC)); assertFalse(bimap2.equals(bimap1)); /* Test that it can be empty. */ EnumBiMap<Currency, Country> emptyBimap = EnumBiMap.create(Currency.class, Country.class);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java
accessResultDataImpl.setEncoding(Constants.UTF_8); accessResultDataImpl.setTransformerName("htmlTransformer"); final Object obj = htmlTransformer.getData(accessResultDataImpl); assertNull(obj); } public void test_isValidPath_valid() { String value; value = "hoge.html"; assertTrue(htmlTransformer.isValidPath(value)); value = "./hoge.html";
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import java.nio.ByteBuffer; import java.security.SecureRandom; import java.util.ArrayList;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PythonJobTest.java
@Override public void tearDown() throws Exception { ComponentUtil.setFessConfig(null); super.tearDown(); } // Test filename setter public void test_filename() { assertNull(pythonJob.filename); PythonJob result = pythonJob.filename("test.py"); assertSame(pythonJob, result); assertEquals("test.py", pythonJob.filename); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
public void test_protocolTypeIsRequired() { try { final Method method = UriType.class.getMethod("protocolType"); assertNotNull("protocolType method should exist", method); assertNull("protocolType should not have default value", method.getDefaultValue()); } catch (final NoSuchMethodException e) { fail("protocolType method should exist"); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java
HttpServletResponse response = createMockResponse(); corsHandler.process(null, request, response); assertTrue("process should be called", processCalled); assertNull("origin should be null", processOrigin); assertEquals(request, processRequest); assertEquals(response, processResponse); } // Test process method with empty origin
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/SuggestJobTest.java
assertEquals(Constants.EXECUTE_TYPE_SUGGEST, suggestJob.getExecuteType()); } // Test session ID generation public void test_sessionIdGeneration() { assertNull(suggestJob.sessionId); mockProcessHelper.setExitValue(0); suggestJob.execute(); assertNotNull(suggestJob.sessionId); assertEquals(15, suggestJob.sessionId.length());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 31.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
boolean hung = !awaitUninterruptibly(callCompletedLatch, hangDelayMillis, TimeUnit.MILLISECONDS); if (hung) { assertEquals(expectedOutcome, Outcome.HANG); } else { assertNull(task.get(UNEXPECTED_HANG_DELAY_MILLIS, TimeUnit.MILLISECONDS)); } } @Override protected void tearDown() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27K bytes - Viewed (0)