SWDatabase
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
tests.unittest_interface_fetch_event.UnitTestInterfaceFetchEvent Class Reference

Unit test for interface_fetch_event routines. More...

Inheritance diagram for tests.unittest_interface_fetch_event.UnitTestInterfaceFetchEvent:
Inheritance graph
[legend]
Collaboration diagram for tests.unittest_interface_fetch_event.UnitTestInterfaceFetchEvent:
Collaboration graph
[legend]

Public Member Functions

def test_set_get_datetime
 Test set/get_datetime. More...
 
def test_get_set_datetime_fileevent
 Test get/set_datetime for fileevent tables. More...
 
def test_get_set_datetime_event
 Test get/set_datetime for event tables. More...
 
def test_find_version_fileevent
 Test find_version for fileevent tables. More...
 
def test_find_version_event
 Test find_version for event tables. More...
 

Detailed Description

Unit test for interface_fetch_event routines.

Todo:

More readable unittest outputs

For ADAPT, look at all folder YYYY, not only the current year

Unittests get/set_* does not work

Member Function Documentation

def tests.unittest_interface_fetch_event.UnitTestInterfaceFetchEvent.test_find_version_event (   self)

Test find_version for event tables.

For a all files in DB (if any), find their version and compare with DB info.

def tests.unittest_interface_fetch_event.UnitTestInterfaceFetchEvent.test_find_version_fileevent (   self)

Test find_version for fileevent tables.

For a all files in DB (if any), find their version and compare with DB info.

def tests.unittest_interface_fetch_event.UnitTestInterfaceFetchEvent.test_get_set_datetime_event (   self)

Test get/set_datetime for event tables.

For a all files in DB (if any), find their datetime (get_datetime) and rebuild filename (set_datetime).

def tests.unittest_interface_fetch_event.UnitTestInterfaceFetchEvent.test_get_set_datetime_fileevent (   self)

Test get/set_datetime for fileevent tables.

For a all files in DB (if any), find their datetime (get_datetime) and rebuild filename (set_datetime).

def tests.unittest_interface_fetch_event.UnitTestInterfaceFetchEvent.test_set_get_datetime (   self)

Test set/get_datetime.

For a given datetime.datetime object and for all fetch types, create a filename, then find in it the date.


The documentation for this class was generated from the following file: