Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 2,808 for unit (0.02 sec)

  1. cmd/leak-detect_test.go

    // DetectTestLeak -  snapshots the currently running goroutines and returns a
    // function to be run at the end of tests to see whether any
    // goroutines leaked.
    // Usage: `defer DetectTestLeak(t)()` in beginning line of benchmarks or unit tests.
    func DetectTestLeak(t TestErrHandler) func() {
    	initialStackSnapShot := NewLeakDetect()
    	return func() {
    		initialStackSnapShot.DetectLeak(t)
    	}
    }
    
    // list of functions to be ignored from the stack trace.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            ComponentUtil.register(new MockRoleQueryHelper(), "roleQueryHelper");
        }
    
        public void test_init() {
            try {
                labelTypeHelper.init();
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
        public void test_load() {
            int result = labelTypeHelper.load();
            assertTrue(result >= 0);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java

     */
    package org.codelibs.fess.mylasta.direction.sponsor;
    
    import java.util.Locale;
    
    import jakarta.servlet.http.HttpServletRequest;
    
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.web.path.ActionPathResolver;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

    package org.codelibs.fess.auth.chain;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.opensearch.user.exentity.User;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class AuthenticationChainTest extends UnitFessTestCase {
    
        // Test basic update operation
        public void test_update_normalUser() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

    import java.util.List;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.function.Consumer;
    
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class ThreadDumpUtilTest extends UnitFessTestCase {
    
        public void test_printThreadDump() {
            // This test verifies that printThreadDump() method exists and can be called without exceptions
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

     */
    package org.codelibs.fess.mylasta.direction.sponsor;
    
    import java.util.TimeZone;
    
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    
    public class FessTimeResourceProviderTest extends UnitFessTestCase {
    
        private FessTimeResourceProvider provider;
        private FessConfig mockConfig;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.opensearch.client.SearchEngineClient;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.mail.send.hook.SMailCallbackContext;
    import org.lastaflute.core.mail.Postbox;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

    import java.util.Date;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.commons.io.FileUtils;
    import org.codelibs.core.collection.Maps;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.sai.internal.ir.debug.ObjectSizeCalculator;
    
    import com.google.common.collect.Lists;
    
    public class MemoryUtilTest extends UnitFessTestCase {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.dict.protwords;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class ProtwordsItemTest extends UnitFessTestCase {
    
        public void test_constructor_withIdZero() {
            // Test constructor with id = 0 (create mode)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

    import org.codelibs.fess.Constants;
    import org.codelibs.fess.crawler.serializer.DataSerializer;
    import org.codelibs.fess.crawler.util.FieldConfigs;
    import org.codelibs.fess.exception.FessSystemException;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    
    public class FessFileTransformerTest extends UnitFessTestCase {
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top