- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 3,356 for xtest (0.03 sec)
-
src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java
import static org.mockito.Mockito.when; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.dcerpc.ndr.NdrBuffer; import jcifs.dcerpc.ndr.NdrException; /** * Test class for srvsvc.java classes */ class srvsvcTest { @Mock private NdrBuffer mockNdrBuffer; @MockRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UnicodeStringTest.java
import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.Test; class UnicodeStringTest { @Test void testConstructorWithZterm() { // Test with zterm = true UnicodeString unicodeStringTrue = new UnicodeString(true); assertTrue(unicodeStringTrue.zterm, "zterm should be true");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java
textExtractor = container.getComponent("textExtractor"); } /** * Test successful text extraction with default encoding (UTF-8). */ public void test_getText_withDefaultEncoding() { final String testContent = "Test content テスト 日本語"; final InputStream in = new ByteArrayInputStream(testContent.getBytes());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacTest.java
} } @Test void testEmptyPac() { // Test that PAC with size <= 8 is rejected byte[] emptyData = new byte[8]; PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(emptyData, keys)); // Any PACDecodingException is acceptable for this test assertNotNull(e.getMessage()); } @Test void testTooSmallPac() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
val httpUrl: HttpUrl = builder.build() } @Test fun interceptor() { var interceptor: Interceptor = Interceptor { TODO() } interceptor = Interceptor { it: Interceptor.Chain -> TODO() } } @Test fun interceptorChain() { val chain: Interceptor.Chain = newInterceptorChain() } @Test fun handshakeCertificates() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 47K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java
import javax.security.auth.login.LoginException; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockedConstruction; import org.mockito.Mockito; import org.mockito.MockitoAnnotations; /** * Test class for KerberosCredentials. */ class KerberosCredentialsTest { @Mock private LoginContext loginContext; @MockRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/pac/PACDecodingExceptionTest.java
import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; import org.junit.jupiter.api.Test; /** * Tests for the PACDecodingException class. */ class PACDecodingExceptionTest { /** * Test the default constructor. */ @Test void testDefaultConstructor() { PACDecodingException e = new PACDecodingException();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/https/HandlerTest.java
import java.net.URLStreamHandler; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; /** * Test suite for jcifs.https.Handler class. * Tests HTTPS URL stream handler functionality with NTLM authentication support. */ @DisplayName("HTTPS Handler Tests") class HandlerTest { private Handler handler;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
// Test with DFS disabled in config when(mockConfig.isDfsDisabled()).thenReturn(true); assertFalse(response.isDFSSupported()); // Test without DFS capability when(mockConfig.isDfsDisabled()).thenReturn(false); setPrivateField(response, "commonCapabilities", 0); assertFalse(response.isDFSSupported()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
private var client = clientTestRule .newClientBuilder() .cache(Cache(fileSystem, "/cache/".toPath(), Long.MAX_VALUE)) .build() @Test fun trailersHttp1() { trailers(Protocol.HTTP_1_1) } @Test fun trailersHttp2() { trailers(Protocol.HTTP_2) } private fun trailers(protocol: Protocol) { enableProtocol(protocol) server.enqueue(Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 08 21:45:04 UTC 2025 - 18.8K bytes - Viewed (0)