- Sort Score
- Num 10 results
- Language All
Results 1101 - 1110 of 5,228 for avoid (0.07 seconds)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
void testConstructorWithPathEndingInBackslash() { // Test path already ending with backslash trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test\\path\\", "*.doc", 0x16, 20, 2048); assertEquals("\\test\\path\\", trans2FindFirst2.getPath()); } @Test @DisplayName("Test constructor with root path") void testConstructorWithRootPath() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/FakeTickerTest.java
@NullUnmarked public class FakeTickerTest extends TestCase { @GwtIncompatible // NullPointerTester public void testNullPointerExceptions() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(new FakeTicker()); } @GwtIncompatible // java.time.Duration public void testAdvance() { FakeTicker ticker = new FakeTicker(); assertEquals(0, ticker.read());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 6.1K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
private NdrBuffer mockBuffer; private DcerpcBind bind; @BeforeEach void setUp() { bind = new DcerpcBind(); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Default constructor should create instance with default values") void testDefaultConstructor() { // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
private Smb2QueryDirectoryResponse response; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); when(mockConfig.isUseUnicode()).thenReturn(true); when(mockConfig.getMaximumBufferSize()).thenReturn(65536); } @Test @DisplayName("Test constructor initializes with config and expectInfoClass") void testConstructor() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
*/ public void addCookieNameMapping(final String cookieName, final String roleName) { if (cookieNameMap == null) { cookieNameMap = new HashMap<>(); } cookieNameMap.put(cookieName, roleName); } /** * Sets the cached cipher. * @param cipher The cached cipher. */ public void setCipher(final CachedCipher cipher) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
void list_withNullRoot_throwsNpe() { // Intent: null root is invalid input assertThrows(NullPointerException.class, () -> SmbEnumerationUtil.list(null, "*", 0, null, null)); } @Test @DisplayName("listFiles with null root throws NullPointerException") void listFiles_withNullRoot_throwsNpe() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java
} public void testMakeUninterruptible_untimed_multiplyInterrupted() throws Exception { runUntimedInterruptsTest(38); } public void testMakeUninterruptible_timed_uninterrupted() throws Exception { runTimedInterruptsTest(0); } public void testMakeUninterruptible_timed_interrupted() throws Exception { runTimedInterruptsTest(1); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
private Configuration mockConfig; private Smb2FlushResponse response; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); response = new Smb2FlushResponse(mockConfig); } @Test @DisplayName("Constructor should initialize with Configuration") void testConstructor() { // Given & When Smb2FlushResponse flushResponse = new Smb2FlushResponse(mockConfig);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ResourcesTest.java
suite.addTestSuite(ResourcesTest.class); return suite; } public void testToString() throws IOException { URL resource = getClass().getResource("testdata/i18n.txt"); assertThat(Resources.toString(resource, UTF_8)).isEqualTo(I18N); assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N); } public void testToByteArray() throws IOException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
// Test case for the constructor of SmbTreeImpl @Test void testSmbTreeImplConstructor() { SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:"); assertNotNull(tree); assertEquals("SHARE", tree.getShare()); assertEquals("A:", tree.getService()); } // Test case for the matches method @Test void testMatches() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.8K bytes - Click Count (0)