Home
last modified time | relevance | path

Searched refs:TestVisitor (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/tools/common/
Dtraverse_test.py27 class TestVisitor(object): class
44 visitor = TestVisitor()
49 visitor = TestVisitor()
58 visitor = TestVisitor()
59 traverse.traverse(TestVisitor, visitor)
60 self.assertEqual(TestVisitor,
73 visitor = TestVisitor()
Dpublic_api_test.py27 class TestVisitor(object): class in PublicApiTest
40 visitor = self.TestVisitor()
49 visitor = self.TestVisitor()
57 visitor = self.TestVisitor()
/external/clang/unittests/Tooling/
DTestVisitor.h36 class TestVisitor : public RecursiveASTVisitor<T> {
38 TestVisitor() { } in TestVisitor() function
40 virtual ~TestVisitor() { } in ~TestVisitor()
83 FindConsumer(TestVisitor *Visitor) : Visitor(Visitor) {} in FindConsumer()
91 TestVisitor *Visitor;
96 TestAction(TestVisitor *Visitor) : Visitor(Visitor) {} in TestAction()
105 TestVisitor *Visitor;
117 template <typename T, template <typename> class Visitor = TestVisitor>
DRefactoringTest.cpp319 class TestVisitor : public clang::RecursiveASTVisitor<T> { class
332 FindConsumer(TestVisitor *Visitor) : Visitor(Visitor) {} in FindConsumer()
339 TestVisitor *Visitor;
344 TestAction(TestVisitor *Visitor) : Visitor(Visitor) {} in TestAction()
356 TestVisitor *Visitor;
369 class ClassDeclXVisitor : public TestVisitor<ClassDeclXVisitor> {
392 class CallToFVisitor : public TestVisitor<CallToFVisitor> {
417 : public TestVisitor<NestedNameSpecifierAVisitor> {
427 return TestVisitor<NestedNameSpecifierAVisitor>::TraverseNestedNameSpecifierLoc( in TraverseNestedNameSpecifierLoc()
DLookupTest.cpp15 struct GetDeclsVisitor : TestVisitor<GetDeclsVisitor> {
26 bool Ret = TestVisitor::TraverseDecl(D); in TraverseDecl()
DCommentHandlerTest.cpp26 class CommentHandlerVisitor : public TestVisitor<CommentHandlerVisitor>,
28 typedef TestVisitor<CommentHandlerVisitor> base;
DQualTypeNamesTest.cpp15 struct TypeNameVisitor : TestVisitor<TypeNameVisitor> {
DFixItTest.cpp22 struct CallsVisitor : TestVisitor<CallsVisitor> {
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/
DTestVisitor.java5 public class TestVisitor extends PrettyPrintVisitor { class
7 public TestVisitor(PrettyPrinterConfiguration prettyPrinterConfiguration) { in TestVisitor() method in TestVisitor
DPrettyPrinterTest.java87 … printer = new PrettyPrinter(new PrettyPrinterConfiguration().setVisitorFactory(TestVisitor::new)); in prettyPrintConfigurable()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_computation_test.cc230 class TestVisitor : public DfsHloVisitorWithDefault { in TEST_F() class
232 explicit TestVisitor(HloComputation* computation) in TEST_F() function in xla::__anon457962a40111::TEST_F::TestVisitor
254 TestVisitor visitor(computation); in TEST_F()