- Sort Score
- Num 10 results
- Language All
Results 541 - 550 of 879 for assertValue (0.07 seconds)
-
src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java
TestAuthenticationChain chain = new TestAuthenticationChain(); chain.changePasswordResult = false; boolean result = chain.changePassword("testuser", "newpassword"); assertFalse(result); assertEquals(1, chain.changePasswordCalls.size()); } // Test changePassword with null username @Test public void test_changePassword_nullUsername() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
package jcifs.smb; 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.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
@MapFeature.Require(SUPPORTS_PUT) public void testPutAllEmptyCollectionOnAbsentKey() { assertFalse(multimap().putAll(k3(), Collections.emptyList())); expectUnchanged(); } @MapFeature.Require(SUPPORTS_PUT) public void testPutAllEmptyIterableOnAbsentKey() { assertFalse(multimap().putAll(k3(), Collections::emptyIterator)); expectUnchanged(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 7.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
Socket s = mock(Socket.class); when(s.isClosed()).thenReturn(false); setField(transport, "socket", s); // Act & Assert assertFalse(transport.isDisconnected()); assertFalse(transport.isFailed()); // Close socket -> both should be true when(s.isClosed()).thenReturn(true); assertTrue(transport.isDisconnected());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/UntrustedInputFutureTest.java
public class UntrustedInputFutureTest extends AbstractAbstractFutureTest { @Override AbstractFuture<@Nullable Integer> newDelegate() { AbstractFuture<@Nullable Integer> future = new AbstractFuture<@Nullable Integer>() {}; assertFalse(future instanceof TrustedFuture); // sanity check return future; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 1.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java
thread.start(); thread.join(1000); assertTrue(thread.contains("exact line")); assertTrue(thread.contains("another line")); assertFalse(thread.contains("nonexistent")); } @Test public void test_contains_withTrimming() throws InterruptedException { String input = " trimmed line \n\tanother\t";
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 12K bytes - Click Count (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
void testIsAnonymousAndGuestFalse() { JAASAuthenticator auth = new JAASAuthenticator(); // JAAS-based authenticator should never be anonymous or guest assertFalse(auth.isAnonymous()); assertFalse(auth.isGuest()); } @ParameterizedTest @EnumSource(SubjectVariant.class) @DisplayName("getSubject: caches results and refresh resets cache")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/PluginTests.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.it.admin; import static org.hamcrest.Matchers.equalTo; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import org.codelibs.core.lang.ThreadUtil;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
package jcifs.smb; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 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.assertTrue; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java
MockExecutor mock = new MockExecutor(); TestExecutor testExecutor = new TestExecutor(mock); assertFalse(testExecutor.awaitTermination(10, MILLISECONDS)); mock.assertLastMethodCalled("awaitTermination"); assertFalse(testExecutor.isTerminated()); mock.assertLastMethodCalled("isTerminated"); assertFalse(testExecutor.isShutdown()); mock.assertLastMethodCalled("isShutdown"); testExecutor.shutdown();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 10.1K bytes - Click Count (0)