- Sort Score
- Num 10 results
- Language All
Results 2961 - 2970 of 5,742 for text (0.02 seconds)
-
BUILDING.md
- It keeps the specific test logic separated from the common test logic. - You can run those tests in parallel to other projects of the build. #### Using test fixtures Sometimes we want to share test fixtures to setup the code under test across multiple projects. There are basically two ways doing so.
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 23 07:45:59 GMT 2021 - 6.7K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt
import okhttp3.Headers import okhttp3.Headers.Companion.headersOf import okio.Buffer import okio.ByteString import org.junit.jupiter.api.Test import org.junit.jupiter.api.Timeout @Timeout(30) class RecordedRequestTest { private val headers: Headers = Headers.EMPTY @Test fun testIPv4() { val socket = MockWebServerSocket( FakeSocket(Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Aug 02 20:36:00 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java
assertEquals("", result); } // Test constructor @Test public void test_constructor() { // Test that constructor creates instance without error PurgeLogJob job = new PurgeLogJob(); assertNotNull(job); } // Test multiple exceptions occur @Test public void test_execute_multipleExceptions() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 32.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
assertFalse(transport.isSMB2()); } @Test @DisplayName("Digest setter/getter roundtrip") void digestRoundtrip() { SMBSigningDigest dg = mock(SMBSigningDigest.class); transport.setDigest(dg); assertSame(dg, transport.getDigest()); } @Test @DisplayName("Context accessor returns constructor-provided context")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTaskIntegrationTest.kt
Change("org.gradle.api.tasks.testing.Test", "Method org.gradle.api.tasks.testing.Test.setOutputDir(java.io.File)"), Change("org.gradle.api.tasks.compile.JavaCompile", "Method org.gradle.api.tasks.compile.JavaCompile.getSources()"), ) ) } @Test fun `verify AlphabeticalAcceptedApiChangesTask accepts properly ordered changes`() {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 14 02:17:00 GMT 2025 - 8.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/CopyUtilTest.java
} /** * @throws Exception */ @Test public void testReaderToWriter() throws Exception { final int result = copy(reader, writer); assertThat(result, is(srcString.length())); assertThat(writer.toString(), is(srcString)); } /** * @throws Exception */ @Test public void testBytesToOs() throws Exception {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 4.6K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java
import org.apache.maven.cling.invoker.mvnup.UpgradeContext; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 35.2K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
assertEquals(6, macAddress.length); } @Test void writeBodyWireFormat_shouldReturnZero() { byte[] dst = new byte[100]; int result = response.writeBodyWireFormat(dst, 10); assertEquals(0, result); } @Test void readBodyWireFormat_shouldDelegateToReadResourceRecordWireFormat() throws Exception { // Prepare test data with minimal valid resource record
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcBindingTest.java
} @Test void testSetOptionOtherKey() throws DcerpcException { dcerpcBinding.setOption("connect", "80"); assertNotNull(dcerpcBinding.getOptions(), "Options map should be initialized."); assertEquals("80", dcerpcBinding.getOptions().get("connect"), "Option value should be set correctly."); } @Test void testGetOptionEndpoint() throws DcerpcException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests conditional {@code setCount()} operations on a multiset. Can't * be invoked directly; please see {@link MultisetTestSuiteBuilder}. * * @author Chris Povirk */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4K bytes - Click Count (0)