- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 215 for test_string (0.07 sec)
-
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
assertTrue(unc2.contains("dfs/path") || unc2.contains("dfs\\path")); } @Test @DisplayName("toString includes URL and cached fields") void testToString() { SmbResourceLocatorImpl l = locator("smb://server/share"); String s = l.toString(); assertTrue(s.startsWith("smb://server/share"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/WebApiUtilTest.java
// Test generic type safety of getObject method // Since we're in test environment without request context, this will return null String stringResult = WebApiUtil.getObject("testString"); assertNull("Should return null in test environment", stringResult); Integer intResult = WebApiUtil.getObject("testInteger"); assertNull("Should return null in test environment", intResult);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java
assertEquals("filetype:html", queryMap.get("label1")); assertEquals("filetype:others", queryMap.get("labels.facet_filetype_others")); } // Test toString() method public void test_toString() { facetQueryView.setTitle("Test Title"); facetQueryView.addQuery("key1", "query1"); facetQueryView.addQuery("key2", "query2"); String result = facetQueryView.toString();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
long expectedFree = (long) free * sectPerAlloc * bytesPerSect; assertEquals(expectedFree, smbInfoAllocation.getFree()); } @Test @DisplayName("Test toString method") void testToString() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = new byte[22]; int idFileSystem = 0xABCDEF00; int sectPerAlloc = 4; long alloc = 500000L;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
// Then: Should complete without errors assertDoesNotThrow(() -> handle.close()); } @Test @DisplayName("Should return string representation") void testToString() { // Given: Mock binding with toString when(mockBinding.toString()).thenReturn("mockBindingString"); // When: Getting string representation
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
assertEquals(0, fileBothDirectoryInfo.length()); assertEquals(0, fileBothDirectoryInfo.getAttributes()); } @Test @DisplayName("Test toString method contains all fields") void testToString() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = createValidBuffer("tostring.txt", "TOSTRI~1.TXT", true); long testTime = System.currentTimeMillis();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtAddressTest.java
assertFalse(nbtAddress1.equals(nbtAddress3)); assertFalse(nbtAddress1.equals(null)); assertFalse(nbtAddress1.equals("some string")); } @Test void testToString() { // Test toString method mockName = new Name(mockConfig, "TESTHOST", 0x00, null); NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/PrunedTagTest.java
assertTrue(prunedtag.equals(prunedtag)); assertEquals(false, prunedtag.equals(null)); assertEquals(false, prunedtag.equals("")); } public void test_toString() { String tag = "tag", id = "id", css = "css", attrName = "attrName", attrValue = "attrValue"; PrunedTag prunedtag = new PrunedTag(tag); prunedtag.setAttr(attrName, attrValue);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
assertEquals(2, list.size()); assertEquals("updated1", list.get(0).getInput()); assertEquals("updated2", list.get(1).getInput()); } public void test_toString() { protwordsFile.reload(null); String result = protwordsFile.toString(); assertTrue(result.contains("ProtwordsFile")); assertTrue(result.contains("path=" + testFile.getAbsolutePath()));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
this.badLength = badLength; } @Override public long length() { return badLength; } private static final long serialVersionUID = 0; } public void testToString() throws IOException { File asciiFile = getTestFile("ascii.txt"); File i18nFile = getTestFile("i18n.txt"); assertEquals(ASCII, Files.toString(asciiFile, US_ASCII));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0)