- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 3,823 for Test (0.81 sec)
-
src/test/java/jcifs/util/ResourceManagerTest.java
assertDoesNotThrow(managed::close); } @Test @DisplayName("Test null resource registration throws exception") void testNullResourceRegistration() { assertThrows(IllegalArgumentException.class, () -> resourceManager.registerResource(null)); } @Test @DisplayName("Test configuration updates") void testConfigurationUpdates() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt
@Test fun simpleCookie() { val cookie = parse(url, "SID=31d4d96e407aad42") assertThat(cookie.toString()).isEqualTo("SID=31d4d96e407aad42; path=/") } @Test fun noEqualsSign() { assertThat(parse(url, "foo")).isNull() assertThat(parse(url, "foo; Path=/")).isNull() } @Test fun emptyName() { assertThat(parse(url, "=b")).isNull() assertThat(parse(url, " =b")).isNull()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 24.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
class ConstructorTests { @Test @DisplayName("Should create with configuration only") void testConstructorWithConfig() { ServerMessageBlock2 msg = new TestServerMessageBlock2(mockConfig); assertNotNull(msg); assertEquals(mockConfig, msg.getConfig()); assertEquals(0, msg.getCommand()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; /** * Test class for Smb2Constants * Tests all SMB2 protocol constants and their expected values */ @DisplayName("Smb2Constants Test Suite") class Smb2ConstantsTest { @Test @DisplayName("Should have private constructor to prevent instantiation")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
assertTrue(result.contains(pipeName), "toString should contain pipe name"); } @Test public void testMultiplePipeNames() { // Test with various pipe names String[] pipeNames = { "\\\\pipe\\test", "\\\\pipe\\PIPE\\sql\\query", "\\\\pipe\\spoolss", "\\\\pipe\\winreg" }; for (String pipeName : pipeNames) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
okhttp-osgi-tests/build.gradle.kts
testImplementation(libs.junit) testImplementation(libs.kotlin.test.common) testImplementation(libs.kotlin.test.junit) testImplementation(libs.assertk) testImplementation(libs.aqute.resolve) } normalization { runtimeClasspath { /* - The below two ignored files are generated during test execution by the test: okhttp/src/test/java/okhttp3/osgi/OsgiTest.java
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Aug 01 08:17:18 UTC 2025 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
return !disjoint(a, b); } private static Method extractMethod(Test test) { if (test instanceof AbstractTester) { AbstractTester<?> tester = (AbstractTester<?>) test; return getMethod(tester.getClass(), tester.getTestMethodName()); } else if (test instanceof TestCase) { TestCase testCase = (TestCase) test; return getMethod(testCase.getClass(), testCase.getName()); } else {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
import org.junit.jupiter.api.Test; import jcifs.SmbConstants; /** * Basic unit tests for {@link SmbConstants}. The interface only * provides {@code static final} constants, so the test suite focuses on * value correctness, bit‑mask logic, and some derived properties. * * <p>Mockito is exercised in a dummy scenario to satisfy the * request for an interaction test. The mock represents aRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
} @Test public void testConcatValues() { // Test static concatValues method List<String> dest = new java.util.ArrayList<>(); dest.add("existing"); SuggestItem.concatValues(dest, "new1", "new2", "existing"); assertEquals(3, dest.size()); assertTrue(dest.contains("existing")); assertTrue(dest.contains("new1"));Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ExtractDataTest.java
public void test_usingPredefinedConstants() { // Test using predefined constants ExtractData data = new ExtractData(); data.putValue(ExtractData.RESOURCE_NAME_KEY, "test.pdf"); data.putValue(ExtractData.URL, "https://example.com/test.pdf"); data.putValues(ExtractData.FILE_PASSWORDS, new String[] { "pass1", "pass2" }); assertEquals("test.pdf", data.getValues(ExtractData.RESOURCE_NAME_KEY)[0]);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 9.9K bytes - Viewed (0)