Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2691 - 2700 of 5,742 for text (0.03 seconds)

  1. cmd/iam-etcd-store_test.go

    		{"config/iam/groups/foo/config.json", "config/iam/groups/", "config.json", "foo"},
    	}
    	for i, test := range specs {
    		result := extractPathPrefixAndSuffix(test.path, test.prefix, test.suffix)
    		if result != test.expected {
    			t.Errorf("unexpected result on test[%v]: expected[%s] but had [%s]", i, test.expected, result)
    		}
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 1.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    import org.lastaflute.core.message.supplier.UserMessagesCreator;
    import org.lastaflute.web.servlet.request.RequestManager;
    import org.lastaflute.web.validation.ActionValidator;
    
    public class FessActionValidatorTest extends UnitFessTestCase {
    
        @Test
        public void test_constructor() {
            // Test basic class structure without complex mocking
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    
    public class HtmlTagBasedGeneratorTest extends UnitFessTestCase {
        private static final Logger logger = LogManager.getLogger(HtmlTagBasedGeneratorTest.class);
    
        @Test
        public void test_saveImage() throws Exception {
            // Note: This test requires FessConfig from ComponentUtil
            // We skip it when container is not initialized
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

    import junit.framework.Test;
    import junit.framework.TestSuite;
    
    /**
     * Generates a test suite covering the {@link Queue} implementations in the {@link java.util}
     * package. Can be subclassed to specify tests that should be suppressed.
     *
     * @author Jared Levy
     */
    @GwtIncompatible
    public class TestsForQueuesInJavaUtil {
      public static Test suite() {
        return new TestsForQueuesInJavaUtil().allTests();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 16:28:01 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

            Files.createDirectories(nestedDir);
            Files.createFile(nestedDir.resolve("test.txt"));
            Files.createFile(tempDir.resolve("parent").resolve("parent.txt"));
    
            assertTrue(Files.exists(nestedDir));
            themeHelper.closeQuietly(tempDir.resolve("parent"));
            assertFalse(Files.exists(tempDir.resolve("parent")));
        }
    
        @Test
        public void test_install_withValidZip() throws IOException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

            assertEquals("test-channel", state.getChannelId());
            assertEquals(0, state.getRetryCount());
            assertTrue(state.shouldRetry());
            assertTrue(state.getFailureTime() > 0);
            assertTrue(state.getNextRetryTime() > state.getFailureTime());
        }
    
        @Test
        void testFailoverStateRetryLogic() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/graph/GraphsTest.java

            .isEqualTo(expectedClosure);
      }
    
      @Test
      public void transpose_undirectedGraph() {
        MutableGraph<Integer> undirectedGraph = GraphBuilder.undirected().build();
        undirectedGraph.putEdge(N1, N2);
    
        assertThat(transpose(undirectedGraph)).isSameInstanceAs(undirectedGraph);
      }
    
      @Test
      public void transpose_directedGraph() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:06 GMT 2026
    - 30.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

        }
    
        @Test
        @DisplayName("Should handle null domain and workstation")
        void testNullDomainAndWorkstation() {
            // When
            Type1Message type1 = new Type1Message(mockContext, 0, null, null);
    
            // Then
            assertNull(type1.getSuppliedDomain());
            assertNull(type1.getSuppliedWorkstation());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *       {@code cls}:
       *       <ul>
       *         <li>Test will fail if default value for a parameter cannot be determined.
       *         <li>Test will fail if the factory method returns null so testing instance methods is
       *             impossible.
       *         <li>Test will fail if the constructor or factory method throws exception.
       *       </ul>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

        }
    
        /**
         * Test basic session lifecycle management
         */
        @Test
        @Timeout(5)
        public void testSessionLifecycle() throws Exception {
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
            // Test initial state - session starts with usage count > 0 due to transport.acquire()
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.7K bytes
    - Click Count (0)
Back to Top