Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1221 - 1230 of 2,023 for testu (0.02 sec)

  1. guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertThrows;
    
    import java.io.ByteArrayOutputStream;
    import java.util.Random;
    import junit.framework.TestCase;
    
    /**
     * Tests for AbstractByteHasher.
     *
     * @author Colin Decker
     */
    public class AbstractByteHasherTest extends TestCase {
    
      public void testBytes() {
        TestHasher hasher = new TestHasher(); // byte order insignificant here
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_request_form_models/test_tutorial001_an_py39.py

    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from tests.utils import needs_py39
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.request_form_models.tutorial001_an_py39 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py39
    def test_post_body_form(client: TestClient):
        response = client.post("/login/", data={"username": "Foo", "password": "secret"})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 05 15:16:50 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/AndroidIncompatible.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Signifies that a test should not be run under Android. This annotation is respected only by our
     * Google-internal Android suite generators. Note that those generators also suppress any test
     * annotated with MediumTest or LargeTest.
     *
     * <p>For more discussion, see {@linkplain com.google.common.base.AndroidIncompatible the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/AndroidIncompatible.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Signifies that a test should not be run under Android. This annotation is respected only by our
     * Google-internal Android suite generators. Note that those generators also suppress any test
     * annotated with MediumTest or LargeTest.
     *
     * <p>For more discussion, see {@linkplain com.google.common.base.AndroidIncompatible the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 14 21:12:54 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AndroidIncompatible.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Signifies that a test should not be run under Android. This annotation is respected only by our
     * Google-internal Android suite generators. Note that those generators also suppress any test
     * annotated with MediumTest or LargeTest.
     *
     * <p>For more discussion, see {@linkplain com.google.common.base.AndroidIncompatible the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 15 13:47:32 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/LruHashMapTest.java

    import static org.hamcrest.CoreMatchers.nullValue;
    import static org.junit.Assert.assertThat;
    
    import java.util.Iterator;
    
    import org.junit.Test;
    
    /**
     * @author taichi
     */
    public class LruHashMapTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testAll() throws Exception {
            final LruHashMap<String, String> lru = new LruHashMap<String, String>(3);
            lru.put("aaa", "111");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts

     * limitations under the License.
     */
    
    plugins {
        id("java-library")
        id("groovy-gradle-plugin")
        id("gradlebuild.code-quality")
        id("gradlebuild.ci-reporting")
        id("gradlebuild.test-retry")
        id("gradlebuild.private-javadoc")
    }
    
    java.configureJavaToolChain()
    
    dependencies {
        api(platform("gradlebuild:build-platform"))
        implementation("gradlebuild:gradle-plugin")
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 15:18:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. container-tests/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    val platform = System.getProperty("okhttp.platform", "jdk9")
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    tasks.withType<Test> {
      useJUnitPlatform()
      onlyIf("By default not in CI") {
        System.getenv("CI") == null
          || (project.hasProperty("containerTests") && project.property("containerTests").toString().toBoolean())
      }
    
      jvmArgs(
        "-Dokhttp.platform=$platform",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 17 14:46:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

    import java.util.ArrayDeque;
    import java.util.Collection;
    import java.util.Deque;
    import java.util.Iterator;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link Synchronized#deque} and {@link Queues#synchronizedDeque}.
     *
     * @author Kurt Alfred Kluever
     */
    public class SynchronizedDequeTest extends TestCase {
    
      protected Deque<String> create() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/ConverterTest.java

    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.SerializableTester;
    import java.util.Iterator;
    import java.util.List;
    import junit.framework.TestCase;
    
    /** Unit tests for {@link Converter}. */
    @GwtCompatible(emulated = true)
    public class ConverterTest extends TestCase {
    
      private static final Converter<String, Long> STR_TO_LONG =
          new Converter<String, Long>() {
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 01 16:09:28 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top