Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 134 for testAge (0.17 sec)

  1. platforms/ide/base-ide-plugins/src/test/groovy/org/gradle/plugins/ide/internal/IdePluginTest.groovy

            Task ideTask = project.tasks['testIde']
            ideTask.taskDependencies.getDependencies(ideTask) == [worker] as Set
    
            Task cleaner = project.tasks['cleanGenerateXml']
            cleaner instanceof Delete
        }
    }
    
    class TestIdePlugin extends IdePlugin {
        @Override protected String getLifecycleTaskName() {
            return 'testIde'
        }
    
        @Override protected void onApply(Project target) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. src/internal/trace/testdata/generators/go122-syscall-steal-proc-ambiguous.go

    // the correct GoSyscallBegin appears on the frontier.
    
    package main
    
    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	t.DisableTimestamps()
    
    	g := t.Generation(1)
    
    	// One goroutine does a syscall without blocking, then another one where
    	// it's P gets stolen.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. maven-core/src/test/resources/project-dynamism/pom-interp.xml

        <scriptSourceDirectory>/${groupId}/src/main/scripts</scriptSourceDirectory>
    
        <plugins>
          <plugin>
            <artifactId>my-plugin</artifactId>
            <configuration>
              <testOne>${project.groupId}</testOne>
              <testTwo>${pom.groupId}</testTwo>
              <testThree>${groupId}</testThree>
            </configuration>
          </plugin>
        </plugins>
      </build>
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Nov 09 12:45:14 UTC 2019
    - 903 bytes
    - Viewed (0)
  4. src/internal/trace/testdata/generators/go122-create-syscall-reuse-thread-id.go

    // in the parser's state because they share a thread ID.
    
    package main
    
    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	g := t.Generation(1)
    
    	// A C thread calls into Go and acquires a P. It returns
    	// back to C, destroying the G.
    	b0 := g.Batch(trace.ThreadID(0), 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/generators/go122-syscall-steal-proc-gen-boundary-reacquire-new-proc-bare-m.go

    // Tests syscall P stealing at a generation boundary.
    
    package main
    
    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	g := t.Generation(1)
    
    	// One goroutine is exiting with a syscall. It already
    	// acquired a new P.
    	b0 := g.Batch(trace.ThreadID(0), 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1009 bytes
    - Viewed (0)
  6. src/internal/trace/testdata/generators/go122-task-across-generations.go

    // for use in future generations.
    
    package main
    
    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	g1 := t.Generation(1)
    
    	// A running goroutine emits a task begin.
    	b1 := g1.Batch(trace.ThreadID(0), 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. testing/integ-test/src/integTest/groovy/org/gradle/integtests/fixture/TempDirIsUniquePerTestSpec.groovy

        static tmpDirs = new HashSet()
    
        def setup() {
            //it's very important we try to access the test dir in the setup()
            tmp.testDirectory
        }
    
        def "testOne"() {
            when:
            tests << "testOne"
            tmpDirs << tmp.testDirectory
    
            then:
            tests.size() == tmpDirs.size()
        }
    
        def "testTwo"() {
            when:
            tests << "testTwo"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/generators/go122-fail-first-gen-first.go

    // instead of the second one.
    
    package main
    
    import (
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	// A running goroutine emits a task begin.
    	t.RawEvent(go122.EvEventBatch, nil, 1 /*gen*/, 0 /*thread ID*/, 0 /*timestamp*/, 5 /*batch length*/)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_custom_response/test_tutorial009.py

    from pathlib import Path
    
    from fastapi.testclient import TestClient
    
    from docs_src.custom_response import tutorial009
    from docs_src.custom_response.tutorial009 import app
    
    client = TestClient(app)
    
    
    def test_get(tmp_path: Path):
        file_path: Path = tmp_path / "large-video-file.mp4"
        tutorial009.some_file_path = str(file_path)
        test_content = b"Fake video bytes"
        file_path.write_bytes(test_content)
        response = client.get("/")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jul 03 19:51:28 UTC 2021
    - 487 bytes
    - Viewed (0)
  10. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial001.py

    from fastapi.testclient import TestClient
    
    from docs_src.path_operation_advanced_configuration.tutorial001 import app
    
    client = TestClient(app)
    
    
    def test_get():
        response = client.get("/items/")
        assert response.status_code == 200, response.text
        assert response.json() == [{"item_id": "Foo"}]
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1K bytes
    - Viewed (0)
Back to top