- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 213 for testLib (0.3 sec)
-
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerPluginClasspathInjectionEndUserIntegrationTest.groovy
* limitations under the License. */ package org.gradle.testkit.runner.enduser import org.gradle.integtests.fixtures.JUnitXmlTestExecutionResult import org.gradle.test.precondition.Requires import org.gradle.test.preconditions.IntegTestPreconditions import org.gradle.testkit.runner.fixtures.PluginUnderTest
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 5.7K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/VisualCppNativeCompilerTest.groovy
} def "arguments include MSVC output flag and output file name"() { given: def compiler = getCompiler() def testDir = tmpDirProvider.testDirectory def outputFile = testDir.file("output.ext") def spec = Stub(compileSpecType) when: def args = compiler.getOutputArgs(spec, outputFile) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/software/resources/src/test/groovy/org/gradle/internal/resource/UriTextResourceTest.groovy
class UriTextResourceTest extends Specification { private TestFile testDir private File file private URI fileUri private RelativeFilePathResolver resolver = Mock() @Rule public TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) def setup() { testDir = tmpDir.createDir('dir') file = new File(testDir, 'build.script') fileUri = file.toURI() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 9.4K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerDefaultTestKitDirIntegrationTest.groovy
test { File customTestKitDir = file('my-custom-testkit-dir') systemProperty('org.gradle.testkit.dir', customTestKitDir) } ''' def customTestKitDir = file("my-custom-testkit-dir") groovyTestSourceFile(""" import org.gradle.testkit.runner.GradleRunner import org.gradle.testkit.runner.internal.DefaultGradleRunner import java.io.File
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 4.7K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildCacheKeyFixture.groovy
Map<String, HashCode> buildCacheKeys = [:] BuildCacheKeyFixture(GradleExecuter executer, TestDirectoryProvider testDir) { super(executer, testDir) } private TestFile getFile() { testDir.testDirectory.file("outputBuildCacheKey.json") } @Override String initScriptContent() { """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.7K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_sql_databases.py
@pytest.fixture(scope="module") def client(tmp_path_factory: pytest.TempPathFactory): tmp_path = tmp_path_factory.mktemp("data") cwd = os.getcwd() os.chdir(tmp_path) test_db = Path("./sql_app.db") if test_db.is_file(): # pragma: nocover test_db.unlink() # Import while creating the client to create the DB after starting the test session from docs_src.sql_databases.sql_app import main
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 16.1K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py
@pytest.fixture(scope="module") def client(tmp_path_factory: pytest.TempPathFactory): tmp_path = tmp_path_factory.mktemp("data") cwd = os.getcwd() os.chdir(tmp_path) test_db = Path("./sql_app.db") if test_db.is_file(): # pragma: nocover test_db.unlink() # Import while creating the client to create the DB after starting the test session from docs_src.sql_databases.sql_app_py310 import alt_main
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 16.5K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/ToolingApiGradleExecutor.java
import java.util.concurrent.atomic.AtomicBoolean; import static org.gradle.testkit.runner.TaskOutcome.FAILED; import static org.gradle.testkit.runner.TaskOutcome.FROM_CACHE; import static org.gradle.testkit.runner.TaskOutcome.NO_SOURCE; import static org.gradle.testkit.runner.TaskOutcome.SKIPPED; import static org.gradle.testkit.runner.TaskOutcome.SUCCESS; import static org.gradle.testkit.runner.TaskOutcome.UP_TO_DATE;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 14:27:21 UTC 2024 - 13.1K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerCacheIntegrationTest.groovy
*/ package org.gradle.testkit.runner import org.gradle.initialization.StartParameterBuildOptions import org.gradle.testkit.runner.fixtures.NonCrossVersion import org.gradle.util.internal.TextUtil import static org.gradle.testkit.runner.TaskOutcome.FAILED import static org.gradle.testkit.runner.TaskOutcome.FROM_CACHE import static org.gradle.testkit.runner.TaskOutcome.SKIPPED
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 3.1K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py
from dirty_equals import IsDict from fastapi.testclient import TestClient from ...utils import needs_pydanticv1 @pytest.fixture(scope="module") def client(): test_db = Path("./sql_app.db") if test_db.is_file(): # pragma: nocover test_db.unlink() # Import while creating the client to create the DB after starting the test session from docs_src.sql_databases.sql_app import alt_main
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 16.3K bytes - Viewed (0)