- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 491 for assertNull (0.22 seconds)
-
src/test/java/org/codelibs/fess/suggest/index/contents/querylog/QueryLogTest.java
*/ package org.codelibs.fess.suggest.index.contents.querylog; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import org.junit.Test; public class QueryLogTest { @Test public void test_constructor() throws Exception { QueryLog queryLog = new QueryLog("test query", "test filter");Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Nov 13 00:40:54 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
package jcifs.pac.kerberos; import static org.junit.jupiter.api.Assertions.assertEquals; 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.io.IOException; import javax.security.auth.kerberos.KerberosKey; import org.bouncycastle.asn1.ASN1Encodable; import org.bouncycastle.asn1.ASN1EncodableVector;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
// Assert assertEquals(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE, context.getContextType()); assertNull(context.getHashAlgos()); assertNull(context.getSalt()); } @Test @DisplayName("Should encode context correctly") void testEncode() { // ArrangeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ldap/LdapUserTest.java
// Test constructor initializes fields correctly LdapUser user = new LdapUser(testEnv, "username"); assertEquals("username", user.getName()); assertSame(testEnv, user.getEnvironment()); assertNull(user.permissions); } @Test public void test_getName() { // Test getName returns the correct name assertEquals("testuser", ldapUser.getName()); // Test with different namesCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java
for (int i = 0; i < getNumElements(); i++) { assertTrue( "toArray(overSizedE[]) should contain element " + expectedSubArray[i], subArray.contains(expectedSubArray[i])); } assertNull( "The array element immediately following the end of the collection should be nulled", array[getNumElements()]); // array[getNumElements() + 1] might or might not have been nulled }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 8.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; 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; import static org.mockito.ArgumentMatchers.any;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.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.assertTrue; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.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.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.atLeastOnce;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java
public void test_getMapValue_notMap() { final Map<String, Object> map = Map.of("key", "string_value"); assertNull(coordinatorHelper.getMapValue(map, "key")); } @Test public void test_getMapValue_missing() { final Map<String, Object> map = Map.of("key", "value"); assertNull(coordinatorHelper.getMapValue(map, "nonexistent")); } @Test public void test_getListValue_exists() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 58.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
@DisplayName("Test setFullUNCPath and related getters") void testFullUNCPath() { request = new Smb2CreateRequest(mockConfig, "test\\file.txt"); assertNull(request.getFullUNCPath()); assertNull(request.getServer()); assertNull(request.getDomain()); request.setFullUNCPath("DOMAIN", "SERVER", "\\\\SERVER\\share\\file.txt"); assertEquals("DOMAIN", request.getDomain());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 18.6K bytes - Click Count (0)