- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 209 for teststring (0.05 sec)
-
src/test/java/org/codelibs/curl/CurlExceptionTest.java
assertSame(intermediateCause, exception.getCause()); assertSame(rootCause, exception.getCause().getCause()); } @Test public void testToString() { String message = "Test error message"; CurlException exception = new CurlException(message); String toString = exception.toString(); assertNotNull(toString);
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java
map.remove("data1"); assertFalse(docBoostMatcher.match(map)); map.put("data2", 5); assertFalse(docBoostMatcher.match(map)); } public void test_string() { final DocBoostMatcher docBoostMatcher = new DocBoostMatcher(); docBoostMatcher.setBoostExpression("10"); docBoostMatcher.setMatchExpression("data1 != null && data1.matches(\"test\")");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/DfsReferralTest.java
assertEquals(mockData, dfsReferral.getData(), "getData() should return the DfsReferralData object passed to the constructor."); } /** * Test the toString method. */ @Test void testToString() { // Create a mock DfsReferralData object DfsReferralData mockData = mock(DfsReferralData.class); String expectedToString = "Mock DfsReferralData";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java
byte[] buffer = new byte[10]; int result = smbCom.readBytesWireFormat(buffer, 0); assertEquals(0, result); } @Test void testToString() { // Test the string representation of the object String directoryName = "myDir"; SmbComCreateDirectory smbCom = new SmbComCreateDirectory(mockConfig, directoryName);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoExceptionTest.java
assertNull(ex3.getCause()); assertNull(ex3.getMessage()); }); } @Test @DisplayName("toString should include class name and message") void testToString() { // Given SpnegoException ex = new SpnegoException("hello"); // When String s = ex.toString(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
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) -
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) -
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) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java
int result = instance.readBytesWireFormat(buffer, 0); // Then assertEquals(0, result); } /** * Test of toString method */ @Test public void testToString() { // Given SmbComWriteAndXResponse instance = new SmbComWriteAndXResponse(config); // When String result = instance.toString(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
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)