Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for AssertAttributes (0.24 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/MavenJavaModule.groovy

            assertAttributes(javadoc, ["org.gradle.category": "documentation",
                                       "org.gradle.dependency.bundling": "external",
                                       "org.gradle.docstype": "javadoc",
                                       "org.gradle.usage": "java-runtime"])
            assertAttributes(sources, ["org.gradle.category": "documentation",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. pkg/kubelet/server/auth_test.go

    			attrs := getter.GetRequestAttributes(AuthzTestUser(), req)
    
    			test.AssertAttributes(t, attrs)
    		})
    	}
    }
    
    const (
    	authzTestNodeName = "test"
    	authzTestUserName = "phibby"
    )
    
    type AuthzTestCase struct {
    	Method, Path string
    
    	ExpectedVerb, ExpectedSubresource string
    }
    
    func (a *AuthzTestCase) AssertAttributes(t *testing.T, attrs authorizer.Attributes) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 18:09:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpComponentFixture.groovy

            WbResource(Node node) {
                this.node = node
            }
    
            void assertDeployedAt(String path) {
                assert node."@deploy-path" == path
            }
    
            void assertAttributes(Map attributes) {
                attributes.each { key, value ->  assert node."@$key" == value }
            }
    
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpModelIntegrationTest.groovy

            wtpFacets.assertFacetVersion('gradleFacet', '1.333')
    
            // Component
            def component = getWtpComponent()
            component.resources[0].assertAttributes('deploy-path': '/WEB-INF/classes', 'source-path': 'someExtraSourceDir')
            component.resources[1].assertAttributes('deploy-path': './deploy/foo/bar', 'source-path': './src/foo/bar')
            assert component.deployName =='someBetterDeployName'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  5. pkg/kubelet/server/server_test.go

    				return attributesGetter.GetRequestAttributes(u, req)
    			}
    			fw.fakeAuth.authorizeFunc = func(a authorizer.Attributes) (decision authorizer.Decision, reason string, err error) {
    				calledAuthorize = true
    				tc.AssertAttributes(t, a)
    				return authorizer.DecisionNoOpinion, "", nil
    			}
    
    			req, err := http.NewRequest(tc.Method, fw.testHTTPServer.URL+tc.Path, nil)
    			require.NoError(t, err)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
Back to top