Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 215 for test_string (0.07 sec)

  1. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

                    break;
                }
            }
            assertTrue(foundTestMethod);
        }
    
        @Test
        @DisplayName("Should create meaningful string representation")
        void testToString() {
            // Given
            String message = "Test CIFS runtime error";
            RuntimeCIFSException exception = new RuntimeCIFSException(message);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

                    "Command should change to SMB_COM_NT_TRANSACT_SECONDARY for NT transactions");
        }
    
        @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");
        }
    
    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. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        assertEquals(3, multiset.size());
        assertEquals(2, multiset.count("foo"));
        assertEquals("[bar, foo x 2]", multiset.toString());
      }
    
      public void testToString() {
        Multiset<String> ms = TreeMultiset.create();
        ms.add("a", 3);
        ms.add("c", 1);
        ms.add("b", 2);
    
        assertEquals("[a x 3, b x 2, c]", ms.toString());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

          assertThat(length - baseStackDepth).isLessThan(DIRECT_EXECUTIONS_PER_THREAD / 2);
        }
      }
    
      @SuppressWarnings("ObjectToString") // Intended behavior
      public void testToString() {
        Future<?> unused = serializer.submitAsync(firstCallable, directExecutor());
        TestCallable secondCallable = new TestCallable(SettableFuture.<Void>create());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java

        public void testBigDouble() throws Exception {
            assertEquals("12500000", BigDecimalConversionUtil.toBigDecimal(12500000D).toString());
        }
    
        /**
         * @throws Exception
         */
        public void testToString() throws Exception {
            final BigDecimal d = new BigDecimal(new BigInteger("125"), -1);
            assertEquals("1250", BigDecimalConversionUtil.toString(d));
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            // Then
            assertEquals(0, bytesRead);
        }
    
        @Test
        @DisplayName("toString should return formatted string with details")
        void testToString() throws Exception {
            // Given
            String filename = "\\\\server\\share\\file.txt";
            trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, filename);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

            assertThat(expectSuccess).isTrue();
          } catch (IllegalArgumentException e) {
            assertThat(expectSuccess).isFalse();
          }
        }
      }
    
      public void testToString() {
        for (int value : TEST_INTS) {
          UnsignedInteger unsignedValue = UnsignedInteger.fromIntBits(value);
          assertThat(unsignedValue.toString()).isEqualTo(unsignedValue.bigIntegerValue().toString());
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

            // Test ordinal() method returns correct position
            assertEquals(0, SsoResponseType.METADATA.ordinal());
            assertEquals(1, SsoResponseType.LOGOUT.ordinal());
        }
    
        public void test_toString() {
            // Test toString() method (default implementation returns name)
            assertEquals("METADATA", SsoResponseType.METADATA.toString());
            assertEquals("LOGOUT", SsoResponseType.LOGOUT.toString());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            assertEquals(8, bytesRead);
            assertArrayEquals(encryptionKey, serverData.encryptionKey);
            assertEquals("", serverData.oemDomainName);
        }
    
        @Test
        void testToString() {
            // Populate serverData with some values
            response.dialectIndex = 5;
            serverData.securityMode = 0x03; // User, Encrypted
            serverData.security = 1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top