Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 203 for teststring (1.55 sec)

  1. src/test/java/org/codelibs/core/xml/DomUtilTest.java

            assertNotNull("1", DomUtil.getContentsAsStream(contents, "UTF-8"));
        }
    
        /**
         * @throws Exception
         */
        public void testToString() throws Exception {
            final DocumentBuilder builder = DocumentBuilderFactoryUtil.newDocumentBuilder();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java

                assertEquals(dataLength, response.dataLength);
                assertEquals(dataOffset, response.dataOffset);
            }
        }
    
        @Test
        public void testToString() {
            response.dataCompactionMode = 1;
            response.dataLength = 1024;
            response.dataOffset = 54;
    
            String result = response.toString();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          testExceptionPropagation(interfaceType, method, wrapperFunction);
        }
        if (testsEquals) {
          testEquals(interfaceType, wrapperFunction);
        }
        testToString(interfaceType, wrapperFunction);
      }
    
      /** Returns the most concrete public methods from {@code type}. */
      private static Method[] getMostConcreteMethods(Class<?> type) {
        Method[] methods = type.getMethods();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

            verify(mockPipeIn, times(1)).receive(buffer, bufferIndex, len);
        }
    
        /**
         * Tests the toString method.
         */
        @Test
        void testToString() {
            String result = response.toString();
            assertNotNull(result, "toString() should not return null.");
        }
    
        // Helper method to access the super.toString() for verification,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

         * Tests the toString method of the DfsReferral class.
         * It verifies that the toString method returns a string representation of the object
         * that accurately reflects its properties.
         */
        @Test
        void testToString() {
            // Given
            DfsReferral referral = new DfsReferral();
            referral.pathConsumed = 20;
            referral.server = "testServer";
            referral.share = "testShare";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java

            byte[] buffer = new byte[10];
            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"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java

            // This method is expected to do nothing and return 0
            int result = smbComDelete.readBytesWireFormat(new byte[0], 0);
            assertEquals(0, result);
        }
    
        @Test
        public void testToString() {
            // Test the string representation of the object
            String result = smbComDelete.toString();
            assertNotNull(result);
    
            // Verify the result contains expected components
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/io/ResourceBundleUtilTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testGetString() throws Exception {
            final ResourceBundle bundle = ResourceBundleUtil.getBundle("CLMessages");
            assertThat(bundle.getString("ECL0001"), is(notNullValue()));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

                case 1: // Key
                    break;
                case 2: // Realm
                    DERGeneralString derRealm = ASN1Util.as(DERGeneralString.class, tagged);
                    this.userRealm = derRealm.getString();
                    break;
                case 3: // Principal
                    ASN1Sequence principalSequence = ASN1Util.as(ASN1Sequence.class, tagged);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                assertEquals(0, smbInfoAllocation.getFree());
            }
    
            @Test
            @DisplayName("Should provide string representation")
            void testToString() {
                String result = smbInfoAllocation.toString();
    
                assertNotNull(result);
                assertTrue(result.contains("SmbInfoAllocation"));
                assertTrue(result.contains("alloc="));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top