Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 3,844 for asset0 (0.19 sec)

  1. platforms/software/testing-base/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/report/HtmlTestResultsFixture.groovy

            assert testDiv != null
            def counter = testDiv.select("div.counter")
            assert counter != null
            assert counter.text() == tests as String
        }
    
        void assertHasFailures(int tests) {
            def testDiv = content.select("div#failures")
            assert testDiv != null
            def counter = testDiv.select("div.counter")
            assert counter != null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/build-operations/src/test/groovy/org/gradle/internal/operations/DefaultBuildOperationRunnerTest.groovy

                operationStateUnderTest = operationState
                assert descriptor.id != null
                assert descriptor.parentId == defaultParent?.id
                assert descriptor.name == "<op>"
                assert descriptor.displayName == "<some-operation>"
                assert descriptor.details == details
                assert operationState.startTime == 123L
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:56:07 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  3. plugin/pkg/auth/authorizer/node/intset_test.go

    	"testing"
    
    	"github.com/stretchr/testify/assert"
    )
    
    func TestIntSet(t *testing.T) {
    	i := newIntSet()
    
    	assert.False(t, i.has(1))
    	assert.False(t, i.has(2))
    	assert.False(t, i.has(3))
    	assert.False(t, i.has(4))
    
    	i.reset()
    	i.increment(1) // to 1
    	i.increment(2) // to 1
    
    	assert.True(t, i.has(1))
    	assert.True(t, i.has(2))
    	assert.False(t, i.has(3))
    	assert.False(t, i.has(4))
    
    	i.decrement(1) // to 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 10 18:24:13 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultWorkerLeaseServiceProjectLockTest.groovy

            workerLeaseService.withLocks([taskLease]) {
                assert lockIsHeld(taskLease)
                assert lockIsHeld(projectLock)
                workerLeaseService.withoutLocks([projectLock]) {
                    assert lockIsHeld(taskLease)
                    assert !lockIsHeld(projectLock)
                }
                assert lockIsHeld(taskLease)
                assert lockIsHeld(projectLock)
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  5. tests/test_params_repr.py

    
    def test_body_repr_number():
        assert repr(Body(1)) == "Body(1)"
    
    
    def test_body_repr_list():
        assert repr(Body([])) == "Body([])"
    
    
    def test_depends_repr():
        assert repr(Depends()) == "Depends(NoneType)"
        assert repr(Depends(get_user)) == "Depends(get_user)"
        assert repr(Depends(use_cache=False)) == "Depends(NoneType, use_cache=False)"
        assert (
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/internal/component/DefaultSoftwareComponentContainerIntegrationTest.groovy

                }
    
                task verify {
                    assert components.first.name == "first"
                    assert components.first.value.get() == 1
                    assert components.first instanceof DefaultTestComponent
    
                    assert components.second.name == "second"
                    assert components.second.value.get() == 2
                    assert components.second instanceof DefaultTestComponent
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 14 22:59:22 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/mux/pathrecorder_test.go

    	assert.Equal(t, first, 1)
    	assert.Equal(t, resp.StatusCode, http.StatusNotFound)
    
    	c.HandleFunc("/nonswagger", func(http.ResponseWriter, *http.Request) {
    		second = second + 1
    	})
    	assert.Contains(t, c.ListedPaths(), "/nonswagger")
    	resp, _ = http.Get(s.URL + "/nonswagger")
    	assert.Equal(t, first, 1)
    	assert.Equal(t, second, 1)
    	assert.Equal(t, resp.StatusCode, http.StatusOK)
    }
    
    func TestPrefixHandlers(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 26 16:15:13 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  8. pkg/ctrlz/topics/env.go

    // limitations under the License.
    
    package topics
    
    import (
    	"net/http"
    	"os"
    	"sort"
    	"strings"
    
    	"istio.io/istio/pkg/ctrlz/fw"
    	"istio.io/istio/pkg/ctrlz/topics/assets"
    )
    
    type envTopic struct{}
    
    // EnvTopic returns a ControlZ topic that allows visualization of process environment variables.
    func EnvTopic() fw.Topic {
    	return envTopic{}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. pkg/ctrlz/topics/mem.go

    // Package topics defines several canonical ControlZ topics.
    package topics
    
    import (
    	"net/http"
    	"runtime"
    
    	"istio.io/istio/pkg/ctrlz/fw"
    	"istio.io/istio/pkg/ctrlz/topics/assets"
    )
    
    type memTopic struct{}
    
    // MemTopic returns a ControlZ topic that allows visualization of process memory usage.
    func MemTopic() fw.Topic {
    	return memTopic{}
    }
    
    func (memTopic) Title() string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. tests/test_query.py

        assert response.status_code == 200
        assert response.json() == "foo bar"
    
    
    def test_query_param_query_50():
        response = client.get("/query/param?query=50")
        assert response.status_code == 200
        assert response.json() == "foo bar 50"
    
    
    def test_query_param_required():
        response = client.get("/query/param-required")
        assert response.status_code == 422
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top