Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for test_$it (0.14 sec)

  1. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/test_kit.adoc

    == Using TestKit
    
    To use the TestKit, include the following in your plugin's build:
    
    .Declaring the TestKit dependency
    ====
    include::sample[dir="snippets/testKit/junitQuickstart/kotlin",files="build.gradle.kts[tags=declare-gradle-testkit-dependency]"]
    include::sample[dir="snippets/testKit/junitQuickstart/groovy",files="build.gradle[tags=declare-gradle-testkit-dependency]"]
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

    TEST(LegalizeTFTest, DumpsProducedHLO) {
      Env* env = Env::Default();
      std::string test_dir = testing::TmpDir();
      setenv("TF_DUMP_GRAPH_PREFIX", test_dir.c_str(), /*overwrite=*/1);
      setenv("TF_DUMP_GRAPH_NAME_FILTER", "*", 1);
      DEBUG_DATA_DUMPER()->LoadEnvvars();
    
      std::vector<std::string> files;
      TF_ASSERT_OK(env->GetChildren(test_dir, &files));
      int original_files_size = files.size();
    
      TF_ASSERT_OK_AND_ASSIGN(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/runlit.site.cfg.py

    config.mlir_tf_tools_dirs = [
        os.path.join(real_test_srcdir, os.environ['TEST_WORKSPACE'], s)
        for s in mlir_tf_tools_dirs
    ]
    test_dir = os.environ['TEST_TARGET']
    test_dir = test_dir.strip('/').rsplit(':', 1)[0]
    config.mlir_test_dir = os.path.join(real_test_srcdir,
                                        os.environ['TEST_WORKSPACE'], test_dir)
    
    if platform.system() == 'Windows':
      # Configure this to work with msys2, TF's preferred windows bash.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 21:33:52 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. platforms/extensibility/test-kit/src/testFixtures/groovy/org/gradle/testkit/runner/BaseGradleRunnerIntegrationTest.groovy

    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.testkit.runner.fixtures.CustomDaemonDirectory
    import org.gradle.testkit.runner.fixtures.CustomEnvironmentVariables
    import org.gradle.testkit.runner.fixtures.Debug
    import org.gradle.testkit.runner.fixtures.HideEnvVariableValuesInDaemonLog
    import org.gradle.testkit.runner.fixtures.InjectsPluginClasspath
    import org.gradle.testkit.runner.fixtures.InspectsBuildOutput
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:29:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  7. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/nio/PosixFilePermissionConverter.java

            }
            if (isSet(mode, 01)) {
                result.add(OTHERS_EXECUTE);
            }
            return result;
        }
    
        private static boolean isSet(int mode, int testbit) {
            return (mode & testbit) == testbit;
        }
    
        public static int convertToInt(Set<PosixFilePermission> permissions) {
            int result = 0;
            if (permissions.contains(OWNER_READ)) {
                result = result | 0400;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_handling_errors/test_tutorial006.py

        )
    
    
    def test_get_http_error():
        response = client.get("/items/3")
        assert response.status_code == 418, response.text
        assert response.json() == {"detail": "Nope! I don't like 3."}
    
    
    def test_get():
        response = client.get("/items/2")
        assert response.status_code == 200, response.text
        assert response.json() == {"item_id": 2}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerConsoleInputEndUserIntegrationTest.groovy

        }
    
        static String functionalTest(String content) {
            """
                import org.gradle.testkit.runner.GradleRunner
                import static org.gradle.testkit.runner.TaskOutcome.*
                import spock.lang.Specification
                import spock.lang.TempDir
    
                class Test extends Specification {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. testing/public-api-tests/src/integTest/groovy/org/gradle/api/PublicApiIntegrationTest.groovy

                }
            """
        }
    
        private static String pluginTestJava() {
            """
                package org.example;
    
                import org.gradle.testkit.runner.GradleRunner;
                import org.gradle.testkit.runner.BuildResult;
                import org.junit.jupiter.api.Test;
                import org.junit.jupiter.api.io.TempDir;
    
                import java.io.File;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 08:43:08 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top