- Sort Score
- Result 10 results
- Languages All
Results 801 - 810 of 3,196 for test (0.06 sec)
-
src/test/java/jcifs/config/BaseConfigurationTest.java
} @Test @DisplayName("Test getBatchLimit method") void testGetBatchLimit() { // Test default batch limit assertEquals(0, config.getBatchLimit("TreeConnectAndX.QueryInformation")); // Test unspecified batch limit assertEquals(1, config.getBatchLimit("UnknownCommand")); // Test caching behaviorRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
// No context mocks needed for static method test assertEquals(expected, SmbResourceLocatorImpl.queryLookup(query, key)); } @Test @DisplayName("resolveInContext builds relative paths with and without share") void testResolveInContext() { // Context without share: first element becomes share, rest path SmbResourceLocatorImpl base = locator("smb://server/");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
public class UriTypeTest extends UnitFessTestCase { // Test field with UriType annotation for WEB protocol @UriType(protocolType = ProtocolType.WEB) private String testFieldWeb; // Test field with UriType annotation for FILE protocol @UriType(protocolType = ProtocolType.FILE) private String testFieldFile; // Test field with custom messageRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtAddressTest.java
} @Test void testGetName() { // Test getName method mockName = new Name(mockConfig, "TEST", 0x20, null); NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE); assertSame(mockName, nbtAddress.getName()); } @Test void testGetAddress() { // Test getAddress for correct byte array conversionRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
} /** * Test decrypt with RC4 encryption. * * @throws GeneralSecurityException if a security error occurs */ @Test void testDecryptRc4() throws GeneralSecurityException { // This is a simplified test and does not use real encrypted data from Kerberos // It mainly tests the decryption logic pathRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
public int size() { return 0; } } @Nested @DisplayName("Interface Tests") class InterfaceTests { @Test @DisplayName("Should implement getContextType correctly") void testGetContextType() { // Test with different context types TestNegotiateContextRequest request1 = new TestNegotiateContextRequest(0x1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
verify(response, atLeastOnce()).setContentType("text/html"); } /** * Test doGet for file download * This test verifies the file serving flow without actual network operations */ @Test void testDoGet_FileDownload() throws Exception { // Create a test-specific NetworkExplorer that mocks file operationsRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DfsImplTest.java
// Instantiate the class under test dfsImpl = new DfsImpl(mockContext); } // Test for the constructor @Test void testDfsImplConstructor() { // The constructor is called in setUp(), so if no exception is thrown, this test passes. assertNotNull(dfsImpl); } // Tests for isTrustedDomain @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
import org.junit.jupiter.api.Disabled import org.junit.jupiter.api.Test internal class DerTest { @Test fun `decode tag and length`() { val buffer = Buffer() .writeByte(0b00011110) .writeByte(0b10000001) .writeByte(0b11001001) val derReader = DerReader(buffer) derReader.read("test") { header -> assertThat(header.tagClass).isEqualTo(DerHeader.TAG_CLASS_UNIVERSAL)Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 31.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
} @Test @DisplayName("Test getName method") void testGetName() { // Default constructor assertNull(shareInfo.getName()); // With name set SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK); assertEquals(TEST_NET_NAME, info.getName()); } @Test @DisplayName("Test getFileIndex always returns 0")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0)