Search Options

Results per page
Sort
Preferred Languages
Advance

Results 891 - 900 of 1,857 for junit5 (0.1 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIReportingUtilsTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cli;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    class CLIReportingUtilsTest {
    
        @Test
        void testFormatDuration() {
            assertEquals("0.001 s", CLIReportingUtils.formatDuration(1));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

     * the License.
     */
    
    package com.google.common.hash;
    
    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import java.util.Arrays;
    import java.util.Random;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link Crc32c}. Known test values are from RFC 3720, Section B.4.
     *
     * @author Patrick Costello
     * @author Kurt Alfred Kluever
     */
    public class Crc32cHashFunctionTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

    import com.google.common.collect.ImmutableSortedMap;
    import com.google.common.collect.Ordering;
    import com.google.common.primitives.UnsignedLong;
    import java.util.Arrays;
    import junit.framework.TestCase;
    
    /**
     * Unit test for Fingerprint2011.
     *
     * @author ******@****.*** (Kyle Maddison)
     */
    public class Fingerprint2011Test extends TestCase {
    
      // Length of the sample string to produce
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. .github/workflows/build.yml

            if: github.repository == 'square/okhttp' && github.ref == 'refs/heads/master'
            uses: mikepenz/action-junit-report@v4
            with:
              report_paths: '**/build/test-results/*/TEST-*.xml'
              check_name: OpenJDK 11 Test Report
    
          - name: Publish Test Results
            uses: EnricoMi/publish-unit-test-result-action@v2
            if: github.repository == 'square/okhttp' && github.ref == 'refs/heads/master'
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Aug 17 10:05:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.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;
    
    /**
     * Tests for {@code CompactLinkedHashMap}.
     *
     * @author Louis Wasserman
     */
    public class CompactLinkedHashMapTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code iterator} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible(emulated = true)
    @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: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

    import org.apache.maven.settings.Mirror;
    import org.codehaus.plexus.testing.PlexusTest;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    @PlexusTest
    @Deprecated
    class MirrorProcessorTest {
        @Inject
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.truth.TruthJUnit.assume;
    import static org.junit.Assert.assertThrows;
    import static org.junit.Assert.assertTrue;
    
    import com.google.common.testing.EqualsTester;
    import java.util.Set;
    import org.junit.After;
    import org.junit.Test;
    
    /**
     * Abstract base class for testing undirected {@link Graph} implementations defined in this package.
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

    import java.util.TreeSet;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests operations on a NavigableSet. Can't be invoked directly; please
     * see {@code NavigableSetTestSuiteBuilder}.
     *
     * @author Jesse Wilson
     * @author Louis Wasserman
     */
    @GwtIncompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

    import org.eclipse.aether.DefaultRepositorySystemSession;
    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.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    // It would be cool if there was a hook that I could use to set up a test environment.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top