07f0235fced6823134839c81e52fcd0e735c9ab9,tests/python/pants_test/engine/test_round_engine.py,RoundEngineTest,test_goal_ordering_mixed_constraints_and_cli_order,#RoundEngineTest#,185
Before Change
def test_goal_ordering_mixed_constraints_and_cli_order(self):
self.install_task("task1", goal="goal1")
self.install_task("task2", goal="goal2")
self.install_task("task3", goal="goal3")
self.install_task("task4", goal="goal4", required_data=["5"])
self.install_task("task5", goal="goal5", product_types=["5"])
After Change
self.assert_actions("task2", "task1")
def test_goal_ordering_mixed_constraints_and_cli_order(self):
task1 = self.install_task("task1", goal="goal1")
task2 = self.install_task("task2", goal="goal2")
task3 = self.install_task("task3", goal="goal3")
task4 = self.install_task("task4", goal="goal4", required_data=["5"])
task5 = self.install_task("task5", goal="goal5", product_types=["5"])
self.create_context(for_task_types=task1+task2+task3+task4+task5)
self.engine.attempt(self._context,
self.as_goals("goal1", "goal2", "goal4", "goal5", "goal3"))
self.assert_actions("task1", "task2", "task5", "task4", "task3")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 10
Instances
Project Name: pantsbuild/pants
Commit Name: 07f0235fced6823134839c81e52fcd0e735c9ab9
Time: 2015-09-22
Author: wangpeiyu@gmail.com
File Name: tests/python/pants_test/engine/test_round_engine.py
Class Name: RoundEngineTest
Method Name: test_goal_ordering_mixed_constraints_and_cli_order
Project Name: pantsbuild/pants
Commit Name: 07f0235fced6823134839c81e52fcd0e735c9ab9
Time: 2015-09-22
Author: wangpeiyu@gmail.com
File Name: tests/python/pants_test/engine/test_round_engine.py
Class Name: RoundEngineTest
Method Name: test_lifecycle_ordering
Project Name: pantsbuild/pants
Commit Name: 07f0235fced6823134839c81e52fcd0e735c9ab9
Time: 2015-09-22
Author: wangpeiyu@gmail.com
File Name: tests/python/pants_test/engine/test_round_engine.py
Class Name: RoundEngineTest
Method Name: test_lifecycle_ordering_install_order_invariant