summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/ActionTests.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-04-27 02:26:58 (GMT)
committerSteven Knight <knight@baldmt.com>2005-04-27 02:26:58 (GMT)
commit39b176fbfd91894dea7eb5877e463d0990a3e0a3 (patch)
treea2a1488aeb2492f9738338783f2aef8ec554d700 /src/engine/SCons/ActionTests.py
parent5673cd1804e24700a0216bda0f426afeb678881a (diff)
downloadSCons-39b176fbfd91894dea7eb5877e463d0990a3e0a3.zip
SCons-39b176fbfd91894dea7eb5877e463d0990a3e0a3.tar.gz
SCons-39b176fbfd91894dea7eb5877e463d0990a3e0a3.tar.bz2
Refactor Executor creation from Builders to Actions to set up better for batch builders.
Diffstat (limited to 'src/engine/SCons/ActionTests.py')
-rw-r--r--src/engine/SCons/ActionTests.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/engine/SCons/ActionTests.py b/src/engine/SCons/ActionTests.py
index 890abb2..f0905b6 100644
--- a/src/engine/SCons/ActionTests.py
+++ b/src/engine/SCons/ActionTests.py
@@ -322,8 +322,11 @@ class ActionTestCase(unittest.TestCase):
assert a2 is a1, a2
class ActionBaseTestCase(unittest.TestCase):
- # Maybe write this in the future...
- pass
+ def test_get_executor(self):
+ """Test the ActionBase.get_executor() method"""
+ a = SCons.Action.Action('foo')
+ x = a.get_executor({}, {}, [], [], {})
+ assert not x is None, x
class _ActionActionTestCase(unittest.TestCase):