Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1221 - 1230 of 3,196 for test (0.02 sec)

  1. src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    class NdrHyperTest {
    
        @Mock
        private NdrBuffer mockNdrBuffer;
    
        @BeforeEach
        void setUp() {
            // Initialize mocks before each test
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testConstructorAndGetValue() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java

    import java.io.File;
    import java.io.InputStream;
    import java.net.URL;
    import java.util.Scanner;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    class UrlSourceTest {
    
        @Test
        void testUrlSource() {
            NullPointerException e = assertThrows(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

            } catch (Exception e) {
                // May throw different exception in test environment
                assertNotNull(e);
            }
        }
    
        // Test getExecuteType method
        public void test_getExecuteType() {
            assertEquals(Constants.EXECUTE_TYPE_SUGGEST, suggestJob.getExecuteType());
        }
    
        // Test session ID generation
        public void test_sessionIdGeneration() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            }
    
            @Test
            @DisplayName("Should read file ID correctly with various patterns")
            void testReadFileIdPatterns() throws Exception {
                // Test with all zeros
                byte[] zeroFileId = new byte[16];
                testFileIdReading(zeroFileId);
    
                // Test with all ones
                byte[] onesFileId = new byte[16];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.smb.SmbException;
    
    /**
     * Test cases for AuthenticationRateLimiter
     */
    public class AuthenticationRateLimiterTest {
    
        private AuthenticationRateLimiter rateLimiter;
    
        @BeforeEach
        public void setUp() {
            // Create rate limiter with test-friendly settings
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

        /**
         * Compile, runtime and test.
         */
        COMPILE("compile", true),
    
        /**
         * Runtime and test.
         */
        RUNTIME("runtime", true),
    
        /**
         * Provided.
         */
        PROVIDED("provided", false),
    
        /**
         * Test compile only.
         */
        TEST_ONLY("test-only", false),
    
        /**
         * Test compile and test runtime.
         */
        TEST("test", false),
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 19 14:33:26 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            } catch (Exception e) {
                fail("Failed to get field '" + name + "'", e);
                return null;
            }
        }
    
        /**
         * Test that the wire-format of the parameters is produced
         * correctly when all fields are set to typical values.
         */
        @Test
        void happyPathParameterEncoding() throws Exception {
            Configuration cfg = mock(Configuration.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        // Test #keys()
        assertMultisetIsUnmodifiable(multimap.keys(), sampleKey);
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
        // Test #keySet()
        assertSetIsUnmodifiable(multimap.keySet(), sampleKey);
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
        // Test #get()
        if (!multimap.isEmpty()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java

            }
            runner.refresh();
            settings = Suggester.builder().build(runner.client(), id).settings();
        }
    
        @Test
        public void test_elevateWordIndexName() {
            assertEquals("fess_suggest_elevate", settings.elevateWord().arraySettings.arraySettingsIndexName);
        }
    
        @Test
        public void test_setAndGet() {
            ElevateWord elevateWord1 =
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/unit/TestSystemProperties.java

            try {
                File tempFile = File.createTempFile("test-system", ".properties");
                tempFile.deleteOnExit();
                return tempFile;
            } catch (IOException e) {
                logger.warn("Failed to create temp file, using null", e);
                return null;
            }
        }
    
        private void loadTestProperties() {
            // Load system.properties from test classpath
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top