Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,411 for construction (0.8 sec)

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

        public void test_constructorWithNullMessage() {
            // Test constructor with null message
            GsaConfigException exception = new GsaConfigException(null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructorWithNullMessageAndCause() {
            // Test constructor with null message and null cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            response = new Trans2SetFileInformationResponse(config);
        }
    
        @Test
        @DisplayName("Test constructor initializes object correctly")
        void testConstructor() {
            // Test that the constructor properly initializes the object
            assertNotNull(response);
            // The command is not set in the constructor, defaults to 0
            assertEquals(0, response.getCommand());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

     * {@link #getRootCause()}, and {@link #toString()}.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbExceptionTest {
    
        /**
         * Happy path – constructor with a valid NT status code (0).
         */
        @Test
        @DisplayName("Constructor 0 – NT_STATUS_SUCCESS")
        void testConstructorWithZeroCode() {
            SmbException ex = new SmbException(0, false);
            assertEquals("NT_STATUS_SUCCESS", ex.getMessage());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

            verify(mockConfig).getTransactionBufferSize();
        }
    
        @Test
        @DisplayName("Test constructor with output buffer")
        void testConstructorWithOutputBuffer() {
            // This constructor doesn't use getTransactionBufferSize()
            Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE, TEST_FILE_ID, TEST_OUTPUT_BUFFER);
    
            assertNotNull(request);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

        }
    
        @Test
        @DisplayName("Test default constructor creates valid instance")
        void testDefaultConstructor() {
            // Verify instance is created
            assertNotNull(fileInfo);
            assertEquals(FileInformation.FILE_ENDOFFILE_INFO, fileInfo.getFileInformationLevel());
        }
    
        @Test
        @DisplayName("Test parameterized constructor with end of file value")
        void testParameterizedConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

        }
    
        @AfterEach
        void tearDown() {
            // Close the static mock
            mockedStaticAuthData.close();
        }
    
        /**
         * Test constructor with a valid ASN.1 token.
         *
         * @throws IOException if ASN.1 encoding fails.
         * @throws PACDecodingException if PAC decoding fails.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          return arbitraryConstantInstanceOrNull(type);
        }
        Constructor<T> constructor;
        try {
          constructor = type.getConstructor();
        } catch (NoSuchMethodException e) {
          return arbitraryConstantInstanceOrNull(type);
        }
        constructor.setAccessible(true); // accessibility check is too slow
        try {
          return constructor.newInstance();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/samr.java

         * Contains the relative ID and name of a SAM object.
         */
        public static class SamrSamEntry extends NdrObject {
    
            /**
             * Default constructor for SamrSamEntry.
             */
            public SamrSamEntry() {
                // Default constructor
            }
    
            /** The relative ID (RID) of the SAM entry */
            public int idx;
            /** The name of the SAM entry */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

         * Contains the relative ID and name of a SAM object.
         */
        public static class SamrSamEntry extends NdrObject {
    
            /**
             * Default constructor for SamrSamEntry.
             */
            public SamrSamEntry() {
                // Default constructor
            }
    
            /** The relative ID (RID) of the SAM entry */
            public int idx;
            /** The name of the SAM entry */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

            SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException();
    
            // Assert - message and cause are null
            assertNull(ex.getMessage(), "Default constructor should have null message");
            assertNull(ex.getCause(), "Default constructor should have null cause");
    
            // Assert - toString shows class name when message is null
            assertEquals(SMBProtocolDowngradeException.class.getName(), ex.toString());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top