Tests a TranslationUnit. Derived classes can reuse these tests by
pointing UnitClass to a derived Unit
|
|
|
|
|
test_create(self)
tests a simple creation with a source string |
source code
|
|
|
|
|
|
|
test_escapes(self)
Test all sorts of characters that might go wrong in a quoting and
escaping roundtrip. |
source code
|
|
|
test_difficult_escapes(self)
Test difficult characters that might go wrong in a quoting and
escaping roundtrip. |
source code
|
|
|
test_note_sanity(self)
Tests that all subclasses of the base behaves consistently with
regards to notes. |
source code
|
|