- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 3,771 for test (1.38 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
} /** * Test that response caching is consistent with the RI and the spec. * http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.4 */ @Test fun responseCachingByResponseCode() { // Test each documented HTTP/1.1 code, plus the first unused value in each range. // http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html // We can't test 100 because it's not really a response.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 17:41:45 UTC 2025 - 116.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java
} @Test public void testWriteParameterWordsWireFormat() { // This method is expected to do nothing and return 0 int result = smbComQueryInformation.writeParameterWordsWireFormat(new byte[0], 0); assertEquals(0, result); } @Test public void testWriteBytesWireFormat() { // Test the writing of bytes to a byte arrayRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* * <p>In all cases, if {@code C} needs custom logic for testing serialization, you can add an * explicit {@code testSerializable()} test in the corresponding {@code CTest} class, and {@code * C} will be excluded from automated serialization test performed by this method. */ @Test public void testSerializable() throws Exception { // TODO: when we use @BeforeClass, we can pay the cost of class path scanning only once.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java
*/ @Test void testConstructor() { // Given String serverName = "test-server"; // When MsrpcDfsRootEnum dfsRootEnum = new MsrpcDfsRootEnum(serverName); // Then assertNotNull(dfsRootEnum, "The MsrpcDfsRootEnum object should not be null."); // The server name is stored in a protected field without a public getter, so we cannot directly test it.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
assertEquals(16, hash.length); } // Test unescape method @ParameterizedTest @CsvSource({ "'test%20string', 'test string'", "'test%25string', 'test%string'", "'test', 'test'", "'' , ''" }) void testUnescape(String input, String expected) throws Exception { assertEquals(expected, NtlmPasswordAuthentication.unescape(input)); } // Test getAnsiHash always returns 24 bytes regardless of lmCompatibility
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java
super.tearDown(); } public void test_getText_ooow() { InputStream in = ResourceUtil.getResourceAsStream("extractor/ooo/test.odt"); Map<String, String> params = new HashMap<String, String>(); params.put("resourceName", "test.odt"); ExtractData extractData = jodExtractor.getText(in, params); String content = extractData.getContent(); CloseableUtil.closeQuietly(in);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
} @Test @DisplayName("Should create correct response") void testCreateResponse() { // When Smb2ChangeNotifyResponse response = request.createResponse(mockContext, request); // Then assertNotNull(response); assertTrue(response instanceof Smb2ChangeNotifyResponse); } @Test @DisplayName("Should calculate correct size")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
import jcifs.DialectVersion; import jcifs.internal.smb2.ServerMessageBlock2Request; import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.util.SMBUtil; /** * Test class for Smb2NegotiateRequest functionality */ @DisplayName("Smb2NegotiateRequest Tests") class Smb2NegotiateRequestTest { private Configuration mockConfig; private CIFSContext mockContext; private SecureRandom mockRandom;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
// Test interface method byte level = mockFileInfo.getFileInformationLevel(); assertEquals(FileInformation.FILE_BASIC_INFO, level); // Verify interaction verify(mockFileInfo).getFileInformationLevel(); } /** * Test FileInformation as Decodable */ @Test @DisplayName("Test FileInformation decode method")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)