- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 541 for test_d (0.13 seconds)
-
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
assertNotNull(lock); } @Test @DisplayName("Should create lock with negative values") void testConstructorWithNegativeValues() { lock = new Smb2Lock(-1L, -1L, -1); assertNotNull(lock); } } @Nested @DisplayName("Size Tests") class SizeTests { @Test @DisplayName("Should return constant size of 24 bytes")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 33.7K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.dcerpc.ndr.NdrBuffer; /** * Comprehensive test suite for jcifs.dcerpc.DcerpcBind class. * Tests DCE/RPC bind message functionality for MSRPC protocol compliance. */
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.7K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java
} } @Nested @DisplayName("Plugin Upgrades") class PluginUpgradeTests { @Test @DisplayName("should upgrade plugin version when below minimum") void shouldUpgradePluginVersionWhenBelowMinimum() throws Exception { String pomXml = PomBuilder.create() .groupId("test") .artifactId("test")Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
} @Test @DisplayName("Should accept null locks array") void testConstructorWithNullLocks() { assertDoesNotThrow(() -> new Smb2LockRequest(mockConfig, testFileId, null)); } } @Nested @DisplayName("FileId Tests") class FileIdTests { @Test @DisplayName("Should set file ID correctly")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
void setUp() { message = new TestDcerpcMessage(10); // Example opnum } @Nested @DisplayName("Flag Management Tests") class FlagManagementTests { @Test @DisplayName("isFlagSet should correctly identify set flags") void testIsFlagSet() { // Test when flag is not set message.flags = 0;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 18.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
class SrvCopychunkTest { private static final int EXPECTED_SIZE = 24; private static final int RESERVED_BYTES = 4; @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create instance with valid parameters") void testConstructorWithValidParameters() { // Given long sourceOffset = 1024L; long targetOffset = 2048L;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K 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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 33.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
} @Test @DisplayName("Constructor should handle null configuration") void testConstructorWithNullConfig() { // Given & When Smb2LockResponse lockResponse = new Smb2LockResponse(null); // Then assertNotNull(lockResponse); } @Nested @DisplayName("writeBytesWireFormat tests") class WriteBytesWireFormatTests {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/ACETest.java
*/ @DisplayName("ACE Interface Comprehensive Tests") class ACETest { @Nested @DisplayName("File Access Constants Tests") class FileAccessConstantsTests { @Test @DisplayName("Should have correct values for file access constants") void shouldHaveCorrectFileAccessConstants() { // Basic file operations (bits 0-8)Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.4K bytes - Click Count (0)