Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 167 for test_toString (0.16 sec)

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

            // Test with different object type
            assertNotEquals(tree1, new Object());
    
            // Test with null
            assertNotEquals(tree1, null);
        }
    
        @Test
        void testToString() {
            SmbTree tree = new SmbTree(session, "testShare", "testService");
            tree.tid = 123;
            tree.inDfs = true;
            tree.inDomainDfs = false;
            tree.connectionState = 2;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/ResourcesTest.java

                "Resources.asCharSource[URL, Charset]",
                SourceSinkFactories.urlCharSourceFactory(),
                false));
        suite.addTestSuite(ResourcesTest.class);
        return suite;
      }
    
      public void testToString() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertEquals(I18N, Resources.toString(resource, UTF_8));
        assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N);
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            // Test bytes read
            int bytesResult = transaction.readBytesWireFormat(buffer, 0);
            assertEquals(0, bytesResult);
        }
    
        @Test
        @DisplayName("Test toString method")
        void testToString() {
            String result = transaction.toString();
    
            assertNotNull(result);
            // The toString method from parent class returns SMB_COM_TRANSACTION, not SmbComTransaction
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        assertEquals(Ordering.natural(), copy.keyComparator());
        assertEquals(Ordering.natural(), copy.valueComparator());
        assertEquals(Ordering.natural(), copy.get("google").comparator());
      }
    
      public void testToString() {
        Multimap<String, Integer> multimap = create();
        multimap.put("foo", 3);
        multimap.put("bar", 1);
        multimap.putAll("foo", asList(-1, 2, 4));
        multimap.putAll("bar", asList(2, 3));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            assertTrue(exception.getMessage().contains("Unsupported information level"));
        }
    
        @Test
        void testToString() {
            trans2QueryPathInfo = new Trans2QueryPathInformation(config, TEST_FILENAME, TEST_INFO_LEVEL);
    
            String result = trans2QueryPathInfo.toString();
    
            assertNotNull(result);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            int hashCode2 = info.hashCode();
    
            // Multiple calls should return same value
            assertEquals(hashCode1, hashCode2);
        }
    
        @Test
        @DisplayName("Test toString method")
        void testToString() {
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK);
            String str = info.toString();
    
            // Verify string contains expected elements
            assertNotNull(str);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

                response.readDataWireFormat(buffer, 0, buffer.length);
            });
        }
    
        @Test
        @DisplayName("Test toString method")
        void testToString() {
            String result = response.toString();
            assertNotNull(result);
            // The toString method includes various parameter information
            assertTrue(result.contains("totalParameterCount"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

            fileInternalInfo.decode(buffer3, 0, buffer3.length);
            assertEquals(indexNumber3, fileInternalInfo.getIndexNumber());
        }
    
        @Test
        @DisplayName("Test toString method")
        void testToString() throws SMBProtocolDecodingException {
            // Setup test data
            byte[] buffer = new byte[8];
            long expectedIndexNumber = 0x9876543210ABCDEFL;
            SMBUtil.writeInt8(expectedIndexNumber, buffer, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        ExecutionException expected =
            assertThrows(ExecutionException.class, () -> first.get(10, SECONDS));
        assertThat(expected).hasCauseThat().isInstanceOf(RejectedExecutionException.class);
      }
    
      public void testToString() {
        Runnable[] currentTask = new Runnable[1];
        Executor delegate =
            new Executor() {
              @Override
              public void execute(Runnable task) {
                currentTask[0] = task;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            // Then
            assertEquals(0, bytesRead);
        }
    
        @Test
        @DisplayName("Test toString method")
        void testToString() {
            // Given
            transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, 0, TEST_DATA.length);
    
            // When
            String result = transCallNamedPipe.toString();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top