- Sort Score
- Num 10 results
- Language All
Results 461 - 470 of 3,356 for xtest (0.03 seconds)
-
src/test/java/jcifs/smb1/smb1/SmbComWriteAndXResponseTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.Test; /** * Tests for the SmbComWriteAndXResponse class. */ class SmbComWriteAndXResponseTest { /** * Test the readParameterWordsWireFormat method. */ @Test void testReadParameterWordsWireFormat() { SmbComWriteAndXResponse response = new SmbComWriteAndXResponse();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/netbios/NbtExceptionTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.CsvSource; @DisplayName("NbtException Tests") class NbtExceptionTest { @Test @DisplayName("getErrorString success returns SUCCESS") void testSuccess() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersChallengesTest.kt
import assertk.assertions.isNull import okhttp3.internal.http.parseChallenges import org.junit.jupiter.api.Disabled import org.junit.jupiter.api.Test class HeadersChallengesTest { /** See https://github.com/square/okhttp/issues/2780. */ @Test fun testDigestChallengeWithStrictRfc2617Header() { val headers = Headers .Builder() .add( "WWW-Authenticate",Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 16.8K bytes - Click Count (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() { // ArrangeCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.4K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java
assertEquals(0L, context.getMaxAccessCount()); } /** * Test sessionId getter and setter */ public void test_sessionId() { assertNull(crawlerContext.getSessionId()); crawlerContext.setSessionId("test-session-001"); assertEquals("test-session-001", crawlerContext.getSessionId()); crawlerContext.setSessionId(null);
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Sep 06 04:15:37 GMT 2025 - 25.6K bytes - Click Count (0) -
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()); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (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 @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/SerializeUtilTest.java
assertEquals(o, SerializeUtil.fromBinaryToObject(binary)); } /** * Test default filter allows common safe classes * * @throws Exception */ public void testFromBinaryToObject_DefaultFilter_AllowsSafeClasses() throws Exception { // Test String final String str = "test string"; byte[] binary = SerializeUtil.fromObjectToBinary(str);
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 7.6K bytes - Click Count (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 };
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.7K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java
// Create a temporary directory with a POM file for the test Path tempDir = Files.createTempDirectory("apply-test"); try { Path pomFile = tempDir.resolve("pom.xml"); String pomContent = PomBuilder.create() .groupId("test") .artifactId("test") .version("1.0.0") .build();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 10:39:17 GMT 2025 - 4.9K bytes - Click Count (0)