Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 3,858 for full (0.03 sec)

  1. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        @Test
        @DisplayName("Test isValid with null context")
        void testIsValidWithNullContext() {
            // Arrange
            when(negotiationResponse.isValid(null, negotiationRequest)).thenReturn(false);
    
            // Act
            boolean result = negotiationResponse.isValid(null, negotiationRequest);
    
            // Assert
            assertFalse(result);
            verify(negotiationResponse).isValid(null, negotiationRequest);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/PythonJobTest.java

            @Override
            public java.io.OutputStream getOutputStream() {
                return null;
            }
    
            @Override
            public java.io.InputStream getInputStream() {
                return null;
            }
    
            @Override
            public java.io.InputStream getErrorStream() {
                return null;
            }
        }
    
        private static class TestInputStreamThread extends InputStreamThread {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                assertThrows(NullPointerException.class, () -> concreteImplementation.combine(null));
            }
    
            @Test
            @DisplayName("Should handle null in append")
            void testAppendWithNull() {
                // Test with mock
                doNothing().when(mockReferralData).append(null);
                assertDoesNotThrow(() -> mockReferralData.append(null));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/PacCredentialTypeTest.java

        }
    
        /**
         * Tests the isCredentialTypeCorrect method with a null byte array.
         * This test is indirect as the constructor would throw an exception.
         * We can't instantiate the class with null, so we can't directly test this method's behavior with null.
         * However, the constructor logic `!isCredentialTypeCorrect()` covers this.
         * If `new PacCredentialType(null)` throws, it implies `isCredentialTypeCorrect()` returned false for null.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java

        }
    
        private boolean determineVersionMatch(String version) {
            String test = version;
            boolean reverse = false;
    
            if (test.startsWith("!")) {
                reverse = true;
                test = test.substring(1);
            }
    
            boolean result = Os.OS_VERSION.equals(test);
    
            if (reverse) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         *
         * @param arrays
         *            the array
         * @return {@literal true} if the array is {@literal null} or has a length of 0
         */
        public static boolean isEmpty(final boolean[] arrays) {
            return arrays == null || arrays.length == 0;
        }
    
        /**
         * Returns {@literal true} if the array is not {@literal null} and its length is not 0.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt

          when {
            response != null && response.code != 101 -> response.body.string()
            else -> null
          }
    
        override fun toString(): String =
          when (response) {
            null -> "Failure[$t]"
            else -> "Failure[$response]"
          }
      }
    
      internal data class Message(
        val bytes: ByteString? = null,
        val string: String? = null,
      )
    
      internal data class Ping(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

            if (reporting != null) {
                reporting.setOutputDirectory(alignToBaseDirectory(reporting.getOutputDirectory(), basedir));
            }
        }
    
        @Override
        public String alignToBaseDirectory(String path, File basedir) {
            if (basedir == null) {
                return path;
            }
    
            if (path == null) {
                return null;
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionBean.java

        protected void assertObjectNotNull(String variableName, Object value) {
            if (variableName == null) {
                String msg = "The value should not be null: variableName=null value=" + value;
                throw new IllegalArgumentException(msg);
            }
            if (value == null) {
                String msg = "The value should not be null: variableName=" + variableName;
                throw new IllegalArgumentException(msg);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionBean.java

        protected void assertObjectNotNull(String variableName, Object value) {
            if (variableName == null) {
                String msg = "The value should not be null: variableName=null value=" + value;
                throw new IllegalArgumentException(msg);
            }
            if (value == null) {
                String msg = "The value should not be null: variableName=" + variableName;
                throw new IllegalArgumentException(msg);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top