Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 1,651 for toString (0.14 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java

            int result = sdd.readBytesWireFormat(buffer, 0);
            assertEquals(0, result);
        }
    
        /**
         * Test toString method.
         */
        @Test
        void testToString() {
            SmbComDeleteDirectory sdd = new SmbComDeleteDirectory("testDir");
            String result = sdd.toString();
            assertTrue(result.contains("SmbComDeleteDirectory"));
            assertTrue(result.contains("directoryName=testDir"));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

        }
    
        @Test
        @DisplayName("Test toString() method")
        void testToString() {
            String result = transaction.toString();
            assertNotNull(result, "toString should not return null");
            assertTrue(result.contains("command="), "toString should contain command info");
        }
    
        @Test
        @DisplayName("Test parameter and data writing methods")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java

      }
    
      public void testToString() {
        assertEquals("foo=1", entry("foo", 1).toString());
      }
    
      public void testToStringNull() {
        assertEquals("null=1", entry(NK, 1).toString());
        assertEquals("foo=null", entry("foo", NV).toString());
        assertEquals("null=null", entry(NK, NV).toString());
      }
    
      public void testEquals() {
        Entry<String, Integer> foo1 = entry("foo", 1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

        }
    
        public void test_toString() {
            // Test toString method
            String message = "Dictionary parse error";
            Exception cause = new NullPointerException("NPE occurred");
            DictionaryException exception = new DictionaryException(message, cause);
    
            String toStringResult = exception.toString();
            assertNotNull(toStringResult);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

            assertEquals(6, close.writeParameterWordsWireFormat(new byte[10], 0));
        }
    
        /**
         * The toString representation should include the class name and both
         * fields.  This provides visibility into the debug output of the SMB
         * packet.
         */
        @Test
        @DisplayName("happy: toString contains class info and field values")
        void testToStringContainsAllInfo() {
            int fid = 256;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComTreeDisconnect.java

        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
            return ("SmbComTreeDisconnect[" + super.toString() + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/TransTransactNamedPipeResponse.java

                    in.receive(buffer, bufferIndex, len);
                    in.lock.notify();
                }
            }
            return len;
        }
    
        @Override
        public String toString() {
            return ("TransTransactNamedPipeResponse[" + super.toString() + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/toolchain/RequirementMatcherFactoryTest.java

            assertTrue(matcher.matches("(1.4,1.5.2]"));
            assertTrue(matcher.matches("(1.5,)"));
            assertEquals("1.5.2", matcher.toString());
    
            // Ensure it is not printed as 1.5.0
            matcher = RequirementMatcherFactory.createVersionMatcher("1.5");
            assertEquals("1.5", matcher.toString());
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

            appendJvmStats(buf);
            appendFesenStats(buf);
    
            appendTimestamp(buf);
            buf.append('}');
    
            if (logger.isInfoEnabled()) {
                logger.info(buf.toString());
            }
        }
    
        private void appendJvmStats(final StringBuilder buf) {
            buf.append("\"jvm\":{");
            final JvmStats jvmStats = JvmStats.jvmStats();
            final Mem mem = jvmStats.getMem();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                 * in logging output. Logging of andx segments of messages inadvertantly
                 * print header information because of the way toString always makes a
                 * super.toString() call(see toString() at the end of all smbs classes).
                 */
    
                andx.uid = uid;
                dstIndex += ((AndXServerMessageBlock) andx).writeAndXWireFormat(dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top