Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 741 for AsObject (0.12 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/AbstractVersionCatalogTest.groovy

    import org.gradle.api.problems.internal.NoOpProblemEmitter
    import org.gradle.util.TestUtil
    import spock.lang.Specification
    import spock.lang.Subject
    
    import java.util.function.Supplier
    
    class AbstractVersionCatalogTest extends Specification {
        @Subject
        DefaultVersionCatalogBuilder builder = createVersionCatalogBuilder()
    
        def createVersionCatalogBuilder() {
            def supplier = Stub(Supplier)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 08:24:10 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509.go

    		if allowedCommonName == subject.CommonName {
    			return nil
    		}
    	}
    	return fmt.Errorf("x509: subject with cn=%s is not in the allowed list", subject.CommonName)
    }
    
    // DefaultVerifyOptions returns VerifyOptions that use the system root certificates, current time,
    // and requires certificates to be valid for client auth (x509.ExtKeyUsageClientAuth)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 18 01:31:22 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. security/pkg/pki/util/generate_cert_test.go

    		}
    		if len(c.csrTemplate.Subject.CommonName) == 0 {
    			if len(out.Subject.CommonName) > 0 {
    				t.Errorf("Common name should be empty, but got %s", out.Subject.CommonName)
    			}
    		} else if out.Subject.CommonName != c.subjectIDs[0] {
    			t.Errorf("Unmatched common name, expected %s, got %s", c.subjectIDs[0], out.Subject.CommonName)
    		}
    		if len(out.Subject.Organization) > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 06 12:48:53 UTC 2023
    - 29.4K bytes
    - Viewed (0)
  4. internal/event/target/nats_contrib_test.go

    	defer s.Shutdown()
    
    	clientConfig := &NATSArgs{
    		Enable: true,
    		Address: xnet.Host{
    			Name:      "localhost",
    			Port:      (xnet.Port(opts.Port)),
    			IsPortSet: true,
    		},
    		Subject: "test",
    	}
    	con, err := clientConfig.connectNats()
    	if err != nil {
    		t.Errorf("Could not connect to nats: %v", err)
    	}
    	defer con.Close()
    }
    
    func TestNatsConnUserPass(t *testing.T) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/gen_test.go

    	subject := flowcontrol.Subject{}
    	var matchingUIs, skippingUIs []user.Info
    	x := rng.Float32()
    	switch {
    	case x < 0.33:
    		subject.Kind = flowcontrol.SubjectKindUser
    		subject.User, matchingUIs, skippingUIs = genUser(rng, pfx)
    	case x < 0.67:
    		subject.Kind = flowcontrol.SubjectKindGroup
    		subject.Group, matchingUIs, skippingUIs = genGroup(rng, pfx)
    	default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/NoInputsModelAction.java

    public class NoInputsModelAction<T> extends AbstractModelActionWithView<T> {
        private final Action<? super T> configAction;
    
        public NoInputsModelAction(ModelReference<T> subject, ModelRuleDescriptor descriptor, Action<? super T> configAction) {
            super(subject, descriptor, Collections.<ModelReference<?>>emptyList());
            this.configAction = configAction;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/featurelifecycle/StackTraceSanitizerTest.groovy

     */
    
    package org.gradle.internal.featurelifecycle
    
    import spock.lang.Specification
    import spock.lang.Subject
    
    import static SimulatedSingleMessageLogger.DIRECT_CALL
    import static SimulatedSingleMessageLogger.INDIRECT_CALL
    import static SimulatedSingleMessageLogger.INDIRECT_CALL_2
    
    @Subject(StackTraceSanitizer)
    class StackTraceSanitizerTest extends Specification {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. platforms/jvm/scala/src/test/groovy/org/gradle/scala/compile/internal/ScalaCompileOptionsTest.groovy

     */
    
    package org.gradle.scala.compile.internal
    
    import org.gradle.api.tasks.scala.ScalaCompileOptions
    import org.gradle.util.TestUtil
    import spock.lang.Specification
    import spock.lang.Subject
    
    @Subject(ScalaCompileOptions)
    class ScalaCompileOptionsTest extends Specification {
    
        def 'additional parameters are empty by default'() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. pkg/apis/flowcontrol/v1beta3/zz_generated.conversion.go

    	}
    	if err := s.AddGeneratedConversionFunc((*v1beta3.Subject)(nil), (*flowcontrol.Subject)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1beta3_Subject_To_flowcontrol_Subject(a.(*v1beta3.Subject), b.(*flowcontrol.Subject), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*flowcontrol.Subject)(nil), (*v1beta3.Subject)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:41 UTC 2023
    - 53.1K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/AbstractTransformExecution.java

            this.inputArtifact = inputArtifact;
            this.dependencies = dependencies;
            this.inputArtifactProvider = Providers.of(new DefaultFileSystemLocation(inputArtifact));
            this.subject = subject;
            this.transformExecutionListener = transformExecutionListener;
    
            this.buildOperationRunner = buildOperationRunner;
            this.progressEventEmitter = progressEventEmitter;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top