- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 235 for testLib (0.41 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultSourceDirectorySetTest.groovy
dirs.files == [testDir.file('dir1'), testDir.file('dir2')] as Set when: set.srcDirs = [] then: dirs.files.empty } void containsFilesFromEachSourceDirectory() { File srcDir1 = new File(testDir, 'dir1') touch(new File(srcDir1, 'subdir/file1.txt')) touch(new File(srcDir1, 'subdir/file2.txt')) File srcDir2 = new File(testDir, 'dir2')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 28 15:32:09 UTC 2022 - 14.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy
return [acceptedApiChanges: [:], publicApiPatterns: ['gradlebuild[.]binarycompatibility[.]rules.[^.]+'], apiChangesJsonFile: new File(testDir, 'test-api-changes.json').path, projectRootDir: testDir.path] } String replaceAsInternal(String name) { return name.replace('gradlebuild', 'gradlebuild.internal') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTaskFactoryTest.groovy
missingFile = testDir.file("missing.txt") existingDir = testDir.file("dir").createDir() missingDir = testDir.file("missing-dir") missingDir2 = testDir.file("missing-dir2") } FileResolver getFileResolver() { return project.fileResolver } FileCollectionFactory getFileCollectionFactory() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:35 UTC 2024 - 38.8K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerSamplesEndUserIntegrationTest.groovy
*/ package org.gradle.testkit.runner.enduser import org.gradle.integtests.fixtures.Sample import org.gradle.integtests.fixtures.UsesSample import org.gradle.test.precondition.Requires import org.gradle.test.preconditions.IntegTestPreconditions import org.gradle.test.preconditions.UnitTestPreconditions import org.gradle.testing.internal.util.RetryUtil import org.gradle.testkit.runner.fixtures.NoDebug
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 3K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_testing_databases_py39.py
@needs_pydanticv1 def test_testing_dbs_py39(tmp_path_factory: pytest.TempPathFactory): tmp_path = tmp_path_factory.mktemp("data") cwd = os.getcwd() os.chdir(tmp_path) test_db = Path("./test.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_py39.tests import test_sql_app
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 822 bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py39.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_py39 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) -
tests/test_tutorial/test_sql_databases/test_sql_databases_py310.py
def get_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 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) -
subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy
given: def dir = testDir.file("thing.dir") classesDir(dir) def file = testDir.file("thing.jar") jar(file) def dir2 = testDir.file("thing2.dir") classesDir(dir2) def file2 = testDir.file("thing2.jar") jar(file2) def dir3 = testDir.file("thing3.dir") classesDir(dir3) def file3 = testDir.file("thing3.jar") jar(file3)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 20.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/BaseDirFileResolverTest.groovy
baseDirConverter.resolve(testDir.name, PathValidation.DIRECTORY) fail() } catch (InvalidUserDataException e) { assertThat(e.message, equalTo("Directory '$testDir.canonicalFile' does not exist.".toString())) } } @Test public void testPathValidationWithValidDirectory() { testDir.mkdir() baseDirConverter.resolve(testDir.name, PathValidation.DIRECTORY) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 29 17:15:52 UTC 2023 - 15.1K bytes - Viewed (0) -
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestWithLibraryIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.2K bytes - Viewed (0)