Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 816 for Helper (0.04 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

                String description = getStatusDescription(status);
                assertNotNull(description);
                assertFalse(description.isEmpty());
            }
        }
    
        /**
         * Helper method to test switch statement
         */
        private String getStatusDescription(CrawlerStatus status) {
            switch (status) {
            case INITIALIZING:
                return "Crawler is initializing";
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java

                return entity;
            });
        }
    
        // ===================================================================================
        //                                                                        Small Helper
        //                                                                        ============
        /**
         * Verifies that the CRUD mode matches the expected mode.
         *
         * @param crudMode the actual CRUD mode
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

    import java.util.TreeSet;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ConcurrentSkipListMap;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Helper classes for various benchmarks.
     *
     * @author Christopher Swenson
     */
    @NullUnmarked
    final class BenchmarkHelpers {
      /** So far, this is the best way to test various implementations of {@link Set} subclasses. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/GcFinalization.java

     *   }
     * });
     * }
     *
     * <p>Even if your non-test code does not use finalization, you can use this class to test for
     * leaks, by ensuring that objects are no longer strongly referenced:
     *
     * {@snippet :
     * // Helper function keeps victim stack-unreachable.
     * private WeakReference<Foo> fooWeakRef() {
     *   Foo x = ....;
     *   WeakReference<Foo> weakRef = new WeakReference<>(x);
     *   // ... use x ...
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.mail.send.supplement.SMailPostingDiscloser;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SIDTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.SidResolver;
    import jcifs.dcerpc.rpc;
    
    class SIDTest {
    
        // Helper to build a minimal sid_t
        private static rpc.sid_t buildSidT(byte revision, byte[] identAuth, int... subs) {
            rpc.sid_t s = new rpc.sid_t();
            s.revision = revision;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            System.arraycopy(buffer, 80, actualFileId, 0, 16);
            assertArrayEquals(newFileId, actualFileId);
    
            assertEquals(96, bytesWritten); // 32 bytes header + 64 bytes info
        }
    
        // Helper interface for testing
        private interface TestFileInformation extends FileInformation, Encodable {
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            // Should only offer NTLM, not Basic auth
            verify(response).setHeader("WWW-Authenticate", "NTLM");
            verify(response, never()).addHeader(eq("WWW-Authenticate"), anyString());
        }
    
        // Helper method to initialize filter with standard configuration
        private void initializeFilter() throws ServletException {
            Map<String, String> initParams = new HashMap<>();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                assertTrue(echoResponse.isError());
                assertTrue(echoResponse.isReceived());
                assertEquals(error, echoResponse.getException());
            }
        }
    
        // Helper methods to set protected fields via reflection
        private void setStatus(ServerMessageBlock2 smb, int status) throws Exception {
            Field statusField = ServerMessageBlock2.class.getDeclaredField("status");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

    import org.codelibs.fess.crawler.exception.ChildUrlsException;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    import org.codelibs.fess.crawler.helper.impl.MimeTypeHelperImpl;
    import org.dbflute.utflute.core.PlainTestCase;
    import org.testcontainers.containers.GenericContainer;
    import org.testcontainers.utility.MountableFile;
    
    /**
     * @author shinsuke
     *
     */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 13.7K bytes
    - Viewed (0)
Back to top