Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for testTest (0.09 sec)

  1. android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

      public void testOf_nullPointerException() {
        assertThrows(NullPointerException.class, () -> EquivalenceTester.of(null));
      }
    
      public void testTest_noData() {
        tester.test();
      }
    
      public void testTest() {
        Object group1Item1 = new TestObject(1, 1);
        Object group1Item2 = new TestObject(1, 2);
        Object group2Item1 = new TestObject(2, 1);
        Object group2Item2 = new TestObject(2, 2);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

      public void testOf_nullPointerException() {
        assertThrows(NullPointerException.class, () -> EquivalenceTester.of(null));
      }
    
      public void testTest_noData() {
        tester.test();
      }
    
      public void testTest() {
        Object group1Item1 = new TestObject(1, 1);
        Object group1Item2 = new TestObject(1, 2);
        Object group2Item1 = new TestObject(2, 1);
        Object group2Item2 = new TestObject(2, 2);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/CountTest.java

    import junit.framework.TestCase;
    
    /**
     * Tests for {@code Count}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class CountTest extends TestCase {
      public void testGet() {
        assertEquals(20, new Count(20).get());
      }
    
      public void testGetAndAdd() {
        Count holder = new Count(20);
        assertEquals(20, holder.get());
        holder.add(1);
        assertEquals(21, holder.get());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/CountTest.java

    import junit.framework.TestCase;
    
    /**
     * Tests for {@code Count}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class CountTest extends TestCase {
      public void testGet() {
        assertEquals(20, new Count(20).get());
      }
    
      public void testGetAndAdd() {
        Count holder = new Count(20);
        assertEquals(20, holder.get());
        holder.add(1);
        assertEquals(21, holder.get());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

        /** */
        public static final int INT_DATA = 987654321;
    
        /** */
        public static final String STRING_DATA = "Hello World!";
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet() throws Exception {
            final Field field = getClass().getField("objectField");
            final Integer testData = new Integer(123);
            FieldUtil.set(field, this, testData);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            assertThat(GenericsUtil.getGenericParameter(t2, 0), is(sameClass(String.class)));
        }
    
        /**
         * @throws Exception
         */
        public void testList() throws Exception {
            final Method m1 = ListType.class.getMethod("listOfString");
            final Type t1 = m1.getGenericReturnType();
            assertThat(GenericsUtil.isTypeOf(t1, List.class), is(true));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            } catch (final ClIndexOutOfBoundsException ex) {
                System.out.println(ex);
            }
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet() throws Exception {
            list.addLast("1");
            list.addLast("2");
            list.addLast("3");
            assertThat(list.get(0), is("1"));
            assertThat(list.get(1), is("2"));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/testing-dependencies.md

    ## Sobrepondo dependências durante os testes
    
    Existem alguns cenários onde você deseje sobrepor uma dependência durante os testes.
    
    Você não quer que a dependência original execute (e nenhuma das subdependências que você possa ter).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. docs/pt/docs/deployment/versions.md

    ///
    
    ## Atualizando as versões do FastAPI
    
    Você deve adicionar testes para a sua aplicação.
    
    Com **FastAPI** isso é muito fácil (graças a Starlette), verifique a documentação: [Testing](../tutorial/testing.md){.internal-link target=\_blank}
    
    Após a criação dos testes, você pode atualizar a sua versão do **FastAPI** para uma mais recente, execute os testes para se certificar de que todo o seu código está funcionando corretamente.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

    /**
     * Returns a fixed set of test classes from testlist.txt, skipping any not found in the
     * current classpath.  The IDE runs with less classes to avoid conflicting module ownership.
     */
    fun testSelectors(inputFile: File? = null): List<DiscoverySelector> {
      val sampleTestClass = SampleTest::class.java
    
      val lines =
        inputFile?.readLines() ?: sampleTestClass.getResource("/testlist.txt").readText().lines()
    
      val flatClassnameList =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top