diff options
author | Alexander Kutsan <akutsan@luxoft.com> | 2017-08-29 18:35:45 +0300 |
---|---|---|
committer | Alexander Kutsan <akutsan@luxoft.com> | 2017-08-29 18:41:59 +0300 |
commit | 434fdcb243e8e988cc253912225c9737d8d6c8ad (patch) | |
tree | 2f75fb1353deea3f7fd913801b404439c384b798 /src/components/policy/policy_regular/test/include | |
parent | e180c26666885d43c6472805805a61bd9dd7db5c (diff) | |
download | sdl_core-434fdcb243e8e988cc253912225c9737d8d6c8ad.tar.gz |
Fix headerguards in changed files
Used script :
Bash (step1):
git status | grep components | xargs python ~/tools/cpplint.py 2>&1 | grep "ifndef header guard has wrong styl" > /tmp/guards
Python (step2):
import os
f=open("/tmp/guards")
lines = f.readlines()
f.close()
for line in lines:
line = line.split(":")
f = line[0]
l = line[1]
g = line[3]
g = g.strip()
g = g[:g.find(' ')]
os.system("sed -i 's/{}.*/{}/' {}".format("SRC_COMPONENTS", g , f))
Diffstat (limited to 'src/components/policy/policy_regular/test/include')
-rw-r--r-- | src/components/policy/policy_regular/test/include/policy/mock_access_remote.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/policy/policy_regular/test/include/policy/mock_access_remote.h b/src/components/policy/policy_regular/test/include/policy/mock_access_remote.h index 7b7191d52d..cbd4726aa3 100644 --- a/src/components/policy/policy_regular/test/include/policy/mock_access_remote.h +++ b/src/components/policy/policy_regular/test/include/policy/mock_access_remote.h @@ -29,8 +29,8 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ -#ifndef SRC_COMPONENTS_POLICY_TEST_INCLUDE_MOCK_ACCESS_REMOTE_H_ -#define SRC_COMPONENTS_POLICY_TEST_INCLUDE_MOCK_ACCESS_REMOTE_H_ +#ifndef SRC_COMPONENTS_POLICY_POLICY_REGULAR_TEST_INCLUDE_POLICY_MOCK_ACCESS_REMOTE_H_ +#define SRC_COMPONENTS_POLICY_POLICY_REGULAR_TEST_INCLUDE_POLICY_MOCK_ACCESS_REMOTE_H_ #include "gmock/gmock.h" #include "policy/access_remote.h" @@ -76,4 +76,4 @@ class MockAccessRemote : public policy::AccessRemote { } // namespace components } // namespace test -#endif // SRC_COMPONENTS_POLICY_TEST_INCLUDE_MOCK_ACCESS_REMOTE_H_ +#endif // SRC_COMPONENTS_POLICY_POLICY_REGULAR_TEST_INCLUDE_POLICY_MOCK_ACCESS_REMOTE_H_ |