Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 1,022 for Unit (0.03 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

    import static java.nio.charset.StandardCharsets.ISO_8859_1;
    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import com.google.common.base.Strings;
    import java.util.Arrays;
    import junit.framework.TestCase;
    
    /**
     * Unit test for FarmHashFingerprint64.
     *
     * @author Kyle Maddison
     * @author Geoff Pike
     */
    public class FarmHashFingerprint64Test extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/ResourcesTest.java

    import java.io.IOException;
    import java.io.PrintWriter;
    import java.net.URL;
    import java.net.URLClassLoader;
    import java.util.ArrayList;
    import java.util.List;
    import junit.framework.TestSuite;
    
    /**
     * Unit test for {@link Resources}.
     *
     * @author Chris Nokleberg
     */
    
    public class ResourcesTest extends IoTestCase {
    
      @AndroidIncompatible // wouldn't run anyway, but strip the source entirely because of b/230620681
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

     */
    package org.codelibs.fess.util;
    
    import java.util.Map;
    
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.mylasta.direction.FessProp;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class ParameterUtilTest extends UnitFessTestCase {
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            FessProp.propMap.clear();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

    import static java.nio.charset.StandardCharsets.ISO_8859_1;
    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import com.google.common.base.Strings;
    import java.util.Arrays;
    import junit.framework.TestCase;
    
    /**
     * Unit test for FarmHashFingerprint64.
     *
     * @author Kyle Maddison
     * @author Geoff Pike
     */
    public class FarmHashFingerprint64Test extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

          return directExecutor();
        }
      }
    
      // Functional tests using real thread. We only verify publicly visible state.
      // Interaction assertions are done by the single-threaded unit tests.
    
      private static class DefaultService extends AbstractIdleService {
        @Override
        protected void startUp() throws Exception {}
    
        @Override
        protected void shutDown() throws Exception {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

    import java.util.Map;
    
    import org.apache.groovy.util.Maps;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.crawler.util.FieldConfigs;
    import org.codelibs.fess.exception.FessSystemException;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class FessFileTransformerTest extends UnitFessTestCase {
    
        private String encodeUrl(final String url) {
            try {
                return URLEncoder.encode(url, Constants.UTF_8);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

    import java.util.Map;
    
    import org.codelibs.core.io.FileUtil;
    import org.codelibs.core.misc.DynamicProperties;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.PrunedTag;
    import org.codelibs.nekohtml.parsers.DOMParser;
    import org.lastaflute.di.core.factory.SingletonLaContainerFactory;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

     */
    package org.codelibs.fess.helper;
    
    import java.util.HashSet;
    import java.util.Set;
    
    import org.codelibs.core.crypto.CachedCipher;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    import jakarta.servlet.http.Cookie;
    import jakarta.servlet.http.HttpServletRequest;
    
    public class RoleQueryHelperTest extends UnitFessTestCase {
        public CachedCipher cipher;
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

     * (Modified to adapt to guava coding conventions)
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.Math.max;
    
    /** Unit test for {@link AtomicDouble}. */
    public class AtomicDoubleTest extends JSR166TestCase {
    
      private static final double[] VALUES = {
        Double.NEGATIVE_INFINITY,
        -Double.MAX_VALUE,
        (double) Long.MIN_VALUE,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top