Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 513 for test_case (0.98 sec)

  1. guava-tests/test/com/google/common/primitives/BooleansTest.java

    import java.util.Comparator;
    import java.util.List;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link Booleans}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public class BooleansTest extends TestCase {
      private static final boolean[] EMPTY = {};
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/LongMathTest.java

    import java.math.RoundingMode;
    import java.util.EnumSet;
    import java.util.Random;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for LongMath.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullUnmarked
    public class LongMathTest extends TestCase {
      @SuppressWarnings("ConstantOverflow")
      public void testMaxSignedPowerOfTwo() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/DoublesTest.java

    import java.util.List;
    import java.util.regex.Pattern;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link Doubles}.
     *
     * @author Kevin Bourrillion
     */
    @NullMarked
    @GwtCompatible
    public class DoublesTest extends TestCase {
      private static final double[] EMPTY = {};
      private static final double[] ARRAY1 = {1.0};
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/LongsTest.java

    import java.util.Comparator;
    import java.util.List;
    import java.util.Random;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link Longs}.
     *
     * @author Kevin Bourrillion
     */
    @NullMarked
    @GwtCompatible
    public class LongsTest extends TestCase {
      private static final long[] EMPTY = {};
      private static final long[] ARRAY1 = {1L};
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/ShortsTest.java

    import java.util.Comparator;
    import java.util.List;
    import java.util.Random;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link Shorts}.
     *
     * @author Kevin Bourrillion
     */
    @NullMarked
    @GwtCompatible
    public class ShortsTest extends TestCase {
      private static final short[] EMPTY = {};
      private static final short[] ARRAY1 = {(short) 1};
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link ImmutableMap}.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     */
    @GwtCompatible
    @SuppressWarnings("AlwaysThrows")
    @NullMarked
    public class ImmutableMapTest extends TestCase {
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

    import java.lang.ref.Reference;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author Charles Fry
     */
    @SuppressWarnings("deprecation") // many tests of deprecated methods
    @NullUnmarked
    public class MapMakerInternalMapTest extends TestCase {
    
      static final int SMALL_MAX_SIZE = DRAIN_THRESHOLD * 5;
    
      private static <K, V>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

    import java.lang.ref.Reference;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author Charles Fry
     */
    @SuppressWarnings("deprecation") // many tests of deprecated methods
    @NullUnmarked
    public class MapMakerInternalMapTest extends TestCase {
    
      static final int SMALL_MAX_SIZE = DRAIN_THRESHOLD * 5;
    
      private static <K, V>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            ComponentUtil.register(new SystemHelper(), "systemHelper");
        }
    
        public void test_parse() throws IOException {
            GsaConfigParser parser = new GsaConfigParser();
            try (InputStream is = ResourceUtil.getResourceAsStream("data/gsaconfig.xml")) {
                parser.parse(new InputSource(is));
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            doc.put("key9", new ArrayList<Integer>(Arrays.asList(777, 888, 999)));
            assertEquals(777, DocumentUtil.getValue(doc, "key9", Integer.class));
        }
    
        public void test_date() {
            Map<String, Object> doc = new HashMap<>();
    
            Date expected4 = new Date();
            doc.put("key4", expected4);
            assertEquals(expected4, DocumentUtil.getValue(doc, "key4", Date.class));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top