Search Options

Results per page
Sort
Preferred Languages
Advance

Results 981 - 990 of 2,488 for unit (0.03 sec)

  1. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.io.File
    import java.lang.reflect.InvocationTargetException
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ArgumentsSource
    
    private val prefix = if (File("samples").exists()) "" else "../../"
    
    private fun mainFiles(): List<File> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java

    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import java.lang.reflect.Method;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests creation (typically through a constructor or static factory
     * method) of a collection. Can't be invoked directly; please see {@link
     * com.google.common.collect.testing.CollectionTestSuiteBuilder}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/misc/AssertionUtilTest.java

    import org.codelibs.core.exception.ClIndexOutOfBoundsException;
    import org.codelibs.core.exception.NullArgumentException;
    import org.junit.Rule;
    import org.junit.Test;
    import org.junit.rules.ExpectedException;
    
    /**
     * @author wyukawa
     *
     */
    public class AssertionUtilTest {
    
        /**
         * @see org.junit.rules.ExpectedException
         */
        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/OplockTests.java

    package jcifs.tests;
    
    
    import java.io.IOException;
    import java.net.UnknownHostException;
    import java.util.Collection;
    import java.util.Map;
    
    import org.junit.Assume;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    import jcifs.CIFSContext;
    import jcifs.SmbConstants;
    import jcifs.SmbSession;
    import jcifs.internal.smb1.com.SmbComClose;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code License}.
     *
     */
    class LicenseTest {
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests operations on a SortedSet. Can't be invoked directly; please see
     * {@code SortedSetTestSuiteBuilder}.
     *
     * @author Jesse Wilson
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ComplexActivationTest.java

     */
    package org.apache.maven.model.building;
    
    import java.io.File;
    import java.util.Properties;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    /**
     */
    class ComplexActivationTest {
    
        private File getPom(String name) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

                // Unix
                return "sh " + scriptFile.getAbsolutePath() + " $INPUT_FILE $OUTPUT_FILE";
            } else {
                // Windows
                return scriptFile.getAbsolutePath() + " $INPUT_FILE $OUTPUT_FILE";
            }
        }
    
        private String getCommandStdout(final File scriptFile) {
            if (File.separator.equals("/")) {
                // Unix
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/netns_linux.go

    }
    
    func (n *NetnsWrapper) Fd() uintptr {
    	return n.innerNetns.Fd()
    }
    
    func inodeForFd(n NetnsFd) (uint64, error) {
    	stats := &unix.Stat_t{}
    	err := unix.Fstat(int(n.Fd()), stats)
    	return stats.Ino, err
    }
    
    func OpenNetns(nspath string) (NetnsCloser, error) {
    	n, err := netns.GetNS(nspath)
    	if err != nil {
    		return nil, err
    	}
    	i, err := inodeForFd(n)
    	if err != nil {
    		n.Close()
    		return nil, err
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jan 31 10:05:36 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/settings/ArraySettingsTest.java

    import static org.codelibs.opensearch.runner.OpenSearchRunner.newConfigs;
    import static org.junit.Assert.assertEquals;
    
    import org.codelibs.fess.suggest.Suggester;
    import org.codelibs.opensearch.runner.OpenSearchRunner;
    import org.junit.AfterClass;
    import org.junit.Before;
    import org.junit.BeforeClass;
    import org.junit.Test;
    import org.opensearch.index.IndexNotFoundException;
    
    public class ArraySettingsTest {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top