Search Options

Results per page
Sort
Preferred Languages
Advance

Results 951 - 960 of 1,373 for Constructor (0.04 sec)

  1. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

            assertTrue(exception instanceof RuntimeException);
        }
    
        public void test_suppressionAndStackTrace() {
            // Test that suppression and stack trace are disabled (as per constructor)
            String parentUrl = "http://example.com/parent";
            String url = "http://example.com/child";
            ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NtlmServlet.java

     * Read <a href="../../../ntlmhttpauth.html">jCIFS NTLM HTTP Authentication and the Network Explorer Servlet</a> related information.
     */
    
    public abstract class NtlmServlet extends HttpServlet {
    
        /**
         * Default constructor.
         */
        protected NtlmServlet() {
            super();
        }
    
        /** The default domain for NTLM authentication */
        private String defaultDomain;
    
        /** The domain controller for authentication */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeImplTest.java

            when(config.isTraceResourceUsage()).thenReturn(false);
            when(context.getConfig()).thenReturn(config);
            when(session.isConnected()).thenReturn(true);
        }
    
        // Test case for the constructor of SmbTreeImpl
        @Test
        void testSmbTreeImplConstructor() {
            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            assertNotNull(tree);
            assertEquals("SHARE", tree.getShare());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for the Trans2FindNext2 class.
     */
    class Trans2FindNext2Test {
    
        /**
         * Verifies constructor initializes protocol fields and limits correctly.
         */
        @Test
        void testConstructorInitializesFields() {
            // Given
            int sid = 0x2222;
            int resumeKey = 0x12345678;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the Trans2QueryFSInformationResponse class.
     */
    class Trans2QueryFSInformationResponseTest {
    
        /**
         * Tests the constructor to ensure it sets up the command and subcommand correctly.
         */
        @Test
        void testConstructor() {
            Trans2QueryFSInformationResponse response =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            aggregateLogJob = new AggregateLogJob();
        }
    
        public void test_constructor() {
            // Test default constructor
            AggregateLogJob job = new AggregateLogJob();
            assertNotNull(job);
        }
    
        public void test_execute_success() {
            // Setup mock SearchLogHelper that succeeds
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            namingConvention = new MockNamingConvention();
            pagerCreator = new PagerCreator(namingConvention);
        }
    
        // Test constructor initialization
        public void test_constructor() {
            // Verify suffix is set correctly
            assertEquals(PagerCreator.SUFFIX, "Pager");
    
            // Verify name suffix is set
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/EnumMultiset.java

       */
      public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) {
        Iterator<E> iterator = elements.iterator();
        checkArgument(iterator.hasNext(), "EnumMultiset constructor passed empty Iterable");
        EnumMultiset<E> multiset = new EnumMultiset<>(iterator.next().getDeclaringClass());
        Iterables.addAll(multiset, elements);
        return multiset;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/util/SMBUtil.java

     * in SMB protocol format, handling endianness and data type conversions.
     *
     * @author mbechler
     */
    public class SMBUtil {
    
        /**
         * Private constructor to prevent instantiation of utility class.
         */
        private SMBUtil() {
        }
    
        /**
         * Writes a 16-bit integer value to a byte array in little-endian format
         * @param val the value to write
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            when(tc.getConfig()).thenReturn(config);
            when(config.isAllowNTLMFallback()).thenReturn(true);
            when(config.isUseRawNTLM()).thenReturn(false);
    
            // Enable NTLM fallback by providing NTLM creds in constructor
            Kerb5Authenticator auth = new Kerb5Authenticator(new Subject(), "DOM", "user", "pass");
            auth.setForceFallback(true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top