Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 541 for test_d (0.06 seconds)

  1. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
     * Test class for CreateContextResponse interface functionality
     */
    @DisplayName("CreateContextResponse Tests")
    class CreateContextResponseTest {
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/spnego/NegTokenInitTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.RepeatedTest;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    import org.junit.jupiter.params.provider.ValueSource;
    
    @DisplayName("NegTokenInit SPNEGO Token Tests")
    class NegTokenInitTest {
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

        private byte[] buffer;
    
        @BeforeEach
        void setUp() {
            buffer = new byte[BUFFER_SIZE];
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create instance with Configuration, hash algorithms and salt")
            void testConstructorWithConfigHashAlgosAndSalt() {
                int[] hashAlgos = { PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512 };
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 34K bytes
    - Click Count (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

                updateProperties {
                    setProperty("latests", latestKotlinVersions.joinToString(","))
                }
                updateCompatibilityDoc(
                    compatibilityDocFile,
                    "Gradle is tested with Kotlin",
                    latestKotlinVersions.first(),
                    latestKotlinVersions.last()
                )
            }
    
        private
        fun fetchLatestKotlinVersions() =
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Oct 29 08:29:55 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Unit tests for the {@link UpgradeResult} class.
     * Tests result creation, merging, and status determination.
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                SmbComNtCancel cancel = constructor.newInstance(config, testMid);
    
                // Then
                assertNotNull(cancel);
                assertEquals(testMid, cancel.getMid());
                assertTrue(cancel.isCancel());
            }
        }
    
        @Nested
        @DisplayName("Method Behavior Tests")
        class MethodBehaviorTests {
    
            private SmbComNtCancel cancel;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

        private DfsReferralRequestBuffer buffer;
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create buffer with simple path and referral level")
            void testConstructorWithSimplePath() {
                String path = "\\\\server\\share";
                int maxReferralLevel = 3;
    
                buffer = new DfsReferralRequestBuffer(path, maxReferralLevel);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for the {@link SmbComReadAndXResponse} class.
     */
    public class SmbComReadAndXResponseTest {
    
        private SmbComReadAndXResponse response;
    
        @BeforeEach
        public void setUp() {
            response = new SmbComReadAndXResponse();
        }
    
        @Test
        public void testConstructor() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

                    }
                }
            };
    
            // When
            byte[] testId = new byte[] { 42 };
            anonymousImpl.setFileId(testId);
    
            // Then
            assertEquals(42, capturedFileId[0], "Anonymous implementation should work correctly");
        }
    
        @Test
        @DisplayName("Should verify all known implementations")
        void testAllKnownImplementations() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    /**
     * Unit tests for the {@link CompatibilityFixStrategy} class.
     * Tests Maven 4 compatibility fixes including duplicate dependency and plugin handling.
     */
    @DisplayName("CompatibilityFixStrategy")
    class CompatibilityFixStrategyTest {
    
        private CompatibilityFixStrategy strategy;
    
        @BeforeEach
        void setUp() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.6K bytes
    - Click Count (0)
Back to Top