def test_copyright(): excluded = [ 'co-g++.h', 'co-gcc.h', 'co-osx-g++.h', 'co-osx-gcc.h', 'co-cl.h', 'co-cl++.h' ] rc = main(argv=['--exclude'] + excluded) assert rc == 0, 'Found errors'
def test_copyright(): excluded = [ 'co-g++.h', 'co-gcc.h', 'co-osx-g++.h', 'co-osx-gcc.h', 'co-cl.h', 'co-cl++.h'] rc = main(argv=['--exclude'] + excluded) assert rc == 0, 'Found errors'
def test_bsd_tabs(): rc = main(argv=[os.path.join(cases_path, 'bsd_license_tabs')]) assert rc == 0, 'Found errors'
def test_bsd_indented(): rc = main(argv=[os.path.join(cases_path, 'bsd_license_indented')]) assert rc == 0, 'Found errors'
def test_bsd_standard(): rc = main(argv=[os.path.join(cases_path, 'bsd_license')]) assert rc == 0, 'Found errors'
def test_boost1_py(): rc = main(argv=[os.path.join(cases_path, 'boost1/case.py')]) assert rc == 0, 'Found errors'
def test_copyright(): rc = main(argv=['.', '--verbose', '--exclude', 'quaternions.py']) assert rc == 0, 'Found errors'
def test_copyright(): # Test is called from package root rc = main(argv=['.']) assert rc == 0, 'Found errors'
def test_mit_cpp(): rc = main(argv=[os.path.join(cases_path, 'mit/case2.cpp')]) assert rc == 0, 'Found errors'
def test_copyright(): rc = main(argv=['ament_tools', 'scripts', 'test']) assert rc == 0, 'Found errors'
def test_copyright(): rc = main(argv=[".", "test"]) assert rc == 0, "Found errors"
def test_copyright(): excluded = ['ElementInclude.py'] rc = main(argv=['--exclude'] + excluded) assert rc == 0, 'Found errors'
def test_copyright(): rc = main(argv=["ament_clang_format", "test"]) assert rc == 0, "Found errors"
def test_copyright(): rc = main() assert rc == 0, 'Found errors'
def test_3bsd_py(): rc = main(argv=[os.path.join(cases_path, '3clause_bsd/case.py')]) assert rc == 0, 'Found errors'
def test_mit_py(): rc = main(argv=[os.path.join(cases_path, 'mit/case.py')]) assert rc == 0, 'Found errors'
def test_copyright(): rc = main(argv=['.']) assert rc == 0, 'Found errors'
def test_copyright(): rc = main(argv=['.', 'test']) assert rc == 0, 'Found errors'
def test_copyright(): rc = main(argv=['ament_clang_tidy', 'test']) assert rc == 0, 'Found errors'
def test_copyright(): excluded = ['cpplint.py'] rc = main(argv=['--exclude'] + excluded) assert rc == 0, 'Found errors'
def test_copyright(): rc = main(argv=['ament_clang_format', 'test']) assert rc == 0, 'Found errors'