Package translate :: Package storage :: Module test_php :: Class TestPhpFile
[hide private]
[frames] | no frames]

Class TestPhpFile

source code

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

Nested Classes [hide private]
  StoreClass
this class represents a php file, made up of phpunits
Instance Methods [hide private]
 
phpparse(self, phpsource)
helper that parses php source without requiring files
source code
 
phpregen(self, phpsource)
helper that converts php source to phpfile object and back
source code
 
test_simpledefinition(self)
checks that a simple php definition is parsed correctly
source code
 
test_simpledefinition_source(self)
checks that a simple php definition can be regenerated as source
source code
 
test_spaces_in_name(self)
check that spaces in the array name doesn't throw us off
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