tests.bll.services package

Submodules

tests.bll.services.test_sqlite_generator module

test class

class tests.bll.services.test_sqlite_generator.SQLiteGeneratorTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

the SQLite generator test

setUp()[source]
testGenerateSQLitePlugin()[source]

test the output of a generation of a sqlite plugin

testGenerateSQLitePluginWithExistingInit()[source]

test the output of a generation of a sqlite plugin

testPrint()[source]

test print

testPrintCopy()[source]

test the print for a copy

testPrintCreate()[source]

test the print for a create

testPrintEdit()[source]

test the print for a edit

tests.bll.services.test_sqlite_plugin_helper module

Test class

class tests.bll.services.test_sqlite_plugin_helper.SQLitePluginHelperTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

Class representing a test case testing the SQLite plugin helper

setUp()[source]
testFolderExistsIfTrue()[source]

test the method that checks if folder exists

testGetAssumedTimestamps()[source]

test the the parsing of assumed timestamps

testGetAssumedTimestampsEmpty()[source]

test the the parsing of assumed timestamps

testGetColumnsAndTimestampColumnEmpty()[source]

test the getting of the column and timestamp column

testGetColumnsAndTimestampColumnEmptyColumns()[source]

test the getting of the column and timestamp column

testGetColumnsAndTimestampColumnEmptyTimestamp()[source]

test the getting of the column and timestamp column

testGetColumnsAndTimestampColumnWithData()[source]

test the getting of the column and timestamp column

testGetColumnsAndTimestampColumnWithNoData()[source]

test the getting of the column and timestamp column

testGetColumnsAndTimestampColumnWithOneDataRowForThreeTimestamps()[source]

test the getting of the column and timestamp column

testGetColumnsAndTimestampColumnWithTwoDataRowForThreeTimestamps()[source]

test the getting of the column and timestamp column

testGetDistinctColumnsFromSQLQueryData()[source]

test the creating of a distinct list of all attributes of the queries

testGetDistinctColumnsFromSQLQueryDataEmpty()[source]

test the creating of a distinct list of all attributes of the queries with an empty array

testGetDistinctColumnsFromSQLQueryQueryEmpty()[source]

test the creating of a distinct list of all attributes of the queries with an empty array

testIsValidCommaSeparatedStringErrorSpace()[source]

test a comma separated string for its validity

testIsValidCommaSeparatedStringErrorSpaceTwoWords()[source]

test a comma separated string for its validity

testIsValidCommaSeparatedStringLong()[source]

test a comma separated string for its validity

testIsValidCommaSeparatedStringLongErrorComma()[source]

test a comma separated string for its validity

testIsValidCommaSeparatedStringLongErrorSpace()[source]

test a comma separated string for its validity

testIsValidCommaSeparatedStringShortCapitalLetterStart()[source]

test a comma separated string for its validity

testIsValidCommaSeparatedStringShortLowercaseLetterStart()[source]

test a comma separated string for its validity

testIsValidCommaSeparatedStringShortNumberStart()[source]

test a comma separated string for its validity

testIsValidPluginNameExpected()[source]

tests the plugin Name validation.

testIsValidPluginNameOneWordUppercase()[source]

tests the plugin Name validation.

testIsValidPluginNameOnlyOneWordLowercase()[source]

tests the plugin Name validation.

testIsValidPluginNameWithEndingUnderscore()[source]

tests the plugin Name validation.

testIsValidPluginNameWithNumber()[source]

tests the plugin Name validation.

testIsValidRowNameLong()[source]

test the row name for its validity

testIsValidRowNameShort()[source]

test the row name for its validity

testIsValidRowNameWithErrorLowerCase()[source]

test the row name for its validity

testIsValidRowNameWithErrorNumber()[source]

test the row name for its validity

testRunSQLQuery()[source]

test run sql query

test_FileExistsIfTrue()[source]

test the method that checks if the file exists

test_PluginExistsIfFalse()[source]

Tests the plugin exists method if none exists.

test_PluginExistsIfTrue()[source]

Tests the plugin exists

tests.bll.services.test_sqlite_plugin_path_helper module

Test class

class tests.bll.services.test_sqlite_plugin_path_helper.SQLitePluginPathHelperTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

Class representing a test case testing the SQLite plugin helper

setUp()[source]
testFormatterFilePath()[source]

Tests the creation of the path for the formatter file.

testFormatterTestFilePath()[source]

Tests the creation of the path for the formatter test file.

testParserFilePath()[source]

Tests the creation of the path for the parser file.

test_database_file()[source]

Tests the creation of the path for the database file.

test_formatter_init_file()[source]

Tests the creation of the path for the formatter init file.

test_parser_init__file()[source]

Tests the creation of the path for the parser init file.

test_parser_test_file()[source]

Tests the creation of the path for the parser test file.

Module contents