Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for test_kind (0.16 sec)

  1. staging/src/k8s.io/apimachinery/pkg/test/apis_meta_v1_unstructed_unstructure_test.go

    }
    
    func TestDecode(t *testing.T) {
    	tcs := []struct {
    		json []byte
    		want runtime.Object
    	}{
    		{
    			json: []byte(`{"apiVersion": "test", "kind": "test_kind"}`),
    			want: &unstructured.Unstructured{
    				Object: map[string]interface{}{"apiVersion": "test", "kind": "test_kind"},
    			},
    		},
    		{
    			json: []byte(`{"apiVersion": "test", "kind": "test_list", "items": []}`),
    			want: &unstructured.UnstructuredList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 20:12:50 UTC 2022
    - 17.3K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/test_kit.adoc

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    [[test_kit]]
    = Testing Build Logic with TestKit
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. subprojects/build-events/src/main/java/org/gradle/internal/build/event/types/DefaultTestDescriptor.java

            this.operationDisplayName = operationDisplayName;
            this.testDisplayName = displayName;
            this.testKind = testKind;
            this.suiteName = suiteName;
            this.className = className;
            this.methodName = methodName;
            this.parentId = parentId;
            this.taskPath = taskPath;
        }
    
        @Override
        public OperationIdentifier getId() {
            return id;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 07:45:14 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/flag/flag_test.go

    	if s == "0" {
    		return "false"
    	}
    	return "true"
    }
    
    func TestEverything(t *testing.T) {
    	ResetForTesting(nil)
    	Bool("test_bool", false, "bool value")
    	Int("test_int", 0, "int value")
    	Int64("test_int64", 0, "int64 value")
    	Uint("test_uint", 0, "uint value")
    	Uint64("test_uint64", 0, "uint64 value")
    	String("test_string", "0", "string value")
    	Float64("test_float64", 0, "float64 value")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/composite_op_round_trip.mlir

        // CHECK-ROUNDTRIP:  %0 = stablehlo.composite "stablehlo.add_n" %arg0 {composite_attributes = {test_bool = false, test_int = 2 : i64, test_string = "test"}, decomposition = @add_n.impl} : (tensor<i64>) -> tensor<i64>
        %0 = stablehlo.composite "stablehlo.add_n" %arg0 { composite_attributes = { test_int = 2 : i64, test_bool = 0 : i1, test_string = "test"}, decomposition = @add_n.impl } : (tensor<i64>) -> tensor<i64>
        return %0 : tensor<i64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 03:40:50 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/core-plugins/java_gradle_plugin.adoc

    The plugin also integrates with <<test_kit.adoc#test_kit,TestKit>>, a library that aids in writing and executing functional tests for plugin code.
    It automatically adds the `gradleTestKit()` dependency to the `testImplementation` configuration and generates a plugin classpath manifest file consumed by a `GradleRunner` instance if found.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/crd/config_test.go

    package crd_test
    
    import (
    	"encoding/json"
    	"reflect"
    	"testing"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/istio/pilot/pkg/config/kube/crd"
    	"istio.io/istio/pkg/ptr"
    )
    
    func TestKind(t *testing.T) {
    	obj := crd.IstioKind{}
    
    	spec := json.RawMessage(`{"a":"b"}`)
    	obj.Spec = spec
    	if got := obj.GetSpec(); !reflect.DeepEqual(spec, got) {
    		t.Errorf("GetSpec() => got %v, want %v", got, spec)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 18:26:16 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarType.java

     * limitations under the License.
     */
    
    package org.gradle.api.internal.runtimeshaded;
    
    public enum RuntimeShadedJarType {
    
        API("api"),
        TEST_KIT("test-kit");
    
        private final String identifier;
    
        RuntimeShadedJarType(String identifier) {
            this.identifier = identifier;
        }
    
        public String getIdentifier() {
            return identifier;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 944 bytes
    - Viewed (0)
  9. pkg/log/scope_test.go

    	if z1 != z2 {
    		t.Error("Expecting the same scope objects, got different ones")
    	}
    }
    
    func TestFind(t *testing.T) {
    	if z := FindScope("TestFind"); z != nil {
    		t.Error("Found scope, but expected it wouldn't exist")
    	}
    
    	_ = RegisterScope("TestFind", "")
    
    	if z := FindScope("TestFind"); z == nil {
    		t.Error("Did not find scope, expected to find it")
    	}
    }
    
    func TestBadNames(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 17:36:09 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. pkg/flag/flag_test.go

    // limitations under the License.
    
    package flag
    
    import (
    	"testing"
    
    	"github.com/spf13/pflag"
    
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestBind(t *testing.T) {
    	type Options struct {
    		A, B, C string
    		Env     string
    		Bool    bool
    	}
    	opts := Options{
    		B: "b-def",
    	}
    	test.SetEnvForTest(t, "TEST_ENV", "from-env")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 01 04:37:36 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top