- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 2,760 for 2test (0.03 sec)
-
src/test/java/jcifs/spnego/SpnegoTokenTest.java
return parsed; } } @Test @DisplayName("Default state is null for both fields") void defaultStateIsNull() { TestSpnegoToken t = new TestSpnegoToken(); assertNull(t.getMechanismToken(), "mechanismToken should default to null"); assertNull(t.getMechanismListMIC(), "mechanismListMIC should default to null"); } @Test @DisplayName("Setter and getter for mechanismToken work")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
infoField.set(msrpcShareGetInfo, info502); // Test getSecurity with empty descriptor - should throw exception assertThrows(ArrayIndexOutOfBoundsException.class, () -> { msrpcShareGetInfo.getSecurity(); }); } @Test void testGetSecurityWithLargeSecurityDescriptor() throws Exception { // Test with large valid security descriptor
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/SmbConstantsTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** * Test class for SmbConstants interface constants */ @DisplayName("SmbConstants Tests") class SmbConstantsTest extends BaseTest { @Test @DisplayName("Should define default connection constants") void testDefaultConstants() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportPoolTest.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 SmbTransportPool interface. * Tests all transport pool operations including connection management,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import jcifs.util.Encdec; public class NdrBufferTest { private byte[] buffer; private NdrBuffer ndrBuffer; @BeforeEach void setUp() { buffer = new byte[1024]; // Initialize with a reasonable size ndrBuffer = new NdrBuffer(buffer, 0); } @Test void testConstructor() { // Verify initial state
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
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 org.mockito.MockitoAnnotations; /** * Test suite for DfsReferralResponseBuffer */ class DfsReferralResponseBufferTest {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/advance.jsp
<option value="html" <c:if test="${as.filetype.contains('html')}">selected</c:if>><la:message key="labels.advance_search_filetype_html" /></option> <option value="pdf" <c:if test="${as.filetype.contains('pdf')}">selected</c:if>><la:message key="labels.advance_search_filetype_pdf" /></option> <option value="word" <c:if test="${as.filetype.contains('word')}">selected</c:if>><la:message
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jan 18 12:09:07 UTC 2025 - 14.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
} @Test fun postZerolength_HTTPS() { enableTls() postZeroLength() } @Test fun postZerolength_HTTP_2() { enableProtocol(Protocol.HTTP_2) postZeroLength() } @Test fun postBodyRetransmittedAfterAuthorizationFail() { postBodyRetransmittedAfterAuthorizationFail("abc") } @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 146.6K bytes - Viewed (0) -
src/test/java/jcifs/BaseTest.java
import org.mockito.junit.jupiter.MockitoExtension; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Base test class providing common test infrastructure and utilities. * All test classes should extend this to ensure consistent test setup. */ @ExtendWith(MockitoExtension.class) public abstract class BaseTest { protected final Logger logger = LoggerFactory.getLogger(getClass());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/WinErrorTest.java
class ConstantValues { @Test void successIsZero() { assertEquals(0, WinError.ERROR_SUCCESS, "ERROR_SUCCESS should be 0"); } @Test void accessDeniedIsFive() { assertEquals(5, WinError.ERROR_ACCESS_DENIED, "ERROR_ACCESS_DENIED should be 5"); } @Test void knownErrorCodes() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0)