Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,409 for construction (0.04 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

            /** The status code of the response. */
            protected int status;
    
            /**
             * Default constructor for ApiResponse.
             */
            public ApiResponse() {
                // Default constructor
            }
    
            /**
             * Sets the status of the response.
             * @param status The status to set.
             * @return This ApiResponse instance.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            // Verify that WebApiUtil has a private constructor (utility class pattern)
            try {
                Constructor<WebApiUtil> constructor = WebApiUtil.class.getDeclaredConstructor();
                assertTrue("Constructor should be private", java.lang.reflect.Modifier.isPrivate(constructor.getModifiers()));
    
                // Test that constructor is accessible when made accessible
                constructor.setAccessible(true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/transport/TransportExceptionTest.java

    /**
     * Test class for TransportException
     */
    public class TransportExceptionTest {
    
        @Test
        @DisplayName("Test default constructor creates exception with null message")
        public void testDefaultConstructor() {
            // Create exception with default constructor
            TransportException exception = new TransportException();
    
            // Verify the exception is created and has no message
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java

        @BeforeEach
        void setUp() {
            // Create mock objects for the constructor parameters
            aliasHandle = mock(SamrAliasHandle.class);
            sids = mock(LsarSidArray.class);
        }
    
        /**
         * Test method for {@link jcifs.dcerpc.msrpc.MsrpcGetMembersInAlias#MsrpcGetMembersInAlias(SamrAliasHandle, LsarSidArray)}.
         * Verifies that the constructor correctly initializes the object's fields using reflection for protected members.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbNamedPipeTest.java

        // Creates a minimal valid CIFS context that does not perform I/O by itself
        private CIFSContext ctx() {
            return SingletonContext.getInstance();
        }
    
        @Nested
        @DisplayName("Constructor behavior")
        class ConstructorTests {
    
            @ParameterizedTest
            @DisplayName("Accepts IPC$ URLs (happy path)")
            @ValueSource(strings = { "smb://server/IPC$/foo", "smb://server/IPC$/PIPE/foo" })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

        @MethodSource("messages")
        @DisplayName("Message constructor preserves provided messages, including null/edge cases")
        void messageConstructor_preservesMessage(String msg) {
            // Arrange & Act
            SmbUnsupportedOperationException ex = new SmbUnsupportedOperationException(msg);
    
            // Assert
            assertEquals(msg, ex.getMessage(), "Constructor should preserve the provided message (including null)");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/bytes/iter.go

    		}
    		yield(s[:len(s):len(s)])
    	}
    }
    
    // SplitSeq returns an iterator over all subslices of s separated by sep.
    // The iterator yields the same subslices that would be returned by [Split](s, sep),
    // but without constructing a new slice containing the subslices.
    // It returns a single-use iterator.
    func SplitSeq(s, sep []byte) iter.Seq[[]byte] {
    	return splitSeq(s, sep, 0)
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SIDTest.java

            s.sub_authority = Arrays.copyOf(subs, subs.length);
            return s;
        }
    
        @Nested
        @DisplayName("Basic Constructor and Utility Tests")
        class BasicTests {
    
            @Test
            @DisplayName("Textual constructor happy path and toString consistency")
            void testTextualConstructorAndToString() throws Exception {
                // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java

            // Although we cannot directly verify the super constructor call with Mockito for a real class,
            // we can infer its correct behavior if the object is successfully constructed and its own fields are correct.
            // The super constructor is called with (domainHandle, 0, acct_flags, null, 0)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java

            assertEquals(name, request.getRemoteUser());
            verify(mockPrincipal, times(1)).getName();
        }
    
        @Test
        @DisplayName("constructor accepts null principal")
        void testConstructorWithNullPrincipal(@Mock HttpServletRequest mockRequest) {
            // Constructor accepts null principal without throwing exception
            NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, null);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top