コード例 #1
0
ファイル: test_layer.py プロジェクト: jonike/blueprint-2
 def testAddDependAllWithConstructor(self):
     """Test setup depend:all with constructor"""
     l1 = TestLayer("testLayerA")
     l2 = TestLayer("testLayerB", depend="testLayerA:all")
     self.assertEquals(blueprint.DependType.All, l2.getDepends()[0].type)
コード例 #2
0
ファイル: test_layer.py プロジェクト: BigMacchia/blueprint
 def testAddDependAllWithConstructor(self):
     """Test setup depend:all with constructor"""
     l1 = TestLayer("testLayerA")
     l2 = TestLayer("testLayerB", depend="testLayerA:all")
     self.assertEquals(blueprint.DependType.All, l2.getDepends()[0].type)
コード例 #3
0
ファイル: test_layer.py プロジェクト: jonike/blueprint-2
 def testAddDependByTaskWithConstructor(self):
     """Test setup depend by task with constructor."""
     l1 = TestLayer("testLayerA")
     l2 = TestLayer("testLayerB", depend="testLayerA")
     self.assertEquals(blueprint.DependType.ByTask, l2.getDepends()[0].type)
コード例 #4
0
ファイル: test_layer.py プロジェクト: BigMacchia/blueprint
 def testAddDependByTaskWithConstructor(self):
     """Test setup depend by task with constructor."""
     l1 = TestLayer("testLayerA")
     l2 = TestLayer("testLayerB", depend="testLayerA")
     self.assertEquals(blueprint.DependType.ByTask, l2.getDepends()[0].type)