- Sort Score
- Result 10 results
- Languages All
Results 781 - 790 of 3,275 for Test (0.31 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
@Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create response with default values") void testConstructor() { SrvCopyChunkCopyResponse copyResponse = new SrvCopyChunkCopyResponse(); assertNotNull(copyResponse); } @Test @DisplayName("Should initialize chunksWritten to zero")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K 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/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) -
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/org/codelibs/fess/job/JobExecutorTest.java
jobExecutor = new TestJobExecutor(); } public void test_execute() { // Test execute method String scriptType = "test"; String script = "test script"; Object result = jobExecutor.execute(scriptType, script); assertEquals("Executed: test test script", result); // Test with null values result = jobExecutor.execute(null, "script");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.1K 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/FileNotifyInformationTest.java
} @Test @DisplayName("Test getFileName method with mock") void testGetFileName() { // Setup mock behavior String expectedFileName = "test-file.txt"; when(mockFileNotifyInfo.getFileName()).thenReturn(expectedFileName); // Test String fileName = mockFileNotifyInfo.getFileName();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
@Override public int getFileIndex() { return 0; } } @Test @DisplayName("open(): invalid URL path without trailing slash throws SmbException") void invalidUrlPathThrows() throws Exception { // Override the default setup for this specific test URL invalidUrl = new URL("smb://server/share/dir"); // no trailing '/'Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0)