Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for testMethod (0.07 seconds)

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

      }
    
      /**
       * 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)) {
          if (!isIgnored(method)) {
            testMethod(null, method);
          }
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

      }
    
      /**
       * 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)) {
          if (!isIgnored(method)) {
            testMethod(null, method);
          }
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

        // Test class with single role
        @Secured({ "ROLE_USER" })
        static class SingleRoleClass {
            public void testMethod() {
            }
        }
    
        // Test class with multiple roles
        @Secured({ "ROLE_USER", "ROLE_ADMIN" })
        static class MultipleRolesClass {
            public void testMethod() {
            }
        }
    
        // Test class with method annotations
        static class MethodAnnotatedClass {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

        @CustomSize(payload = { TestPayload.class })
        private String testFieldWithPayload;
    
        // Test method with CustomSize annotation
        @CustomSize(minKey = "method.min", maxKey = "method.max")
        public String testMethod() {
            return "test";
        }
    
        // Test groups for validation
        private interface TestGroup {
        }
    
        // Test payload for validation
        private static class TestPayload implements Payload {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

        private String testFieldWithMultiplePayloads;
    
        // Test method with UriType annotation
        @UriType(protocolType = ProtocolType.WEB)
        public String testMethod() {
            return "http://example.com";
        }
    
        // Test parameter with UriType annotation
        public void testMethodWithParameter(@UriType(protocolType = ProtocolType.FILE) final String uri) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.3K bytes
    - Click Count (0)
  6. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        }
        assertTrue("Should report error when no exception is thrown", foundProblem);
      }
    
      /**
       * Class for testing all permutations of nullable/non-nullable two-argument methods using
       * testMethod().
       *
       * <ul>
       *   <li>normalNormal: two params, neither is Nullable
       *   <li>nullableNormal: only first param is Nullable
       *   <li>normalNullable: only second param is Nullable
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 47.9K bytes
    - Click Count (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      }
    
      private fun releaseClient() {
        testClient?.dispatcher?.executorService?.shutdown()
      }
    
      @SuppressLint("NewApi")
      private fun ExtensionContext.isFlaky(): Boolean =
        (testMethod.orElseGet { null }?.isAnnotationPresent(Flaky::class.java) == true) ||
          (testClass.orElseGet { null }?.isAnnotationPresent(Flaky::class.java) == true)
    
      @Synchronized private fun logEvents() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/io/CharSinkTester.java

    @NullUnmarked
    public class CharSinkTester extends SourceSinkTester<CharSink, String, CharSinkFactory> {
    
      private static final ImmutableList<Method> testMethods = getTestMethods(CharSinkTester.class);
    
      static TestSuite tests(String name, CharSinkFactory factory) {
        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/io/CharSinkTester.java

    @NullUnmarked
    public class CharSinkTester extends SourceSinkTester<CharSink, String, CharSinkFactory> {
    
      private static final ImmutableList<Method> testMethods = getTestMethods(CharSinkTester.class);
    
      static TestSuite tests(String name, CharSinkFactory factory) {
        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/io/CharSourceTester.java

    @NullUnmarked
    public class CharSourceTester extends SourceSinkTester<CharSource, String, CharSourceFactory> {
    
      private static final ImmutableList<Method> testMethods = getTestMethods(CharSourceTester.class);
    
      static TestSuite tests(String name, CharSourceFactory factory, boolean testAsByteSource) {
        TestSuite suite = new TestSuite(name);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 7.4K bytes
    - Click Count (0)
Back to Top