- Sort Score
- Num 10 results
- Language All
Results 2521 - 2530 of 5,742 for text (0.09 seconds)
-
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
private static final String TEST_PIPE_NAME = "\\\\PIPE\\\\testpipe"; private static final byte[] TEST_DATA = "Test pipe data".getBytes(); @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Test constructor initializes fields correctly") void testConstructorInitialization() { // Given int offset = 0;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/FessUserTest.java
import org.junit.jupiter.api.Test; public class FessUserTest extends UnitFessTestCase { @Test public void test_getName() { // Test with normal user name FessUser user = new TestFessUser("testuser", new String[] { "role1" }, new String[] { "group1" }, new String[] { "perm1" }); assertEquals("testuser", user.getName()); // Test with empty nameCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 11.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/OptionalUtilTest.java
import java.util.Map; import org.codelibs.fess.unit.UnitFessTestCase; import org.dbflute.optional.OptionalEntity; import org.junit.jupiter.api.Test; public class OptionalUtilTest extends UnitFessTestCase { @Test public void test_ofNullable_withNonNullString() { String testValue = "test string"; OptionalEntity<String> result = OptionalUtil.ofNullable(testValue); assertNotNull(result);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.3K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
import java.util.Date; import org.junit.jupiter.api.Test; import jcifs.SmbConstants; import jcifs.smb.SID; public class PacDataInputStreamTest { // Helper to create PacDataInputStream from a byte array private PacDataInputStream createInputStream(byte[] data) throws IOException { return new PacDataInputStream(new ByteArrayInputStream(data)); } @Test public void testAlign() throws IOException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 9.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java
// Not used for this test return new HashMap<>(); } @Override protected Map<String, Object> getUpdateMap() { // Not used for this test return new HashMap<>(); } @Override @AfterEach protected void tearDown() { // Custom teardown in tearDownAll } @Test void bulkOperationsTest() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java
import org.junit.jupiter.api.Test; import jcifs.dcerpc.rpc; import jcifs.dcerpc.ndr.NdrBuffer; import jcifs.dcerpc.ndr.NdrException; /** * Integration tests for lsarpc classes using real NdrBuffer implementations */ class lsarpcIntegrationTest { @Test void testLsarDomainInfoEncodeDecodeRoundTrip() throws NdrException { // Create a domain info with test dataCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
// Try to get a Subject, but handle the case where JAAS may not be configured Subject first = orig.getSubject(); // In test environments, getSubject() may return null if JAAS is not configured // This is acceptable behavior - the test should focus on the cloning logic // Clone and verify basic fields copied JAASAuthenticator copy = (JAASAuthenticator) orig.clone();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) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
return next != null; } @Override @ParametricNullness public K next() { checkForConcurrentModification(); if (next == null) { throw new NoSuchElementException(); } current = next; seenKeys.add(current.getKey()); do { // skip ahead to next unseen key next = next.next;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 26.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java
} // ========== Thread Safety Tests ========== /** * Test that the volatile alive field is visible across threads. * One thread sets alive to false, other threads should see the change immediately. */ @Test public void test_aliveField_volatileVisibility() throws Exception { // Ensure alive starts as trueCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (1) -
pom.xml
<version>2.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>5.11.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>testcontainers</artifactId> <version>1.21.3</version> <scope>test</scope> </dependency> <dependency>
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 12.1K bytes - Click Count (0)