Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 1,837 for construct (3.22 sec)

  1. 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)
  2. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

            // We cannot directly access private fields of MsrpcSamrOpenAlias or its superclass
            // Instead, we verify the interaction with the DcerpcHandle and the return value.
            // The fact that the constructor completes without exception and sets 'opened' to true
            // implies the correct parameters were used internally.
        }
    
        @Test
        void constructor_shouldThrowSmbExceptionOnOpenFailure() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

    import jcifs.smb1.UniAddress;
    
    /**
     * Unit tests for {@link NtlmChallenge}.
     */
    class NtlmChallengeTest {
    
        @Nested
        @DisplayName("Constructor and Field Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Constructor sets fields correctly")
            void testConstructorSetsFields() {
                byte[] challenge = new byte[] { 1, 2, 3 };
                UniAddress dc = mock(UniAddress.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

        }
    
        /**
         * Test constructor with O_CREAT flag.
         */
        @Test
        void testConstructor_CreateAndOpen() {
            int flags = SmbFile.O_CREAT;
            smbComOpenAndX = new SmbComOpenAndX(fileName, access, flags, andx);
            assertEquals(0x11, smbComOpenAndX.openFunction); // OPEN_FN_CREATE | OPEN_FN_OPEN
        }
    
        /**
         * Test constructor with no special flags.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

        public void test_constructorWithNullMessage() {
            // Test constructor with null message
            ThumbnailGenerationException exception = new ThumbnailGenerationException(null);
    
            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
    - 6.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

              .reverse();
      private static final Ordering<Constructor<?>> WITH_STRING_PARAM_THEN_WITH_THROWABLE_PARAM =
          ORDERING_BY_CONSTRUCTOR_PARAMETER_LIST.onResultOf(
              constructor -> asList(constructor.getParameterTypes()));
    
      private static <X> @Nullable X newFromConstructor(Constructor<X> constructor, Throwable cause) {
        Class<?>[] paramTypes = constructor.getParameterTypes();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/av/AvPairTest.java

            byte[] raw = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            AvPair avPair = new AvPair(type, raw);
    
            assertEquals(type, avPair.getType(), "Type should match the constructor argument.");
            assertArrayEquals(raw, avPair.getRaw(), "Raw data should match the constructor argument.");
    
            // Test with another type and empty raw data
            int type2 = AvPair.MsvAvEOL;
            byte[] raw2 = new byte[] {};
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java

        @Test
        void testNoArgsConstructor() {
            // Test the constructor with no arguments
            RequestTimeoutException exception = new RequestTimeoutException();
            assertNull(exception.getMessage(), "Message should be null for no-arg constructor");
            assertNull(exception.getCause(), "Cause should be null for no-arg constructor");
        }
    
        @Test
        void testMessageConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/HMACT64Test.java

                HMACT64 hmac = new HMACT64(TEST_KEY);
                hmac.engineReset();
                verify(mockMd5, times(2)).reset(); // Once in constructor, once in reset
                verify(mockMd5, times(2)).update(any(byte[].class)); // Once in constructor, once in reset
            }
        }
    
        @Test
        void testEngineGetDigestLength() throws NoSuchAlgorithmException {
            // Test engineGetDigestLength()
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            // Test constructor with message only
            String message = "LDAP operation failed";
            LdapOperationException exception = new LdapOperationException(message);
    
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withMessageAndCause() {
            // Test constructor with message and cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top