Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 87 for GetName (0.25 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

      @GwtIncompatible // not used under GWT, and super.getName() is not available under J2CL
      public final String getTestMethodName() {
        return super.getName();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // not used under GWT, and super.getName() is not available under J2CL
      @Override
      public String getName() {
        return Platform.format("%s[%s]", super.getName(), suiteName);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

        TestSuite suite = new TestSuite(AbstractFutureFallbackAtomicHelperTest.class.getName());
        for (Method method : AbstractFutureTest.class.getDeclaredMethods()) {
          if (Modifier.isPublic(method.getModifiers()) && method.getName().startsWith("test")) {
            suite.addTest(
                TestSuite.createTest(AbstractFutureFallbackAtomicHelperTest.class, method.getName()));
          }
        }
        return suite;
      }
    
      @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 6.2K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/TearDownStackTest.java

          assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo("two");
        } catch (RuntimeException e) {
          throw new RuntimeException(
              "A ClusterException should have been thrown, rather than a " + e.getClass().getName(), e);
        }
    
        assertEquals(true, tearDownOne.ran);
        assertEquals(true, tearDownTwo.ran);
      }
    
      @Override
      public final void runBare() throws Throwable {
        try {
          setUp();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        checkThreadPoolName(thread3, 1);
        assertThat(thread2.getName().substring(0, thread.getName().lastIndexOf('-')))
            .isNotEqualTo(thread3.getName().substring(0, thread.getName().lastIndexOf('-')));
      }
    
      private static void checkThreadPoolName(Thread thread, int threadId) {
        assertThat(thread.getName()).matches("^pool-\\d+-thread-" + threadId + "$");
      }
    
      public void testNameFormatWithPercentS_custom() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

          derivedSuites.add(
              SetTestSuiteBuilder.using(
                      new ReserializedSetGenerator<E>(parentBuilder.getSubjectGenerator()))
                  .named(getName() + " reserialized")
                  .withFeatures(computeReserializedCollectionFeatures(parentBuilder.getFeatures()))
                  .suppressing(parentBuilder.getSuppressedTests())
                  .withSetUp(parentBuilder.getSetUp())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/SubtypeTester.java

        Arrays.sort(
            methods,
            new Comparator<Method>() {
              @Override
              public int compare(Method a, Method b) {
                return a.getName().compareTo(b.getName());
              }
            });
        for (Method method : methods) {
          if (method.isAnnotationPresent(TestSubtype.class)) {
            method.setAccessible(true);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

           */
          info.getName().contains("TypeResolverTest")
              /*
               * And at least one of the classes inside TypeTokenTest ends up with a null value in
               * TypeMappingIntrospector.mappings. That happens only under older JDKs, too, so it may
               * well be a JDK bug.
               */
              || info.getName().contains("TypeTokenTest")
          /*
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

           */
          info.getName().contains("TypeResolverTest")
              /*
               * And at least one of the classes inside TypeTokenTest ends up with a null value in
               * TypeMappingIntrospector.mappings. That happens only under older JDKs, too, so it may
               * well be a JDK bug.
               */
              || info.getName().contains("TypeTokenTest")
          /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          // filter out equals/hashCode/toString
          if (method.getName().equals("equals")
              && method.getParameterTypes().length == 1
              && method.getParameterTypes()[0] == Object.class) {
            continue;
          }
          if (method.getName().equals("hashCode") && method.getParameterTypes().length == 0) {
            continue;
          }
          if (method.getName().equals("toString") && method.getParameterTypes().length == 0) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          // filter out equals/hashCode/toString
          if (method.getName().equals("equals")
              && method.getParameterTypes().length == 1
              && method.getParameterTypes()[0] == Object.class) {
            continue;
          }
          if (method.getName().equals("hashCode") && method.getParameterTypes().length == 0) {
            continue;
          }
          if (method.getName().equals("toString") && method.getParameterTypes().length == 0) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top