Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,878 for constructor (0.14 sec)

  1. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *
       * <ul>
       *   <li>The non-private constructor or non-private static factory method with the most parameters
       *       is used to construct the sample instances. In case of tie, the candidate constructors or
       *       factories are tried one after another until one can be used to construct sample
       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *
       * <ul>
       *   <li>The non-private constructor or non-private static factory method with the most parameters
       *       is used to construct the sample instances. In case of tie, the candidate constructors or
       *       factories are tried one after another until one can be used to construct sample
       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

            SMBProtocolDecodingException ex = new SMBProtocolDecodingException();
    
            // Assert state
            assertNull(ex.getMessage(), "Default constructor should have null message");
            assertNull(ex.getCause(), "Default constructor should have null cause");
            assertTrue(ex instanceof CIFSException, "Should be a CIFSException subtype");
    
            // Assert throwing/catching behavior with assertThrows
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

            assertEquals(expectedStatus, ex.getNtStatus(), "status should map based on code");
            assertNull(ex.getCause(), "cause must be null for int constructor");
            assertNull(ex.getRootCause(), "rootCause must be null for int constructor");
        }
    
        /**
         * Validate message-only constructor with both null and empty messages.
         */
        @ParameterizedTest
        @MethodSource("messageProvider")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *
       * <ul>
       *   <li>The visible constructor or visible static factory method with the most parameters is used
       *       to construct the sample instances. In case of tie, the candidate constructors or
       *       factories are tried one after another until one can be used to construct sample
       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/Invokable.java

          return method.isVarArgs();
        }
      }
    
      static class ConstructorInvokable<T> extends Invokable<T, T> {
    
        final Constructor<?> constructor;
    
        ConstructorInvokable(Constructor<?> constructor) {
          super(constructor);
          this.constructor = constructor;
        }
    
        @Override
        final Object invokeInternal(@Nullable Object receiver, @Nullable Object[] args)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

        @Test
        @DisplayName("Default constructor should create exception with null message and cause")
        void testDefaultConstructor() {
            // Given & When
            CIFSUnsupportedCryptoException exception = new CIFSUnsupportedCryptoException();
    
            // Then
            assertNull(exception.getMessage(), "Default constructor should have null message");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

     * Provides structures and methods for DFS management and enumeration.
     */
    @SuppressWarnings("all")
    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.8K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            assertNull(exception.getCause());
        }
    
        /**
         * Test protected constructor with suppression and stack trace control
         */
        public void test_protectedConstructor_withSuppressionAndStackTrace() throws Exception {
            // Access protected constructor via reflection
            Constructor<CrawlerSystemException> constructor =
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

        @SuppressWarnings({"unchecked", "rawtypes"})
        List<Constructor<X>> constructors = (List) Arrays.asList(exceptionClass.getConstructors());
        for (Constructor<X> constructor : preferringStringsThenThrowables(constructors)) {
          X instance = newFromConstructor(constructor, cause);
          if (instance != null) {
            if (instance.getCause() == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top