Exemple #1
0
 def __init__(self):
     test = lcc.Test("mytest", "My Test", dummy_test_callback())
     test.disabled = True
     add_test_into_suite(test, self)
Exemple #2
0
 def __init__(self):
     for i in 1, 2, 3:
         add_test_into_suite(
             lcc.Test("mytest_%d" % i, "My Test %d" % i,
                      dummy_test_callback()), self)
Exemple #3
0
 def __init__(self):
     add_test_into_suite(lcc.Test("mytest", "My Test", SomeTest()),
                         self)
Exemple #4
0
 def __init__(self):
     add_test_into_suite(lcc.Test("mytest", "My Test", self.func), self)
Exemple #5
0
 def __init__(self):
     add_test_into_suite(
         lcc.Test("mytest", "First test", dummy_test_callback()), self)
     add_test_into_suite(
         lcc.Test("mytest", "Second test", dummy_test_callback()), self)
Exemple #6
0
        def __init__(self):
            def test_func():
                lcc.log_info("somelog")

            test = lcc.Test("mytest", "My Test", test_func)
            add_test_into_suite(test, self)