summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/core/tests/cases/depends.py
blob: 46e7db900de72b6babbeebdc92a5819298da9fd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#
# Copyright (C) 2016 Intel Corporation
#
# SPDX-License-Identifier: MIT
#

from oeqa.core.case import OETestCase
from oeqa.core.decorator.depends import OETestDepends

class DependsTest(OETestCase):

    def testDependsFirst(self):
        self.assertTrue(True, msg='How is this possible?')

    @OETestDepends(['testDependsFirst'])
    def testDependsSecond(self):
        self.assertTrue(True, msg='How is this possible?')

    @OETestDepends(['testDependsSecond'])
    def testDependsThird(self):
        self.assertTrue(True, msg='How is this possible?')

    @OETestDepends(['testDependsSecond'])
    def testDependsFourth(self):
        self.assertTrue(True, msg='How is this possible?')

    @OETestDepends(['testDependsThird', 'testDependsFourth'])
    def testDependsFifth(self):
        self.assertTrue(True, msg='How is this possible?')

    @OETestDepends(['testDependsCircular3'])
    def testDependsCircular1(self):
        self.assertTrue(True, msg='How is this possible?')

    @OETestDepends(['testDependsCircular1'])
    def testDependsCircular2(self):
        self.assertTrue(True, msg='How is this possible?')

    @OETestDepends(['testDependsCircular2'])
    def testDependsCircular3(self):
        self.assertTrue(True, msg='How is this possible?')