- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 888 for inrange (0.04 sec)
-
src/test/java/jcifs/SmbTransportTest.java
@Mock private Address remoteAddress; @BeforeEach void setUp() { // Common setup for mocks if needed } @Test void testGetContext() { // Arrange when(smbTransport.getContext()).thenReturn(cifsContext); // Act CIFSContext result = smbTransport.getContext(); // Assert assertNotNull(result, "Context should not be null");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java
closeHandleCaptor = ArgumentCaptor.forClass(MsrpcSamrCloseHandle.class); } @Test void constructor_shouldOpenDomainSuccessfully() throws IOException { // Arrange int access = 0x01; // Example access value // Simulate successful RPC call doAnswer(invocation -> { MsrpcSamrOpenDomain rpc = invocation.getArgument(0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
@MethodSource("invalidShareEnumCases") void doShareEnum_invalidPath_throws(String url, String pathSuffix, boolean expectDirSlashMsg) throws Exception { // Arrange SmbFile parent = new SmbFile(url); // Act + Assert SmbException ex = assertThrows(SmbException.class, () -> SmbEnumerationUtil.doShareEnum(parent, "*", 0, null, null));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
return new DERSequence(v); } @Test @DisplayName("byte[] ctor: empty token throws PACDecodingException with clear message") void byteArrayConstructor_emptyToken_throws() { // Arrange byte[] empty = new byte[0]; // Act + Assert PACDecodingException ex = assertThrows(PACDecodingException.class, () -> new KerberosApRequest(empty, new KerberosKey[0]));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
@Test @DisplayName("Default ctor: null message/cause and success status") void defaultConstructor_hasNullMessageAndCause_andDefaultStatus() { // Arrange & Act SMBSignatureValidationException ex = new SMBSignatureValidationException(); // Assert assertNull(ex.getMessage(), "Default ctor should not set a message");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
} @Test @DisplayName("Default constructor sets the expected message and no cause") void defaultConstructor_setsExpectedMessage_andNoCause() { // Arrange & Act SmbUnsupportedOperationException ex = new SmbUnsupportedOperationException(); // Assert assertEquals("Operation is not supported with the negotiated capabilities", ex.getMessage(),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
@Mock Throwable mockCause; @Test @DisplayName("No-arg constructor: null message and cause; can be thrown") void defaultConstructor_behavesAsExpected() { // Arrange & Act SMBProtocolDecodingException ex = new SMBProtocolDecodingException(); // Assert state assertNull(ex.getMessage(), "Default constructor should have null message");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
@DisplayName("renew() behaviors across implementations") void renewBehaviorsAcrossImplementations(String label, Supplier<SmbRenewableCredentials> supplier, boolean expectSame, boolean expectNew) { // Arrange: create an implementation instance SmbRenewableCredentials impl = supplier.get(); // Act: call renew CredentialsInternal renewed = impl.renew();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb/StaticJAASConfigurationTest.java
@Test @DisplayName("Default constructor yields REQUIRED Krb5 entry with empty options") void defaultConstructor_producesRequiredKrb5EntryWithEmptyOptions() { // Arrange StaticJAASConfiguration cfg = new StaticJAASConfiguration(); // Act AppConfigurationEntry[] entries = cfg.getAppConfigurationEntry("ignored"); // Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java
assertEquals( ImmutableMap.of(Range.open(3, 7), 1, Range.closed(7, 10), 2, Range.closed(12, 16), 3), rangeMap.asMapOfRanges()); sub.putCoalescing(Range.singleton(7), 1); assertEquals( ImmutableMap.of(Range.closed(5, 7), 1, Range.openClosed(7, 10), 2), sub.asMapOfRanges()); assertEquals( ImmutableMap.of(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 30K bytes - Viewed (0)