Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for test_kind (0.21 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. 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)
  4. 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)
  5. src/cmd/cover/cover_test.go

    	})
    }
    
    // Execute this command sequence:
    //
    //	replace the word LINE with the line number < testdata/test.go > testdata/test_line.go
    //	testcover -mode=count -var=CoverTest -o ./testdata/test_cover.go testdata/test_line.go
    //	go run ./testdata/main.go ./testdata/test.go
    func TestCover(t *testing.T) {
    	testenv.MustHaveGoRun(t)
    	t.Parallel()
    	dir := tempDir(t)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:28 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/testing_gradle_plugins.adoc

    |<<unit-tests,Unit tests>>               |Any JVM-based test framework
    |<<integration-tests,Integration tests>> |Any JVM-based test framework
    |<<functional-tests,Functional tests>>   |Any JVM-based test framework and <<test_kit.adoc#test_kit,Gradle TestKit>>
    |======================
    
    [[manual-tests]]
    == Setting up manual tests
    
    The <<composite_builds.adoc#composite_builds,composite builds>> feature of Gradle makes it easy to test a plugin manually.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 22:49:20 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. build/lib/release.sh

          mkdir -p "${release_stage}/test/bin"
    
          local test_bins=("${KUBE_TEST_BINARIES[@]}")
          if [[ "${platform%/*}" = 'windows' ]]; then
            test_bins=("${KUBE_TEST_BINARIES_WIN[@]}")
          fi
          # This fancy expression will expand to prepend a path
          # (${LOCAL_OUTPUT_BINPATH}/${platform}/) to every item in the
          # test_bins array.
          cp "${test_bins[@]/#/${LOCAL_OUTPUT_BINPATH}/${platform}/}" \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.cc

        arg->set_dtype(dtype);
        // TODO(lyandy): Support other arg kinds.
        if (dtype == tensorflow::DT_RESOURCE)
          arg->set_kind(tensorflow::tpu::TPUCompileMetadataProto::Arg::VARIABLE);
        else
          arg->set_kind(tensorflow::tpu::TPUCompileMetadataProto::Arg::PARAMETER);
    
        // Populate argument shapes.
        *arg->mutable_shape() = tensorflow::TensorShapeProto();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_6.adoc

    If the test uses `ProjectBuilder.withProjectDir(...)`, it is unaffected.
    
    ==== Location of temporary files for TestKit tests
    
    Tests that use the <<test_kit#test_kit, TestKit>> API used to create temporary files under the system temporary directory as defined by `java.io.tmpdir`.
    These files were used to store copies of Gradle distributions or another test-only Gradle User Home.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/declaring_dependencies.adoc

    include::sample[dir="snippets/testKit/junitQuickstart/groovy",files="build.gradle[tags=declare-gradle-testkit-dependency]"]
    ====
    
    <<test_kit.adoc#test_kit,The TestKit chapter>> explains the use of TestKit by example.
    
    [[sub:groovy_dependencies]]
    ==== Local Groovy dependency
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 30.1K bytes
    - Viewed (0)
Back to top