- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 1,952 for toString (0.05 seconds)
-
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
Created: 2025-12-26 12:43 - Last Modified: 2025-07-14 14:44 - 15.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
String infoString = info.toString(); assertTrue(infoString.contains("alloc=1000"), "toString should contain alloc"); assertTrue(infoString.contains("free=500"), "toString should contain free"); assertTrue(infoString.contains("sectPerAlloc=100"), "toString should contain sectPerAlloc"); assertTrue(infoString.contains("bytesPerSect=512"), "toString should contain bytesPerSect"); }Created: 2025-12-20 13:44 - Last Modified: 2025-08-14 05:31 - 8.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MojoLogWrapper.java
@Override public void debug(CharSequence content) { if (isDebugEnabled()) { logger.debug(toString(content)); } } private String toString(CharSequence content) { if (content == null) { return ""; } else { return content.toString(); } } @Override public void debug(CharSequence content, Throwable error) {Created: 2025-12-28 03:35 - Last Modified: 2025-06-06 14:28 - 3.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java
public void testToString_minimal() { assertNotNull("toString() should not return null", getMap().toString()); } @CollectionSize.Require(ZERO) @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) public void testToString_size0() { assertEquals("emptyMap.toString should return {}", "{}", getMap().toString()); } @CollectionSize.Require(ONE)
Created: 2025-12-26 12:43 - Last Modified: 2024-11-14 23:40 - 3.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
@Nested @DisplayName("ToString Tests") class ToStringTests { @Test @DisplayName("Should return simple string when no root cause") void testToStringWithoutRootCause() { String message = "Test exception message"; TransportException exception = new TransportException(message); String result = exception.toString(); assertNotNull(result);Created: 2025-12-20 13:44 - Last Modified: 2025-08-14 05:31 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/DfsReferralTest.java
DfsReferral dfsReferral = new DfsReferral(mockData); // Verify that toString() returns the expected string from the mock data object assertEquals(expectedToString, dfsReferral.toString(), "toString() should return the result of the wrapped DfsReferralData's toString() method."); }
Created: 2025-12-20 13:44 - Last Modified: 2025-08-14 05:31 - 1.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsWebConfigBhv.java
result.setExcludedUrls(DfTypeUtil.toString(source.get("excludedUrls"))); result.setIncludedDocUrls(DfTypeUtil.toString(source.get("includedDocUrls"))); result.setIncludedUrls(DfTypeUtil.toString(source.get("includedUrls"))); result.setIntervalTime(DfTypeUtil.toInteger(source.get("intervalTime"))); result.setMaxAccessCount(DfTypeUtil.toLong(source.get("maxAccessCount")));
Created: 2025-12-20 09:19 - Last Modified: 2025-03-15 06:53 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
// When String s = next.toString(); // Then assertTrue(s.startsWith("Trans2FindNext2["), "toString should start with class name"); assertTrue(s.contains(",sid=" + sid), "toString should include sid in decimal"); assertTrue(s.contains(",searchCount=" + Trans2FindFirst2.LIST_SIZE), "toString should include searchCount using LIST_SIZE");Created: 2025-12-20 13:44 - Last Modified: 2025-08-14 05:31 - 6.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDTest.java
@Test @DisplayName("Textual constructor happy path and toString consistency") void testTextualConstructorAndToString() throws Exception { // Arrange SID sid = new SID("S-1-5-21-1-2-3-1029"); // Act & Assert // toString should reconstruct exact textual form assertEquals("S-1-5-21-1-2-3-1029", sid.toString()); // RID is the last subauthorityCreated: 2025-12-20 13:44 - Last Modified: 2025-08-14 05:31 - 15.8K bytes - Click Count (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java
assertTrue(restriction.isLowerBoundInclusive(), CHECK_LOWER_BOUND_INCLUSIVE); assertEquals("1.4", restriction.getUpperBound().toString(), CHECK_UPPER_BOUND); assertTrue(restriction.isUpperBoundInclusive(), CHECK_UPPER_BOUND_INCLUSIVE); restriction = restrictions.get(2); assertEquals("1.5", restriction.getLowerBound().toString(), CHECK_LOWER_BOUND);
Created: 2025-12-28 03:35 - Last Modified: 2025-03-30 23:08 - 44.1K bytes - Click Count (0)