Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1521 - 1530 of 3,220 for test5 (0.02 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.TestInfo;
    
    public class FessMessagesTest extends UnitFessTestCase {
    
        private FessMessages messages;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            messages = new FessMessages();
        }
    
        // Test constant fields
        @Test
        public void test_constantFields() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 28.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/query/FuzzyQueryCommandTest.java

            assertEquals(searchText, fqb.value());
        }
    
        // Test with special characters in term text
        @Test
        public void test_convertFuzzyQuery_withSpecialCharacters() {
            QueryContext context = new QueryContext("test", false);
            String[] specialTexts = { "test@email.com", "test-hyphen", "test_underscore", "test.period", "test+plus" };
    
            for (String text : specialTexts) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/RequestWithPathTest.java

            verify(requestWithPath, times(1)).getPath();
    
            // Test with implementation
            testImplementation.setPath(expectedPath);
            assertEquals(expectedPath, testImplementation.getPath());
        }
    
        @Test
        @DisplayName("Test setPath updates path correctly")
        void testSetPath() {
            // Test with mock
            String newPath = "/new/path/file.txt";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/ntlmssp/NtlmFlagsTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Test class for NtlmFlags, verifying the values of all defined constants.
     */
    public class NtlmFlagsTest {
    
        @Test
        void testNtlmNegotiateUnicode() {
            assertEquals(0x00000001, NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE, "NTLMSSP_NEGOTIATE_UNICODE should be 0x00000001");
        }
    
        @Test
        void testNtlmNegotiateOem() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java

        }
    
        @Test
        public void test_isNullsSuppressed() {
            // Test that nulls are suppressed
            assertTrue(provider.isNullsSuppressed());
        }
    
        @Test
        public void test_isPrettyPrintSuppressed() {
            // Test that pretty print is not suppressed
            assertFalse(provider.isPrettyPrintSuppressed());
        }
    
        @Test
        public void test_provideMappingOption() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

    import java.util.concurrent.atomic.AtomicInteger;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Security-focused test cases for BufferCache to verify buffer overflow protection.
     */
    public class BufferCacheSecurityTest {
    
        /**
         * Test that buffer allocation validates size to prevent overflow.
         */
        @Test
        public void testBufferSizeValidation() {
            // When - Get a buffer
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/config/BaseConfigurationTest.java

        }
    
        @Test
        @DisplayName("Test getBatchLimit method")
        void testGetBatchLimit() {
            // Test default batch limit
            assertEquals(0, config.getBatchLimit("TreeConnectAndX.QueryInformation"));
    
            // Test unspecified batch limit
            assertEquals(1, config.getBatchLimit("UnknownCommand"));
    
            // Test caching behavior
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/collection/EmptyIteratorTest.java

         */
        @Test
        public void testEmptyIterator() {
            final EmptyIterator<String> emptyIterator = new EmptyIterator<String>();
            assertThat(emptyIterator, is(notNullValue()));
        }
    
        /**
         * Test method for {@link org.codelibs.core.collection.EmptyIterator#remove()}
         * .
         */
        @Test
        public void testRemove() {
            exception.expect(ClUnsupportedOperationException.class);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

        }
    
        @Test
        void testGetVersionReturnsResolvedVersionOnSnapshot() {
            assertEquals(snapshotResolvedVersion, snapshotArtifact.getVersion());
    
            // this is FOUL!
            //        snapshotArtifact.isSnapshot();
    
            assertEquals(snapshotSpecVersion, snapshotArtifact.getBaseVersion());
        }
    
        @Test
        void testGetDependencyConflictId() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 7.4K bytes
    - Click Count (0)
  10. internal/crypto/header_test.go

    		_, got := IsRequested(test.Header)
    		if Requested(test.Header) != got {
    			// Test if result matches.
    			t.Errorf("Requested mismatch, want %v, got %v", Requested(test.Header), got)
    		}
    		got = got && S3.IsRequested(test.Header)
    		if got != test.Expected {
    			t.Errorf("SSE-S3: Test %d: Wanted %v but got %v", i, test.Expected, got)
    		}
    	}
    	for i, test := range ssecIsRequestedTests {
    		_, got := IsRequested(test.Header)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jul 13 14:52:15 GMT 2022
    - 21.4K bytes
    - Click Count (0)
Back to Top