- Sort Score
- Result 10 results
- Languages All
Results 681 - 690 of 1,162 for c1test (0.05 sec)
-
src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java
import static org.mockito.Mockito.verify; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * Tests for the NdrObject abstract class. * This test uses a concrete implementation to verify the abstract contract. */ @ExtendWith(MockitoExtension.class) class NdrObjectTest {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacCredentialTypeTest.java
* This test is indirect as the constructor would throw an exception. * We can't instantiate the class with null, so we can't directly test this method's behavior with null. * However, the constructor logic `!isCredentialTypeCorrect()` covers this. * If `new PacCredentialType(null)` throws, it implies `isCredentialTypeCorrect()` returned false for null. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java
} @Test void testConstructor() { assertNotNull(setupAndX); assertEquals(ServerMessageBlock.SMB_COM_SESSION_SETUP_ANDX, setupAndX.command); assertEquals(mockSession, setupAndX.session); assertEquals(mockAuth, setupAndX.cred); } @Test void testConstructorWithAnonymousAuth() throws Exception { // Test with anonymous authenticationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
cmd/object-handlers_test.go
if test.fault == MissingUploadID { uploadID = "upload1" } // constructing a v4 signed HTTP request. reqV4, err = newTestSignedRequestV4(http.MethodPut, getPutObjectPartURL("", bucketName, test.objectName, uploadID, test.partNumber), int64(len(test.content)), bytes.NewReader([]byte(test.content)), test.accessKey, test.secretKey, nil) if err != nil {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 163.1K bytes - Viewed (0) -
compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java
} @Test void testValidateUniqueProfileId() throws Exception { Settings settings = new Settings(); Profile profile1 = new Profile(); profile1.setId("test"); settings.addProfile(profile1); Profile profile2 = new Profile(); profile2.setId("test"); settings.addProfile(profile2);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 8.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt
import assertk.assertions.isSameAs import assertk.assertions.isTrue import java.util.concurrent.TimeUnit import kotlin.test.assertFailsWith import okhttp3.CacheControl.Companion.parse import okhttp3.Headers.Companion.headersOf import org.junit.jupiter.api.Test class CacheControlJvmTest { @Test @Throws(Exception::class) fun completeBuilder() { val cacheControl = CacheControl .Builder()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.4K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/PluginConnectionSimpleTest.java
class PluginConnectionSimpleTest { @Test void testPluginModificationPersistsInModel() { // Create a test project with a plugin Model model = new Model(); model.setGroupId("test.group"); model.setArtifactId("test-artifact"); model.setVersion("1.0.0"); Build build = new Build(); model.setBuild(build); // Add a test pluginRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jul 04 12:50:13 UTC 2025 - 5K bytes - Viewed (0) -
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) -
internal/config/config_test.go
expectedFields: map[string]struct{}{}, }, } for _, test := range tests { t.Run("", func(t *testing.T) { gotFields := kvFields(test.input, test.keys) if len(gotFields) != len(test.expectedFields) { t.Errorf("Expected keys %d, found %d", len(test.expectedFields), len(gotFields)) } found := true for _, field := range gotFields { _, ok := test.expectedFields[field] found = found && ok }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResultTest.java
assertEquals(3, result.getFailures().size()); } @Test public void test_hasFailure() throws Exception { SuggestWriterResult result = new SuggestWriterResult(); assertFalse(result.hasFailure()); result.addFailure(new Exception("Test")); assertTrue(result.hasFailure()); } @Test public void test_getFailures() throws Exception {
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Thu Nov 13 00:40:54 UTC 2025 - 4.3K bytes - Viewed (0)