Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1671 - 1680 of 3,758 for null (0.03 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        assertThrows(NullPointerException.class, () -> future.addListener(null, directExecutor()));
      }
    
      public void testNullExecutor() {
        assertThrows(NullPointerException.class, () -> future.addListener(doNothing(), null));
      }
    
      public void testNullTimeUnit() throws Exception {
        future.set(1);
        assertThrows(NullPointerException.class, () -> future.get(0, null));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                assertNotNull(readRequest);
            }
    
            @Test
            @DisplayName("Should accept null file ID in constructor")
            void testConstructorWithNullFileId() {
                assertDoesNotThrow(() -> new Smb2ReadRequest(mockConfig, null, outputBuffer, 0));
            }
    
            @Test
            @DisplayName("Should accept empty file ID in constructor")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Types.java

          @Nullable Type ownerType, Class<?> rawType, Type... arguments) {
        if (ownerType == null) {
          return newParameterizedType(rawType, arguments);
        }
        // ParameterizedTypeImpl constructor already checks, but we want to throw NPE before IAE
        checkNotNull(arguments);
        checkArgument(rawType.getEnclosingClass() != null, "Owner type for unenclosed %s", rawType);
        return new ParameterizedTypeImpl(ownerType, rawType, arguments);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

        void testReadMethodsReturnZero() {
            Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(10);
            assertEquals(0, cmd.readSetupWireFormat(null, 0, 0));
            assertEquals(0, cmd.readParametersWireFormat(null, 0, 0));
            assertEquals(0, cmd.readDataWireFormat(null, 0, 0));
        }
    
        @Test
        @DisplayName("toString includes information level in hex")
        void testToString() {
            int level = 0xABC;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

                return null;
            }
    
            @Override
            public Map<String, String[]> getFields() {
                return null;
            }
    
            @Override
            public Map<String, String[]> getConditions() {
                return null;
            }
    
            @Override
            public String[] getLanguages() {
                return null;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        toPut.put(null, 1);
        ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder();
        assertThrows(NullPointerException.class, () -> builder.put(null, 1));
        assertThrows(NullPointerException.class, () -> builder.putAll(null, Arrays.asList(1, 2, 3)));
        assertThrows(NullPointerException.class, () -> builder.putAll(null, 1, 2, 3));
        assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

                // Expected exception
                assertTrue(e.getMessage().contains("INVALID"));
            }
        }
    
        public void test_valueOf_null() {
            // Test valueOf with null throws exception
            try {
                SsoResponseType.valueOf(null);
                fail("Expected NullPointerException");
            } catch (NullPointerException e) {
                // Expected exception
            }
        }
    
        public void test_name() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/misc/DisposableUtil.java

         */
        public static synchronized void addFirst(final Disposable disposable) {
            assertArgumentNotNull("disposable", disposable);
            disposables.addFirst(disposable);
        }
    
        /**
         * Unregisters a disposable resource.
         *
         * @param disposable
         *            A disposable resource. Must not be {@literal null}.
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/PacLogonInfoTest.java

        }
    
        @Test
        @DisplayName("Test PacUnicodeString check method with null pointer")
        void testPacUnicodeStringCheckWithNullPointer() throws Exception {
            // When pointer is 0, the string should be null
            PacUnicodeString unicodeString = new PacUnicodeString((short) 0, (short) 0, 0);
    
            // check() expects null when pointer is 0 but doesn't accept empty string
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/entity/RequestParameter.java

        private final String[] values;
    
        /**
         * Constructs a new RequestParameter with the specified name and values.
         *
         * @param name the name of the parameter, must not be null
         * @param values the array of values for this parameter, can be null or empty
         */
        public RequestParameter(final String name, final String[] values) {
            this.name = name;
            this.values = values;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top