Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,878 for constructor (0.07 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                // Given
                int testMid = 42;
    
                // When
                Constructor<SmbComNtCancel> constructor = SmbComNtCancel.class.getDeclaredConstructor(Configuration.class, int.class);
                constructor.setAccessible(true);
                SmbComNtCancel cancel = constructor.newInstance(mockConfig, testMid);
    
                // Then
                assertNotNull(cancel);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

            assertNull(exception.getCause());
            // Note: This test reveals that componentName field is not set in this constructor
            assertNull(exception.getComponentName());
        }
    
        public void test_constructor_withComponentNameAndCause() {
            // Test constructor with component name and cause
            String componentName = "myComponent";
            Throwable cause = new RuntimeException("Connection failed");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

            // Verify that SystemUtil has a private constructor (utility class pattern)
            try {
                Constructor<SystemUtil> constructor = SystemUtil.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
    - 12.9K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

            // Test constructor with null message
            SearchEngineClientException exception = new SearchEngineClientException(null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessageAndCause() {
            // 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
    - 6.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

       */
      public void testConstructors(Class<?> c, Visibility minimalVisibility) {
        for (Constructor<?> constructor : c.getDeclaredConstructors()) {
          if (minimalVisibility.isVisible(constructor) && !isIgnored(constructor)) {
            testConstructor(constructor);
          }
        }
      }
    
      /** Runs {@link #testConstructor} on every public constructor in class {@code c}. */
      public void testAllPublicConstructors(Class<?> c) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  8. 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)
  9. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

        }
    
        /**
         * Test with an empty string for both constructors.
         */
        @Test
        void testEmptyString() {
            String emptyString = "";
            AvTargetName avTargetNameFromString = new AvTargetName(emptyString);
            assertEquals(emptyString, avTargetNameFromString.getTargetName(),
                    "Empty string should be handled correctly from string constructor");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

     * Provides structures and methods for DFS management and enumeration.
     */
    public class netdfs {
    
        /**
         * Default constructor for netdfs
         */
        public netdfs() {
            // Default constructor
        }
    
        /**
         * Gets the DCE/RPC syntax identifier for the DFS interface
         * @return the syntax identifier string
         */
        public static String getSyntax() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top