Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 998 for Unit (0.89 sec)

  1. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/IntegrationTest.kt

    import org.gradle.api.tasks.InputDirectory
    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    
    
    /**
     * Verifies the correct behavior of a feature, as opposed to just a small unit of code.
     * Usually referred to as 'functional tests' in literature, but our code base has historically
     * been using the term 'integration test'.
     */
    @CacheableTask
    abstract class IntegrationTest : DistributionTest() {
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

    import okhttp3.tls.internal.TlsUtil.localhost
    
    /**
     * OkHttp is usually tested with functional tests: these use public APIs to confirm behavior against
     * MockWebServer. In cases where logic is particularly tricky, we use unit tests. This class makes
     * it easy to get sample values to use in such tests.
     *
     * This class is pretty fast and loose with default values: it attempts to provide values that are
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

    import org.apache.lucene.analysis.synonym.SynonymMap;
    import org.apache.lucene.analysis.synonym.WordnetSynonymParser;
    import org.opensearch.common.settings.Settings;
    import org.opensearch.common.unit.TimeValue;
    import org.opensearch.env.Environment;
    import org.opensearch.index.analysis.Analysis;
    
    public class SynonymLoader {
        private File reloadableFile = null;
    
        private final Analyzer analyzer;
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun May 18 02:59:16 UTC 2025
    - 6.7K bytes
    - Viewed (1)
  4. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.Configuration;
    
    /**
     * Unit tests for {@link SmbComFindClose2}.
     * The class is intentionally tiny – the tests mainly verify that the
     * parameter word (the session identifier) is written in little‑endian form
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.NullPointerTester;
    import java.util.Set;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Primitives}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullUnmarked
    public class PrimitivesTest extends TestCase {
      public void testIsWrapperType() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayStatusService.kt

                    }
                }
            }
        }
    
        private fun projectS(num: Int) = if (num == 1) "project" else "projects"
    
        private inline fun printResult(block: NullawayStatusService.() -> Unit) {
            val delimiter = "=".repeat(72)
            println(delimiter)
            block()
            println(delimiter)
        }
    
        companion object {
            val SERVICE_NAME = NullawayStatusService::class.qualifiedName!!
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Aug 20 13:18:23 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link MinimalIterable}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class MinimalIterableTest extends TestCase {
    
      public void testOf_empty() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/configurations/Gradleception.kt

                        gradleParams = defaultParameters
                    }
                },
            )
        })
    
    fun BuildSteps.localGradle(init: GradleBuildStep.() -> Unit): GradleBuildStep =
        customGradle(init) {
            param("ui.gradleRunner.gradle.wrapper.useWrapper", "false")
            buildFile = ""
            skipConditionally()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 09 05:26:45 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/AboutTheStubs.html

    under the License.
    -->
    
    <html>
    <head>
        <title>About these stubs</title>
    </head>
    <body>
    <h2>Design</h2>
    These stubs can be thought of as hand-coded mock objects. They allow unit tests to test only specific
    aspects of a component while ignoring others.
    
    These stubs form an internally consistent data-set that is not expected to change. They are
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

    import com.google.common.base.Predicate;
    import java.util.Map.Entry;
    import java.util.Objects;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link Multimaps} filtering methods.
     *
     * @author Jared Levy
     */
    @GwtIncompatible // nottested
    @NullUnmarked
    public class FilteredMultimapTest extends TestCase {
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top