- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 248 for testLib (0.13 sec)
-
tests/test_tutorial/test_sql_databases/test_testing_databases_py310.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_py310.tests import test_sql_app
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 825 bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/initialization/DefaultSettingsTest.groovy
} def 'can create project descriptor'() { String testName = "testname" File testDir = new File("testDir") when: DefaultProjectDescriptor projectDescriptor = settings.createProjectDescriptor(settings.getRootProject(), testName, testDir) then: settings.rootProject.is(projectDescriptor.parent)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 01 18:57:54 UTC 2023 - 5.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/groovy/scripts/TextResourceScriptSourceTest.java
testDir = tmpDir.createDir("scripts"); scriptFile = new File(testDir, "build.script"); scriptFileUri = scriptFile.toURI(); createJar(); } private URI createJar() throws URISyntaxException { TestFile jarFile = tmpDir.getTestDirectory().file("test.jar"); testDir.file("ignoreme").write("content"); testDir.zipTo(jarFile);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 15 01:04:05 UTC 2023 - 12K bytes - Viewed (0) -
cmd/kubelet/app/server_bootstrap_test.go
} fi = getFileInfo(testDir) if len(fi) != 2 { t.Fatalf("Unexpected directory contents: %#v", fi) } } func Test_buildClientCertificateManager_populateCertDir(t *testing.T) { testDir, err := os.MkdirTemp("", "kubeletcert") if err != nil { t.Fatal(err) } defer func() { os.RemoveAll(testDir) }() // when no cert is provided, write nothing to disk
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 01 05:59:41 UTC 2022 - 10.5K bytes - Viewed (0) -
platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/jdk7/Jdk7SymlinkTest.groovy
createWindowsJunction(new File(testDirectory, 'testDir'), testDirectory.createDir('symDir')) then: symlink.isSymlink(new File(testDirectory, 'testDir')) cleanup: // Need to delete the junction point manually because it's not supported by JDK // See: https://bugs.openjdk.java.net/browse/JDK-8069345 new File(testDirectory, 'testDir').delete() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:06:40 UTC 2023 - 5K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/GccToolChainTest.groovy
} def "resolves path entries"() { def testDir = tmpDirProvider.testDirectory when: toolChain.path "The Path" toolChain.path "Path1", "Path2" then: fileResolver.resolve("The Path") >> testDir.file("one") fileResolver.resolve("Path1") >> testDir.file("two") fileResolver.resolve("Path2") >> testDir.file("three") and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/SampleTestNGIntegrationTest.groovy
} @Test @UsesSample('testing/testng-suitexmlbuilder') void suiteXmlBuilder() { def testDir = sample.dir.file('groovy') executer.inDirectory(testDir).withTasks('clean', 'test').run() def result = new DefaultTestExecutionResult(testDir) result.assertTestClassesExecuted('org.gradle.testng.UserImplTest')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
"ingressIP": "fd00:10:96::2", }, } for _, dir := range files { if !dir.IsDir() { continue } testdir := path.Join("testdata/vmconfig", dir.Name()) t.Cleanup(func() { for k := range generated { os.Remove(path.Join(testdir, k)) } }) t.Run(dir.Name(), func(t *testing.T) { createClientFunc := func(client kube.CLIClient) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 27 16:59:05 UTC 2024 - 14.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/CrossProjectMultipleVariantSelectionIntegrationTest.groovy
attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, JavaVersion.current().majorVersionNumber) } outgoing.capability('test:lib:1.0') outgoing.capability('test:lib-fixtures:1.0') } } artifacts { testFixtures file("lib-test-fixtures.jar") } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:47:05 UTC 2024 - 5.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/UserInitScriptExecuterFixture.groovy
abstract class UserInitScriptExecuterFixture implements MethodRule { GradleExecuter executer TestDirectoryProvider testDir UserInitScriptExecuterFixture(GradleExecuter executer, TestDirectoryProvider testDir) { this.executer = executer this.testDir = testDir } String initScriptContent() { } void afterBuild() { }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.9K bytes - Viewed (0)