INNER CODE UNIT · Python

GetGTestRootDir

Squirrel-Engine/Squirrel-Engine · googletest/googlemock/scripts/fuse_gmock_files.py:91

def GetGTestRootDir(gmock_root):
  """Returns the root directory of Google Test."""

  return os.path.join(gmock_root, '../googletest')


def ValidateGMockRootDir(gmock_root):
  """Makes sure gmock_root points to a valid gmock root directory.

  The function aborts the program on failure.
  """

  gtest.ValidateGTestRootDir(GetGTestRootDir(gmock_root))
  gtest.VerifyFileExists(gmock_root, GMOCK_H_SEED)
  gtest.VerifyFileExists(gmock_root, GMOCK_ALL_CC_SEED)


def ValidateOutputDir(output_dir):

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…