Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for testConstructor (0.05 sec)

  1. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorJavaTest.java

    package okhttp3.zstd;
    
    import okhttp3.CompressionInterceptor;
    import okhttp3.Gzip;
    import okhttp3.brotli.Brotli;
    import org.junit.jupiter.api.Test;
    
    class ZstdInterceptorJavaTest {
      @Test
      public void testConstructor() {
        CompressionInterceptor interceptor = new CompressionInterceptor(
          Zstd.INSTANCE,
          Gzip.INSTANCE,
          Brotli.INSTANCE
        );
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 969 bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            public void scheduledTask(@CronExpression String schedule) {
                // Method for testing parameter annotation
            }
        }
    
        private static class TestConstructor {
            private final String schedule;
    
            public TestConstructor(@CronExpression String schedule) {
                this.schedule = schedule;
            }
    
            public String getSchedule() {
                return schedule;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

      }
    
      /**
       * Runs {@link #testConstructor} on every constructor in class {@code c} that has at least {@code
       * minimalVisibility}.
       */
      public void testConstructors(Class<?> c, Visibility minimalVisibility) {
        for (Constructor<?> constructor : c.getDeclaredConstructors()) {
          if (minimalVisibility.isVisible(constructor) && !isIgnored(constructor)) {
            testConstructor(constructor);
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/curl/CurlResponseTest.java

    import org.junit.Test;
    
    /**
     * Test class for CurlResponse.
     * Tests response handling, header operations, and content access.
     */
    public class CurlResponseTest {
    
        @Test
        public void testConstructor() {
            CurlResponse response = new CurlResponse();
            assertNotNull(response);
        }
    
        @Test
        public void testHttpStatusCode() {
            CurlResponse response = new CurlResponse();
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/curl/CurlRequestTest.java

    import org.junit.Test;
    
    /**
     * Test class for CurlRequest.
     * Tests the fluent API, parameter handling, and request configuration.
     */
    public class CurlRequestTest {
    
        @Test
        public void testConstructor() {
            String url = "https://example.com";
            CurlRequest request = new CurlRequest(Method.GET, url);
    
            assertEquals(Method.GET, request.method());
            assertEquals("UTF-8", request.encoding());
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        new NullPointerTester().testAllPublicInstanceMethods(new AtomicDoubleArray(1));
      }
    
      /** constructor creates array of given size with all elements zero */
      public void testConstructor() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i = 0; i < SIZE; i++) {
          assertBitEquals(0.0, aa.get(i));
        }
      }
    
      /** constructor with null array throws NPE */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

      public void testPrivateClass() {
        NullPointerTester tester = new NullPointerTester();
        for (Constructor<?> constructor :
            PrivateClassWithPrivateConstructor.class.getDeclaredConstructors()) {
          tester.testConstructor(constructor);
        }
      }
    
      private interface Foo<T> {
        void doSomething(T bar, Integer baz);
      }
    
      private static class StringFoo implements Foo<String> {
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

            assertTrue("HotThreadMonitorTarget should implement TimeoutTarget",
                    TimeoutTarget.class.isAssignableFrom(HotThreadMonitorTarget.class));
        }
    
        public void test_constructor() {
            assertNotNull("Constructor should create instance", target);
            assertTrue("Instance should be of correct type", target instanceof HotThreadMonitorTarget);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

    package org.codelibs.fess.exception;
    
    import org.codelibs.fess.app.web.RootAction;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class UserRoleLoginExceptionTest extends UnitFessTestCase {
    
        public void test_constructor() {
            // Test constructor with RootAction class
            UserRoleLoginException exception = new UserRoleLoginException(RootAction.class);
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java

        // Show that dir is ignored
        assertTrue(filter.accept(null, "a"));
      }
    
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
    
        tester.testConstructors(PatternFilenameFilter.class, Visibility.PACKAGE);
        tester.testStaticMethods(PatternFilenameFilter.class, Visibility.PACKAGE); // currently none
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top