Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,878 for constructor (0.05 sec)

  1. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

        public void test_constructor_withNullMessage() {
            // Test constructor with null message
            DictionaryException exception = new DictionaryException(null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with null message but valid cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

    import jcifs.smb1.dcerpc.ndr.NdrObject;
    
    /**
     * Server Service RPC interface implementation for remote server administration (SMB1).
     */
    public class srvsvc {
    
        /**
         * Private constructor to prevent instantiation.
         */
        private srvsvc() {
        }
    
        /**
         * Gets the RPC interface syntax string.
         * @return the interface UUID and version
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

       *     constructor that omits the cause.
       */
      @Deprecated
      protected UncheckedExecutionException() {}
    
      /**
       * Creates a new instance with the given detail message and no cause.
       *
       * @deprecated Prefer {@linkplain UncheckedExecutionException(String, Throwable)} a constructor
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. 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)
  5. src/test/java/jcifs/pac/PacCredentialTypeTest.java

    class PacCredentialTypeTest {
    
        /**
         * Tests the constructor with a valid byte array.
         */
        @Test
        void testConstructorWithValidData() {
            // A byte array with a length less than 32 should be considered valid.
            byte[] validData = new byte[31];
            assertDoesNotThrow(() -> new PacCredentialType(validData));
        }
    
        /**
         * Tests the constructor with a null byte array, which should throw an exception.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/UUIDTest.java

        private static final byte[] NODE = { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF };
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Constructor with rpc.uuid_t should copy all fields correctly")
            void testConstructorWithRpcUuidT() {
                // Arrange
                rpc.uuid_t rpcUuid = new rpc.uuid_t();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            // 2. Should have exactly one private constructor
            Constructor<?>[] constructors = KuromojiCSVUtil.class.getDeclaredConstructors();
            assertEquals("Should have exactly one constructor", 1, constructors.length);
            assertTrue("Constructor should be private", java.lang.reflect.Modifier.isPrivate(constructors[0].getModifiers()));
    
            // 3. All public methods should be static
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

        }
    
        /**
         * LSA Quality of Service information.
         */
        public static class LsarQosInfo extends NdrObject {
    
            /**
             * Default constructor for LsarQosInfo.
             */
            public LsarQosInfo() {
                // Default constructor
            }
    
            /** Length of the QoS information. */
            public int length;
            /** Security impersonation level. */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java

        }
    
        public void test_constructorSignature() {
            // Verify constructor parameter types
            try {
                final java.lang.reflect.Constructor<?> constructor = FessWebResourceRoot.class.getConstructor(Context.class);
                final Class<?>[] paramTypes = constructor.getParameterTypes();
                assertEquals("Constructor should have one parameter", 1, paramTypes.length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ExecutionError.java

       *     #initCause} later, so it is not quite equivalent to using a constructor that omits the
       *     cause.
       */
      @Deprecated
      protected ExecutionError() {}
    
      /**
       * Creates a new instance with the given detail message and no cause.
       *
       * @deprecated Prefer {@linkplain ExecutionError(String, Error)} a constructor that accepts a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top