- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 817 for Given (0.03 sec)
-
src/test/java/jcifs/CredentialsTest.java
mockCredentials.isAnonymous(); mockCredentials.isGuest(); }); } @Test @DisplayName("Should unwrap to correct type") void testUnwrap() { // Given when(mockCredentials.unwrap(Credentials.class)).thenReturn(mockCredentials); // When Credentials unwrapped = mockCredentials.unwrap(Credentials.class); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
* The path elements are separated by an option-specific or platform-specific separator. * If the given {@code paths} argument contains no element, then this method returns an empty string. * * @param paths the path to format as a string * @return the option associated to this path type followed by the given path elements,
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jun 26 07:56:58 UTC 2025 - 15K bytes - Viewed (1) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
assertTrue(exception instanceof RuntimeException); } @Test @DisplayName("Should create RuntimeCIFSException with message") void testConstructorWithMessage() { // Given String message = "CIFS runtime error occurred"; // When RuntimeCIFSException exception = new RuntimeCIFSException(message); // Then assertNotNull(exception);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
} @Test @DisplayName("Constructor should throw SmbException for non-workgroup type with host") void testConstructor_NonWorkgroupType_ThrowsException() throws Exception { // Given: A non-workgroup type with a host when(locator.getType()).thenReturn(SmbConstants.TYPE_SERVER); when(locator.getURL()).thenReturn(createSmbURL("smb://server/"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
} @Test @DisplayName("Should create new connections when reuse conditions are not met") void testNoConnectionReuse() throws Exception { // Given: Create a new pool for this test to ensure isolation SmbTransportPoolImpl testPool = new SmbTransportPoolImpl(); when(ctx.getTransportPool()).thenReturn(testPool); // Create an existing connection
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java
"toArray(sameSizeE[]) should return the given array", array, collection.toArray(array)); expectArrayContentsAnyOrder(createSamplesArray(), array); } @CollectionFeature.Require(KNOWN_ORDER) public void testToArray_rightSizedArray_ordered() { E[] array = getSubjectGenerator().createArray(getNumElements()); assertSame( "toArray(sameSizeE[]) should return the given array", array, collection.toArray(array));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java
*/ public interface DfsReferralDataInternal extends DfsReferralData { /** * Replaces the host with the given FQDN if it is currently unqualified * * @param fqdn the fully qualified domain name to use */ void fixupHost(String fqdn); /** * Possibly appends the given domain name to the host name if it is currently unqualified * * @param domain the domain name to append */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoExceptionTest.java
assertTrue(ex instanceof IOException, "Should be an IOException"); } @Test @DisplayName("Should create SpnegoException with message") void testWithMessage() { // Given String message = "SPNEGO failed"; // When SpnegoException ex = new SpnegoException(message); // Then assertNotNull(ex); assertEquals(message, ex.getMessage());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
class DecodeMethodTests { @Test @DisplayName("Should decode buffer with typical values correctly") void shouldDecodeBufferWithTypicalValues() throws SMBProtocolDecodingException { // Given - prepare buffer with typical file system values ByteBuffer buffer = ByteBuffer.allocate(24); buffer.order(ByteOrder.LITTLE_ENDIAN); buffer.putLong(1048576L); // Total allocation units (1M)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Service.java
*/ void awaitRunning(); /** * Waits for the {@link Service} to reach the {@linkplain State#RUNNING running state} for no more * than the given time. * * @param timeout the maximum time to wait * @throws TimeoutException if the service has not reached the given state within the deadline * @throws IllegalStateException if the service reaches a state from which it is not possible to
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.2K bytes - Viewed (0)