Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 1,322 for test_ (0.05 sec)

  1. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

            .test();
      }
    
      public void testRoundToDouble_smallPositive() {
        new RoundToDoubleTester(BigDecimal.valueOf(16)).setExpectation(16.0, values()).test();
      }
    
      public void testRoundToDouble_maxPreciselyRepresentable() {
        new RoundToDoubleTester(BigDecimal.valueOf(1L << 53))
            .setExpectation(Math.pow(2, 53), values())
            .test();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link ImmutableMap}.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     */
    @GwtCompatible(emulated = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/RecordingCallback.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.io.IOException
    import java.util.concurrent.TimeUnit
    
    /**
     * Records received HTTP responses so they can be later retrieved by tests.
     */
    class RecordingCallback : Callback {
      private val responses = mutableListOf<RecordedResponse>()
    
      @Synchronized
      override fun onFailure(
        call: Call,
        e: IOException,
      ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CacheTest.kt

      }
    
      /**
       * Test that response caching is consistent with the RI and the spec.
       * http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.4
       */
      @Test
      fun responseCachingByResponseCode() {
        // Test each documented HTTP/1.1 code, plus the first unused value in each range.
        // http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
    
        // We can't test 100 because it's not really a response.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SortedListsTest.java

    import com.google.common.collect.SortedLists.KeyPresentBehavior;
    import com.google.common.testing.NullPointerTester;
    import java.util.List;
    import junit.framework.TestCase;
    
    /**
     * Tests for SortedLists.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class SortedListsTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A TimeLimiter implementation which actually does not attempt to limit time at all. This may be
     * desirable to use in some unit tests. More importantly, attempting to debug a call which is
     * time-limited would be extremely annoying, so this gives you a time-limiter you can easily swap in
     * for your real time-limiter while you're debugging.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. tests/named_argument_test.go

    package tests_test
    
    import (
    	"database/sql"
    	"errors"
    	"testing"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestNamedArg(t *testing.T) {
    	type NamedUser struct {
    		gorm.Model
    		Name1 string
    		Name2 string
    		Name3 string
    	}
    
    	DB.Migrator().DropTable(&NamedUser{})
    	DB.AutoMigrate(&NamedUser{})
    
    	namedUser := NamedUser{Name1: "jinzhu1", Name2: "jinzhu2", Name3: "jinzhu3"}
    	DB.Create(&namedUser)
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Dec 21 11:50:00 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_remote_function_test.cc

    }
    TEST(CAPI, RemoteExecuteSilentCopiesLocalAsyncFuncOrdering) {
      // A remote input may be not ready when we start running a function. Test that
      // the function execution should wait until the remote input is ready.
      TestRemoteExecuteSilentCopiesFunc(/*async=*/true, /*remote=*/false,
                                        /*heavy_load_on_streaming_rpc=*/true);
    }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Dec 11 22:56:03 UTC 2020
    - 3.6K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            assertTrue(c2.compareTo(c1) > 0, "expected " + v2 + " > " + v1);
        }
    
        @Test
        void testVersionsQualifier() {
            checkVersionsOrder(VERSIONS_QUALIFIER);
        }
    
        @Test
        void testVersionsNumber() {
            checkVersionsOrder(VERSIONS_NUMBER);
        }
    
        @Test
        void testVersionsEqual() {
            newComparable("1.0-alpha");
            checkVersionsEqual("1", "1");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

    import java.net.ProtocolException
    import kotlin.test.assertFailsWith
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.ResponseBody.Companion.toResponseBody
    import okio.Buffer
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    @Tag("Slowish")
    class MultipartReaderTest {
      @Test fun `parse multipart`() {
        val multipart =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top