Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for test$call (0.34 sec)

  1. pilot/pkg/networking/core/sidecar_simulation_test.go

    						e.Result.ClusterMatched = ""
    						e.Result.VirtualHostMatched = util.BlackHole
    					}
    					testCalls = append(testCalls, e)
    				}
    				sort.Slice(testCalls, func(i, j int) bool {
    					return testCalls[i].Name < testCalls[j].Name
    				})
    				runSimulationTest(t, nil, o,
    					simulationTest{
    						config: `
    apiVersion: networking.istio.io/v1alpha3
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  2. src/html/template/exec_test.go

    	}
    
    	// Works if the function is explicitly called.
    	const textCall = "{{ (call .)  }}"
    	tmpl, err = New("").Parse(textCall)
    	b.Reset()
    	err = tmpl.Execute(&b, f)
    	if err != nil {
    		t.Error(err)
    	}
    	if b.String() != "result" {
    		t.Errorf("%s got %q, expected %q", textCall, b.String(), "result")
    	}
    }
    
    // Issue 39807. There was a race applying escapeTemplate.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  3. src/text/template/exec_test.go

    	}
    
    	// Works if the function is explicitly called.
    	const textCall = "{{ (call .)  }}"
    	tmpl, err = New("").Parse(textCall)
    	b.Reset()
    	err = tmpl.Execute(&b, f)
    	if err != nil {
    		t.Error(err)
    	}
    	if b.String() != "result" {
    		t.Errorf("%s got %q, expected %q", textCall, b.String(), "result")
    	}
    }
    
    // Issue 43065, range over send only channel
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  4. pkg/controller/volume/persistentvolume/binder_test.go

    	"k8s.io/klog/v2/ktesting"
    )
    
    // Test single call to syncClaim and syncVolume methods.
    //  1. Fill in the controller with initial data
    //  2. Call the tested function (syncClaim/syncVolume) via
    //     controllerTest.testCall *once*.
    //  3. Compare resulting volumes and claims with expected volumes and claims.
    func TestSync(t *testing.T) {
    	labels := map[string]string{
    		"foo": "true",
    		"bar": "false",
    	}
    
    	tests := []controllerTest{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 65.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        list.add("cool");
        assertFalse(Iterators.any(list.iterator(), predicate));
        list.add("pants");
        assertTrue(Iterators.any(list.iterator(), predicate));
      }
    
      public void testAll() {
        List<String> list = Lists.newArrayList();
        Predicate<String> predicate = Predicates.equalTo("cool");
    
        assertTrue(Iterators.all(list.iterator(), predicate));
        list.add("cool");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 13:01:51 UTC 2024
    - 55.7K bytes
    - Viewed (0)
Back to top