Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 296 for test_1 (0.22 sec)

  1. platforms/documentation/docs/src/snippets/testing/testng-groupbyinstances/groovy/src/test/java/org/gradle/testng/TestFactory.java

            System.out.println("TestFactory[" + data + "].beforeClass()");
        }
    
        @Test
        public void test1() {
            System.out.println("TestFactory[" + data + "].test1()");
        }
    
        @Test(dependsOnMethods = {"test1"})
        public void test2() {
            System.out.println("TestFactory[" + data + "].test2()");
        }
    
        @AfterClass
        public void afterClass() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/cover_pattern.txt

    # then it will try to load sleepybad, which does not compile,
    # and the test command will fail.
    ! go list m/sleepy...
    go test -c -n -coverprofile=$TMPDIR/cover.out -coverpkg=m/sleepy... -run=^$ m/sleepy1
    
    -- go.mod --
    module m
    
    go 1.16
    -- sleepy1/p_test.go --
    package p
    
    import (
    	"testing"
    	"time"
    )
    
    func Test1(t *testing.T) {
    	time.Sleep(200 * time.Millisecond)
    }
    -- sleepy2/p_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 683 bytes
    - Viewed (0)
  3. test/fixedbugs/issue65962.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	test1()
    	test2()
    }
    
    type I interface {
    	f()
    	g()
    	h()
    }
    
    //go:noinline
    func ld[T any]() {
    	var x I
    	if _, ok := x.(T); ok {
    	}
    }
    
    func isI(x any) {
    	_ = x.(I)
    }
    
    func test1() {
    	defer func() { recover() }()
    	ld[bool]() // add <bool,I> itab to binary
    	_ = any(false).(I)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 18:30:40 UTC 2024
    - 625 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/utils/stablehlo_type_utils_test.cc

    namespace mlir::quant::stablehlo {
    namespace {
    
    using ::testing::Test;
    
    class StablehloTypeUtilsTest : public Test {
     protected:
      StablehloTypeUtilsTest() {
        ctx_.loadDialect<mlir::stablehlo::StablehloDialect,
                         mlir::arith::ArithDialect, mlir::func::FuncDialect>();
      }
    
      MLIRContext ctx_;
      OpBuilder builder_{&ctx_};
    };
    
    TEST_F(StablehloTypeUtilsTest, IsStablehloOpSucceedsWithStablehloOp) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 00:32:20 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/ops/restore_ops_test.cc

    }
    
    TEST_F(RestoreOpsTest, BadCheckpointPrefixShouldFail) {
      ImmediateTensorHandlePtr x_handle;
      Status status = internal::SingleRestore(
          context(), CheckpointPrefix("unknown_bad_checkpoint_prefix"),
          "x/.ATTRIBUTES/VARIABLE_VALUE", DT_FLOAT, &x_handle);
      EXPECT_FALSE(status.ok()) << status.message();
    }
    
    TEST_F(RestoreOpsTest, BadCheckpointKeyShouldFail) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/IncrementalAntlrTaskIntegrationTest.groovy

            when:
            grammar("Test1", "Test2")
            then:
            succeeds("generateGrammarSource")
    
            test1TokenFile.exists()
            test1LexerFile.exists()
            test1ParserFile.exists()
    
            test2TokenFile.exists()
            test2LexerFile.exists()
            test2ParserFile.exists()
    
            when:
            removedGrammar("Test1")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/debug/debug_test.cc

        return tsl::io::JoinPath(
            getenv("TEST_UNDECLARED_OUTPUTS_DIR"),
            absl::StrCat(test_info->test_suite_name(), ".", test_info->name()));
      }
    };
    
    TEST_F(InitPassManagerTest, CrashReproducer) {
      converter::DebugOptions debug_options;
      *debug_options.mutable_ir_dump_dir() = path_;
    
      mlir::PassManager pm(&context_);
      InitPassManager(pm, debug_options);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 11:15:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. src/cmd/go/internal/gover/gover_test.go

    	in2 In2
    	in3 In3
    	out Out
    }
    
    func test1[In, Out any](t *testing.T, tests []testCase1[In, Out], name string, f func(In) Out) {
    	t.Helper()
    	for _, tt := range tests {
    		if out := f(tt.in); !reflect.DeepEqual(out, tt.out) {
    			t.Errorf("%s(%v) = %v, want %v", name, tt.in, out, tt.out)
    		}
    	}
    }
    
    func test2[In1, In2, Out any](t *testing.T, tests []testCase2[In1, In2, Out], name string, f func(In1, In2) Out) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor_test.cc

        }
        return absl::OkStatus();
      }
    
      DialectRegistry registry_;
      MLIRContext context_;
      OwningOpRef<mlir::ModuleOp> mlir_module_;
    };
    
    TEST_F(TensorflowDialectToExecutorTest, ConvertsToExecutor) {
      CellReader<int64_t> compilation_status(kExportStreamzName);
    
      TF_ASSERT_OK(CreateMlirModule("empty_func.mlir"));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/utils/dialect_detection_utils_test.cc

    using mlir::UnknownLoc;
    using mlir::chlo::ChloDialect;
    using mlir::TF::TensorFlowDialect;
    using tensorflow::tf2xla::internal::IsInBridgeAcceptableDialects;
    
    class SharedUtilsTest : public ::testing::Test {};
    
    TEST_F(SharedUtilsTest, IsInFunctionalDialectPasses) {
      MLIRContext context;
      context.loadDialect<TensorFlowDialect>();
      OpBuilder opBuilder(&context);
      OperationState state(UnknownLoc::get(opBuilder.getContext()),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 08 20:33:37 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top