Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for testPlatform (0.11 sec)

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

     * the License.
     */
    
    package com.google.common.primitives;
    
    import static com.google.common.primitives.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.primitives.TestPlatform.reduceIterationsIfGwt;
    import static com.google.common.testing.SerializableTester.reserialize;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.stream;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/IntMathTest.java

    import static com.google.common.math.MathTesting.POSITIVE_INTEGER_CANDIDATES;
    import static com.google.common.math.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.math.TestPlatform.intsCanGoOutOfRange;
    import static java.lang.Math.min;
    import static java.math.BigInteger.valueOf;
    import static java.math.RoundingMode.FLOOR;
    import static java.math.RoundingMode.UNNECESSARY;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

      private val handshakeCertificates = localhost()
    
      private lateinit var server: MockWebServer
    
      @BeforeEach
      fun setup(server: MockWebServer) {
        this.server = server
      }
    
      @Test
      fun testPlatform() {
        assertTrue(Platform.isAndroid)
    
        if (Build.VERSION.SDK_INT >= 29) {
          assertTrue(Platform.get() is Android10Platform)
        } else {
          assertTrue(Platform.get() is AndroidPlatform)
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

     * the License.
     */
    
    package com.google.common.primitives;
    
    import static com.google.common.primitives.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.primitives.TestPlatform.reduceIterationsIfGwt;
    import static com.google.common.testing.SerializableTester.reserialize;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.stream;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

     * the License.
     */
    
    package com.google.common.primitives;
    
    import static com.google.common.primitives.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.primitives.TestPlatform.reduceIterationsIfGwt;
    import static com.google.common.testing.SerializableTester.reserialize;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.stream;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/IntMathTest.java

    import static com.google.common.math.MathTesting.POSITIVE_INTEGER_CANDIDATES;
    import static com.google.common.math.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.math.TestPlatform.intsCanGoOutOfRange;
    import static java.lang.Math.min;
    import static java.math.BigInteger.valueOf;
    import static java.math.RoundingMode.FLOOR;
    import static java.math.RoundingMode.UNNECESSARY;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/LongMathTest.java

                    a, b, expectedResult);
              }
            }
          }
        }
      }
    
      @AndroidIncompatible // slow
      public void testCheckedMultiply() {
        boolean isAndroid = TestPlatform.isAndroid();
        for (long a : ALL_LONG_CANDIDATES) {
          for (long b : ALL_LONG_CANDIDATES) {
            if (isAndroid && a == -4294967296L && b == 2147483648L) {
              /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top