32 """Verifies that Google Test warns the user when not initialized properly.""" 34 __author__ =
'wan@google.com (Zhanyong Wan)' 36 import gtest_test_utils
48 if expected != actual:
49 print(
'Expected: %s' % (expected,))
50 print(
' Actual: %s' % (actual,))
55 """Runs the given command and verifies its exit code and output.""" 61 Assert(
'InitGoogleTest' in p.output)
69 if __name__ ==
'__main__':
def AssertEq(expected, actual)
def GetTestExecutablePath(executable_name, build_dir=None)
def testExitCodeAndOutput(self)
def TestExitCodeAndOutput(command)