Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for TestScope (0.17 sec)

  1. pkg/log/scope_test.go

    			pat: "{\"level\":\"debug\",\"time\":\"" + timePattern + "\",\"scope\":\"testScope\",\"caller\":\"log/scope_test.go:.*\",\"msg\":\"Hello\"," +
    				"\"stack\":\".*\"}",
    			json:       true,
    			caller:     true,
    			stackLevel: DebugLevel,
    		},
    		{
    			f: func() { s.Info("Hello") },
    			pat: "{\"level\":\"info\",\"time\":\"" + timePattern + "\",\"scope\":\"testScope\",\"caller\":\"log/scope_test.go:.*\",\"msg\":\"Hello\"," +
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 17:36:09 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AbstractScopeArtifactFilter.java

     *
     */
    abstract class AbstractScopeArtifactFilter implements ArtifactFilter {
    
        private boolean compileScope;
    
        private boolean runtimeScope;
    
        private boolean testScope;
    
        private boolean providedScope;
    
        private boolean systemScope;
    
        void addScopeInternal(String scope) {
            if (Artifact.SCOPE_COMPILE.equals(scope)) {
                systemScope = true;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. platforms/software/build-init/src/main/java/org/gradleinternal/buildinit/plugins/internal/maven/Maven2Gradle.java

                        createGradleDep("runtimeOnly", result, dep, war);
                    }
                }
                if (!testScope.isEmpty()) {
                    for (org.apache.maven.model.Dependency dep : testScope) {
                        createGradleDep("testImplementation", result, dep, war);
                    }
                }
                if (!providedScope.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 15:23:34 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/rules/rules_test.go

    			}
    		}
    		for _, m := range tt.noMatch {
    			r := Matcher{tt.rule, m}
    			if r.resource() {
    				t.Errorf("%v: expected no match %#v", name, m)
    			}
    		}
    	}
    }
    
    func TestScope(t *testing.T) {
    	cluster := adreg.ClusterScope
    	namespace := adreg.NamespacedScope
    	allscopes := adreg.AllScopes
    	table := tests{
    		"cluster scope": {
    			rule: adreg.RuleWithOperations{
    				Rule: adreg.Rule{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 25 23:28:16 UTC 2022
    - 13.8K bytes
    - Viewed (0)
  5. maven-core/src/test/resources/apiv4-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar

    ScopeArtifactFilter.class package org.apache.maven.artifact.resolver.filter; public synchronized class ScopeArtifactFilter implements ArtifactFilter { private final boolean compileScope; private final boolean runtimeScope; private final boolean testScope; private final boolean providedScope; private final boolean systemScope; public void ScopeArtifactFilter(String); public boolean include(org.apache.maven.artifact.Artifact); } org/apache/maven/artifact/resolver/filter/TypeArtifactFilter.class package...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 160.1K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar

    ScopeArtifactFilter.class package org.apache.maven.artifact.resolver.filter; public synchronized class ScopeArtifactFilter implements ArtifactFilter { private final boolean compileScope; private final boolean runtimeScope; private final boolean testScope; private final boolean providedScope; private final boolean systemScope; public void ScopeArtifactFilter(String); public boolean include(org.apache.maven.artifact.Artifact); } org/apache/maven/artifact/resolver/filter/TypeArtifactFilter.class package...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 16 20:15:40 UTC 2007
    - 160.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/api/meta/restmapper.go

    	"k8s.io/apimachinery/pkg/runtime/schema"
    )
    
    // Implements RESTScope interface
    type restScope struct {
    	name RESTScopeName
    }
    
    func (r *restScope) Name() RESTScopeName {
    	return r.name
    }
    
    var RESTScopeNamespace = &restScope{
    	name: RESTScopeNameNamespace,
    }
    
    var RESTScopeRoot = &restScope{
    	name: RESTScopeNameRoot,
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 01:55:47 UTC 2021
    - 16.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/api/meta/interfaces.go

    }
    
    type RESTScopeName string
    
    const (
    	RESTScopeNameNamespace RESTScopeName = "namespace"
    	RESTScopeNameRoot      RESTScopeName = "root"
    )
    
    // RESTScope contains the information needed to deal with REST resources that are in a resource hierarchy
    type RESTScope interface {
    	// Name of the scope
    	Name() RESTScopeName
    }
    
    // RESTMapping contains the information needed to deal with objects of a specific
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 23:44:02 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_source.go

    	Bindings []B
    
    	// ParamInformer is the informer for the param CRD for this policy, or nil if
    	// there is no param or if there was a configuration error
    	ParamInformer informers.GenericInformer
    	ParamScope    meta.RESTScope
    
    	Evaluator          E
    	ConfigurationError error
    }
    
    var _ Source[PolicyHook[runtime.Object, runtime.Object, Evaluator]] = &policySource[runtime.Object, runtime.Object, Evaluator]{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 23:07:34 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_dispatcher.go

    // returns a single-element list with a nil param.
    func CollectParams(
    	paramKind *v1.ParamKind,
    	paramInformer informers.GenericInformer,
    	paramScope meta.RESTScope,
    	paramRef *v1.ParamRef,
    	namespace string,
    ) ([]runtime.Object, error) {
    	// If definition has paramKind, paramRef is required in binding.
    	// If definition has no paramKind, paramRef set in binding will be ignored.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top