Package translate :: Package storage :: Module test_properties :: Class TestProp

[hide private]
[frames] | no frames]

# Class TestProp

source code

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

Nested Classes | [hide private]

| StoreClass this class represents a .properties file, made up of propunits

Instance Methods | [hide private]

propparse(self, propsource) helper that parses properties source without requiring files | source code

propregen(self, propsource) helper that converts properties source to propfile object and back | source code

test_simpledefinition(self) checks that a simple properties definition is parsed correctly | source code

test_simpledefinition_source(self) checks that a simple properties definition can be regenerated as source | source code

test_unicode_escaping(self) check that escapes unicode is converted properly | source code

test_newlines_startend(self) check that we preserver that appear at start and end of properties | source code

test_whitespace_removal(self) check that we remove extra whitespace around property | 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`