- Sort Score
- Num 10 results
- Language All
Results 541 - 550 of 4,153 for SHOULD (0.05 seconds)
-
src/test/java/jcifs/smb/SmbNamedPipeTest.java
// Assert: type is named pipe and pipe type preserved assertEquals(SmbConstants.TYPE_NAMED_PIPE, pipe.getType(), "Type should be TYPE_NAMED_PIPE"); assertEquals(SmbPipeResource.PIPE_TYPE_RDWR, pipe.getPipeType(), "Pipe type should match constructor"); } @ParameterizedTest @DisplayName("Rejects non-IPC$ URLs")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/LogNotificationAppenderTest.java
} @Test public void test_append_excludedLogger_notificationHelper() { final LogEvent event = createLogEvent(Level.ERROR, "org.codelibs.fess.helper.NotificationHelper", "should be excluded"); appender.append(event); final List<LogNotificationEvent> events = ComponentUtil.getLogNotificationHelper().drainAll(); assertEquals(0, events.size()); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 10.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/LabelsApiTests.java
int recordCount = jsonPath.getInt("record_count"); assertTrue(recordCount >= 0, "Record count should be >= 0"); if (recordCount > 0) { List<Map<String, Object>> labels = jsonPath.getList("data"); assertTrue(labels != null, "Data should not be null when labels exist"); } } @Test public void testGetLabels_responseStructure() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
void testReset() { // Reset should not throw exception assertDoesNotThrow(() -> transaction.reset()); // Transaction should be ready for reuse assertTrue(transaction.hasMoreElements()); } @Test @DisplayName("Test reset with key and lastName") void testResetWithKeyAndLastName() { // Reset with parameters should not throw exception
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java
// Check for sorted concatenated strings assertTrue("Result should contain sorted tags", result.contains("aaammmzzz")); assertTrue("Result should contain sorted roles", result.contains("role1role2role3")); assertTrue("Result should contain sorted fields", result.contains("field1field2field3")); assertTrue("Result should contain sorted excludes", result.contains("exclude1exclude2exclude3")); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.3K bytes - Click Count (0) -
android/guava/src/com/google/common/net/PercentEscaper.java
/** If true we should convert space to the {@code +} character. */ private final boolean plusForSpace; /** * An array of flags where for any {@code char c} if {@code safeOctets[c]} is true then {@code c} * should remain unmodified in the output. If {@code c >= safeOctets.length} then it should be * escaped. */ private final boolean[] safeOctets; /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 8.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
int typeWithUpperBits = 0xFFFF0001; // Should be treated as type 1 (printer) SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, typeWithUpperBits, TEST_REMARK); assertEquals(SmbConstants.TYPE_PRINTER, info.getType()); typeWithUpperBits = 0x12340003; // Should be treated as type 3 (named pipe)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListToArrayTester.java
Object[] actual = getList().toArray(); assertArrayEquals("toArray() order should match list", createOrderedArray(), actual); } @CollectionSize.Require(absent = ZERO) public void testToArray_tooSmall() { Object[] actual = getList().toArray(new Object[0]); assertArrayEquals("toArray(tooSmall) order should match list", createOrderedArray(), actual); } public void testToArray_largeEnough() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/QueueOfferTester.java
public void testOffer_supportedNotPresent() { assertTrue("offer(notPresent) should return true", getQueue().offer(e3())); expectAdded(e3()); } @CollectionFeature.Require({SUPPORTS_ADD, ALLOWS_NULL_VALUES}) public void testOffer_nullSupported() { assertTrue("offer(null) should return true", getQueue().offer(null)); expectAdded((E) null); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.3K bytes - Click Count (0) -
internal/ioutil/ioutil_test.go
n, err := w.Write([]byte("abcd")) w.Close() if err != nil { t.Errorf("DeadlineWriter should succeed but failed with %s", err) } if n != 4 { t.Errorf("DeadlineWriter should succeed but should have only written 4 bytes, but returned %d instead", n) } } func TestCloseOnWriter(t *testing.T) { writer := WriteOnClose(io.Discard) if writer.HasWritten() { t.Error("WriteOnCloser must not be marked as HasWritten") }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 5.6K bytes - Click Count (0)