diff options
Diffstat (limited to 'src/engine/SCons/EnvironmentTests.py')
| -rw-r--r-- | src/engine/SCons/EnvironmentTests.py | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/src/engine/SCons/EnvironmentTests.py b/src/engine/SCons/EnvironmentTests.py index 59f3c78..def5998 100644 --- a/src/engine/SCons/EnvironmentTests.py +++ b/src/engine/SCons/EnvironmentTests.py @@ -233,9 +233,6 @@ class EnvironmentTestCase(unittest.TestCase): assert paths == expect, paths for tnode in tgt: assert tnode.builder == InstallBuilder - - def test_InstallAs(self): - pass # XXX def test_Update(self): """Test updating an Environment with new construction variables @@ -269,6 +266,23 @@ class EnvironmentTestCase(unittest.TestCase): assert i.__class__.__name__ == 'File' assert i.path == 'dep.py' + def test_Precious(self): + """Test the Precious() method.""" + env = Environment() + t = env.Precious('a', 'b', ['c', 'd']) + assert t[0].__class__.__name__ == 'File' + assert t[0].path == 'a' + assert t[0].precious + assert t[1].__class__.__name__ == 'File' + assert t[1].path == 'b' + assert t[1].precious + assert t[2].__class__.__name__ == 'File' + assert t[2].path == 'c' + assert t[2].precious + assert t[3].__class__.__name__ == 'File' + assert t[3].path == 'd' + assert t[3].precious + def test_Command(self): """Test the Command() method.""" env = Environment() |
