Monero
Loading...
Searching...
No Matches
common Namespace Reference

Functions

 GetCommandOutput (command)
 GetSvnInfo ()
 GetSvnTrunk ()
 IsInGTestSvn ()
 IsInGMockSvn ()

Variables

str __author__ = 'wan@google.com (Zhanyong Wan)'
 _SVN_INFO_URL_RE = re.compile(r'^URL: https://(\w+)\.googlecode\.com/svn(.*)')

Detailed Description

Shared utilities for writing scripts for Google Test/Mock.

Function Documentation

◆ GetCommandOutput()

common.GetCommandOutput ( command)
Runs the shell command and returns its stdout as a list of lines.

◆ GetSvnInfo()

common.GetSvnInfo ( )
Returns the project name and the current SVN workspace's root path.

◆ GetSvnTrunk()

common.GetSvnTrunk ( )
Returns the current SVN workspace's trunk root path.

◆ IsInGMockSvn()

common.IsInGMockSvn ( )

◆ IsInGTestSvn()

common.IsInGTestSvn ( )

Variable Documentation

◆ __author__

str common.__author__ = 'wan@google.com (Zhanyong Wan)'
private

◆ _SVN_INFO_URL_RE

common._SVN_INFO_URL_RE = re.compile(r'^URL: https://(\w+)\.googlecode\.com/svn(.*)')
protected