- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 2,907 for xtest (0.02 sec)
-
src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java
final Pattern pattern = Pattern.compile("test"); final Matcher matcher = pattern.matcher("test"); final BiFunction<String, Matcher, String> pathMatcher = pathMappingHelper.createPathMatcher(matcher, "function:encodeUrl"); String result = pathMatcher.apply("http://example.com/test path", matcher); assertEquals("http://example.com/test+path", result); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 14.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
// Arbitrary behavior mapping for test purposes return (h && !u) || (!h && u); }); boolean result = transport.disconnect(hard, inuse); assertEquals(expected, result); verify(transport, times(1)).disconnect(hard, inuse); } // Error case: disconnect throws IOException @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
} @Test @DisplayName("Test buffer boundary conditions") void testBufferBoundaryConditions() { trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION); // Test with minimal buffer size byte[] minBuffer = new byte[2];Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
return parsed; } } @Test @DisplayName("Default state is null for both fields") void defaultStateIsNull() { TestSpnegoToken t = new TestSpnegoToken(); assertNull(t.getMechanismToken(), "mechanismToken should default to null"); assertNull(t.getMechanismListMIC(), "mechanismListMIC should default to null"); } @Test @DisplayName("Setter and getter for mechanismToken work")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
@Test public void testGetName() throws MalformedURLException { // Test file name extraction assertEquals("file.txt", new SmbFile("smb1://server/share/file.txt").getName()); // Test directory name extraction (should include trailing slash) assertEquals("dir/", new SmbFile("smb1://server/share/dir/").getName()); // Test share name extractionRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import org.junit.jupiter.api.Test; import jcifs.Configuration; class AvSingleHostTest { /** * Test constructor AvSingleHost(byte[] raw). * Should correctly parse the raw bytes. */ @Test void testAvSingleHostRawConstructor() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacUnicodeStringTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; import org.junit.jupiter.api.Test; /** * Tests for the {@link PacUnicodeString} class. */ class PacUnicodeStringTest { /** * Tests the constructor and getter methods. */ @Test void testConstructorAndGetters() { // Create a new instance with some test data short length = 10; short maxLength = 20;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt
import java.util.Random import kotlin.test.assertFailsWith import okhttp3.internal.format import okio.Buffer import okio.ByteString import okio.ByteString.Companion.EMPTY import okio.ByteString.Companion.decodeHex import okio.ByteString.Companion.encodeUtf8 import okio.ByteString.Companion.toByteString import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Test class WebSocketReaderTest {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeResourceTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.jupiter.api.Test; /** * Tests for the SmbPipeResource interface. * This test class primarily verifies the constant values defined in the interface. */ class SmbPipeResourceTest { /** * Test if the PIPE_TYPE_RDONLY constant has the correct value. */ @Test void testPipeTypeRdonly() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
} public void test_store_withValidData() { // Prepare test data DataStoreParams paramMap = new DataStoreParams(); Map<String, Object> dataMap = new HashMap<>(); dataMap.put("url", "http://example.com/test"); dataMap.put("title", "Test Document"); // Execute indexUpdateCallback.store(paramMap, dataMap); // VerifyRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0)