X7ROOT File Manager
Current Path:
/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
node-gyp
/
gyp
/
pylib
/
gyp
/
generator
/
ðŸ“
..
📄
__init__.py
(0 B)
📄
analyzer.py
(29.91 KB)
📄
android.py
(44.3 KB)
📄
cmake.py
(43.69 KB)
📄
compile_commands_json.py
(4.17 KB)
📄
dump_dependency_json.py
(3.38 KB)
📄
eclipse.py
(16.72 KB)
📄
gypd.py
(3.39 KB)
📄
gypsh.py
(1.63 KB)
📄
make.py
(90.86 KB)
📄
msvs.py
(130.43 KB)
📄
msvs_test.py
(1.05 KB)
📄
ninja.py
(98.42 KB)
📄
ninja_test.py
(1.71 KB)
📄
xcode.py
(56.99 KB)
📄
xcode_test.py
(643 B)
Editing: xcode_test.py
#! /usr/bin/python2 # Copyright (c) 2013 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ Unit tests for the xcode.py file. """ import gyp.generator.xcode as xcode import unittest import sys class TestEscapeXcodeDefine(unittest.TestCase): if sys.platform == 'darwin': def test_InheritedRemainsUnescaped(self): self.assertEqual(xcode.EscapeXcodeDefine('$(inherited)'), '$(inherited)') def test_Escaping(self): self.assertEqual(xcode.EscapeXcodeDefine('a b"c\\'), 'a\\ b\\"c\\\\') if __name__ == '__main__': unittest.main()
Upload File
Create Folder