SYMBOL INDEX (236 symbols across 12 files) FILE: tests/builder_test.py class TestXMLContextTest (line 11) | class TestXMLContextTest(unittest.TestCase): method setUp (line 15) | def setUp(self): method test_current_element_tag_name (line 19) | def test_current_element_tag_name(self): method test_current_context_name (line 23) | def test_current_context_name(self): method test_current_context_invalid_unicode_name (line 28) | def test_current_context_invalid_unicode_name(self): method test_increment_valid_testsuites_counters (line 33) | def test_increment_valid_testsuites_counters(self): method test_increment_valid_testsuite_counters (line 48) | def test_increment_valid_testsuite_counters(self): method test_increment_counters_for_unknown_context (line 60) | def test_increment_counters_for_unknown_context(self): method test_empty_counters_on_end_context (line 72) | def test_empty_counters_on_end_context(self): method test_add_time_attribute_on_end_context (line 79) | def test_add_time_attribute_on_end_context(self): method test_add_timestamp_attribute_on_end_context (line 85) | def test_add_timestamp_attribute_on_end_context(self): class TestXMLBuilderTest (line 92) | class TestXMLBuilderTest(unittest.TestCase): method setUp (line 96) | def setUp(self): method test_root_has_no_parent (line 106) | def test_root_has_no_parent(self): method test_current_context_tag (line 109) | def test_current_context_tag(self): method test_begin_nested_context (line 112) | def test_begin_nested_context(self): method test_end_inexistent_context (line 120) | def test_end_inexistent_context(self): method test_end_root_context (line 126) | def test_end_root_context(self): method test_end_nested_context (line 141) | def test_end_nested_context(self): method test_end_all_context_stack (line 150) | def test_end_all_context_stack(self): method test_append_valid_unicode_cdata_section (line 172) | def test_append_valid_unicode_cdata_section(self): method test_append_invalid_unicode_cdata_section (line 184) | def test_append_invalid_unicode_cdata_section(self): method test_append_cdata_closing_tags_into_cdata_section (line 194) | def test_append_cdata_closing_tags_into_cdata_section(self): method test_append_tag_with_valid_unicode_values (line 203) | def test_append_tag_with_valid_unicode_values(self): method test_append_tag_with_invalid_unicode_values (line 214) | def test_append_tag_with_invalid_unicode_values(self): method test_increment_root_context_counter (line 225) | def test_increment_root_context_counter(self): method test_increment_nested_context_counter (line 234) | def test_increment_nested_context_counter(self): method test_finish_nested_context (line 250) | def test_finish_nested_context(self): FILE: tests/discovery_test.py class DiscoveryTest (line 4) | class DiscoveryTest(unittest.TestCase): method test_discovery_pass (line 5) | def test_discovery_pass(self): FILE: tests/django_example/app/tests.py class DummyTestCase (line 5) | class DummyTestCase(TestCase): method test_pass (line 6) | def test_pass(self): method test_negative_comment1 (line 10) | def test_negative_comment1(self): method test_negative_comment2 (line 14) | def test_negative_comment2(self): FILE: tests/django_example/app2/tests.py class DummyTestCase (line 5) | class DummyTestCase(TestCase): method test_pass (line 6) | def test_pass(self): FILE: tests/django_test.py class DjangoTest (line 26) | class DjangoTest(unittest.TestCase): method setUp (line 28) | def setUp(self): method tearDown (line 45) | def tearDown(self): method _override_settings (line 50) | def _override_settings(self, **kwargs): method _check_runner (line 55) | def _check_runner(self, runner): method test_django_runner (line 73) | def test_django_runner(self): method test_django_xmlrunner (line 78) | def test_django_xmlrunner(self): method test_django_verbose (line 85) | def test_django_verbose(self): method test_django_single_report (line 93) | def test_django_single_report(self): method test_django_single_report_create_folder (line 108) | def test_django_single_report_create_folder(self): method test_django_multiple_reports (line 125) | def test_django_multiple_reports(self): method test_django_runner_extension (line 140) | def test_django_runner_extension(self): FILE: tests/doctest_example.py function twice (line 2) | def twice(n): class Multiplicator (line 10) | class Multiplicator(object): method threetimes (line 11) | def threetimes(self, n): FILE: tests/testsuite.py function _load_schema (line 31) | def _load_schema(version): function validate_junit_report (line 42) | def validate_junit_report(version, text): class DoctestTest (line 48) | class DoctestTest(unittest.TestCase): method test_doctest_example (line 50) | def test_doctest_example(self): function capture_stdout_stderr (line 66) | def capture_stdout_stderr(): function _strip_xml (line 81) | def _strip_xml(xml, changes): function some_decorator (line 91) | def some_decorator(f): class XMLTestRunnerTestCase (line 102) | class XMLTestRunnerTestCase(unittest.TestCase): class DummyTest (line 106) | class DummyTest(unittest.TestCase): method test_skip (line 109) | def test_skip(self): method test_non_ascii_skip (line 113) | def test_non_ascii_skip(self): method test_pass (line 116) | def test_pass(self): method test_fail (line 119) | def test_fail(self): method test_expected_failure (line 123) | def test_expected_failure(self): method test_unexpected_success (line 127) | def test_unexpected_success(self): method test_error (line 130) | def test_error(self): method test_cdata_section (line 133) | def test_cdata_section(self): method test_invalid_xml_chars_in_doc (line 136) | def test_invalid_xml_chars_in_doc(self): method test_non_ascii_error (line 142) | def test_non_ascii_error(self): method test_unsafe_unicode (line 145) | def test_unsafe_unicode(self): method test_output_stdout_and_stderr (line 148) | def test_output_stdout_and_stderr(self): method test_runner_buffer_output_pass (line 152) | def test_runner_buffer_output_pass(self): method test_runner_buffer_output_fail (line 155) | def test_runner_buffer_output_fail(self): method test_output (line 159) | def test_output(self): method test_non_ascii_runner_buffer_output_fail (line 162) | def test_non_ascii_runner_buffer_output_fail(self): class DummySubTest (line 166) | class DummySubTest(unittest.TestCase): method test_subTest_pass (line 168) | def test_subTest_pass(self): method test_subTest_fail (line 173) | def test_subTest_fail(self): method test_subTest_error (line 178) | def test_subTest_error(self): method test_subTest_mixed (line 183) | def test_subTest_mixed(self): method test_subTest_with_dots (line 188) | def test_subTest_with_dots(self): class DecoratedUnitTest (line 193) | class DecoratedUnitTest(unittest.TestCase): method test_pass (line 196) | def test_pass(self): class DummyErrorInCallTest (line 199) | class DummyErrorInCallTest(unittest.TestCase): method __call__ (line 201) | def __call__(self, result): method test_pass (line 208) | def test_pass(self): class DummyRefCountTest (line 212) | class DummyRefCountTest(unittest.TestCase): class dummy (line 213) | class dummy(object): method test_fail (line 215) | def test_fail(self): method setUp (line 219) | def setUp(self): method _test_xmlrunner (line 226) | def _test_xmlrunner(self, suite, runner=None, outdir=None): method test_basic_unittest_constructs (line 247) | def test_basic_unittest_constructs(self): method test_classnames (line 257) | def test_classnames(self): method test_expected_failure (line 284) | def test_expected_failure(self): method test_unexpected_success (line 295) | def test_unexpected_success(self): method test_xmlrunner_non_ascii (line 306) | def test_xmlrunner_non_ascii(self): method test_xmlrunner_safe_xml_encoding_name (line 321) | def test_xmlrunner_safe_xml_encoding_name(self): method test_xmlrunner_check_for_valid_xml_streamout (line 335) | def test_xmlrunner_check_for_valid_xml_streamout(self): method test_xmlrunner_unsafe_unicode (line 367) | def test_xmlrunner_unsafe_unicode(self): method test_xmlrunner_non_ascii_failures (line 380) | def test_xmlrunner_non_ascii_failures(self): method test_xmlrunner_non_ascii_failures_buffered_output (line 383) | def test_xmlrunner_non_ascii_failures_buffered_output(self): method _xmlrunner_non_ascii_failures (line 386) | def _xmlrunner_non_ascii_failures(self, buffer=False): method test_xmlrunner_buffer_output_pass (line 415) | def test_xmlrunner_buffer_output_pass(self): method test_xmlrunner_buffer_output_fail (line 427) | def test_xmlrunner_buffer_output_fail(self): method test_xmlrunner_output_without_buffer (line 436) | def test_xmlrunner_output_without_buffer(self): method test_xmlrunner_output_with_buffer (line 444) | def test_xmlrunner_output_with_buffer(self): method test_xmlrunner_stdout_stderr_recovered_without_buffer (line 454) | def test_xmlrunner_stdout_stderr_recovered_without_buffer(self): method test_xmlrunner_stdout_stderr_recovered_with_buffer (line 463) | def test_xmlrunner_stdout_stderr_recovered_with_buffer(self): method test_unittest_subTest_fail (line 478) | def test_unittest_subTest_fail(self): method test_unittest_subTest_error (line 507) | def test_unittest_subTest_error(self): method test_unittest_subTest_mixed (line 537) | def test_unittest_subTest_mixed(self): method test_unittest_subTest_pass (line 562) | def test_unittest_subTest_pass(self): method test_unittest_subTest_with_dots (line 570) | def test_unittest_subTest_with_dots(self): method test_xmlrunner_pass (line 589) | def test_xmlrunner_pass(self): method test_xmlrunner_failfast (line 594) | def test_xmlrunner_failfast(self): method test_xmlrunner_verbose (line 609) | def test_xmlrunner_verbose(self): method test_xmlrunner_showall (line 615) | def test_xmlrunner_showall(self): method test_xmlrunner_cdata_section (line 621) | def test_xmlrunner_cdata_section(self): method test_xmlrunner_invalid_xml_chars_in_doc (line 626) | def test_xmlrunner_invalid_xml_chars_in_doc(self): method test_xmlrunner_outsuffix (line 643) | def test_xmlrunner_outsuffix(self): method test_xmlrunner_nosuffix (line 651) | def test_xmlrunner_nosuffix(self): method test_junitxml_properties (line 660) | def test_junitxml_properties(self): method test_junitxml_xsd_validation_order (line 666) | def test_junitxml_xsd_validation_order(self): method test_junitxml_xsd_validation_empty_properties (line 689) | def test_junitxml_xsd_validation_empty_properties(self): method test_xunit_plugin_transform (line 706) | def test_xunit_plugin_transform(self): method test_xmlrunner_elapsed_times (line 730) | def test_xmlrunner_elapsed_times(self): method test_xmlrunner_resultclass (line 736) | def test_xmlrunner_resultclass(self): method test_xmlrunner_stream (line 745) | def test_xmlrunner_stream(self): method test_xmlrunner_stream_empty_testsuite (line 755) | def test_xmlrunner_stream_empty_testsuite(self): method test_xmlrunner_output_subdir (line 764) | def test_xmlrunner_output_subdir(self): method test_xmlrunner_patched_stdout (line 774) | def test_xmlrunner_patched_stdout(self): method test_opaque_decorator (line 785) | def test_opaque_decorator(self): method test_xmlrunner_error_in_call (line 792) | def test_xmlrunner_error_in_call(self): method test_xmlrunner_hold_traceback (line 806) | def test_xmlrunner_hold_traceback(self): class StderrXMLTestRunner (line 818) | class StderrXMLTestRunner(xmlrunner.XMLTestRunner): method __init__ (line 827) | def __init__(self, **kwargs): method test_test_program_succeed_with_buffer (line 833) | def test_test_program_succeed_with_buffer(self): method test_test_program_succeed_wo_buffer (line 848) | def test_test_program_succeed_wo_buffer(self): method test_test_program_fail_with_buffer (line 862) | def test_test_program_fail_with_buffer(self): method test_test_program_fail_wo_buffer (line 877) | def test_test_program_fail_wo_buffer(self): method test_partialmethod (line 891) | def test_partialmethod(self): class DuplicateWriterTestCase (line 908) | class DuplicateWriterTestCase(unittest.TestCase): method setUp (line 909) | def setUp(self): method tearDown (line 915) | def tearDown(self): method getFirstContent (line 920) | def getFirstContent(self): method getSecondContent (line 924) | def getSecondContent(self): method test_flush (line 927) | def test_flush(self): method test_writable (line 932) | def test_writable(self): method test_writelines (line 935) | def test_writelines(self): method test_write (line 944) | def test_write(self): class XMLProgramTestCase (line 953) | class XMLProgramTestCase(unittest.TestCase): method test_xmlrunner_output (line 957) | def test_xmlrunner_output(self, exiter, testrunner): method test_xmlrunner_output_file (line 978) | def test_xmlrunner_output_file(self, exiter, testrunner, opener): method test_xmlrunner_outsuffix (line 1002) | def test_xmlrunner_outsuffix(self, exiter, testrunner, opener): class ResolveFilenameTestCase (line 1020) | class ResolveFilenameTestCase(unittest.TestCase): method test_resolve_filename_relative (line 1022) | def test_resolve_filename_relative(self, relpath): method test_resolve_filename_outside (line 1028) | def test_resolve_filename_outside(self, relpath): method test_resolve_filename_error (line 1034) | def test_resolve_filename_error(self, relpath): FILE: xmlrunner/builder.py function replace_nontext (line 33) | def replace_nontext(text, replacement=u'\uFFFD'): class TestXMLContext (line 37) | class TestXMLContext(object): method __init__ (line 55) | def __init__(self, xml_doc, parent_context=None): method element_tag (line 66) | def element_tag(self): method begin (line 71) | def begin(self, tag, name): method end (line 79) | def end(self): method _set_result_counters (line 92) | def _set_result_counters(self): method increment_counter (line 116) | def increment_counter(self, counter_name): method elapsed_time (line 124) | def elapsed_time(self): method timestamp (line 130) | def timestamp(self): class TestXMLBuilder (line 136) | class TestXMLBuilder(object): method __init__ (line 141) | def __init__(self): method current_context (line 147) | def current_context(self): method begin_context (line 152) | def begin_context(self, tag, name): method context_tag (line 161) | def context_tag(self): method _create_cdata_section (line 166) | def _create_cdata_section(self, content): method append_cdata_section (line 173) | def append_cdata_section(self, tag, content): method append (line 191) | def append(self, tag, content, **kwargs): method _append_child (line 208) | def _append_child(self, element): method increment_counter (line 217) | def increment_counter(self, counter_name): method end_context (line 226) | def end_context(self): method finish (line 241) | def finish(self): FILE: xmlrunner/extra/djangotestrunner.py class XMLTestRunner (line 19) | class XMLTestRunner(DiscoverRunner): method get_resultclass (line 22) | def get_resultclass(self): method get_test_runner_kwargs (line 27) | def get_test_runner_kwargs(self): method run_suite (line 55) | def run_suite(self, suite, **kwargs): FILE: xmlrunner/extra/xunit_plugin.py function transform (line 24) | def transform(xml_data): FILE: xmlrunner/result.py function safe_unicode (line 51) | def safe_unicode(data, encoding='utf8'): function testcase_name (line 61) | def testcase_name(test_method): function resolve_filename (line 72) | def resolve_filename(filename): class _DuplicateWriter (line 82) | class _DuplicateWriter(io.TextIOBase): method __init__ (line 89) | def __init__(self, first, second): method flush (line 94) | def flush(self): method writable (line 104) | def writable(self): method getvalue (line 107) | def getvalue(self): method writelines (line 110) | def writelines(self, lines): method write (line 114) | def write(self, b): class _TestInfo (line 130) | class _TestInfo(object): method __init__ (line 146) | def __init__(self, test_result, test_method, outcome=SUCCESS, err=None... method id (line 179) | def id(self): method test_finished (line 182) | def test_finished(self): method get_error_info (line 190) | def get_error_info(self): method shortDescription (line 197) | def shortDescription(self): class _XMLTestResult (line 201) | class _XMLTestResult(TextTestResult): method __init__ (line 207) | def __init__(self, stream=sys.stderr, descriptions=1, verbosity=1, method _prepare_callback (line 228) | def _prepare_callback(self, test_info, target_list, verbose_str, method startTest (line 261) | def startTest(self, test): method _setupStdout (line 294) | def _setupStdout(self): method _restoreStdout (line 304) | def _restoreStdout(self): method _save_output_data (line 320) | def _save_output_data(self): method stopTest (line 324) | def stopTest(self, test): method addSuccess (line 339) | def addSuccess(self, test): method addFailure (line 349) | def addFailure(self, test, err): method addError (line 363) | def addError(self, test, err): method addSubTest (line 376) | def addSubTest(self, testcase, test, err): method addSkip (line 405) | def addSkip(self, test, reason): method addExpectedFailure (line 417) | def addExpectedFailure(self, test, err): method addUnexpectedSuccess (line 431) | def addUnexpectedSuccess(self, test): method printErrorList (line 447) | def printErrorList(self, flavour, errors): method _get_info_by_testcase (line 461) | def _get_info_by_testcase(self): method _report_testsuite_properties (line 482) | def _report_testsuite_properties(xml_testsuite, xml_document, properti... method _report_testsuite (line 494) | def _report_testsuite(suite_name, tests, xml_document, parentElement, method _test_method_name (line 534) | def _test_method_name(test_id): method _createCDATAsections (line 546) | def _createCDATAsections(xmldoc, node, text): method _report_testcase (line 560) | def _report_testcase(test_result, xml_testsuite, xml_document): method generate_reports (line 626) | def generate_reports(self, test_runner): method _exc_info_to_string (line 682) | def _exc_info_to_string(self, err, test): method getDescription (line 686) | def getDescription(self, test): FILE: xmlrunner/runner.py class XMLTestRunner (line 14) | class XMLTestRunner(TextTestRunner): method __init__ (line 19) | def __init__(self, output='.', outsuffix=None, method _make_result (line 37) | def _make_result(self): method run (line 47) | def run(self, test): class XMLTestProgram (line 120) | class XMLTestProgram(TestProgram): method __init__ (line 122) | def __init__(self, *args, **kwargs): method _parseKnownArgs (line 128) | def _parseKnownArgs(self, kwargs): method _initArgParsers (line 151) | def _initArgParsers(self): method runTests (line 167) | def runTests(self):