Class G.t.t.GtgBackendsUniTests(unittest.TestCase):

Part of GTG.tests.test_backends View In Hierarchy

Tests for GTG backends.
Method __init__ Undocumented
Method test_localfile_get_name Tests for localfile/get_name function :
Method test_localfile_get_description Tests for localfile/get_description function :
Method test_localfile_get_parameters Tests for localfile/get_parameters function:
Method test_localfile_get_features Tests for localfile/get_features function:
Method test_localfile_get_type Tests for localfile/get_type function:
Method test_localfile_backend Tests for localfile/Backend Class:
Method test_localfile_backend_method1 Tests for localfile/Backend/new_task_id method:
Method test_localfile_backend_method2 Tests for localfile/Backend/get_tasks_list method:
Method test_localfile_backend_method3 Tests for localfile/Backend/remove_task method:
Method test_localfile_backend_method4 Tests for localfile/Backend/get_task method:
Method test_localfile_backend_method5 Tests for localfile/Backend/set_task method:
Method create_test_environment Create the test environment
def __init__(self, test):
Undocumented
def test_localfile_get_name(self):

Tests for localfile/get_name function :

  • a string is expected.
def test_localfile_get_description(self):

Tests for localfile/get_description function :

  • a string is expected.
def test_localfile_get_parameters(self):

Tests for localfile/get_parameters function:

  • a string is expected.
def test_localfile_get_features(self):

Tests for localfile/get_features function:

  • an empty dictionary is expected.
def test_localfile_get_type(self):

Tests for localfile/get_type function:

  • a string is expected.
def test_localfile_backend(self):

Tests for localfile/Backend Class:

  • an empty list is expected
def test_localfile_backend_method1(self):

Tests for localfile/Backend/new_task_id method:

  • None value is expected.
def test_localfile_backend_method2(self):

Tests for localfile/Backend/get_tasks_list method:

  • an integer value is expected.
def test_localfile_backend_method3(self):

Tests for localfile/Backend/remove_task method:

  • parse task file to check if task has been removed.
def test_localfile_backend_method4(self):

Tests for localfile/Backend/get_task method:

  • Compares task titles to check if method works.
def test_localfile_backend_method5(self):

Tests for localfile/Backend/set_task method:

  • parses task file to check if new task has been stored.
def create_test_environment(self):
Create the test environment
API Documentation for GTG, generated by pydoctor at 2009-07-19 21:37:32.