Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for testTest (0.24 sec)

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

        try {
          EquivalenceTester.of(null);
          fail("Should fail on null reference");
        } catch (NullPointerException expected) {
        }
      }
    
      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);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

        try {
          EquivalenceTester.of(null);
          fail("Should fail on null reference");
        } catch (NullPointerException expected) {
        }
      }
    
      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);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 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());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 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());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  5. native-image-tests/src/main/resources/testlist.txt

    Jesse Wilson <******@****.***> 1683816537 -0400
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu May 11 14:48:57 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/FluentIterableTest.java

        }
      }
    
      public void testLast_emptyList() {
        List<String> list = Collections.emptyList();
        assertThat(FluentIterable.from(list).last()).isAbsent();
      }
    
      public void testLast_sortedSet() {
        SortedSet<String> sortedSet = ImmutableSortedSet.of("b", "c", "a");
        assertThat(FluentIterable.from(sortedSet).last()).hasValue("c");
      }
    
      public void testLast_emptySortedSet() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 31.1K bytes
    - Viewed (0)
  7. 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);
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  8. 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"));
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        }
      }
    
      public void testLast_emptyList() {
        List<String> list = Collections.emptyList();
        assertThat(FluentIterable.from(list).last()).isAbsent();
      }
    
      public void testLast_sortedSet() {
        SortedSet<String> sortedSet = ImmutableSortedSet.of("b", "c", "a");
        assertThat(FluentIterable.from(sortedSet).last()).hasValue("c");
      }
    
      public void testLast_emptySortedSet() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
  10. 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));
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.5K bytes
    - Viewed (0)
Back to top