Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ToNot (0.24 sec)

  1. pkg/bootstrap/option/instances_test.go

    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.testName, func(t *testing.T) {
    			g := NewWithT(t)
    
    			params, err := option.NewTemplateParams(c.option)
    			if c.expectError {
    				g.Expect(err).ToNot(BeNil())
    			} else {
    				g.Expect(err).To(BeNil())
    				actual, ok := params[c.key]
    				if c.expected == nil {
    					g.Expect(ok).To(BeFalse())
    				} else {
    					g.Expect(ok).To(BeTrue())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  2. pilot/pkg/bootstrap/server_test.go

    			InsecureSkipVerify: true,
    		},
    	}
    	defer c.CloseIdleConnections()
    
    	for _, url := range []string{"http://" + s.httpAddr, "https://" + s.httpsAddr} {
    		resp, err := c.Get(url + "/ready")
    		g.Expect(err).ToNot(HaveOccurred())
    		g.Expect(resp.StatusCode).To(Equal(http.StatusOK))
    		g.Expect(resp.Body.Close()).To(Succeed())
    	}
    }
    
    func TestInitOIDC(t *testing.T) {
    	tests := []struct {
    		name      string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/analyzers_test.go

    		existingNames.Insert(n)
    	}
    }
    
    func TestAnalyzersHaveDescription(t *testing.T) {
    	g := NewWithT(t)
    
    	for _, a := range All() {
    		g.Expect(a.Metadata().Description).ToNot(Equal(""))
    	}
    }
    
    func setupAnalyzerForCase(tc testCase, cr local.CollectionReporterFn) (*local.IstiodAnalyzer, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top