Package translate :: Package storage :: Module test_tmx :: Class TestTMXfile
[hide private]
[frames] | no frames]

Class TestTMXfile

source code

test_base.TestTranslationStore --+
                                 |
                                TestTMXfile

Nested Classes [hide private]
  StoreClass
Class representing a TMX file store.
Instance Methods [hide private]
 
tmxparse(self, tmxsource)
helper that parses tmx source without requiring files
source code
 
test_translate(self)
Tests the translate method and non-ascii characters.
source code
 
test_addtranslation(self)
tests that addtranslation() stores strings correctly
source code
 
test_withnewlines(self)
test addtranslation() with newlines
source code
 
test_xmlentities(self)
Test that the xml entities '&' and '<' are escaped correctly
source code

Inherited from test_base.TestTranslationStore: check_equality, reparse, setup_method, teardown_method, test_add, test_create_blank, test_files, test_find, test_markup, test_nonascii, test_parse, test_save

Method Details [hide private]

test_translate(self)

source code 

Tests the translate method and non-ascii characters.

Overrides: test_base.TestTranslationStore.test_translate
(inherited documentation)