Package translate :: Package storage :: Module test_txt :: Class TestTxtFile
[hide private]
[frames] | no frames]

Class TestTxtFile

source code

   test_base.TestTranslationStore --+    
                                    |    
test_monolingual.TestMonolingualStore --+
                                        |
                                       TestTxtFile

Nested Classes [hide private]
  StoreClass
This class represents a text file, made up of txtunits
Instance Methods [hide private]
 
txtparse(self, txtsource)
helper that parses txt source without requiring files
source code
 
txtregen(self, txtsource)
helper that converts txt source to txtfile object and back
source code
 
test_simpleblock(self)
checks that a simple txt block is parsed correctly
source code
 
test_multipleblocks(self)
check that multiple blocks are parsed correctly
source code

Inherited from test_monolingual.TestMonolingualStore: test_markup, test_nonascii, test_translate

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