Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 111 for constructor (0.08 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            assertNull(exception.getCause());
        }
    
        /**
         * Test protected constructor with suppression and stack trace control
         */
        public void test_protectedConstructor_withSuppressionAndStackTrace() throws Exception {
            // Access protected constructor via reflection
            Constructor<CrawlerSystemException> constructor =
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            });
        }
    
        /**
         * Test TTL with different constructor types
         */
        @Test
        @DisplayName("Test TTL functionality works with all constructor types")
        public void testTTLWithDifferentConstructors() {
            // Test with String password constructor
            NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("user", "StringPass123!");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

                JAASAuthenticator a = new JAASAuthenticator();
                // Provide a preset Subject so the getSubject() path uses the (serviceName, ps, this) constructor
                a.setSubject(new Subject());
                return a;
            }
            case WITH_CONFIG: {
                // Use the constructor that sets a StaticJAASConfiguration to exercise that branch
                return new JAASAuthenticator(new HashMap<String, String>(), "DOM", "user", "pass");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

    import okhttp3.sse.EventSourceListener
    
    internal class RealEventSource private constructor(
      private val call: Call?,
      private val request: Request,
      private val listener: EventSourceListener,
    ) : EventSource,
      ServerSentEventReader.Callback,
      Callback {
      constructor(call: Call, listener: EventSourceListener) : this(call, call.request(), listener)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            // Test that SuggestUtil has a private constructor to prevent instantiation
            Constructor<SuggestUtil> constructor = SuggestUtil.class.getDeclaredConstructor();
            assertTrue(Modifier.isPrivate(constructor.getModifiers()));
    
            // Make it accessible to test it throws no exception
            constructor.setAccessible(true);
            constructor.newInstance();
        }
    
        @Test
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

        private ElevateWord elevateWord;
    
        @Before
        public void setUp() {
            // Setup for each test
        }
    
        @Test
        public void testConstructorWithAllParameters() {
            // Test constructor with all parameters
            String word = "test word";
            float boost = 2.5f;
            List<String> readings = Arrays.asList("reading1", "reading2");
            List<String> fields = Arrays.asList("field1", "field2");
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        Constructor<ArrayList> constructor = ArrayList.class.getConstructor();
        assertEquals(
            TypeToken.of(ArrayList.class),
            TypeToken.of(ArrayList.class).constructor(constructor).getOwnerType());
        assertEquals(
            new TypeToken<ArrayList<String>>() {},
            new TypeToken<ArrayList<String>>() {}.constructor(constructor).getOwnerType());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        Constructor<ArrayList> constructor = ArrayList.class.getConstructor();
        assertEquals(
            TypeToken.of(ArrayList.class),
            TypeToken.of(ArrayList.class).constructor(constructor).getOwnerType());
        assertEquals(
            new TypeToken<ArrayList<String>>() {},
            new TypeToken<ArrayList<String>>() {}.constructor(constructor).getOwnerType());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/TestLocking.java

     */
    public class TestLocking implements Runnable {
    
        private static final Logger logger = LoggerFactory.getLogger(TestLocking.class);
    
        /**
         * Default constructor for TestLocking
         */
        public TestLocking() {
            // Default constructor
        }
    
        int numThreads = 1;
        int numIter = 1;
        long delay = 100;
        String url = null;
        int numComplete = 0;
        long ltime = 0L;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

        private T response;
        private Integer overrideTimeout;
    
        /**
         * Constructor for SMB2 request with configuration.
         *
         * @param config the configuration object
         */
        protected ServerMessageBlock2Request(final Configuration config) {
            super(config);
        }
    
        /**
         * Constructor for SMB2 request with configuration and command.
         *
         * @param config the configuration object
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top