- Sort Score
- Result 10 results
- Languages All
Results 1221 - 1230 of 3,933 for avoid (0.02 sec)
-
android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java
public void testSingleTearDown() throws Exception { TearDownStack stack = buildTearDownStack(); SimpleTearDown tearDown = new SimpleTearDown(); stack.addTearDown(tearDown); assertEquals(false, tearDown.ran); stack.runTearDown(); assertEquals("tearDown should have run", true, tearDown.ran); } public void testMultipleTearDownsHappenInOrder() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 4.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java
@CollectionSize.Require(absent = ZERO) public void testGetOrDefault_present() { assertEquals( "getOrDefault(present, def) should return the associated value", v0(), getMap().getOrDefault(k0(), v3())); } @CollectionSize.Require(absent = ZERO) public void testGetOrDefault_presentNullDefault() { assertEquals(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
@Mock private Configuration mockDelegate; private DelegatingConfiguration delegatingConfig; @BeforeEach void setUp() { delegatingConfig = new DelegatingConfiguration(mockDelegate); } @Test @DisplayName("Constructor should require non-null delegate") void testConstructorWithNullDelegate() { // When & Then assertDoesNotThrow(() -> {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueue.java
* @param id the unique identifier to set */ void setId(IDTYPE id); /** * Retrieves the session ID associated with this URL queue. * * @return the session ID as a String. */ String getSessionId(); /** * Sets the session ID for the URL queue. * * @param sessionId the session ID to set */ void setSessionId(String sessionId); /**Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 4.3K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
* Unit test for {@link ArbitraryInstances}. * * @author Ben Yu */ @NullUnmarked public class ArbitraryInstancesTest extends TestCase { public void testGet_primitives() { assertNull(ArbitraryInstances.get(void.class)); assertNull(ArbitraryInstances.get(Void.class)); assertEquals(Boolean.FALSE, ArbitraryInstances.get(boolean.class)); assertEquals(Boolean.FALSE, ArbitraryInstances.get(Boolean.class));Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 22.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
} public void test_list() { Map<String, Object> doc = new HashMap<>(); doc.put("key1", Arrays.asList("aaa", "bbb")); assertArrayEquals(new String[] { "aaa", "bbb" }, DocumentUtil.getValue(doc, "key1", String[].class)); assertEquals(Arrays.asList("aaa", "bbb"), (List<String>) DocumentUtil.getValue(doc, "key1", List.class)); } public void test_integer() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
private TransWaitNamedPipeResponse response; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); response = new TransWaitNamedPipeResponse(mockConfig); } @Test @DisplayName("Constructor should initialize TransWaitNamedPipeResponse") void testConstructor() { // Assert assertNotNull(response);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
@BeforeAll static void setUpClass() { // Save original property originalLmCompatibility = System.getProperty("jcifs.smb1.smb.lmCompatibility"); // Set default for tests jcifs.smb1.Config.setProperty("jcifs.smb1.smb.lmCompatibility", "3"); } @AfterAll static void tearDownClass() { // Restore original propertyRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java
} private FessCurtainFinallyHook curtainFinallyHook; @Override public void setUp() throws Exception { super.setUp(); curtainFinallyHook = new FessCurtainFinallyHook(); } // Test normal execution of hook method public void test_hook_normalExecution() { // Create a mock FwAssistantDirectorRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/outside/AnnotatedNotAbstractInSuperclassTest.java
@Subscribe public void notOverriddenInSubclass(Object o) { notOverriddenInSubclassEvents.add(o); } @Subscribe public void overriddenNotAnnotatedInSubclass(Object o) { overriddenNotAnnotatedInSubclassEvents.add(o); } @Subscribe public void overriddenAndAnnotatedInSubclass(Object o) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.2K bytes - Viewed (0)