Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for unitTests (0.06 seconds)

  1. .teamcity/subprojects.json

        "path": "platforms/software/ant",
        "unitTests": false,
        "functionalTests": false,
        "crossVersionTests": false
      },
      {
        "name": "ant-api",
        "path": "platforms/software/ant-api",
        "unitTests": false,
        "functionalTests": false,
        "crossVersionTests": false
      },
      {
        "name": "ant-impl",
        "path": "platforms/software/ant-impl",
        "unitTests": true,
        "functionalTests": true,
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 15:03:00 GMT 2026
    - 42K bytes
    - Click Count (0)
  2. .teamcity/src/main/kotlin/model/GradleSubprojectProvider.kt

            val path = subproject["path"] as String
            val unitTests = !ignoredSubprojects.contains(name) && subproject["unitTests"] as Boolean
            val functionalTests = !ignoredSubprojects.contains(name) && subproject["functionalTests"] as Boolean
            val crossVersionTests = !ignoredSubprojects.contains(name) && subproject["crossVersionTests"] as Boolean
            return GradleSubproject(name, path, unitTests, functionalTests, crossVersionTests)
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/model/CIBuildModel.kt

    }
    
    data class GradleSubproject(
        val name: String,
        val path: String,
        val unitTests: Boolean = true,
        val functionalTests: Boolean = true,
        val crossVersionTests: Boolean = false,
    ) {
        fun hasTestsOf(testType: TestType) =
            (unitTests && testType.unitTests) ||
                (functionalTests && testType.functionalTests) ||
                (crossVersionTests && testType.crossVersionTests)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jan 20 03:53:25 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  4. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                .filter {
                    !ignoredSubprojects.contains(it.name)
                }.forEach {
                    val dir = File("..", it.path)
                    assertEquals(it.unitTests, File(dir, "src/test").isDirectory, "${it.name}'s unitTests is wrong!")
                    assertEquals(it.functionalTests, File(dir, "src/integTest").isDirectory, "${it.name}'s functionalTests is wrong!")
                    assertEquals(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Oct 16 01:27:05 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

    import java.util.concurrent.locks.ReentrantLock;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unittests for {@link CycleDetectingLockFactory}.
     *
     * @author Darick Tong
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class CycleDetectingLockFactoryTest extends TestCase {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

    import java.util.concurrent.locks.ReentrantLock;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unittests for {@link CycleDetectingLockFactory}.
     *
     * @author Darick Tong
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class CycleDetectingLockFactoryTest extends TestCase {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  7. android-test/build.gradle.kts

        )
      }
    
      compileOptions {
        targetCompatibility(JavaVersion.VERSION_11)
        sourceCompatibility(JavaVersion.VERSION_11)
      }
    
      testOptions {
        targetSdk = 34
        unitTests.isIncludeAndroidResources = true
      }
    
    
      // issue merging due to conflict with httpclient and something else
      packagingOptions.resources.excludes += setOf(
        "META-INF/DEPENDENCIES",
        "META-INF/LICENSE.md",
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 3.8K bytes
    - Click Count (2)
  8. tests/test_dump_json_fast_path.py

    from unittest.mock import patch
    
    from fastapi import FastAPI
    from fastapi.responses import JSONResponse
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    app = FastAPI()
    
    
    @app.get("/default")
    def get_default() -> Item:
        return Item(name="widget", price=9.99)
    
    
    @app.get("/explicit", response_class=JSONResponse)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 22 16:07:19 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  9. tests/test_fastapi_cli.py

    import os
    import subprocess
    import sys
    from unittest.mock import patch
    
    import fastapi.cli
    import pytest
    
    
    def test_fastapi_cli():
        result = subprocess.run(
            [
                sys.executable,
                "-m",
                "coverage",
                "run",
                "-m",
                "fastapi",
                "dev",
                "non_existent_file.py",
            ],
            capture_output=True,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 02 04:02:38 GMT 2025
    - 866 bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/base/Stopwatch.java

       * not useful to specify {@link TimeUnit#NANOSECONDS} precision here.
       *
       * <p>It is generally not a good idea to use an ambiguous, unitless {@code long} to represent
       * elapsed time. Therefore, we recommend using {@link #elapsed()} instead, which returns a
       * strongly-typed {@link Duration} instance.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 9.5K bytes
    - Click Count (0)
Back to Top