Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 54 for visibility (0.11 sec)

  1. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

      private Visibility visibility = Visibility.PACKAGE;
      private Predicate<Class<?>> classFilter =
          (Class<?> cls) -> visibility.isVisible(cls.getModifiers());
    
      /**
       * Restricts the sanity tests for public API only. By default, package-private API are also
       * covered.
       */
      protected final void publicApiOnly() {
        visibility = Visibility.PUBLIC;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

      public void testAllPublicConstructors(Class<?> c) {
        testConstructors(c, Visibility.PUBLIC);
      }
    
      /**
       * Runs {@link #testMethod} on every static method of class {@code c} that has at least {@code
       * minimalVisibility}, including those "inherited" from superclasses of the same package.
       */
      public void testStaticMethods(Class<?> c, Visibility minimalVisibility) {
        for (Method method : minimalVisibility.getStaticMethods(c)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

      private Visibility visibility = Visibility.PACKAGE;
      private Predicate<Class<?>> classFilter =
          (Class<?> cls) -> visibility.isVisible(cls.getModifiers());
    
      /**
       * Restricts the sanity tests for public API only. By default, package-private API are also
       * covered.
       */
      protected final void publicApiOnly() {
        visibility = Visibility.PUBLIC;
      }
    
      /**
    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. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          nullPointerTester.testConstructors(cls, visibility);
        }
        nullPointerTester.testStaticMethods(cls, visibility);
        if (hasInstanceMethodToTestNulls(cls, visibility)) {
          Object instance = instantiate(cls);
          if (instance != null) {
            nullPointerTester.testInstanceMethods(instance, visibility);
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/JoinerTest.java

        tester.testInstanceMethods(Joiner.on(","), NullPointerTester.Visibility.PACKAGE);
        tester.testInstanceMethods(Joiner.on(",").skipNulls(), NullPointerTester.Visibility.PACKAGE);
        tester.testInstanceMethods(
            Joiner.on(",").useForNull("x"), NullPointerTester.Visibility.PACKAGE);
        tester.testInstanceMethods(
            Joiner.on(",").withKeyValueSeparator("="), NullPointerTester.Visibility.PACKAGE);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

        result.timer = scheduledExecutor.schedule(fire, time, unit);
        delegate.addListener(fire, directExecutor());
        return result;
      }
    
      /*
       * Memory visibility of these fields. There are two cases to consider.
       *
       * 1. visibility of the writes to these fields to Fire.run:
       *
       * The initial write to delegateRef is made definitely visible via the semantics of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurator.java

     * is mapped to an equally named property of the bean and converted. The properties of the bean are supposed to either
     * have a public setter or be backed by an equally named field (of any visibility).
     *
     * @since 3.0
     */
    public interface BeanConfigurator {
    
        /**
         * Performs the specified bean configuration.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/TypesTest.java

    import com.google.common.collect.Lists;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.NullPointerTester.Visibility;
    import com.google.common.testing.SerializableTester;
    import java.lang.reflect.GenericArrayType;
    import java.lang.reflect.GenericDeclaration;
    import java.lang.reflect.ParameterizedType;
    import java.lang.reflect.Type;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/TypesTest.java

    import com.google.common.collect.Lists;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.NullPointerTester.Visibility;
    import com.google.common.testing.SerializableTester;
    import java.lang.reflect.GenericArrayType;
    import java.lang.reflect.GenericDeclaration;
    import java.lang.reflect.ParameterizedType;
    import java.lang.reflect.Type;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

                .setDefault(int.class, 1)
                .setDefault(double.class, 1.0d);
        tester.testStaticMethods(RateLimiter.class, Visibility.PACKAGE);
        tester.testInstanceMethods(RateLimiter.create(5.0, stopwatch), Visibility.PACKAGE);
      }
    
      public void testVerySmallDoubleValues() throws Exception {
        RateLimiter rateLimiter = RateLimiter.create(Double.MIN_VALUE, stopwatch);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top