- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 75 for Accepted (0.08 sec)
-
src/test/java/jcifs/smb/DosFileFilterTest.java
boolean result = dosFileFilter.accept(mockFile); // Then the result should be as expected if (expectedResult) { assertTrue(result, "File should be accepted"); } else { assertFalse(result, "File should not be accepted"); } } /** * Tests that the accept method returns true when the file has more attributes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java
// Test with no roles testUser.setRoleNames(new String[] {}); assertFalse(fessUserBean.hasRoles(new String[] { "admin", "user" })); // Test with single role matching one of accepted testUser.setRoleNames(new String[] { "admin" }); assertTrue(fessUserBean.hasRoles(new String[] { "admin", "user" })); assertTrue(fessUserBean.hasRoles(new String[] { "guest", "admin" }));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CookieJar.kt
* * As persistence, implementations of this interface must also provide storage of cookies. Simple * implementations may store cookies in memory; sophisticated ones may use the file system or * database to hold accepted cookies. The [cookie storage model][rfc_6265_53] specifies policies for * updating and expiring cookies. * * [rfc_6265_53]: https://tools.ietf.org/html/rfc6265#section-5.3 */ interface CookieJar { /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
when(smbFile.isDirectory()).thenReturn(true); // Act boolean result = filter.accept(smbFile); // Assert assertTrue(result, "Directory should be accepted"); verify(smbFile, times(1)).isDirectory(); verify(smbFile, never()).getName(); verifyNoMoreInteractions(smbFile); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocketListener.kt
* limitations under the License. */ package okhttp3 import okio.ByteString abstract class WebSocketListener { /** * Invoked when a web socket has been accepted by the remote peer and may begin transmitting * messages. */ open fun onOpen( webSocket: WebSocket, response: Response, ) { }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2K bytes - Viewed (0) -
src/main/java/jcifs/SmbTransportPool.java
* <code>NtlmPasswordAuthentication</code> object against the domain controller * specified by the <code>UniAddress</code> parameter. If the credentials are * not accepted, an <code>SmbAuthException</code> will be thrown. If an error * occurs an <code>SmbException</code> will be thrown. If the credentials are * valid, the method will return without throwing an exception. See the
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/OneSizeTestContainerGenerator.java
import com.google.common.collect.testing.features.CollectionSize; import java.util.Collection; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * The subject-generator interface accepted by Collection testers, for testing a Collection at one * particular {@link CollectionSize}. * * <p>This interface should not be implemented outside this package; {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.5K bytes - Viewed (0) -
cmd/typed-errors.go
var errSftpPublicKeyWithoutCert = errors.New("public key authentication without certificate is not accepted") // error returned in SFTP when user used certificate which does not contain principal(s) var errSftpCertWithoutPrincipals = errors.New("certificates without principal(s) are not accepted") // error returned when group name contains reserved characters
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 16 07:34:24 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
// Assert assertNotNull(e1); assertNotNull(e2); assertEquals("first", e1.getName()); assertEquals(acceptedName, e2.getName(), "Should return the first name accepted by filter"); // Verify filter interactions: not called for '.' and '..', called for others verify(nameFilter, never()).accept(parent, "."); verify(nameFilter, never()).accept(parent, "..");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DosFileFilterTest.java
SmbFile file = mock(SmbFile.class); when(file.getAttributes()).thenReturn(SmbFile.ATTR_NORMAL); assertTrue(filter.accept(file), "Attributes match should be accepted"); verify(file, times(1)).getAttributes(); } @Test public void testAcceptReturnsFalseWhenAttributesDoNotMatch() throws Exception { SmbFile file = mock(SmbFile.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.8K bytes - Viewed (0)