Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for testClass (0.08 sec)

  1. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

        String toTest = MoreObjects.toStringHelper(new TestClass()).add("field1", "Hello").toString();
        assertEquals("TestClass{field1=Hello}", toTest);
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToString_oneIntegerField() {
        String toTest =
            MoreObjects.toStringHelper(new TestClass()).add("field1", Integer.valueOf(42)).toString();
        assertEquals("TestClass{field1=42}", toTest);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 21:19:18 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

          }
        }
        List<Class<?>> result = Lists.newArrayList();
        NEXT_CANDIDATE:
        for (Class<?> candidate : Iterables.filter(candidateClasses, classFilter)) {
          for (Class<?> testClass : testClasses.get(candidate)) {
            if (hasTest(testClass, explicitTestNames)) {
              // covered by explicit test
              continue NEXT_CANDIDATE;
            }
          }
          result.add(candidate);
        }
        return result;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

          }
        }
        List<Class<?>> result = Lists.newArrayList();
        NEXT_CANDIDATE:
        for (Class<?> candidate : Iterables.filter(candidateClasses, classFilter)) {
          for (Class<?> testClass : testClasses.get(candidate)) {
            if (hasTest(testClass, explicitTestNames)) {
              // covered by explicit test
              continue NEXT_CANDIDATE;
            }
          }
          result.add(candidate);
        }
        return result;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

    import java.util.Set;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class GenericsUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testClass() throws Exception {
            final Map<TypeVariable<?>, Type> map = GenericsUtil.getTypeVariableMap(Foo.class);
            assertThat(map, is(notNullValue()));
            assertThat(map.isEmpty(), is(false));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      }
    
      @SuppressLint("NewApi")
      private fun ExtensionContext.isFlaky(): Boolean {
        return (testMethod.orElseGet { null }?.isAnnotationPresent(Flaky::class.java) == true) ||
          (testClass.orElseGet { null }?.isAnnotationPresent(Flaky::class.java) == true)
      }
    
      @Synchronized private fun logEvents() {
        // Will be ineffective if test overrides the listener
        synchronized(clientEventsList) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

         * @param destClass コピー先となるBeanの型。{@literal null}であってはいけません
         * @return コピーされた新しいBean
         */
        public static <T> T copyBeanToNewBean(final Object src, final Class<T> destClass) {
            return copyBeanToNewBean(src, destClass, DEFAULT_OPTIONS);
        }
    
        public static <T> T copyBeanToNewBean(final Object src, final Class<T> destClass, final Consumer<CopyOptions> option) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            return server;
        }
    
        public void test_doGet_root_dir() throws FtpException {
            FtpServer server = null;
            try {
                String username = "testuser";
                String password = "testpass";
                server = startFtpServer(FTP_PORT, username, password);
                Map<String, Object> params = new HashMap<String, Object>();
                FtpAuthentication auth = new FtpAuthentication();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertEquals(
            Integer.MIN_VALUE,
            ContiguousSet.create(Range.<Integer>all(), integers()).first().intValue());
      }
    
      public void testLast() {
        assertEquals(3, ContiguousSet.create(Range.closed(1, 3), integers()).last().intValue());
        assertEquals(3, ContiguousSet.create(Range.open(0, 4), integers()).last().intValue());
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

        // InputStream in =
        // ResourceUtil.getResourceAsStream("extractor/test_pass.pdf");
        // TikaExtractor extractor =
        // (TikaExtractor) getContainer().getComponent(
        // "tikaExtractorForPdfPassword");
        // Map<String, String> params = new HashMap<String, String>();
        // params.put(ExtractData.URL, "http://example.com/test_pass.pdf");
        // ExtractData extractData = extractor.getText(in, params);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

              assertEquals(Ordering.natural().min(filtered), first);
            } catch (NoSuchElementException e) {
              assertTrue(filtered.isEmpty());
            }
          }
        }
    
        public void testLast() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
            C filtered = filter(createUnfiltered(contents), EVEN);
    
            try {
              Integer first = filtered.last();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top