Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 1,608 for junit4 (0.07 seconds)

  1. api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java

    import java.util.HashMap;
    import java.util.Map;
    
    import org.apache.maven.api.Constants;
    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.assertTrue;
    
    /**
     * Unit tests for the Features class.
     */
    class FeaturesTest {
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jul 04 19:42:23 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java

    package com.google.common.io;
    
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.NullPointerTester.Visibility;
    import java.io.File;
    import java.io.FilenameFilter;
    import java.util.regex.PatternSyntaxException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link PatternFilenameFilter}.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/HelpTest.java

    import org.apache.maven.cling.invoker.mvnup.UpgradeContext;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mockito;
    
    import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     * Unit tests for the Help goal.
     */
    class HelpTest {
    
        private Help help;
    
        @BeforeEach
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:46:51 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

    import java.util.Iterator;
    import java.util.Map;
    import java.util.Objects;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link AbstractMultiset}.
     *
     * @author Kevin Bourrillion
     * @author Louis Wasserman
     */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/MinimalSetTest.java

    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link MinimalSet}.
     *
     * @author Regina O'Dell
     */
    @AndroidIncompatible // test-suite builders
    public class MinimalSetTest extends TestCase {
      public static Test suite() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/MinimalCollectionTest.java

    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.Collection;
    import junit.framework.Test;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link MinimalCollection}.
     *
     * @author Kevin Bourrillion
     */
    @AndroidIncompatible // test-suite builders
    public class MinimalCollectionTest extends TestCase {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link ImmutableClassToInstanceMap}.
     *
     * @author Kevin Bourrillion
     */
    @NullUnmarked
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/examples/simple-project/src/test/java/org/apache/maven/embedder/AppTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    
    package org.apache.maven.embedder;
    
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Unit test for simple App.
     */
    public class AppTest
        extends TestCase
    {
        /**
         * Create the test case
         *
         * @param testName name of the test case
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 14:10:21 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

    import com.google.common.collect.testing.features.MapFeature;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link ImmutableTypeToInstanceMap}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

    import okhttp3.tls.HeldCertificate
    import okhttp3.tls.internal.TlsUtil.newKeyManager
    import okhttp3.tls.internal.TlsUtil.newTrustManager
    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
    import org.junitpioneer.jupiter.RetryingTest
    
    @Tag("Slowish")
    class ClientAuthTest {
      @RegisterExtension
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 13K bytes
    - Click Count (0)
Back to Top