Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for testMethod (0.11 sec)

  1. 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);
          }
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  2. 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 {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  3. 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 {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  4. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (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) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  6. 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() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top