Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 268 for runner (0.04 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperTest.java

        @Test
        void none() throws Exception {
            assertEquals("NONE;", runner(Map.of()));
        }
    
        @Test
        void generic() throws Exception {
            assertEquals(GenericCIDetector.NAME + ";", runner(Map.of("CI", "true")));
        }
    
        @Test
        void jenkins() throws Exception {
            assertEquals(JenkinsCIDetector.NAME + ";", runner(Map.of("CI", "true", "WORKSPACE", "foobar")));
        }
    
        @Test
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. .github/workflows/ci-build.yml

      #  with:
      #    runner: 'linux-x86-n2-16'
      #    tfci: 'py313,linux_x86,rbe'
    
      #build-and-test-linux-x86-cuda:
      #  uses: ./.github/workflows/build-reusable.yml
      #  with:
      #    runner: 'linux-x86-n4-32'
      #    tfci: 'py313,linux_x86_cuda'
    
      #build-and-test-arm64:
      #  uses: ./.github/workflows/build-reusable.yml
      #  with:
      #    runner: 'linux-arm64-c4a-16'
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Mar 28 04:33:01 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

              }
            };
        Thread runner = new Thread(task);
        runner.start();
        isInterruptibleRegistered.await();
        RuntimeException expected = assertThrows(RuntimeException.class, task::interruptTask);
        assertThat(expected)
            .hasMessageThat()
            .isEqualTo("I bet you didn't think Thread.interrupt could throw");
        /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

              }
            };
        Thread runner = new Thread(task);
        runner.start();
        isInterruptibleRegistered.await();
        RuntimeException expected = assertThrows(RuntimeException.class, task::interruptTask);
        assertThat(expected)
            .hasMessageThat()
            .isEqualTo("I bet you didn't think Thread.interrupt could throw");
        /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  5. scripts/tests/test_translation_fixer/conftest.py

            if item_path.is_relative_to(THIS_DIR):
                item.add_marker(skip_on_windows)
    
    
    @pytest.fixture(name="runner")
    def get_runner():
        runner = CliRunner()
        with runner.isolated_filesystem():
            yield runner
    
    
    @pytest.fixture(name="root_dir")
    def prepare_paths(runner):
        docs_dir = Path("docs")
        en_docs_dir = docs_dir / "en" / "docs"
        lang_docs_dir = docs_dir / "lang" / "docs"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 25 10:37:59 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  6. scripts/tests/test_translation_fixer/test_header_permalinks/test_header_number_mismatch.py

    ).absolute()
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_gt.md")],
        indirect=True,
    )
    def test_gt(runner: CliRunner, root_dir: Path, copy_test_files):
        result = runner.invoke(
            cli,
            ["fix-pages", "docs/lang/docs/doc.md"],
        )
        assert result.exit_code == 1
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  7. .github/workflows/build-reusable.yml

    permissions:
      contents: read
    
    jobs:
      build-and-test:
        runs-on: ${{ inputs.runner }}
        env:
          PIP_NO_CACHE_DIR: 1
        defaults:
          run:
            shell: bash
        container: ${{ (contains(inputs.runner, 'linux-x86') && 'us-docker.pkg.dev/ml-oss-artifacts-published/ml-public-container/ml-build:latest') ||
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Mar 28 04:33:01 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  8. scripts/tests/test_translation_fixer/test_code_blocks/test_code_blocks_number_mismatch.py

    ).absolute()
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_gt.md")],
        indirect=True,
    )
    def test_gt(runner: CliRunner, root_dir: Path, copy_test_files):
        result = runner.invoke(
            cli,
            ["fix-pages", "docs/lang/docs/doc.md"],
        )
        assert result.exit_code == 1, result.output
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  9. scripts/tests/test_translation_fixer/test_code_blocks/test_code_blocks_mermaid.py

    ).absolute()
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_mermaid_translated.md")],
        indirect=True,
    )
    def test_translated(runner: CliRunner, root_dir: Path, copy_test_files):
        result = runner.invoke(
            cli,
            ["fix-pages", "docs/lang/docs/doc.md"],
        )
        assert result.exit_code == 0, result.output
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  10. scripts/tests/test_translation_fixer/test_code_blocks/test_code_blocks_lines_number_mismatch.py

    ).absolute()
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_lines_number_gt.md")],
        indirect=True,
    )
    def test_gt(runner: CliRunner, root_dir: Path, copy_test_files):
        result = runner.invoke(
            cli,
            ["fix-pages", "docs/lang/docs/doc.md"],
        )
        assert result.exit_code == 1, result.output
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.9K bytes
    - Click Count (0)
Back to Top