- Sort Score
- Num 10 results
- Language All
Results 801 - 810 of 4,636 for should (0.09 seconds)
-
src/test/java/jcifs/smb/MIENameTest.java
// Assert // equals should match case-insensitively for name and equal OID MIEName expected = new MIEName(testOid(), name); assertEquals(expected, parsed, "Parsed object should equal expected"); assertEquals(name, parsed.toString(), "toString should return the name"); assertEquals(testOid().hashCode(), parsed.hashCode(), "hashCode should derive from OID"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java
* FutureTask#done() done()} method. For similar functionality, call {@link #addListener}. * * <p>Few users should use this class. It is intended primarily for those who are implementing an * {@code ExecutorService}. Most users should call {@link ListeningExecutorService#submit(Callable) * ListeningExecutorService.submit} on a service obtained from {@link * MoreExecutors#listeningDecorator}. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 10 11:51:21 GMT 2026 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
when(tree.send(any(Smb2IoctlRequest.class), eq(RequestParam.NO_RETRY))).thenReturn(ioResp); // Act int available = stream.available(); // Assert assertEquals(7, available, "Should return available bytes reported by server"); // Interactions: ensure open, use tree, send IOCTL and close resources InOrder inOrder = inOrder(handle, fd, tree);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/main/java/jcifs/RuntimeCIFSException.java
* Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs; /** * Base for all checked exceptions used by this library * * * These should only occur under very rare circumstances. * * @author mbechler
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/QueueElementTester.java
public void testElement_size1() { assertEquals("size1Queue.element() should return first element", e0(), getQueue().element()); expectUnchanged(); } @CollectionFeature.Require(KNOWN_ORDER) @CollectionSize.Require(SEVERAL) public void testElement_sizeMany() { assertEquals("sizeManyQueue.element() should return first element", e0(), getQueue().element()); expectUnchanged(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/FavoritesApiTests.java
given().contentType("application/json").params(params).when().post("/api/v1/documents/" + docId + "/favorite"); // Should return 200 or 201 int statusCode = response.getStatusCode(); assertTrue(statusCode == 200 || statusCode == 201, "Status code should be 200 or 201, but was " + statusCode); } } @Test public void testSetFavorite_noQueryId() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 9.9K bytes - Click Count (0) -
cmd/xl-storage_test.go
} } } func TestXLStorageIsDirEmpty(t *testing.T) { tmp := t.TempDir() // Should give false on non-existent directory. dir1 := slashpath.Join(tmp, "non-existent-directory") if isDirEmpty(dir1, true) { t.Error("expected false for non-existent directory, got true") } // Should give false for not-a-directory. dir2 := slashpath.Join(tmp, "file") err := os.WriteFile(dir2, []byte("hello"), 0o777)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 66K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/CreateForm.java
/** The CRUD operation mode for form processing */ @ValidateTypeFailure public Integer crudMode; /** The regular canonical hostname that should be used */ @Required @Size(max = 1000) public String regularName; /** The duplicate hostname that should be redirected to the regular name */ @Required @Size(max = 1000) public String duplicateHostName;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java
// Verify escaped pattern matches assertTrue("Escaped pattern should match: " + mimeType, Pattern.compile(escapedPattern).matcher(mimeType).matches()); // Verify unescaped pattern does NOT match assertFalse("Unescaped pattern should NOT match: " + mimeType, Pattern.compile(mimeType).matcher(mimeType).matches()); } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 8.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java
E duplicate = arrayAndDuplicate.duplicate; assertTrue( "removeAll(intersectingCollection) should return true", getList().removeAll(MinimalCollection.of(duplicate))); assertFalse( "after removeAll(e), a collection should not contain e even " + "if it initially contained e more than once.", getList().contains(duplicate)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.4K bytes - Click Count (0)