Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for tmpdir (0.03 seconds)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

    import org.junit.rules.TemporaryFolder
    import java.io.File
    import java.nio.file.Files
    
    
    abstract class AbstractBinaryCompatibilityTest {
    
        @get:Rule
        val tmpDir = TemporaryFolder()
    
        private
        val rootDir: File
            get() = tmpDir.root
    
        internal
        fun checkBinaryCompatibleKotlin(@Language("kotlin") v1: String = "", @Language("kotlin") v2: String, block: CheckResult.() -> Unit = {}): CheckResult =
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 18K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_static_files/test_tutorial001.py

    def client():
        static_dir: Path = Path(os.getcwd()) / "static"
        static_dir.mkdir(exist_ok=True)
        sample_file = static_dir / "sample.txt"
        sample_file.write_text("This is a sample static file.")
        from docs_src.static_files.tutorial001_py39 import app
    
        with TestClient(app) as client:
            yield client
        sample_file.unlink()
        static_dir.rmdir()
    
    
    def test_static_files(client: TestClient):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

    import japicmp.model.JApiClass
    import javassist.ClassPool
    import me.champeau.gradle.japicmp.report.ViolationCheckContext
    import spock.lang.Specification
    import spock.lang.TempDir
    
    abstract class AbstractContextAwareRuleSpecification extends Specification {
        @TempDir
        File testDir
    
        ViolationCheckContext context = new ViolationCheckContext() {
            Map userData = [seenApiChanges: [] as Set]
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. scripts/translate.py

            «««
            ```console
            // Go to the home directory
            $ cd
            // Create a directory for all your code projects
            $ mkdir code
            // Enter into that code directory
            $ cd code
            // Create a directory for this project
            $ mkdir awesome-project
            // Enter into that project directory
            $ cd awesome-project
            ```
            »»»
    
        Result (German):
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:05:53 GMT 2025
    - 34.1K bytes
    - Click Count (0)
  5. .github/workflows/test.yml

              cache-dependency-glob: |
                requirements**.txt
                pyproject.toml
          - name: Install Dependencies
            run: uv pip install -r requirements-tests.txt
          - run: mkdir coverage
          - name: Test
            if: matrix.codspeed != 'codspeed'
            run: bash scripts/test.sh
            env:
              COVERAGE_FILE: coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 08:53:59 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top