- Sort Score
- Num 10 results
- Language All
Results 1481 - 1490 of 3,979 for TeSt (0.02 seconds)
-
mockwebserver-junit5/README.md
To use, first add this library as a test dependency: ``` testImplementation("com.squareup.okhttp3:mockwebserver3-junit5:5.3.0") ``` Annotate fields in test classes with `@StartStop`. The server will be started and shut down automatically. ``` class MyTest { @StartStop public final MockWebServer server = new MockWebServer(); @Test void test() { ... } } ``` RequirementsCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 665 bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarCloseTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import jcifs.dcerpc.DcerpcConstants; import jcifs.dcerpc.rpc.policy_handle; /** * Tests for the {@link MsrpcLsarClose} class. */ class MsrpcLsarCloseTest { private policy_handle mockHandle; @BeforeEach void setUp() { // Create a mock policy_handle for each test mockHandle = mock(policy_handle.class); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.5K bytes - Click Count (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** * Unit tests for {@link NegTokenTarg}. The class has no external * collaborators so tests are mostly focused on round‑trip * serialisation and invalid input handling. */ class NegTokenTargTest { @Test @DisplayName("happy path – full token round‑trip") void testRoundTripFull() throws IOException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestTraceTest.java
* under the License. */ package org.apache.maven.api.services; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; class RequestTraceTest { @Test void testRequestTraceCreation() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 3.3K bytes - Click Count (0) -
internal/config/lambda/event/targetidset_test.go
for i, testCase := range testCases { result := testCase.set.Clone() if !reflect.DeepEqual(result, testCase.set) { t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.set, result) } result.add(testCase.targetIDToAdd) if reflect.DeepEqual(result, testCase.set) { t.Fatalf("test %v: result: expected: not equal, got: equal", i+1) } } } func TestTargetIDSetUnion(t *testing.T) { testCases := []struct {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Mar 07 16:12:41 GMT 2023 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
import static org.mockito.Mockito.verifyNoMoreInteractions; import static org.mockito.Mockito.when; import java.util.stream.Stream; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
} catch (Exception e) { fail("Failed to get field '" + name + "'", e); return null; } } /** * Test that the wire-format of the parameters is produced * correctly when all fields are set to typical values. */ @Test void happyPathParameterEncoding() throws Exception { Configuration cfg = mock(Configuration.class);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/util/ScrollOperationHelperTest.java
import java.util.Map; import org.codelibs.fess.suggest.Suggester; import org.codelibs.opensearch.runner.OpenSearchRunner; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.opensearch.action.index.IndexResponse; import org.opensearch.common.xcontent.XContentType; import org.opensearch.index.query.QueryBuilders; import org.opensearch.transport.client.Client; /**
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 7K bytes - Click Count (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
@Nested class InvalidConstruction { @Test @DisplayName("Negative maxBuffers throws immediately in constructor") void negativeMaxBuffersThrows() { assertThrows(NegativeArraySizeException.class, () -> new BufferCacheImpl(-1, 10)); } @Test @DisplayName("Negative maxSize throws when allocating a new buffer")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.5K bytes - Click Count (0) -
.teamcity/subprojects.json
"crossVersionTests": false }, { "name": "plugins-jvm-test-fixtures", "path": "platforms/jvm/plugins-jvm-test-fixtures", "unitTests": false, "functionalTests": true, "crossVersionTests": false }, { "name": "plugins-jvm-test-suite", "path": "platforms/jvm/plugins-jvm-test-suite", "unitTests": false, "functionalTests": true,
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 27 15:03:00 GMT 2026 - 42K bytes - Click Count (0)