- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 2,440 for TRUE (0.04 sec)
-
src/test/java/jcifs/internal/SmbNegotiationRequestTest.java
when(negotiationRequest.isSigningEnforced()).thenReturn(true).thenReturn(false).thenReturn(true); // When & Then assertTrue(negotiationRequest.isSigningEnforced(), "First call should return true"); assertFalse(negotiationRequest.isSigningEnforced(), "Second call should return false"); assertTrue(negotiationRequest.isSigningEnforced(), "Third call should return true");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
tests/create_test.go
*GetUser("bulk_5", Config{Account: false, Pets: 0, Toys: 3, Company: true, Manager: false, Team: 1, Languages: 3, Friends: 1}), *GetUser("bulk_6", Config{Account: true, Pets: 4, Toys: 3, Company: false, Manager: true, Team: 1, Languages: 3, Friends: 0}), *GetUser("bulk_7", Config{Account: true, Pets: 1, Toys: 3, Company: true, Manager: true, Team: 4, Languages: 3, Friends: 1}),
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 09:55:20 UTC 2025 - 26.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
} try { dataIndexHelper.crawl("test-session-force-stop"); assertTrue("Should exit quickly when force stopped", true); } catch (Exception e) { assertTrue("Force stop should handle exceptions quickly", true); } } public void test_crawl_with_short_intervals() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
testThreshold(0, 100, true, true); testThreshold(10, 100, true, true); testThreshold(100, 100, true, true); testThreshold(1000, 100, true, true); testThreshold(0, 100, false, true); testThreshold(10, 100, false, true); testThreshold(100, 100, false, true); testThreshold(1000, 100, false, true); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
fileIdField.setAccessible(true); byte[] actualFileId = (byte[]) fileIdField.get(request); assertArrayEquals(expectedFileId, actualFileId); // Verify outputBufferLength is calculated correctly Field outputBufferLengthField = Smb2QueryInfoRequest.class.getDeclaredField("outputBufferLength"); outputBufferLengthField.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
FileEntry entry3 = mock(FileEntry.class); when(delegate.hasNext()).thenReturn(true, true, true, false); when(delegate.next()).thenReturn(entry1, entry2, entry3); // First rejected, second throws exception, third accepted when(filter.accept(resource)).thenReturn(false).thenThrow(new CIFSException("Error")).thenReturn(true); TestIterator iterator = new TestIterator(filter);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
constructor.setAccessible(true); cancel = constructor.newInstance(mockConfig, 1); } @Test @DisplayName("isCancel should return true") void testIsCancelReturnsTrue() { assertTrue(cancel.isCancel()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/tomcat/valve/SuppressErrorReportValveTest.java
valve.setShowReport(true); assertTrue(valve.isShowReport()); valve.setShowReport(false); assertFalse(valve.isShowReport()); valve.setShowReport(true); assertTrue(valve.isShowReport()); // Test toggling ShowServerInfo multiple times assertFalse(valve.isShowServerInfo()); valve.setShowServerInfo(true);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayUtil.java
* Returns {@literal true} if the array is not {@literal null} and its length is not 0. * * @param arrays * the array * @return {@literal true} if the array is not {@literal null} and its length is not 0 */ public static boolean isNotEmpty(final boolean[] arrays) { return arrays != null && arrays.length != 0; } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 41.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UnicodeStringTest.java
import org.junit.jupiter.api.Test; class UnicodeStringTest { @Test void testConstructorWithZterm() { // Test with zterm = true UnicodeString unicodeStringTrue = new UnicodeString(true); assertTrue(unicodeStringTrue.zterm, "zterm should be true"); assertEquals(0, unicodeStringTrue.length, "Length should be 0 for empty string");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0)