MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / SetUp

Method SetUp

tensorflow/core/lib/db/sqlite_test.cc:31–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29class SqliteTest : public ::testing::Test {
30 protected:
31 void SetUp() override {
32 TF_ASSERT_OK(Sqlite::Open(":memory:", SQLITE_OPEN_READWRITE, &db_));
33 db_->PrepareOrDie("CREATE TABLE T (a BLOB, b BLOB)").StepAndResetOrDie();
34 }
35
36 void TearDown() override { db_->Unref(); }
37

Callers

nothing calls this directly

Calls 2

StepAndResetOrDieMethod · 0.80
PrepareOrDieMethod · 0.80

Tested by

no test coverage detected