- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 370 for display_name (0.07 sec)
-
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
} @Test @DisplayName("DOS_ERROR_CODES is non‑null and non‑empty") void testCodesArrayExistence() { assertNotNull(DosError.DOS_ERROR_CODES, "DOS_ERROR_CODES should be non‑null"); assertTrue(DosError.DOS_ERROR_CODES.length > 0, "DOS_ERROR_CODES should contain at least one mapping"); } @Test @DisplayName("Each error code mapping contains exactly two ints")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (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")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.6K bytes - Viewed (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")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (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")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java
} /** * All wire‑format methods should return zero regardless of inputs. */ @Nested @DisplayName("Wire format method behaviour") class WireFormatMethods { @ParameterizedTest @ValueSource(ints = { 0, 1, -1, Integer.MAX_VALUE, Integer.MIN_VALUE }) @DisplayName("writeSetupWireFormat returns 0 for all indices") void writeSetupWireFormatReturnsZero(int index) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
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;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (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
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (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 { // ArrangeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (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();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInstance; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mockito;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)