- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 384 for displayName (0.13 seconds)
-
src/test/java/jcifs/SmbTransportPoolTest.java
private static final int LOCAL_PORT = 12345; @BeforeEach void setUp() { // Common setup for all tests } @Nested @DisplayName("GetSmbTransport Methods") class GetSmbTransportTests { @Test @DisplayName("Should get transport by name with default parameters") void testGetSmbTransportByName() throws UnknownHostException, IOException { // GivenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
} @Test @DisplayName("Constructor should handle null parent") void testConstructor_NullParent_ThrowsNPE() { // When & Then: Null parent should cause NullPointerException assertThrows(NullPointerException.class, () -> new NetServerEnumIterator(null, treeHandle, "*", 0, null)); } @Test @DisplayName("Constructor should handle null tree handle")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
} @Test @DisplayName("ensureOpen throws after close() is called") void testEnsureOpenAfterClose() throws CIFSException { target.close(); CIFSException ex = assertThrows(SmbException.class, () -> target.ensureOpen()); assertTrue(ex.getMessage().contains("Pipe handle already closed")); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
src/test/java/jcifs/MsrpcDfsRootEnumTest.java
import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; import java.lang.reflect.Field; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import jcifs.dcerpc.DcerpcConstants; import jcifs.dcerpc.msrpc.MsrpcDfsRootEnum; import jcifs.dcerpc.msrpc.netdfs; import jcifs.internal.smb1.net.SmbShareInfo;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.9K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java
} private UpgradeContext createMockContext() { return TestUtils.createMockContext(); } @Nested @DisplayName("Modification Behavior") class ModificationBehaviorTests { @Test @DisplayName("should not save modifications to disk") void shouldNotSaveModificationsToDisk() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 4.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
import java.io.IOException; import java.lang.reflect.Field; import java.net.UnknownHostException; import java.util.List; import java.util.Map; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 19.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
// Set up index field for derive operations mockDeferredBuffer.index = 0; } @Nested @DisplayName("Protocol Information Tests") class ProtocolInfoTests { @Test @DisplayName("Should return correct syntax string") void testGetSyntax() { // When/Then: Verify the protocol syntax identifierCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 33.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
} } @Nested @DisplayName("Getter Methods Tests") class GetterMethodsTests { @Test @DisplayName("getCloseFlags should return initial value of 0") void testGetCloseFlags() { assertEquals(0, response.getCloseFlags()); } @Test @DisplayName("getCreationTime should return initial value of 0")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 26.9K bytes - Click Count (0) -
src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java
*/ @DisplayName("CIFSUnsupportedCryptoException Tests") class CIFSUnsupportedCryptoExceptionTest extends BaseTest { private static final String CRYPTO_ERROR_MESSAGE = "Unsupported cryptographic algorithm: AES-256-GCM"; private static final String ALGORITHM_NAME = "AES-256-GCM"; @Test @DisplayName("Default constructor should create exception with null message and cause")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
import javax.security.auth.Subject; import javax.security.auth.callback.Callback; import javax.security.auth.callback.NameCallback; import javax.security.auth.callback.PasswordCallback; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.EnumSource;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0)