tests.bll.mappings package

Submodules

tests.bll.mappings.test_init_formatter_mapping module

test class

class tests.bll.mappings.test_init_formatter_mapping.InitMappingTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

Class representing tests for the init mapping

setUp()[source]
testGetFormatterInitCreate()[source]

test the render for creating a new formatter init file

testGetFormatterInitEdit()[source]

test the render for editing a existing formatter init file

testGetParserInitCreate()[source]

test the render for creating a new parser init file

testGetParserInitEdit()[source]

test the render for editing a existing parser init file

tests.bll.mappings.test_mapping_helper module

test class

class tests.bll.mappings.test_mapping_helper.MappingHelperTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

Class representing a test case for the mapping helper functions.

setUp()[source]
testGenerateClassName()[source]

Test the generation of the classname from the pluginname

testRemoveBlanksAtEndOfLineFor12Blanks()[source]

Tests the removing of blanks at the end of a line

testRemoveBlanksAtEndOfLineForFourBlanks()[source]

Tests the removing of blanks at the end of a line

testRemoveBlanksAtEndOfLineForTwoBlanks()[source]

Tests the removing of blanks at the end of a line

testRemoveEscapeErrorWithNoEscape()[source]

Tests the removing of an escape error

testRemoveEscapeErrorWithSpacesLikeInTemplate()[source]

Tests the removing of an escape error

testRemoveYapfCommentOnlyTheDisable()[source]

Tests the removing of the yapf enable comment

testRemoveYapfCommentOnlyTheEnable()[source]

Tests the removing of the yapf enable comment

testRemoveYapfCommentOnlyTheEnableAndDisable()[source]

Tests the removing of the yapf enable comment

testRender()[source]

test the render

Module contents