• Home
  • Raw
  • Download

Lines Matching refs:vlog_info

86   VlogInfo vlog_info(kVSwitch, kVModuleSwitch, &min_log_level);  in TEST()  local
87 EXPECT_EQ(-1, vlog_info.GetVlogLevel("/path/to/grault.cc")); in TEST()
88 EXPECT_EQ(0, vlog_info.GetVlogLevel("/path/to/foo.cc")); in TEST()
89 EXPECT_EQ(0, vlog_info.GetVlogLevel("D:\\Path\\To\\bar-inl.mm")); in TEST()
90 EXPECT_EQ(-1, vlog_info.GetVlogLevel("D:\\path\\to what/bar_unittest.m")); in TEST()
91 EXPECT_EQ(0, vlog_info.GetVlogLevel("baz.h")); in TEST()
92 EXPECT_EQ(0, vlog_info.GetVlogLevel("/another/path/to/qux.h")); in TEST()
93 EXPECT_EQ(1, vlog_info.GetVlogLevel("/path/to/quux")); in TEST()
94 EXPECT_EQ(5, vlog_info.GetVlogLevel("c:\\path/to/corge.ext.h")); in TEST()
101 VlogInfo vlog_info(std::string(), kVModuleSwitch, &min_log_level); in TEST() local
102 EXPECT_EQ(0, vlog_info.GetVlogLevel("/foo/bar.cc")); in TEST()
103 EXPECT_EQ(0, vlog_info.GetVlogLevel("bar.cc")); in TEST()
104 EXPECT_EQ(1, vlog_info.GetVlogLevel("foo/bar.cc")); in TEST()
106 EXPECT_EQ(0, vlog_info.GetVlogLevel("baz/grault/qux.h")); in TEST()
107 EXPECT_EQ(0, vlog_info.GetVlogLevel("/baz/grault/qux.cc")); in TEST()
108 EXPECT_EQ(2, vlog_info.GetVlogLevel("baz/grault/qux.cc")); in TEST()
109 EXPECT_EQ(2, vlog_info.GetVlogLevel("baz/grault/blah/qux.cc")); in TEST()
110 EXPECT_EQ(2, vlog_info.GetVlogLevel("baz\\grault\\qux.cc")); in TEST()
111 EXPECT_EQ(2, vlog_info.GetVlogLevel("baz\\grault//blah\\qux.cc")); in TEST()
113 EXPECT_EQ(0, vlog_info.GetVlogLevel("/foo/bar/baz/quux.cc")); in TEST()
114 EXPECT_EQ(3, vlog_info.GetVlogLevel("/foo/bar/baz/quux/grault.cc")); in TEST()
115 EXPECT_EQ(3, vlog_info.GetVlogLevel("/foo\\bar/baz\\quux/grault.cc")); in TEST()
117 EXPECT_EQ(0, vlog_info.GetVlogLevel("foo/bar/test-inl.cc")); in TEST()
118 EXPECT_EQ(4, vlog_info.GetVlogLevel("foo/bar/test-inl.h")); in TEST()
119 EXPECT_EQ(4, vlog_info.GetVlogLevel("foo/bar/baz/blah-inl.h")); in TEST()