gtest-ify JIT tests, through the letter c (#45020)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/45020

See https://github.com/pytorch/pytorch/pull/45018 for context.

Test Plan: Imported from OSS

Reviewed By: ZolotukhinM

Differential Revision: D23802296

Pulled By: suo

fbshipit-source-id: 20c9798a414e9ba30869a862012cbdee0613c8b1
This commit is contained in:
Michael Suo
2020-09-23 14:26:03 -07:00
committed by Facebook GitHub Bot
parent 3f89b779c4
commit d2b045030e
11 changed files with 287 additions and 299 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
#include <gtest/gtest.h>
#include <torch/custom_class.h>
#include <torch/script.h>
@@ -318,7 +320,7 @@ TORCH_LIBRARY(_TorchScriptTesting, m) {
} // namespace
void testTorchbindIValueAPI() {
TEST(CustomClassTest, TorchbindIValueAPI) {
script::Module m("m");
// test make_custom_class API