X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fthird_party%2Ftrace-viewer%2Fthird_party%2Ftvcm%2Ftvcm%2Fparse_deps_unittest.py;h=da54309bf40076e55989b83b873fadafea899d7f;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=e9f653e386e83d88a77524c19aaa914ff619cc4c;hpb=7338fba38ba696536d1cc9d389afd716a6ab2fe6;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/trace-viewer/third_party/tvcm/tvcm/parse_deps_unittest.py b/src/third_party/trace-viewer/third_party/tvcm/tvcm/parse_deps_unittest.py index e9f653e..da54309 100755 --- a/src/third_party/trace-viewer/third_party/tvcm/tvcm/parse_deps_unittest.py +++ b/src/third_party/trace-viewer/third_party/tvcm/tvcm/parse_deps_unittest.py @@ -7,17 +7,15 @@ import os import unittest +from tvcm import project from tvcm import parse_deps -SRC_DIR = os.path.join(os.path.dirname(__file__), '../../../src') - - class CalcLoadSequenceTest(unittest.TestCase): def test_one_toplevel_nodeps(self): load_sequence = parse_deps.calc_load_sequence_internal( - [os.path.join('base', 'guid.js')], [SRC_DIR]) + [os.path.join('tvcm', 'guid.js')], project.Project()) name_sequence = [x.name for x in load_sequence] - self.assertEquals(['base.guid'], name_sequence) + self.assertEquals(['tvcm.guid'], name_sequence) if __name__ == '__main__':