Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 132 for test_ir (0.17 sec)

  1. 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)
  2. 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)
  3. platforms/software/platform-base/src/test/groovy/org/gradle/language/base/internal/tasks/StaleOutputCleanerTest.groovy

        }
    
        def "does not delete files that are not under one of the given roots"() {
            def destDir = tmpDir.file('dir')
            def file1 = destDir.file('file1').createFile()
            def file2 = tmpDir.file('file2').createFile()
    
            expect:
            StaleOutputCleaner.cleanOutputs(deleter, files(file1, file2), destDir)
            !file1.exists()
            file2.exists()
        }
    
        def "reports when no work was done"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/classpath/InstrumentingClasspathFileTransformer.java

            String destDirName = hashOf(sourceSnapshot);
            File destDir = new File(cacheDir, destDirName);
            String destFileName = source.getName();
            File receipt = new File(destDir, destFileName + ".receipt");
            File transformed = new File(destDir, destFileName);
    
            // Avoid file locking overhead by checking for the receipt first.
            if (receipt.isFile()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 13:36:38 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/AntGroovydoc.java

            VersionNumber version = VersionNumber.parse(getGroovyVersion(combinedClasspath));
    
            final Map<String, Object> args = new LinkedHashMap<>();
            args.put("sourcepath", tmpDir.toString());
            args.put("destdir", destDir);
            args.put("use", use);
            if (isAtLeast(version, "2.4.6")) {
                args.put("noTimestamp", noTimestamp);
                args.put("noVersionStamp", noVersionStamp);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_sql_databases/test_sql_databases_py39.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_py39 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)
  7. testing/internal-testing/src/main/groovy/org/gradle/util/internal/Resources.java

        }
    
        private void extractJarContents(String sourceJarPath, File destDir) throws IOException {
            FileUtils.deleteDirectory(destDir);
            if (!destDir.mkdir()) {
                throw new IOException("Could not create root unzip directory " + destDir);
            }
    
            try (JarFile sourceJar = new JarFile(sourceJarPath)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseScopeAttributeIntegrationTest.groovy

                    testImplementation 'junit:junit:4.13'
                }
    
                eclipse.classpath.file.whenMerged {
                    def testDir = entries.find { entry -> entry.path == 'src/test/java' }
                    def guavaDep = entries.find { entry -> entry.path.contains 'guava-18.0.jar' }
                    testDir.entryAttributes['gradle_used_by_scope'] = 'test,integTest'
                    guavaDep.entryAttributes['gradle_used_by_scope'] = 'main,test,integTest'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 10 13:19:47 UTC 2023
    - 8.8K bytes
    - Viewed (0)
Back to top