- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 3,275 for Test (0.02 sec)
-
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
@Test @DisplayName("Test isDFSSupported returns false") void testIsDFSSupportedFalse() { // Arrange when(negotiationResponse.isDFSSupported()).thenReturn(false); // Act boolean result = negotiationResponse.isDFSSupported(); // Assert assertFalse(result); verify(negotiationResponse).isDFSSupported(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * Comprehensive test suite for jcifs.SmbResource interface. * Tests SMB resource interface contract and functionality for CIFS/SMB protocol compliance. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
}); } @Test public void testStringWithControlChars() throws Exception { assertThrows(SmbException.class, () -> { validator.validateString("test\u0001string", 100, "test"); }); } @Test public void testStringWithAllowedWhitespace() throws Exception { validator.validateString("test\tstring", 100, "test");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
import assertk.assertions.hasMessage import assertk.assertions.isEqualTo import assertk.assertions.isNull import kotlin.test.Ignore import kotlin.test.Test import kotlin.test.assertEquals import kotlin.test.assertFailsWith import kotlin.test.fail import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.UrlComponentEncodingTester.Encoding
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** * Test class for SecurityInfo interface constants */ class SecurityInfoTest { @Test @DisplayName("Test OWNER_SECURITY_INFO constant value") void testOwnerSecurityInfo() { assertEquals(0x1, SecurityInfo.OWNER_SECURITY_INFO); } @Test @DisplayName("Test GROUP_SECURITY_INFO constant value")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
// Test with concrete implementation - requires server to be set assertDoesNotThrow(() -> concreteImplementation.fixupHost(fqdn)); } @Test @DisplayName("Should fixup domain") void testFixupDomain() { String domain = "example.com"; // Test with mock doNothing().when(mockReferralData).fixupDomain(domain);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
testBlock.setUseUnicode(true); assertEquals(10, testBlock.stringWireLength("Test", 0)); assertEquals(11, testBlock.stringWireLength("Test", 1)); } @Test @DisplayName("Test read string length") void testReadStringLength() { byte[] buffer = "Test\0Other".getBytes();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
import java.util.concurrent.TimeUnit; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** * Test secure password handling in NtlmPasswordAuthenticator */ public class NtlmPasswordAuthenticatorTest { /** * Test password storage using char arrays */ @Test public void testPasswordAsCharArray() { String testPassword = "TestPassword123!";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java
assertTrue(urlFilter.match("https://example.com/search?q=test")); assertTrue(urlFilter.match("https://example.com/search?q=test&page=2")); assertFalse(urlFilter.match("https://example.com/search?debug=true")); assertFalse(urlFilter.match("https://example.com/search?q=test&debug=true")); } /** * Test processUrl method with various URL patterns */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
fileInfo = new FileEndOfFileInformation(); } @Test @DisplayName("Test default constructor creates valid instance") void testDefaultConstructor() { // Verify instance is created assertNotNull(fileInfo); assertEquals(FileInformation.FILE_ENDOFFILE_INFO, fileInfo.getFileInformationLevel()); } @Test @DisplayName("Test parameterized constructor with end of file value")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0)