Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 2,350 for Rtest (0.06 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java

            // Define behavior for the OEM encoding, which is used by writeString
            when(mockConfig.getOemEncoding()).thenReturn(StandardCharsets.UTF_8.name());
        }
    
        @Test
        void testConstructor() {
            // Test that the constructor correctly sets the command and path
            String directoryName = "testDir";
            SmbComCreateDirectory smbCom = new SmbComCreateDirectory(mockConfig, directoryName);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/misc/AssertionUtilTest.java

        public void testAssertArgument() {
            exception.expect(ClIllegalArgumentException.class);
            exception.expectMessage(is("[ECL0009]argument[hoge] is illegal. because hogeだからです。."));
            assertArgument("hoge", false, "hogeだからです。");
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.misc.AssertionUtil#assertState(boolean, String)} .
         */
        @Test
        public void testAssertState() {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    
        public void test_constructor() {
            // Test that constructor works properly
            assertNotNull(new LtrQueryRescorer());
        }
    
        public void test_evaluate_withBlankModelName() {
            // Test when model name is blank
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/witness/WitnessClientTest.java

        }
    
        @Test
        void testSuccessfulRegistration() throws Exception {
            // Setup mock RPC response
            WitnessRegisterResponse mockResponse = mock(WitnessRegisterResponse.class);
            lenient().when(mockResponse.isSuccess()).thenReturn(true);
            lenient().when(mockResponse.getRegistrationId()).thenReturn("test-reg-123");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

        }
    
        @Test
        @DisplayName("Test setTid with positive value")
        void testSetTidWithPositiveValue() {
            // Given
            int tid = 12345;
            doNothing().when(request).setTid(tid);
    
            // When
            request.setTid(tid);
    
            // Then
            verify(request, times(1)).setTid(tid);
        }
    
        @Test
        @DisplayName("Test setTid with zero value")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    
    import jcifs.smb1.UniAddress;
    
    /**
     * Unit tests for {@link NtlmChallenge}.
     */
    class NtlmChallengeTest {
    
        @Nested
        @DisplayName("Constructor and Field Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Constructor sets fields correctly")
            void testConstructorSetsFields() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/persistent/HandleGuidTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    import java.util.UUID;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.smb2.persistent.HandleGuid;
    
    /**
     * Test class for HandleGuid functionality
     */
    public class HandleGuidTest {
    
        @Test
        public void testHandleGuidGeneration() {
            HandleGuid guid1 = new HandleGuid();
            HandleGuid guid2 = new HandleGuid();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

        @Test
        void testTestClasspathTransform() throws Exception {
            ClasspathContainer res;
    
            res = transform.transform(graph, ArtifactScopeEnum.test, false);
    
            assertNotNull(res, "null classpath container after test transform");
            assertNotNull(res.getClasspath(), "null classpath after test transform");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            }
    
            @Test
            @DisplayName("getUserDomain: explicit realm overrides")
            void getUserDomain_fromExplicitRealm() {
                Kerb5Authenticator auth = new Kerb5Authenticator(new Subject());
                auth.setRealm("REALM.TEST");
                assertEquals("REALM.TEST", auth.getUserDomain());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.util.Arrays;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    @DisplayName("Smb2LeaseKey Tests")
    class Smb2LeaseKeyTest {
    
        @Test
        @DisplayName("Should generate random lease key with correct size")
        void testRandomLeaseKeyGeneration() {
            Smb2LeaseKey key = new Smb2LeaseKey();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top