Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testminio (0.11 sec)

  1. internal/event/target/nats_contrib_test.go

    	if err != nil {
    		t.Errorf("Could not connect to nats: %v", err)
    	}
    	defer con.Close()
    }
    
    func TestNatsConnUserPass(t *testing.T) {
    	opts := natsserver.DefaultTestOptions
    	opts.Port = 14223
    	opts.Username = "testminio"
    	opts.Password = "miniotest"
    	s := natsserver.RunServer(&opts)
    	defer s.Shutdown()
    
    	clientConfig := &NATSArgs{
    		Enable: true,
    		Address: xnet.Host{
    			Name:      "localhost",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/load/test.go

    		if err != nil && pmain.Error == nil {
    			pmain.Error = &PackageError{Err: err}
    			pmain.Incomplete = true
    		}
    		// Set TestmainGo even if it is empty: the presence of a TestmainGo
    		// indicates that this package is, in fact, a test main.
    		pmain.Internal.TestmainGo = &data
    	}
    
    	if done != nil {
    		go func() {
    			parallelizablePart()
    			done()
    		}()
    	} else {
    		parallelizablePart()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  3. src/cmd/go/internal/load/pkg.go

    //   - is a synthesized "main" package for a test binary, or
    //   - contains only _test.go files.
    func (p *Package) IsTestOnly() bool {
    	return p.ForTest != "" ||
    		p.Internal.TestmainGo != nil ||
    		len(p.TestGoFiles)+len(p.XTestGoFiles) > 0 && len(p.GoFiles)+len(p.CgoFiles) == 0
    }
    
    type PackageInternal struct {
    	// Unexported fields are not part of the public API.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  4. src/cmd/go/internal/test/test.go

    		pmain.Internal.OmitDebug = false
    	}
    
    	if !cfg.BuildN {
    		// writeTestmain writes _testmain.go,
    		// using the test description gathered in t.
    		if err := os.WriteFile(testDir+"_testmain.go", *pmain.Internal.TestmainGo, 0666); err != nil {
    			return nil, nil, nil, err
    		}
    	}
    
    	// Set compile objdir to testDir we've already created,
    	// so that the default file path stripping applies to _testmain.go.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top