- Sort Score
- Result 10 results
- Languages All
Results 611 - 620 of 1,603 for best (0.03 sec)
-
src/test/java/jcifs/internal/NotifyResponseTest.java
// Test interface implementation assertTrue(response instanceof NotifyResponse); assertTrue(response instanceof CommonServerMessageBlockResponse); // Test initial state List<FileNotifyInformation> notifications = response.getNotifyInformation(); assertNotNull(notifications); assertTrue(notifications.isEmpty()); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/NameServiceClientTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; class NameServiceClientTest { @Mock private NameServiceClient nameServiceClient; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test void testGetLocalHost() { // ArrangeRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
if (returned != null) { assertEquals(url, returned.toString()); } // Test that getAddress returns null for our dummy implementation assertNull(loc.getAddress()); } @Test @DisplayName("Test DFS referral data") void testDfsReferralData() throws Exception { String url = "smb://server/share/path/";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; 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.params.ParameterizedTest; import org.junit.jupiter.params.provider.CsvSource; import org.junit.jupiter.params.provider.ValueSource; import jcifs.internal.util.SMBUtil;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K 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/org/codelibs/fess/entity/FacetQueryViewTest.java
} public void test_toString_withEmptyQueryMap() { facetQueryView.setTitle("Empty Map Test"); String result = facetQueryView.toString(); assertNotNull(result); assertTrue(result.contains("title=Empty Map Test")); assertTrue(result.contains("queryMap={}")); } // Test edge cases public void test_addQuery_withNullValues() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; /**
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/pac/kerberos/KerberosEncDataTest.java
assertNotNull(encData.getUserAuthorizations()); // Assuming KerberosAuthData.parse is tested elsewhere and might return empty for this test case assertTrue(encData.getUserAuthorizations().isEmpty()); } /** * Test constructor with a malformed token. */ @Test void testConstructorMalformed() { byte[] malformedToken = new byte[] { 0x01, 0x02, 0x03, 0x04 };
Registered: 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/http/NetworkExplorerTest.java
verify(response).flushBuffer(); } /** * Test doGet with NTLM authentication for directory listing * This test verifies the authentication flow without actual network operations */ @Test void testDoGet_DirectoryListing() throws Exception { // Create a test-specific NetworkExplorer that mocks file operations networkExplorer = new NetworkExplorer() {
Registered: 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)