Search Options

Results per page
Sort
Preferred Languages
Advance

Results 971 - 980 of 4,154 for nulls (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

            }
    
            @Test
            @DisplayName("getName() should handle null return value")
            void testGetNameWithNull() {
                CreateContextResponse response = mock(CreateContextResponse.class);
                when(response.getName()).thenReturn(null);
    
                byte[] actualName = response.getName();
                assertEquals(null, actualName);
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        notEqualObject1 = new ValidTestObject(0, 2);
      }
    
      /** Test null reference yields error */
      public void testAddNullReference() {
        assertThrows(NullPointerException.class, () -> equalsTester.addEqualityGroup((Object) null));
      }
    
      /** Test equalObjects after adding multiple instances at once with a null */
      public void testAddTwoEqualObjectsAtOnceWithNull() {
        assertThrows(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractorTest.java

                lhaExtractor.setMaxContentSize(100);
                lhaExtractor.getText(in, null);
                fail();
            } catch (MaxLengthExceededException e) {
                // pass
            }
            lhaExtractor.setMaxContentSize(-1);
        }
    
        public void test_getText_null() {
            try {
                lhaExtractor.getText(null, null);
                fail();
            } catch (final CrawlerSystemException e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/security/MessageDigestUtil.java

         *            The algorithm. Must not be {@literal null} or an empty string.
         * @param text
         *            The string to be hashed.
         * @return The hashed string.
         */
        public static String digest(final String algorithm, final String text) {
            assertArgumentNotEmpty("algorithm", algorithm);
    
            if (text == null) {
                return null;
            }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            // Act + Assert
            assertThrows(PACDecodingException.class, () -> new KerberosApRequest(notASequence, null));
        }
    
        @Test
        @DisplayName("seq ctor: valid minimal sequence sets apOptions and leaves ticket null")
        void sequenceConstructor_minimal_valid_setsApOptions_noTicket() throws Exception {
            // Arrange
            byte ap = (byte) 0x7A;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

        }
    
        // Edge / invalid: null referral or empty/blank path
        @Test
        @DisplayName("handleDFSReferral handles null referral and empty path")
        void handleDfsReferralNullAndEmpty() {
            when(locator.handleDFSReferral(null, "")).thenReturn("smb://server/share/");
            assertEquals("smb://server/share/", locator.handleDFSReferral(null, ""));
            verify(locator).handleDFSReferral(null, "");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/spnego/NegTokenTargTest.java

            assertNull(parsed.getMechanism(), "mechanism should be null when omitted");
            assertNull(parsed.getMechanismToken(), "mechanism token should be null when omitted");
            assertNull(parsed.getMechanismListMIC(), "MIC should be null when omitted");
        }
    
        @Test
        @DisplayName("parsing malformed token throws IOException")
        void testMalformedToken() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactory.java

                    null,
                    dependency.getType()));
        }
    
        @Nonnull
        default DependencyCoordinates create(@Nonnull Session session, Plugin plugin) {
            // TODO: hard coded string
            return create(DependencyCoordinatesFactoryRequest.build(
                    session, plugin.getGroupId(), plugin.getArtifactId(), plugin.getVersion(), null, null, "maven-plugin"));
        }
    
        @Nonnull
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsRelatedContent.java

            if (content != null) {
                addFieldToSource(sourceMap, "content", content);
            }
            if (createdBy != null) {
                addFieldToSource(sourceMap, "createdBy", createdBy);
            }
            if (createdTime != null) {
                addFieldToSource(sourceMap, "createdTime", createdTime);
            }
            if (sortOrder != null) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

            if (out != null && !out.isOpen()) {
                throw new IOException("DCERPC pipe is no longer open");
            }
    
            if (in == null) {
                in = (SmbFileInputStream) pipe.getNamedPipeInputStream();
            }
            if (out == null) {
                out = (SmbFileOutputStream) pipe.getNamedPipeOutputStream();
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top