- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 385 for display_name (0.06 seconds)
-
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoInteractions; import static org.mockito.Mockito.verifyNoMoreInteractions; import static org.mockito.Mockito.when; 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.CsvSource;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/FileEntryTest.java
} @Nested @DisplayName("Edge case values") class EdgeCases { @Test @DisplayName("Null name is allowed via mock") void nullName() { FileEntry mock = mock(FileEntry.class); when(mock.getName()).thenReturn(null); assertNull(mock.getName()); } @Test @DisplayName("Negative length is allowed via mock")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
@Test @DisplayName("getTransport returns mocked transport") void getTransport_happy() { when(session.getTransport()).thenReturn(transport); assertSame(transport, session.getTransport()); verify(session).getTransport(); } // Happy path: connect to logon share completes without exception @Test @DisplayName("treeConnectLogon performs call without exception")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/jcifs/audit/SecurityAuditLoggerTest.java
} @Test @DisplayName("Test singleton instance") void testSingletonInstance() { SecurityAuditLogger logger1 = SecurityAuditLogger.getInstance(); SecurityAuditLogger logger2 = SecurityAuditLogger.getInstance(); assertSame(logger1, logger2, "SecurityAuditLogger should be a singleton"); } @Test @DisplayName("Test log authentication success")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import jcifs.CIFSException; import jcifs.DialectVersion; import jcifs.internal.smb2.nego.EncryptionNegotiateContext; import jcifs.util.SecureKeyManager; /** * Test class for Smb2EncryptionContext. * Tests the available public API methods of the encryption context. */ @DisplayName("Smb2EncryptionContext Tests")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SSPContextTest.java
// Available if context is established and integrity is supported return this.established && this.integrity; } } @Nested @DisplayName("Happy path behavior") class HappyPath { @Test @DisplayName("All getters return configured values and MIC roundtrips") void testAllMethodsHappyPath() throws Exception { // ArrangeCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.2K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java
} private UpgradeContext createMockContext() { return TestUtils.createMockContext(); } @Nested @DisplayName("Strategy Execution") class StrategyExecutionTests { @Test @DisplayName("should execute all applicable strategies") void shouldExecuteAllApplicableStrategies() throws Exception { UpgradeContext context = createMockContext();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
} @Test @DisplayName("connectLogon accepts null context but still invokes") void connectLogon_withNull_isInvoked() throws Exception { // Act tree.connectLogon(null); // Assert - even null should be passed through to implementation verify(tree).connectLogon(null); } @Test @DisplayName("connectLogon propagates SmbException from implementation")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
assertTrue(resp instanceof ServerMessageBlock2); } @Test @DisplayName("Should return correct OVERHEAD constant value") void testOverheadConstant() { // Then assertEquals(Smb2Constants.SMB2_HEADER_LENGTH + 16, Smb2ReadResponse.OVERHEAD); } @Test @DisplayName("Should initially have zero data length") void testInitialDataLength() { // Then
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.1K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/LinkMetaData.java
public enum Style { Javadoc, Dsldoc } private final Style style; private final String displayName; private final String urlFragment; public LinkMetaData(Style style, String displayName, String urlFragment) { this.style = style; this.displayName = displayName; this.urlFragment = urlFragment; } public Style getStyle() { return style; }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1.3K bytes - Click Count (0)