tests.frontend.controller package

Submodules

tests.frontend.controller.test_sqlite_controller module

test class

class tests.frontend.controller.test_sqlite_controller.SQLiteControllerTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

Tests the SQLite controller

testCreateSQLQueryModelWithUserInput()[source]

test the creation of the sql Query model with the user input

testCreateSQLQueryModelWithUserInputExamplesNewRowNameValidationError()[source]

test method CreateEventModelWithUserInput with examples

testCreateSQLQueryModelWithUserInputNoError()[source]

test method CreateEventModelWithUserInput

testCreateSQLQueryModelWithUserInputNotAdding()[source]

test the creation of the sql Query model with the user input

testCreateSQLQueryModelWithUserInputWithError()[source]

test method CreateEventModelWithUserInput

testCreateSQLQueryModelWithUserInputWithExamplesAndFourDataExamples()[source]

test method CreateEventModelWithUserInput with examples

testCreateSQLQueryModelWithUserInputWithExamplesAndNoDataFromQuery()[source]

test method CreateEventModelWithUserInput with examples

testCreateSQLQueryModelWithUserInputWithExamplesAndOneDataExamples()[source]

test method CreateEventModelWithUserInput with examples

testCreateSQLQueryModelWithUserInputWithExamplesAndTwoDataExamples()[source]

test method CreateEventModelWithUserInput with examples

testGenerateIfConfirmed()[source]

test the generate if confirmed

testGenerateIfNotConfirmed()[source]

test the generate if confirmed

testGetCustomizableNormal()[source]

test the function GetCustomizable

testGetCustomizableWithAbort()[source]

test the function GetCustomizable

testGetCustomizableWithAbortToEarly()[source]

test the function GetCustomizable

testGetTimestampNormal()[source]

test the function GetTimestamp

testGetTimestampNormalWithAbort()[source]

test the function GetTimestamp

testGetTimestampRefuseATimeEvent()[source]

test the function GetTimestamp

testGetTimestampRefuseAllTimeEvent()[source]

test the function GetTimestamp

testGetTimestampWithFake()[source]

test the function GetTimestamp

testIsDatabaseFolderIfFalse()[source]

test the function isDatabase if the file is not a database

testIsDatabaseFolderIfTrue()[source]

test the function isDatabase if the file is a database

testPluginNameIfExisting()[source]

test method after getting the plugin Name from the user if the plugin Name already exists

testPluginNameIfNotExisting()[source]

test method after getting tplugin Name from the user if the plugin Name is new

testSourcePathIfExisting()[source]

test method after getting the source path from the user

testSourcePathIfNotExisting()[source]

test method after getting the source path from the user

testSqlQuery()[source]

test method after getting the source path from the user

testSqlQueryMultiple()[source]

test method after getting the source path from the user

testSqlQueryWithAbort()[source]

test method after getting the source path from the user using abort

testTestPathIfExisting()[source]

test method after getting the source path from the user

testTestPathIfExistingAndNoDatabaseFile()[source]

test method after getting the source path from the user

testTestPathIfNotExisting()[source]

test method after getting the source path from the user

testValidateColumnStringIfNotOk()[source]

test the validate column string method if not ok

testValidateColumnStringIfOk()[source]

test the validate column string method if ok

testValidatePluginNameIfNotOk()[source]

test the validate plugin Name method if not ok

testValidatePluginNameIfOk()[source]

test the validate plugin Name method if ok

testValidateRowNameIfNotOk()[source]

test the validate row name method if not ok

testValidateRowNameNameIfOk()[source]

test the validate row name method if ok

testValidateTimestampStringIfNotOk()[source]

test the validate timestamp string method if not ok

testValidateTimestampStringIfOk()[source]

test the validate timestamp string method if ok

Module contents