- Sort Score
- Result 10 results
- Languages All
Results 561 - 570 of 1,252 for best (0.03 sec)
-
src/test/java/jcifs/smb/SmbExceptionTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import jcifs.BaseTest; /** * Test class for SmbException functionality */ @DisplayName("SmbException Tests") class SmbExceptionTest extends BaseTest { @Test @DisplayName("Should create SmbException with NT status code")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
// Setup mock name lenient().when(mockName.writeWireFormat(any(byte[].class), anyInt())).thenReturn(34); mockName.hexCode = 0x20; mockName.name = "TEST"; mockName.scope = "test.scope"; } @Test void constructor_shouldInitializeFieldsCorrectly() throws Exception { // Act nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName); // AssertRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
} @Test @DisplayName("Test decode with different buffer offset") void testDecodeWithDifferentOffset() throws SMBProtocolDecodingException { // Prepare test data with different offset byte[] buffer = new byte[100]; int bufferIndex = 50; // Set test values int testCapabilities = 0xABCDEF00;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
* (that require system properties to be set for execution). * * Integration tests require system properties: * - rdma.test.enabled=true (to enable RDMA integration tests) * - rdma.test.server=hostname/IP (target server for testing) * - rdma.test.port=445 (target port, defaults to 445) */ public class RdmaIntegrationTest { private String testServer; private int testPort;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComBlankResponseTest.java
/** * Test for the readParameterWordsWireFormat method. * It should always return 0. */ @Test void testReadParameterWordsWireFormat() { assertEquals(0, response.readParameterWordsWireFormat(buffer, 0), "readParameterWordsWireFormat should return 0"); } /** * Test for the readBytesWireFormat method. * It should always return 0. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
} } @Test @DisplayName("Test createResponse method") void testCreateResponse() { request = new Smb2SetInfoRequest(mockConfig); Smb2SetInfoResponse response = request.createResponse(mockContext, request); assertNotNull(response); verify(mockContext, times(1)).getConfig(); } @Test @DisplayName("Test size method")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java
import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.Test; class RequestTimeoutExceptionTest { @Test void testNoArgsConstructor() { // Test the constructor with no arguments RequestTimeoutException exception = new RequestTimeoutException();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java
} /** * Check that we can build ok from the middle pom of a (parent,child,grandchild) hierarchy */ @Test void testBuildFromMiddlePom() throws Exception { File f1 = getTestFile("src/test/resources/projects/grandchild-check/child/pom.xml"); File f2 = getTestFile("src/test/resources/projects/grandchild-check/child/grandchild/pom.xml"); getProject(f1);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 33.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
} @Test void testGetTrustedDomains_Success() throws IOException, SmbAuthException { // This test is complex due to static method dependencies and reflection access // For now, we'll test the disabled path which is safer testDfs.setDisabled(true); assertNull(testDfs.getTrustedDomains(auth)); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestTest.java
assertNotNull(response.getWords()); assertNotNull(response.getIndex()); } @Test public void test_setters() throws Exception { PopularWordsRequest request = new PopularWordsRequest(); request.setIndex("test-index"); request.setSize(20); request.setSeed("test-seed"); request.setWindowSize(30); request.setQueryFreqThreshold(5);
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 6.9K bytes - Viewed (0)