Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,876 for junit (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code addAll(int, Collection)} operations on a list. Can't be
     * invoked directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CountingOutputStreamTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static org.junit.Assert.assertThrows;
    
    import java.io.ByteArrayOutputStream;
    
    /**
     * Unit tests for {@link CountingOutputStream}.
     *
     * @author Chris Nokleberg
     */
    public class CountingOutputStreamTest extends IoTestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/ClassTraversalTest.java

    import static org.junit.Assert.assertThat;
    import static org.junit.Assert.assertTrue;
    
    import java.io.File;
    import java.net.JarURLConnection;
    import java.net.URL;
    import java.util.zip.ZipInputStream;
    
    import junit.framework.TestCase;
    
    import org.codelibs.core.jar.JarFileUtil;
    import org.codelibs.core.lang.ClassUtil;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author taedium
     */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

    import org.eclipse.aether.artifact.DefaultArtifact;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    class MetadataTest {
    
        Artifact artifact;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/convert/BigIntegerConversionUtilTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.convert;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class BigIntegerConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 960 bytes
    - Viewed (0)
  7. mockwebserver-junit5/README.md

    MockWebServer for JUnit 5
    =========================
    
    This module integrates mockwebserver3.MockWebServer with JUnit 5.
    
    To use, first add this library as a test dependency:
    
    ```
    testRuntimeOnly("com.squareup.okhttp3:mockwebserver3-junit5:4.12.0")
    ```
    
    Then in tests annotated `@org.junit.jupiter.api.Test`, you may add a [MockWebServer] as a test
    method parameter. It will be shut down automatically after the test runs.
    
    ```
    class MyTest {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    import java.util.NavigableSet;
    import java.util.Set;
    import java.util.SortedSet;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a NavigableSet
     * implementation.
     */
    @GwtIncompatible
    public final class NavigableSetTestSuiteBuilder<E> extends SortedSetTestSuiteBuilder<E> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/InterceptorTest.kt

    import okio.ForwardingSink
    import okio.ForwardingSource
    import okio.GzipSink
    import okio.Sink
    import okio.Source
    import okio.buffer
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    @Tag("Slow")
    class InterceptorTest {
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/connection/RetryConnectionTest.kt

    import okhttp3.ConnectionSpec
    import okhttp3.OkHttpClientTestRule
    import okhttp3.TestValueFactory
    import okhttp3.TlsVersion
    import okhttp3.tls.internal.TlsUtil.localhost
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class RetryConnectionTest {
      private val factory = TestValueFactory()
      private val handshakeCertificates = localhost()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top