Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for unitTests (0.07 sec)

  1. .teamcity/subprojects.json

        "unitTests": true,
        "functionalTests": true,
        "crossVersionTests": false
      },
      {
        "name": "api-metadata",
        "path": "platforms/core-configuration/api-metadata",
        "unitTests": false,
        "functionalTests": false,
        "crossVersionTests": false
      },
      {
        "name": "architecture-test",
        "path": "testing/architecture-test",
        "unitTests": true,
        "functionalTests": false,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 23 22:33:41 UTC 2024
    - 34.3K bytes
    - Viewed (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)
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 02 14:55:06 UTC 2023
    - 2.2K bytes
    - Viewed (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)
    }
    
    data class Stage(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 16 06:14:14 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  4. okhttp-android/build.gradle.kts

        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
    
        buildFeatures {
          buildConfig = false
        }
    
        testOptions {
          unitTests {
            isIncludeAndroidResources = true
          }
    
          targetSdk = 34
        }
      }
    
      compileOptions {
        targetCompatibility(JavaVersion.VERSION_11)
        sourceCompatibility(JavaVersion.VERSION_11)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 11:07:32 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

            model.subprojects.subprojects.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!")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 18 07:02:47 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/model/GradleSubproject.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.buildutils.model
    
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 02 14:55:06 UTC 2023
    - 806 bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReentrantLock;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    import junit.framework.TestCase;
    
    /**
     * Unittests for {@link CycleDetectingLockFactory}.
     *
     * @author Darick Tong
     */
    public class CycleDetectingLockFactoryTest extends TestCase {
    
      private ReentrantLock lockA;
      private ReentrantLock lockB;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReentrantLock;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    import junit.framework.TestCase;
    
    /**
     * Unittests for {@link CycleDetectingLockFactory}.
     *
     * @author Darick Tong
     */
    public class CycleDetectingLockFactoryTest extends TestCase {
    
      private ReentrantLock lockA;
      private ReentrantLock lockB;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. tests/test_fastapi_cli.py

    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,
            encoding="utf-8",
        )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 02 06:03:05 UTC 2024
    - 790 bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body/test_tutorial001.py

    from unittest.mock import patch
    
    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture
    def client():
        from docs_src.body.tutorial001 import app
    
        client = TestClient(app)
        return client
    
    
    def test_body_float(client: TestClient):
        response = client.post("/items/", json={"name": "Foo", "price": 50.5})
        assert response.status_code == 200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top