diff options
author | Robert Collins <robertc@robertcollins.net> | 2015-07-01 16:11:59 +1200 |
---|---|---|
committer | Robert Collins <robertc@robertcollins.net> | 2015-07-01 16:11:59 +1200 |
commit | b624d75b18b6644adb1e783e1032cbf74da409e7 (patch) | |
tree | ee4ec6a914dc8c1104ac9084f043b7867b687062 | |
download | testtools-gh-pages.tar.gz |
Update documentationgh-pages
437 files changed, 130489 insertions, 0 deletions
diff --git a/.buildinfo b/.buildinfo new file mode 100644 index 0000000..89d13a5 --- /dev/null +++ b/.buildinfo @@ -0,0 +1,4 @@ +# Sphinx build info version 1 +# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. +config: c745a969ac1fe2597d32136c1abe4cdd +tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.nojekyll diff --git a/_sources/api.txt b/_sources/api.txt new file mode 100644 index 0000000..425c818 --- /dev/null +++ b/_sources/api.txt @@ -0,0 +1,26 @@ +testtools API documentation +=========================== + +Generated reference documentation for all the public functionality of +testtools. + +Please :doc:`send patches </hacking>` if you notice anything confusing or +wrong, or that could be improved. + + +.. toctree:: + :maxdepth: 2 + + +testtools +--------- + +.. automodule:: testtools + :members: + + +testtools.matchers +------------------ + +.. automodule:: testtools.matchers + :members: diff --git a/_sources/for-framework-folk.txt b/_sources/for-framework-folk.txt new file mode 100644 index 0000000..4c970d7 --- /dev/null +++ b/_sources/for-framework-folk.txt @@ -0,0 +1,460 @@ +============================ +testtools for framework folk +============================ + +Introduction +============ + +In addition to having many features :doc:`for test authors +<for-test-authors>`, testtools also has many bits and pieces that are useful +for folk who write testing frameworks. + +If you are the author of a test runner, are working on a very large +unit-tested project, are trying to get one testing framework to play nicely +with another or are hacking away at getting your test suite to run in parallel +over a heterogenous cluster of machines, this guide is for you. + +This manual is a summary. You can get details by consulting the +:doc:`testtools API docs </api>`. + + +Extensions to TestCase +====================== + +In addition to the ``TestCase`` specific methods, we have extensions for +``TestSuite`` that also apply to ``TestCase`` (because ``TestCase`` and +``TestSuite`` follow the Composite pattern). + +Custom exception handling +------------------------- + +testtools provides a way to control how test exceptions are handled. To do +this, add a new exception to ``self.exception_handlers`` on a +``testtools.TestCase``. For example:: + + >>> self.exception_handlers.insert(-1, (ExceptionClass, handler)). + +Having done this, if any of ``setUp``, ``tearDown``, or the test method raise +``ExceptionClass``, ``handler`` will be called with the test case, test result +and the raised exception. + +Use this if you want to add a new kind of test result, that is, if you think +that ``addError``, ``addFailure`` and so forth are not enough for your needs. + + +Controlling test execution +-------------------------- + +If you want to control more than just how exceptions are raised, you can +provide a custom ``RunTest`` to a ``TestCase``. The ``RunTest`` object can +change everything about how the test executes. + +To work with ``testtools.TestCase``, a ``RunTest`` must have a factory that +takes a test and an optional list of exception handlers and an optional +last_resort handler. Instances returned by the factory must have a ``run()`` +method that takes an optional ``TestResult`` object. + +The default is ``testtools.runtest.RunTest``, which calls ``setUp``, the test +method, ``tearDown`` and clean ups (see :ref:`addCleanup`) in the normal, vanilla +way that Python's standard unittest_ does. + +To specify a ``RunTest`` for all the tests in a ``TestCase`` class, do something +like this:: + + class SomeTests(TestCase): + run_tests_with = CustomRunTestFactory + +To specify a ``RunTest`` for a specific test in a ``TestCase`` class, do:: + + class SomeTests(TestCase): + @run_test_with(CustomRunTestFactory, extra_arg=42, foo='whatever') + def test_something(self): + pass + +In addition, either of these can be overridden by passing a factory in to the +``TestCase`` constructor with the optional ``runTest`` argument. + + +Test renaming +------------- + +``testtools.clone_test_with_new_id`` is a function to copy a test case +instance to one with a new name. This is helpful for implementing test +parameterization. + +.. _force_failure: + +Delayed Test Failure +-------------------- + +Setting the ``testtools.TestCase.force_failure`` instance variable to True will +cause ``testtools.RunTest`` to fail the test case after the test has finished. +This is useful when you want to cause a test to fail, but don't want to +prevent the remainder of the test code from being executed. + +Exception formatting +-------------------- + +Testtools ``TestCase`` instances format their own exceptions. The attribute +``__testtools_tb_locals__`` controls whether to include local variables in the +formatted exceptions. + +Test placeholders +================= + +Sometimes, it's useful to be able to add things to a test suite that are not +actually tests. For example, you might wish to represents import failures +that occur during test discovery as tests, so that your test result object +doesn't have to do special work to handle them nicely. + +testtools provides two such objects, called "placeholders": ``PlaceHolder`` +and ``ErrorHolder``. ``PlaceHolder`` takes a test id and an optional +description. When it's run, it succeeds. ``ErrorHolder`` takes a test id, +and error and an optional short description. When it's run, it reports that +error. + +These placeholders are best used to log events that occur outside the test +suite proper, but are still very relevant to its results. + +e.g.:: + + >>> suite = TestSuite() + >>> suite.add(PlaceHolder('I record an event')) + >>> suite.run(TextTestResult(verbose=True)) + I record an event [OK] + + +Test instance decorators +======================== + +DecorateTestCaseResult +---------------------- + +This object calls out to your code when ``run`` / ``__call__`` are called and +allows the result object that will be used to run the test to be altered. This +is very useful when working with a test runner that doesn't know your test case +requirements. For instance, it can be used to inject a ``unittest2`` compatible +adapter when someone attempts to run your test suite with a ``TestResult`` that +does not support ``addSkip`` or other ``unittest2`` methods. Similarly it can +aid the migration to ``StreamResult``. + +e.g.:: + + >>> suite = TestSuite() + >>> suite = DecorateTestCaseResult(suite, ExtendedToOriginalDecorator) + +Extensions to TestResult +======================== + +StreamResult +------------ + +``StreamResult`` is a new API for dealing with test case progress that supports +concurrent and distributed testing without the various issues that +``TestResult`` has such as buffering in multiplexers. + +The design has several key principles: + +* Nothing that requires up-front knowledge of all tests. + +* Deal with tests running in concurrent environments, potentially distributed + across multiple processes (or even machines). This implies allowing multiple + tests to be active at once, supplying time explicitly, being able to + differentiate between tests running in different contexts and removing any + assumption that tests are necessarily in the same process. + +* Make the API as simple as possible - each aspect should do one thing well. + +The ``TestResult`` API this is intended to replace has three different clients. + +* Each executing ``TestCase`` notifies the ``TestResult`` about activity. + +* The testrunner running tests uses the API to find out whether the test run + had errors, how many tests ran and so on. + +* Finally, each ``TestCase`` queries the ``TestResult`` to see whether the test + run should be aborted. + +With ``StreamResult`` we need to be able to provide a ``TestResult`` compatible +adapter (``StreamToExtendedDecorator``) to allow incremental migration. +However, we don't need to conflate things long term. So - we define three +separate APIs, and merely mix them together to provide the +``StreamToExtendedDecorator``. ``StreamResult`` is the first of these APIs - +meeting the needs of ``TestCase`` clients. It handles events generated by +running tests. See the API documentation for ``testtools.StreamResult`` for +details. + +StreamSummary +------------- + +Secondly we define the ``StreamSummary`` API which takes responsibility for +collating errors, detecting incomplete tests and counting tests. This provides +a compatible API with those aspects of ``TestResult``. Again, see the API +documentation for ``testtools.StreamSummary``. + +TestControl +----------- + +Lastly we define the ``TestControl`` API which is used to provide the +``shouldStop`` and ``stop`` elements from ``TestResult``. Again, see the API +documentation for ``testtools.TestControl``. ``TestControl`` can be paired with +a ``StreamFailFast`` to trigger aborting a test run when a failure is observed. +Aborting multiple workers in a distributed environment requires hooking +whatever signalling mechanism the distributed environment has up to a +``TestControl`` in each worker process. + +StreamTagger +------------ + +A ``StreamResult`` filter that adds or removes tags from events:: + + >>> from testtools import StreamTagger + >>> sink = StreamResult() + >>> result = StreamTagger([sink], set(['add']), set(['discard'])) + >>> result.startTestRun() + >>> # Run tests against result here. + >>> result.stopTestRun() + +StreamToDict +------------ + +A simplified API for dealing with ``StreamResult`` streams. Each test is +buffered until it completes and then reported as a trivial dict. This makes +writing analysers very easy - you can ignore all the plumbing and just work +with the result. e.g.:: + + >>> from testtools import StreamToDict + >>> def handle_test(test_dict): + ... print(test_dict['id']) + >>> result = StreamToDict(handle_test) + >>> result.startTestRun() + >>> # Run tests against result here. + >>> # At stopTestRun() any incomplete buffered tests are announced. + >>> result.stopTestRun() + +ExtendedToStreamDecorator +------------------------- + +This is a hybrid object that combines both the ``Extended`` and ``Stream`` +``TestResult`` APIs into one class, but only emits ``StreamResult`` events. +This is useful when a ``StreamResult`` stream is desired, but you cannot +be sure that the tests which will run have been updated to the ``StreamResult`` +API. + +StreamToExtendedDecorator +------------------------- + +This is a simple converter that emits the ``ExtendedTestResult`` API in +response to events from the ``StreamResult`` API. Useful when outputting +``StreamResult`` events from a ``TestCase`` but the supplied ``TestResult`` +does not support the ``status`` and ``file`` methods. + +StreamToQueue +------------- + +This is a ``StreamResult`` decorator for reporting tests from multiple threads +at once. Each method submits an event to a supplied Queue object as a simple +dict. See ``ConcurrentStreamTestSuite`` for a convenient way to use this. + +TimestampingStreamResult +------------------------ + +This is a ``StreamResult`` decorator for adding timestamps to events that lack +them. This allows writing the simplest possible generators of events and +passing the events via this decorator to get timestamped data. As long as +no buffering/queueing or blocking happen before the timestamper sees the event +the timestamp will be as accurate as if the original event had it. + +StreamResultRouter +------------------ + +This is a ``StreamResult`` which forwards events to an arbitrary set of target +``StreamResult`` objects. Events that have no forwarding rule are passed onto +an fallback ``StreamResult`` for processing. The mapping can be changed at +runtime, allowing great flexibility and responsiveness to changes. Because +The mapping can change dynamically and there could be the same recipient for +two different maps, ``startTestRun`` and ``stopTestRun`` handling is fine +grained and up to the user. + +If no fallback has been supplied, an unroutable event will raise an exception. + +For instance:: + + >>> router = StreamResultRouter() + >>> sink = doubles.StreamResult() + >>> router.add_rule(sink, 'route_code_prefix', route_prefix='0', + ... consume_route=True) + >>> router.status(test_id='foo', route_code='0/1', test_status='uxsuccess') + +Would remove the ``0/`` from the route_code and forward the event like so:: + + >>> sink.status('test_id=foo', route_code='1', test_status='uxsuccess') + +See ``pydoc testtools.StreamResultRouter`` for details. + +TestResult.addSkip +------------------ + +This method is called on result objects when a test skips. The +``testtools.TestResult`` class records skips in its ``skip_reasons`` instance +dict. The can be reported on in much the same way as succesful tests. + + +TestResult.time +--------------- + +This method controls the time used by a ``TestResult``, permitting accurate +timing of test results gathered on different machines or in different threads. +See pydoc testtools.TestResult.time for more details. + + +ThreadsafeForwardingResult +-------------------------- + +A ``TestResult`` which forwards activity to another test result, but synchronises +on a semaphore to ensure that all the activity for a single test arrives in a +batch. This allows simple TestResults which do not expect concurrent test +reporting to be fed the activity from multiple test threads, or processes. + +Note that when you provide multiple errors for a single test, the target sees +each error as a distinct complete test. + + +MultiTestResult +--------------- + +A test result that dispatches its events to many test results. Use this +to combine multiple different test result objects into one test result object +that can be passed to ``TestCase.run()`` or similar. For example:: + + a = TestResult() + b = TestResult() + combined = MultiTestResult(a, b) + combined.startTestRun() # Calls a.startTestRun() and b.startTestRun() + +Each of the methods on ``MultiTestResult`` will return a tuple of whatever the +component test results return. + + +TestResultDecorator +------------------- + +Not strictly a ``TestResult``, but something that implements the extended +``TestResult`` interface of testtools. It can be subclassed to create objects +that wrap ``TestResults``. + + +TextTestResult +-------------- + +A ``TestResult`` that provides a text UI very similar to the Python standard +library UI. Key differences are that its supports the extended outcomes and +details API, and is completely encapsulated into the result object, permitting +it to be used without a 'TestRunner' object. Not all the Python 2.7 outcomes +are displayed (yet). It is also a 'quiet' result with no dots or verbose mode. +These limitations will be corrected soon. + + +ExtendedToOriginalDecorator +--------------------------- + +Adapts legacy ``TestResult`` objects, such as those found in older Pythons, to +meet the testtools ``TestResult`` API. + + +Test Doubles +------------ + +In testtools.testresult.doubles there are three test doubles that testtools +uses for its own testing: ``Python26TestResult``, ``Python27TestResult``, +``ExtendedTestResult``. These TestResult objects implement a single variation of +the TestResult API each, and log activity to a list ``self._events``. These are +made available for the convenience of people writing their own extensions. + + +startTestRun and stopTestRun +---------------------------- + +Python 2.7 added hooks ``startTestRun`` and ``stopTestRun`` which are called +before and after the entire test run. 'stopTestRun' is particularly useful for +test results that wish to produce summary output. + +``testtools.TestResult`` provides default ``startTestRun`` and ``stopTestRun`` +methods, and he default testtools runner will call these methods +appropriately. + +The ``startTestRun`` method will reset any errors, failures and so forth on +the result, making the result object look as if no tests have been run. + + +Extensions to TestSuite +======================= + +ConcurrentTestSuite +------------------- + +A TestSuite for parallel testing. This is used in conjuction with a helper that +runs a single suite in some parallel fashion (for instance, forking, handing +off to a subprocess, to a compute cloud, or simple threads). +ConcurrentTestSuite uses the helper to get a number of separate runnable +objects with a run(result), runs them all in threads using the +ThreadsafeForwardingResult to coalesce their activity. + +ConcurrentStreamTestSuite +------------------------- + +A variant of ConcurrentTestSuite that uses the new StreamResult API instead of +the TestResult API. ConcurrentStreamTestSuite coordinates running some number +of test/suites concurrently, with one StreamToQueue per test/suite. + +Each test/suite gets given its own ExtendedToStreamDecorator + +TimestampingStreamResult wrapped StreamToQueue instance, forwarding onto the +StreamResult that ConcurrentStreamTestSuite.run was called with. + +ConcurrentStreamTestSuite is a thin shim and it is easy to implement your own +specialised form if that is needed. + +FixtureSuite +------------ + +A test suite that sets up a fixture_ before running any tests, and then tears +it down after all of the tests are run. The fixture is *not* made available to +any of the tests due to there being no standard channel for suites to pass +information to the tests they contain (and we don't have enough data on what +such a channel would need to achieve to design a good one yet - or even decide +if it is a good idea). + +sorted_tests +------------ + +Given the composite structure of TestSuite / TestCase, sorting tests is +problematic - you can't tell what functionality is embedded into custom Suite +implementations. In order to deliver consistent test orders when using test +discovery (see http://bugs.python.org/issue16709), testtools flattens and +sorts tests that have the standard TestSuite, and defines a new method +sort_tests, which can be used by non-standard TestSuites to know when they +should sort their tests. An example implementation can be seen at +``FixtureSuite.sorted_tests``. + +If there are duplicate test ids in a suite, ValueError will be raised. + +filter_by_ids +------------- + +Similarly to ``sorted_tests`` running a subset of tests is problematic - the +standard run interface provides no way to limit what runs. Rather than +confounding the two problems (selection and execution) we defined a method +that filters the tests in a suite (or a case) by their unique test id. +If you a writing custom wrapping suites, consider implementing filter_by_ids +to support this (though most wrappers that subclass ``unittest.TestSuite`` will +work just fine [see ``testtools.testsuite.filter_by_ids`` for details.] + +Extensions to TestRunner +======================== + +To facilitate custom listing of tests, ``testtools.run.TestProgram`` attempts +to call ``list`` on the ``TestRunner``, falling back to a generic +implementation if it is not present. + +.. _unittest: http://docs.python.org/library/unittest.html +.. _fixture: http://pypi.python.org/pypi/fixtures diff --git a/_sources/for-test-authors.txt b/_sources/for-test-authors.txt new file mode 100644 index 0000000..eb3bbe1 --- /dev/null +++ b/_sources/for-test-authors.txt @@ -0,0 +1,1487 @@ +========================== +testtools for test authors +========================== + +If you are writing tests for a Python project and you (rather wisely) want to +use testtools to do so, this is the manual for you. + +We assume that you already know Python and that you know something about +automated testing already. + +If you are a test author of an unusually large or unusually unusual test +suite, you might be interested in :doc:`for-framework-folk`. + +You might also be interested in the :doc:`testtools API docs </api>`. + + +Introduction +============ + +testtools is a set of extensions to Python's standard unittest module. +Writing tests with testtools is very much like writing tests with standard +Python, or with Twisted's "trial_", or nose_, except a little bit easier and +more enjoyable. + +Below, we'll try to give some examples of how to use testtools in its most +basic way, as well as a sort of feature-by-feature breakdown of the cool bits +that you could easily miss. + + +The basics +========== + +Here's what a basic testtools unit tests look like:: + + from testtools import TestCase + from myproject import silly + + class TestSillySquare(TestCase): + """Tests for silly square function.""" + + def test_square(self): + # 'square' takes a number and multiplies it by itself. + result = silly.square(7) + self.assertEqual(result, 49) + + def test_square_bad_input(self): + # 'square' raises a TypeError if it's given bad input, say a + # string. + self.assertRaises(TypeError, silly.square, "orange") + + +Here you have a class that inherits from ``testtools.TestCase`` and bundles +together a bunch of related tests. The tests themselves are methods on that +class that begin with ``test_``. + +Running your tests +------------------ + +You can run these tests in many ways. testtools provides a very basic +mechanism for doing so:: + + $ python -m testtools.run exampletest + Tests running... + Ran 2 tests in 0.000s + + OK + +where 'exampletest' is a module that contains unit tests. By default, +``testtools.run`` will *not* recursively search the module or package for unit +tests. To do this, you will need to either have the discover_ module +installed or have Python 2.7 or later, and then run:: + + $ python -m testtools.run discover packagecontainingtests + +For more information see the Python unittest documentation, and:: + + python -m testtools.run --help + +which describes the options available to ``testtools.run``. + +As your testing needs grow and evolve, you will probably want to use a more +sophisticated test runner. There are many of these for Python, and almost all +of them will happily run testtools tests. In particular: + +* testrepository_ +* Trial_ +* nose_ +* unittest2_ +* `zope.testrunner`_ (aka zope.testing) + +From now on, we'll assume that you know how to run your tests. + +Running test with Distutils +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +If you are using Distutils_ to build your Python project, you can use the testtools +Distutils_ command to integrate testtools into your Distutils_ workflow:: + + from distutils.core import setup + from testtools import TestCommand + setup(name='foo', + version='1.0', + py_modules=['foo'], + cmdclass={'test': TestCommand} + ) + +You can then run:: + + $ python setup.py test -m exampletest + Tests running... + Ran 2 tests in 0.000s + + OK + +For more information about the capabilities of the `TestCommand` command see:: + + $ python setup.py test --help + +You can use the `setup configuration`_ to specify the default behavior of the +`TestCommand` command. + +Assertions +========== + +The core of automated testing is making assertions about the way things are, +and getting a nice, helpful, informative error message when things are not as +they ought to be. + +All of the assertions that you can find in Python standard unittest_ can be +found in testtools (remember, testtools extends unittest). testtools changes +the behaviour of some of those assertions slightly and adds some new +assertions that you will almost certainly find useful. + + +Improved assertRaises +--------------------- + +``TestCase.assertRaises`` returns the caught exception. This is useful for +asserting more things about the exception than just the type:: + + def test_square_bad_input(self): + # 'square' raises a TypeError if it's given bad input, say a + # string. + e = self.assertRaises(TypeError, silly.square, "orange") + self.assertEqual("orange", e.bad_value) + self.assertEqual("Cannot square 'orange', not a number.", str(e)) + +Note that this is incompatible with the ``assertRaises`` in unittest2 and +Python2.7. + + +ExpectedException +----------------- + +If you are using a version of Python that supports the ``with`` context +manager syntax, you might prefer to use that syntax to ensure that code raises +particular errors. ``ExpectedException`` does just that. For example:: + + def test_square_root_bad_input_2(self): + # 'square' raises a TypeError if it's given bad input. + with ExpectedException(TypeError, "Cannot square.*"): + silly.square('orange') + +The first argument to ``ExpectedException`` is the type of exception you +expect to see raised. The second argument is optional, and can be either a +regular expression or a matcher. If it is a regular expression, the ``str()`` +of the raised exception must match the regular expression. If it is a matcher, +then the raised exception object must match it. The optional third argument +``msg`` will cause the raised error to be annotated with that message. + + +assertIn, assertNotIn +--------------------- + +These two assertions check whether a value is in a sequence and whether a +value is not in a sequence. They are "assert" versions of the ``in`` and +``not in`` operators. For example:: + + def test_assert_in_example(self): + self.assertIn('a', 'cat') + self.assertNotIn('o', 'cat') + self.assertIn(5, list_of_primes_under_ten) + self.assertNotIn(12, list_of_primes_under_ten) + + +assertIs, assertIsNot +--------------------- + +These two assertions check whether values are identical to one another. This +is sometimes useful when you want to test something more strict than mere +equality. For example:: + + def test_assert_is_example(self): + foo = [None] + foo_alias = foo + bar = [None] + self.assertIs(foo, foo_alias) + self.assertIsNot(foo, bar) + self.assertEqual(foo, bar) # They are equal, but not identical + + +assertIsInstance +---------------- + +As much as we love duck-typing and polymorphism, sometimes you need to check +whether or not a value is of a given type. This method does that. For +example:: + + def test_assert_is_instance_example(self): + now = datetime.now() + self.assertIsInstance(now, datetime) + +Note that there is no ``assertIsNotInstance`` in testtools currently. + + +expectFailure +------------- + +Sometimes it's useful to write tests that fail. For example, you might want +to turn a bug report into a unit test, but you don't know how to fix the bug +yet. Or perhaps you want to document a known, temporary deficiency in a +dependency. + +testtools gives you the ``TestCase.expectFailure`` to help with this. You use +it to say that you expect this assertion to fail. When the test runs and the +assertion fails, testtools will report it as an "expected failure". + +Here's an example:: + + def test_expect_failure_example(self): + self.expectFailure( + "cats should be dogs", self.assertEqual, 'cats', 'dogs') + +As long as 'cats' is not equal to 'dogs', the test will be reported as an +expected failure. + +If ever by some miracle 'cats' becomes 'dogs', then testtools will report an +"unexpected success". Unlike standard unittest, testtools treats this as +something that fails the test suite, like an error or a failure. + + +Matchers +======== + +The built-in assertion methods are very useful, they are the bread and butter +of writing tests. However, soon enough you will probably want to write your +own assertions. Perhaps there are domain specific things that you want to +check (e.g. assert that two widgets are aligned parallel to the flux grid), or +perhaps you want to check something that could almost but not quite be found +in some other standard library (e.g. assert that two paths point to the same +file). + +When you are in such situations, you could either make a base class for your +project that inherits from ``testtools.TestCase`` and make sure that all of +your tests derive from that, *or* you could use the testtools ``Matcher`` +system. + + +Using Matchers +-------------- + +Here's a really basic example using stock matchers found in testtools:: + + import testtools + from testtools.matchers import Equals + + class TestSquare(TestCase): + def test_square(self): + result = square(7) + self.assertThat(result, Equals(49)) + +The line ``self.assertThat(result, Equals(49))`` is equivalent to +``self.assertEqual(result, 49)`` and means "assert that ``result`` equals 49". +The difference is that ``assertThat`` is a more general method that takes some +kind of observed value (in this case, ``result``) and any matcher object +(here, ``Equals(49)``). + +The matcher object could be absolutely anything that implements the Matcher +protocol. This means that you can make more complex matchers by combining +existing ones:: + + def test_square_silly(self): + result = square(7) + self.assertThat(result, Not(Equals(50))) + +Which is roughly equivalent to:: + + def test_square_silly(self): + result = square(7) + self.assertNotEqual(result, 50) + + +``assert_that`` Function +------------------------ + +In addition to ``self.assertThat``, testtools also provides the ``assert_that`` +function in ``testtools.assertions`` This behaves like the method version does:: + + class TestSquare(TestCase): + + def test_square(): + result = square(7) + assert_that(result, Equals(49)) + + def test_square_silly(): + result = square(7) + assert_that(result, Not(Equals(50))) + + +Delayed Assertions +~~~~~~~~~~~~~~~~~~ + +A failure in the ``self.assertThat`` method will immediately fail the test: No +more test code will be run after the assertion failure. + +The ``expectThat`` method behaves the same as ``assertThat`` with one +exception: when failing the test it does so at the end of the test code rather +than when the mismatch is detected. For example:: + + import subprocess + + from testtools import TestCase + from testtools.matchers import Equals + + + class SomeProcessTests(TestCase): + + def test_process_output(self): + process = subprocess.Popen( + ["my-app", "/some/path"], + stdout=subprocess.PIPE, + stderr=subprocess.PIPE + ) + + stdout, stderrr = process.communicate() + + self.expectThat(process.returncode, Equals(0)) + self.expectThat(stdout, Equals("Expected Output")) + self.expectThat(stderr, Equals("")) + +In this example, should the ``expectThat`` call fail, the failure will be +recorded in the test result, but the test will continue as normal. If all +three assertions fail, the test result will have three failures recorded, and +the failure details for each failed assertion will be attached to the test +result. + +Stock matchers +-------------- + +testtools comes with many matchers built in. They can all be found in and +imported from the ``testtools.matchers`` module. + +Equals +~~~~~~ + +Matches if two items are equal. For example:: + + def test_equals_example(self): + self.assertThat([42], Equals([42])) + + +Is +~~~ + +Matches if two items are identical. For example:: + + def test_is_example(self): + foo = object() + self.assertThat(foo, Is(foo)) + + +IsInstance +~~~~~~~~~~ + +Adapts isinstance() to use as a matcher. For example:: + + def test_isinstance_example(self): + class MyClass:pass + self.assertThat(MyClass(), IsInstance(MyClass)) + self.assertThat(MyClass(), IsInstance(MyClass, str)) + + +The raises helper +~~~~~~~~~~~~~~~~~ + +Matches if a callable raises a particular type of exception. For example:: + + def test_raises_example(self): + self.assertThat(lambda: 1/0, raises(ZeroDivisionError)) + +This is actually a convenience function that combines two other matchers: +Raises_ and MatchesException_. + + +DocTestMatches +~~~~~~~~~~~~~~ + +Matches a string as if it were the output of a doctest_ example. Very useful +for making assertions about large chunks of text. For example:: + + import doctest + + def test_doctest_example(self): + output = "Colorless green ideas" + self.assertThat( + output, + DocTestMatches("Colorless ... ideas", doctest.ELLIPSIS)) + +We highly recommend using the following flags:: + + doctest.ELLIPSIS | doctest.NORMALIZE_WHITESPACE | doctest.REPORT_NDIFF + + +GreaterThan +~~~~~~~~~~~ + +Matches if the given thing is greater than the thing in the matcher. For +example:: + + def test_greater_than_example(self): + self.assertThat(3, GreaterThan(2)) + + +LessThan +~~~~~~~~ + +Matches if the given thing is less than the thing in the matcher. For +example:: + + def test_less_than_example(self): + self.assertThat(2, LessThan(3)) + + +StartsWith, EndsWith +~~~~~~~~~~~~~~~~~~~~ + +These matchers check to see if a string starts with or ends with a particular +substring. For example:: + + def test_starts_and_ends_with_example(self): + self.assertThat('underground', StartsWith('und')) + self.assertThat('underground', EndsWith('und')) + + +Contains +~~~~~~~~ + +This matcher checks to see if the given thing contains the thing in the +matcher. For example:: + + def test_contains_example(self): + self.assertThat('abc', Contains('b')) + + +MatchesException +~~~~~~~~~~~~~~~~ + +Matches an exc_info tuple if the exception is of the correct type. For +example:: + + def test_matches_exception_example(self): + try: + raise RuntimeError('foo') + except RuntimeError: + exc_info = sys.exc_info() + self.assertThat(exc_info, MatchesException(RuntimeError)) + self.assertThat(exc_info, MatchesException(RuntimeError('bar'))) + +Most of the time, you will want to uses `The raises helper`_ instead. + + +NotEquals +~~~~~~~~~ + +Matches if something is not equal to something else. Note that this is subtly +different to ``Not(Equals(x))``. ``NotEquals(x)`` will match if ``y != x``, +``Not(Equals(x))`` will match if ``not y == x``. + +You only need to worry about this distinction if you are testing code that +relies on badly written overloaded equality operators. + + +KeysEqual +~~~~~~~~~ + +Matches if the keys of one dict are equal to the keys of another dict. For +example:: + + def test_keys_equal(self): + x = {'a': 1, 'b': 2} + y = {'a': 2, 'b': 3} + self.assertThat(x, KeysEqual(y)) + + +MatchesRegex +~~~~~~~~~~~~ + +Matches a string against a regular expression, which is a wonderful thing to +be able to do, if you think about it:: + + def test_matches_regex_example(self): + self.assertThat('foo', MatchesRegex('fo+')) + + +HasLength +~~~~~~~~~ + +Check the length of a collection. The following assertion will fail:: + + self.assertThat([1, 2, 3], HasLength(2)) + +But this one won't:: + + self.assertThat([1, 2, 3], HasLength(3)) + + +File- and path-related matchers +------------------------------- + +testtools also has a number of matchers to help with asserting things about +the state of the filesystem. + +PathExists +~~~~~~~~~~ + +Matches if a path exists:: + + self.assertThat('/', PathExists()) + + +DirExists +~~~~~~~~~ + +Matches if a path exists and it refers to a directory:: + + # This will pass on most Linux systems. + self.assertThat('/home/', DirExists()) + # This will not + self.assertThat('/home/jml/some-file.txt', DirExists()) + + +FileExists +~~~~~~~~~~ + +Matches if a path exists and it refers to a file (as opposed to a directory):: + + # This will pass on most Linux systems. + self.assertThat('/bin/true', FileExists()) + # This will not. + self.assertThat('/home/', FileExists()) + + +DirContains +~~~~~~~~~~~ + +Matches if the given directory contains the specified files and directories. +Say we have a directory ``foo`` that has the files ``a``, ``b`` and ``c``, +then:: + + self.assertThat('foo', DirContains(['a', 'b', 'c'])) + +will match, but:: + + self.assertThat('foo', DirContains(['a', 'b'])) + +will not. + +The matcher sorts both the input and the list of names we get back from the +filesystem. + +You can use this in a more advanced way, and match the sorted directory +listing against an arbitrary matcher:: + + self.assertThat('foo', DirContains(matcher=Contains('a'))) + + +FileContains +~~~~~~~~~~~~ + +Matches if the given file has the specified contents. Say there's a file +called ``greetings.txt`` with the contents, ``Hello World!``:: + + self.assertThat('greetings.txt', FileContains("Hello World!")) + +will match. + +You can also use this in a more advanced way, and match the contents of the +file against an arbitrary matcher:: + + self.assertThat('greetings.txt', FileContains(matcher=Contains('!'))) + + +HasPermissions +~~~~~~~~~~~~~~ + +Used for asserting that a file or directory has certain permissions. Uses +octal-mode permissions for both input and matching. For example:: + + self.assertThat('/tmp', HasPermissions('1777')) + self.assertThat('id_rsa', HasPermissions('0600')) + +This is probably more useful on UNIX systems than on Windows systems. + + +SamePath +~~~~~~~~ + +Matches if two paths actually refer to the same thing. The paths don't have +to exist, but if they do exist, ``SamePath`` will resolve any symlinks.:: + + self.assertThat('somefile', SamePath('childdir/../somefile')) + + +TarballContains +~~~~~~~~~~~~~~~ + +Matches the contents of a tarball. In many ways, much like ``DirContains``, +but instead of matching on ``os.listdir`` matches on ``TarFile.getnames``. + + +Combining matchers +------------------ + +One great thing about matchers is that you can readily combine existing +matchers to get variations on their behaviour or to quickly build more complex +assertions. + +Below are a few of the combining matchers that come with testtools. + + +Not +~~~ + +Negates another matcher. For example:: + + def test_not_example(self): + self.assertThat([42], Not(Equals("potato"))) + self.assertThat([42], Not(Is([42]))) + +If you find yourself using ``Not`` frequently, you may wish to create a custom +matcher for it. For example:: + + IsNot = lambda x: Not(Is(x)) + + def test_not_example_2(self): + self.assertThat([42], IsNot([42])) + + +Annotate +~~~~~~~~ + +Used to add custom notes to a matcher. For example:: + + def test_annotate_example(self): + result = 43 + self.assertThat( + result, Annotate("Not the answer to the Question!", Equals(42))) + +Since the annotation is only ever displayed when there is a mismatch +(e.g. when ``result`` does not equal 42), it's a good idea to phrase the note +negatively, so that it describes what a mismatch actually means. + +As with Not_, you may wish to create a custom matcher that describes a +common operation. For example:: + + PoliticallyEquals = lambda x: Annotate("Death to the aristos!", Equals(x)) + + def test_annotate_example_2(self): + self.assertThat("orange", PoliticallyEquals("yellow")) + +You can have assertThat perform the annotation for you as a convenience:: + + def test_annotate_example_3(self): + self.assertThat("orange", Equals("yellow"), "Death to the aristos!") + + +AfterPreprocessing +~~~~~~~~~~~~~~~~~~ + +Used to make a matcher that applies a function to the matched object before +matching. This can be used to aid in creating trivial matchers as functions, for +example:: + + def test_after_preprocessing_example(self): + def PathHasFileContent(content): + def _read(path): + return open(path).read() + return AfterPreprocessing(_read, Equals(content)) + self.assertThat('/tmp/foo.txt', PathHasFileContent("Hello world!")) + + +MatchesAll +~~~~~~~~~~ + +Combines many matchers to make a new matcher. The new matcher will only match +things that match every single one of the component matchers. + +It's much easier to understand in Python than in English:: + + def test_matches_all_example(self): + has_und_at_both_ends = MatchesAll(StartsWith("und"), EndsWith("und")) + # This will succeed. + self.assertThat("underground", has_und_at_both_ends) + # This will fail. + self.assertThat("found", has_und_at_both_ends) + # So will this. + self.assertThat("undead", has_und_at_both_ends) + +At this point some people ask themselves, "why bother doing this at all? why +not just have two separate assertions?". It's a good question. + +The first reason is that when a ``MatchesAll`` gets a mismatch, the error will +include information about all of the bits that mismatched. When you have two +separate assertions, as below:: + + def test_two_separate_assertions(self): + self.assertThat("foo", StartsWith("und")) + self.assertThat("foo", EndsWith("und")) + +Then you get absolutely no information from the second assertion if the first +assertion fails. Tests are largely there to help you debug code, so having +more information in error messages is a big help. + +The second reason is that it is sometimes useful to give a name to a set of +matchers. ``has_und_at_both_ends`` is a bit contrived, of course, but it is +clear. The ``FileExists`` and ``DirExists`` matchers included in testtools +are perhaps better real examples. + +If you want only the first mismatch to be reported, pass ``first_only=True`` +as a keyword parameter to ``MatchesAll``. + + +MatchesAny +~~~~~~~~~~ + +Like MatchesAll_, ``MatchesAny`` combines many matchers to make a new +matcher. The difference is that the new matchers will match a thing if it +matches *any* of the component matchers. + +For example:: + + def test_matches_any_example(self): + self.assertThat(42, MatchesAny(Equals(5), Not(Equals(6)))) + + +AllMatch +~~~~~~~~ + +Matches many values against a single matcher. Can be used to make sure that +many things all meet the same condition:: + + def test_all_match_example(self): + self.assertThat([2, 3, 5, 7], AllMatch(LessThan(10))) + +If the match fails, then all of the values that fail to match will be included +in the error message. + +In some ways, this is the converse of MatchesAll_. + + +MatchesListwise +~~~~~~~~~~~~~~~ + +Where ``MatchesAny`` and ``MatchesAll`` combine many matchers to match a +single value, ``MatchesListwise`` combines many matches to match many values. + +For example:: + + def test_matches_listwise_example(self): + self.assertThat( + [1, 2, 3], MatchesListwise(map(Equals, [1, 2, 3]))) + +This is useful for writing custom, domain-specific matchers. + +If you want only the first mismatch to be reported, pass ``first_only=True`` +to ``MatchesListwise``. + + +MatchesSetwise +~~~~~~~~~~~~~~ + +Combines many matchers to match many values, without regard to their order. + +Here's an example:: + + def test_matches_setwise_example(self): + self.assertThat( + [1, 2, 3], MatchesSetwise(Equals(2), Equals(3), Equals(1))) + +Much like ``MatchesListwise``, best used for writing custom, domain-specific +matchers. + + +MatchesStructure +~~~~~~~~~~~~~~~~ + +Creates a matcher that matches certain attributes of an object against a +pre-defined set of matchers. + +It's much easier to understand in Python than in English:: + + def test_matches_structure_example(self): + foo = Foo() + foo.a = 1 + foo.b = 2 + matcher = MatchesStructure(a=Equals(1), b=Equals(2)) + self.assertThat(foo, matcher) + +Since all of the matchers used were ``Equals``, we could also write this using +the ``byEquality`` helper:: + + def test_matches_structure_example(self): + foo = Foo() + foo.a = 1 + foo.b = 2 + matcher = MatchesStructure.byEquality(a=1, b=2) + self.assertThat(foo, matcher) + +``MatchesStructure.fromExample`` takes an object and a list of attributes and +creates a ``MatchesStructure`` matcher where each attribute of the matched +object must equal each attribute of the example object. For example:: + + matcher = MatchesStructure.fromExample(foo, 'a', 'b') + +is exactly equivalent to ``matcher`` in the previous example. + + +MatchesPredicate +~~~~~~~~~~~~~~~~ + +Sometimes, all you want to do is create a matcher that matches if a given +function returns True, and mismatches if it returns False. + +For example, you might have an ``is_prime`` function and want to make a +matcher based on it:: + + def test_prime_numbers(self): + IsPrime = MatchesPredicate(is_prime, '%s is not prime.') + self.assertThat(7, IsPrime) + self.assertThat(1983, IsPrime) + # This will fail. + self.assertThat(42, IsPrime) + +Which will produce the error message:: + + Traceback (most recent call last): + File "...", line ..., in test_prime_numbers + self.assertThat(42, IsPrime) + MismatchError: 42 is not prime. + + +MatchesPredicateWithParams +~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Sometimes you can't use a trivial predicate and instead need to pass in some +parameters each time. In that case, MatchesPredicateWithParams is your go-to +tool for creating ad hoc matchers. MatchesPredicateWithParams takes a predicate +function and message and returns a factory to produce matchers from that. The +predicate needs to return a boolean (or any truthy object), and accept the +object to match + whatever was passed into the factory. + +For example, you might have an ``divisible`` function and want to make a +matcher based on it:: + + def test_divisible_numbers(self): + IsDivisibleBy = MatchesPredicateWithParams( + divisible, '{0} is not divisible by {1}') + self.assertThat(7, IsDivisibleBy(1)) + self.assertThat(7, IsDivisibleBy(7)) + self.assertThat(7, IsDivisibleBy(2)) + # This will fail. + +Which will produce the error message:: + + Traceback (most recent call last): + File "...", line ..., in test_divisible + self.assertThat(7, IsDivisibleBy(2)) + MismatchError: 7 is not divisible by 2. + + +Raises +~~~~~~ + +Takes whatever the callable raises as an exc_info tuple and matches it against +whatever matcher it was given. For example, if you want to assert that a +callable raises an exception of a given type:: + + def test_raises_example(self): + self.assertThat( + lambda: 1/0, Raises(MatchesException(ZeroDivisionError))) + +Although note that this could also be written as:: + + def test_raises_example_convenient(self): + self.assertThat(lambda: 1/0, raises(ZeroDivisionError)) + +See also MatchesException_ and `the raises helper`_ + + +Writing your own matchers +------------------------- + +Combining matchers is fun and can get you a very long way indeed, but +sometimes you will have to write your own. Here's how. + +You need to make two closely-linked objects: a ``Matcher`` and a +``Mismatch``. The ``Matcher`` knows how to actually make the comparison, and +the ``Mismatch`` knows how to describe a failure to match. + +Here's an example matcher:: + + class IsDivisibleBy(object): + """Match if a number is divisible by another number.""" + def __init__(self, divider): + self.divider = divider + def __str__(self): + return 'IsDivisibleBy(%s)' % (self.divider,) + def match(self, actual): + remainder = actual % self.divider + if remainder != 0: + return IsDivisibleByMismatch(actual, self.divider, remainder) + else: + return None + +The matcher has a constructor that takes parameters that describe what you +actually *expect*, in this case a number that other numbers ought to be +divisible by. It has a ``__str__`` method, the result of which is displayed +on failure by ``assertThat`` and a ``match`` method that does the actual +matching. + +``match`` takes something to match against, here ``actual``, and decides +whether or not it matches. If it does match, then ``match`` must return +``None``. If it does *not* match, then ``match`` must return a ``Mismatch`` +object. ``assertThat`` will call ``match`` and then fail the test if it +returns a non-None value. For example:: + + def test_is_divisible_by_example(self): + # This succeeds, since IsDivisibleBy(5).match(10) returns None. + self.assertThat(10, IsDivisibleBy(5)) + # This fails, since IsDivisibleBy(7).match(10) returns a mismatch. + self.assertThat(10, IsDivisibleBy(7)) + +The mismatch is responsible for what sort of error message the failing test +generates. Here's an example mismatch:: + + class IsDivisibleByMismatch(object): + def __init__(self, number, divider, remainder): + self.number = number + self.divider = divider + self.remainder = remainder + + def describe(self): + return "%r is not divisible by %r, %r remains" % ( + self.number, self.divider, self.remainder) + + def get_details(self): + return {} + +The mismatch takes information about the mismatch, and provides a ``describe`` +method that assembles all of that into a nice error message for end users. +You can use the ``get_details`` method to provide extra, arbitrary data with +the mismatch (e.g. the contents of a log file). Most of the time it's fine to +just return an empty dict. You can read more about Details_ elsewhere in this +document. + +Sometimes you don't need to create a custom mismatch class. In particular, if +you don't care *when* the description is calculated, then you can just do that +in the Matcher itself like this:: + + def match(self, actual): + remainder = actual % self.divider + if remainder != 0: + return Mismatch( + "%r is not divisible by %r, %r remains" % ( + actual, self.divider, remainder)) + else: + return None + +When writing a ``describe`` method or constructing a ``Mismatch`` object the +code should ensure it only emits printable unicode. As this output must be +combined with other text and forwarded for presentation, letting through +non-ascii bytes of ambiguous encoding or control characters could throw an +exception or mangle the display. In most cases simply avoiding the ``%s`` +format specifier and using ``%r`` instead will be enough. For examples of +more complex formatting see the ``testtools.matchers`` implementatons. + + +Details +======= + +As we may have mentioned once or twice already, one of the great benefits of +automated tests is that they help find, isolate and debug errors in your +system. + +Frequently however, the information provided by a mere assertion failure is +not enough. It's often useful to have other information: the contents of log +files; what queries were run; benchmark timing information; what state certain +subsystem components are in and so forth. + +testtools calls all of these things "details" and provides a single, powerful +mechanism for including this information in your test run. + +Here's an example of how to add them:: + + from testtools import TestCase + from testtools.content import text_content + + class TestSomething(TestCase): + + def test_thingy(self): + self.addDetail('arbitrary-color-name', text_content("blue")) + 1 / 0 # Gratuitous error! + +A detail an arbitrary piece of content given a name that's unique within the +test. Here the name is ``arbitrary-color-name`` and the content is +``text_content("blue")``. The name can be any text string, and the content +can be any ``testtools.content.Content`` object. + +When the test runs, testtools will show you something like this:: + + ====================================================================== + ERROR: exampletest.TestSomething.test_thingy + ---------------------------------------------------------------------- + arbitrary-color-name: {{{blue}}} + + Traceback (most recent call last): + File "exampletest.py", line 8, in test_thingy + 1 / 0 # Gratuitous error! + ZeroDivisionError: integer division or modulo by zero + ------------ + Ran 1 test in 0.030s + +As you can see, the detail is included as an attachment, here saying +that our arbitrary-color-name is "blue". + + +Content +------- + +For the actual content of details, testtools uses its own MIME-based Content +object. This allows you to attach any information that you could possibly +conceive of to a test, and allows testtools to use or serialize that +information. + +The basic ``testtools.content.Content`` object is constructed from a +``testtools.content.ContentType`` and a nullary callable that must return an +iterator of chunks of bytes that the content is made from. + +So, to make a Content object that is just a simple string of text, you can +do:: + + from testtools.content import Content + from testtools.content_type import ContentType + + text = Content(ContentType('text', 'plain'), lambda: ["some text"]) + +Because adding small bits of text content is very common, there's also a +convenience method:: + + text = text_content("some text") + +To make content out of an image stored on disk, you could do something like:: + + image = Content(ContentType('image', 'png'), lambda: open('foo.png').read()) + +Or you could use the convenience function:: + + image = content_from_file('foo.png', ContentType('image', 'png')) + +The ``lambda`` helps make sure that the file is opened and the actual bytes +read only when they are needed – by default, when the test is finished. This +means that tests can construct and add Content objects freely without worrying +too much about how they affect run time. + + +A realistic example +------------------- + +A very common use of details is to add a log file to failing tests. Say your +project has a server represented by a class ``SomeServer`` that you can start +up and shut down in tests, but runs in another process. You want to test +interaction with that server, and whenever the interaction fails, you want to +see the client-side error *and* the logs from the server-side. Here's how you +might do it:: + + from testtools import TestCase + from testtools.content import attach_file, Content + from testtools.content_type import UTF8_TEXT + + from myproject import SomeServer + + class SomeTestCase(TestCase): + + def setUp(self): + super(SomeTestCase, self).setUp() + self.server = SomeServer() + self.server.start_up() + self.addCleanup(self.server.shut_down) + self.addCleanup(attach_file, self.server.logfile, self) + + def attach_log_file(self): + self.addDetail( + 'log-file', + Content(UTF8_TEXT, + lambda: open(self.server.logfile, 'r').readlines())) + + def test_a_thing(self): + self.assertEqual("cool", self.server.temperature) + +This test will attach the log file of ``SomeServer`` to each test that is +run. testtools will only display the log file for failing tests, so it's not +such a big deal. + +If the act of adding at detail is expensive, you might want to use +addOnException_ so that you only do it when a test actually raises an +exception. + + +Controlling test execution +========================== + +.. _addCleanup: + +addCleanup +---------- + +``TestCase.addCleanup`` is a robust way to arrange for a clean up function to +be called before ``tearDown``. This is a powerful and simple alternative to +putting clean up logic in a try/finally block or ``tearDown`` method. For +example:: + + def test_foo(self): + foo.lock() + self.addCleanup(foo.unlock) + ... + +This is particularly useful if you have some sort of factory in your test:: + + def make_locked_foo(self): + foo = Foo() + foo.lock() + self.addCleanup(foo.unlock) + return foo + + def test_frotz_a_foo(self): + foo = self.make_locked_foo() + foo.frotz() + self.assertEqual(foo.frotz_count, 1) + +Any extra arguments or keyword arguments passed to ``addCleanup`` are passed +to the callable at cleanup time. + +Cleanups can also report multiple errors, if appropriate by wrapping them in +a ``testtools.MultipleExceptions`` object:: + + raise MultipleExceptions(exc_info1, exc_info2) + + +Fixtures +-------- + +Tests often depend on a system being set up in a certain way, or having +certain resources available to them. Perhaps a test needs a connection to the +database or access to a running external server. + +One common way of doing this is to do:: + + class SomeTest(TestCase): + def setUp(self): + super(SomeTest, self).setUp() + self.server = Server() + self.server.setUp() + self.addCleanup(self.server.tearDown) + +testtools provides a more convenient, declarative way to do the same thing:: + + class SomeTest(TestCase): + def setUp(self): + super(SomeTest, self).setUp() + self.server = self.useFixture(Server()) + +``useFixture(fixture)`` calls ``setUp`` on the fixture, schedules a clean up +to clean it up, and schedules a clean up to attach all details_ held by the +fixture to the test case. The fixture object must meet the +``fixtures.Fixture`` protocol (version 0.3.4 or newer, see fixtures_). + +If you have anything beyond the most simple test set up, we recommend that +you put this set up into a ``Fixture`` class. Once there, the fixture can be +easily re-used by other tests and can be combined with other fixtures to make +more complex resources. + + +Skipping tests +-------------- + +Many reasons exist to skip a test: a dependency might be missing; a test might +be too expensive and thus should not berun while on battery power; or perhaps +the test is testing an incomplete feature. + +``TestCase.skipTest`` is a simple way to have a test stop running and be +reported as a skipped test, rather than a success, error or failure. For +example:: + + def test_make_symlink(self): + symlink = getattr(os, 'symlink', None) + if symlink is None: + self.skipTest("No symlink support") + symlink(whatever, something_else) + +Using ``skipTest`` means that you can make decisions about what tests to run +as late as possible, and close to the actual tests. Without it, you might be +forced to use convoluted logic during test loading, which is a bit of a mess. + + +Legacy skip support +~~~~~~~~~~~~~~~~~~~ + +If you are using this feature when running your test suite with a legacy +``TestResult`` object that is missing the ``addSkip`` method, then the +``addError`` method will be invoked instead. If you are using a test result +from testtools, you do not have to worry about this. + +In older versions of testtools, ``skipTest`` was known as ``skip``. Since +Python 2.7 added ``skipTest`` support, the ``skip`` name is now deprecated. +No warning is emitted yet – some time in the future we may do so. + + +addOnException +-------------- + +Sometimes, you might wish to do something only when a test fails. Perhaps you +need to run expensive diagnostic routines or some such. +``TestCase.addOnException`` allows you to easily do just this. For example:: + + class SomeTest(TestCase): + def setUp(self): + super(SomeTest, self).setUp() + self.server = self.useFixture(SomeServer()) + self.addOnException(self.attach_server_diagnostics) + + def attach_server_diagnostics(self, exc_info): + self.server.prep_for_diagnostics() # Expensive! + self.addDetail('server-diagnostics', self.server.get_diagnostics) + + def test_a_thing(self): + self.assertEqual('cheese', 'chalk') + +In this example, ``attach_server_diagnostics`` will only be called when a test +fails. It is given the exc_info tuple of the error raised by the test, just +in case it is needed. + + +Twisted support +--------------- + +testtools provides *highly experimental* support for running Twisted tests – +tests that return a Deferred_ and rely on the Twisted reactor. You should not +use this feature right now. We reserve the right to change the API and +behaviour without telling you first. + +However, if you are going to, here's how you do it:: + + from testtools import TestCase + from testtools.deferredruntest import AsynchronousDeferredRunTest + + class MyTwistedTests(TestCase): + + run_tests_with = AsynchronousDeferredRunTest + + def test_foo(self): + # ... + return d + +In particular, note that you do *not* have to use a special base ``TestCase`` +in order to run Twisted tests. + +You can also run individual tests within a test case class using the Twisted +test runner:: + + class MyTestsSomeOfWhichAreTwisted(TestCase): + + def test_normal(self): + pass + + @run_test_with(AsynchronousDeferredRunTest) + def test_twisted(self): + # ... + return d + +Here are some tips for converting your Trial tests into testtools tests. + +* Use the ``AsynchronousDeferredRunTest`` runner +* Make sure to upcall to ``setUp`` and ``tearDown`` +* Don't use ``setUpClass`` or ``tearDownClass`` +* Don't expect setting .todo, .timeout or .skip attributes to do anything +* ``flushLoggedErrors`` is ``testtools.deferredruntest.flush_logged_errors`` +* ``assertFailure`` is ``testtools.deferredruntest.assert_fails_with`` +* Trial spins the reactor a couple of times before cleaning it up, + ``AsynchronousDeferredRunTest`` does not. If you rely on this behavior, use + ``AsynchronousDeferredRunTestForBrokenTwisted``. + +force_failure +------------- + +Setting the ``testtools.TestCase.force_failure`` instance variable to ``True`` +will cause the test to be marked as a failure, but won't stop the test code +from running (see :ref:`force_failure`). + + +Test helpers +============ + +testtools comes with a few little things that make it a little bit easier to +write tests. + + +TestCase.patch +-------------- + +``patch`` is a convenient way to monkey-patch a Python object for the duration +of your test. It's especially useful for testing legacy code. e.g.:: + + def test_foo(self): + my_stream = StringIO() + self.patch(sys, 'stderr', my_stream) + run_some_code_that_prints_to_stderr() + self.assertEqual('', my_stream.getvalue()) + +The call to ``patch`` above masks ``sys.stderr`` with ``my_stream`` so that +anything printed to stderr will be captured in a StringIO variable that can be +actually tested. Once the test is done, the real ``sys.stderr`` is restored to +its rightful place. + + +Creation methods +---------------- + +Often when writing unit tests, you want to create an object that is a +completely normal instance of its type. You don't want there to be anything +special about its properties, because you are testing generic behaviour rather +than specific conditions. + +A lot of the time, test authors do this by making up silly strings and numbers +and passing them to constructors (e.g. 42, 'foo', "bar" etc), and that's +fine. However, sometimes it's useful to be able to create arbitrary objects +at will, without having to make up silly sample data. + +To help with this, ``testtools.TestCase`` implements creation methods called +``getUniqueString`` and ``getUniqueInteger``. They return strings and +integers that are unique within the context of the test that can be used to +assemble more complex objects. Here's a basic example where +``getUniqueString`` is used instead of saying "foo" or "bar" or whatever:: + + class SomeTest(TestCase): + + def test_full_name(self): + first_name = self.getUniqueString() + last_name = self.getUniqueString() + p = Person(first_name, last_name) + self.assertEqual(p.full_name, "%s %s" % (first_name, last_name)) + + +And here's how it could be used to make a complicated test:: + + class TestCoupleLogic(TestCase): + + def make_arbitrary_person(self): + return Person(self.getUniqueString(), self.getUniqueString()) + + def test_get_invitation(self): + a = self.make_arbitrary_person() + b = self.make_arbitrary_person() + couple = Couple(a, b) + event_name = self.getUniqueString() + invitation = couple.get_invitation(event_name) + self.assertEqual( + invitation, + "We invite %s and %s to %s" % ( + a.full_name, b.full_name, event_name)) + +Essentially, creation methods like these are a way of reducing the number of +assumptions in your tests and communicating to test readers that the exact +details of certain variables don't actually matter. + +See pages 419-423 of `xUnit Test Patterns`_ by Gerard Meszaros for a detailed +discussion of creation methods. + +Test attributes +--------------- + +Inspired by the ``nosetests`` ``attr`` plugin, testtools provides support for +marking up test methods with attributes, which are then exposed in the test +id and can be used when filtering tests by id. (e.g. via ``--load-list``):: + + from testtools.testcase import attr, WithAttributes + + class AnnotatedTests(WithAttributes, TestCase): + + @attr('simple') + def test_one(self): + pass + + @attr('more', 'than', 'one') + def test_two(self): + pass + + @attr('or') + @attr('stacked') + def test_three(self): + pass + +General helpers +=============== + +Conditional imports +------------------- + +Lots of the time we would like to conditionally import modules. testtools +uses the small library extras to do this. This used to be part of testtools. + +Instead of:: + + try: + from twisted.internet import defer + except ImportError: + defer = None + +You can do:: + + defer = try_import('twisted.internet.defer') + + +Instead of:: + + try: + from StringIO import StringIO + except ImportError: + from io import StringIO + +You can do:: + + StringIO = try_imports(['StringIO.StringIO', 'io.StringIO']) + + +Safe attribute testing +---------------------- + +``hasattr`` is broken_ on many versions of Python. The helper ``safe_hasattr`` +can be used to safely test whether an object has a particular attribute. Like +``try_import`` this used to be in testtools but is now in extras. + + +Nullary callables +----------------- + +Sometimes you want to be able to pass around a function with the arguments +already specified. The normal way of doing this in Python is:: + + nullary = lambda: f(*args, **kwargs) + nullary() + +Which is mostly good enough, but loses a bit of debugging information. If you +take the ``repr()`` of ``nullary``, you're only told that it's a lambda, and +you get none of the juicy meaning that you'd get from the ``repr()`` of ``f``. + +The solution is to use ``Nullary`` instead:: + + nullary = Nullary(f, *args, **kwargs) + nullary() + +Here, ``repr(nullary)`` will be the same as ``repr(f)``. + + +.. _testrepository: https://launchpad.net/testrepository +.. _Trial: http://twistedmatrix.com/documents/current/core/howto/testing.html +.. _nose: http://somethingaboutorange.com/mrl/projects/nose/ +.. _unittest2: http://pypi.python.org/pypi/unittest2 +.. _zope.testrunner: http://pypi.python.org/pypi/zope.testrunner/ +.. _xUnit test patterns: http://xunitpatterns.com/ +.. _fixtures: http://pypi.python.org/pypi/fixtures +.. _unittest: http://docs.python.org/library/unittest.html +.. _doctest: http://docs.python.org/library/doctest.html +.. _Deferred: http://twistedmatrix.com/documents/current/core/howto/defer.html +.. _discover: http://pypi.python.org/pypi/discover +.. _Distutils: http://docs.python.org/library/distutils.html +.. _`setup configuration`: http://docs.python.org/distutils/configfile.html +.. _broken: http://chipaca.com/post/3210673069/hasattr-17-less-harmful diff --git a/_sources/hacking.txt b/_sources/hacking.txt new file mode 100644 index 0000000..a5dca72 --- /dev/null +++ b/_sources/hacking.txt @@ -0,0 +1,201 @@ +========================= +Contributing to testtools +========================= + +Getting the code +---------------- + +Clone from `github <https://github.com/testing-cabal/testools/>`. +Install for development:: + + pip install -e .[dev,test] + +Bugs and patches +---------------- + +`File bugs <https://bugs.launchpad.net/testtools/+filebug>` on Launchpad, and +`send patches <https://github.com/testing-cabal/testtools/>` on Github. + + +Coding style +------------ + +In general, follow `PEP 8`_ except where consistency with the standard +library's unittest_ module would suggest otherwise. + +testtools currently supports Python 2.6 and later, including Python 3. + +Copyright assignment +-------------------- + +Part of testtools raison d'etre is to provide Python with improvements to the +testing code it ships. For that reason we require all contributions (that are +non-trivial) to meet one of the following rules: + +* be inapplicable for inclusion in Python. +* be able to be included in Python without further contact with the contributor. +* be copyright assigned to Jonathan M. Lange. + +Please pick one of these and specify it when contributing code to testtools. + + +Licensing +--------- + +All code that is not copyright assigned to Jonathan M. Lange (see Copyright +Assignment above) needs to be licensed under the `MIT license`_ that testtools +uses, so that testtools can ship it. + + +Testing +------- + +Please write tests for every feature. This project ought to be a model +example of well-tested Python code! + +Take particular care to make sure the *intent* of each test is clear. + +You can run tests with ``make check``. + +By default, testtools hides many levels of its own stack when running tests. +This is for the convenience of users, who do not care about how, say, assert +methods are implemented. However, when writing tests for testtools itself, it +is often useful to see all levels of the stack. To do this, add +``run_tests_with = FullStackRunTest`` to the top of a test's class definition. + +To install all the test dependencies, install the ``test`` extra:: + + pip install e .[test] + +Discussion +---------- + +When submitting a patch, it will help the review process a lot if there's a +clear explanation of what the change does and why you think the change is a +good idea. For crasher bugs, this is generally a no-brainer, but for UI bugs +& API tweaks, the reason something is an improvement might not be obvious, so +it's worth spelling out. + +If you are thinking of implementing a new feature, you might want to have that +discussion on the [mailing list](testtools-dev@lists.launchpad.net) before the +patch goes up for review. This is not at all mandatory, but getting feedback +early can help avoid dead ends. + + +Documentation +------------- + +Documents are written using the Sphinx_ variant of reStructuredText_. All +public methods, functions, classes and modules must have API documentation. +When changing code, be sure to check the API documentation to see if it could +be improved. Before submitting changes to trunk, look over them and see if +the manuals ought to be updated. + + +Source layout +------------- + +The top-level directory contains the ``testtools/`` package directory, and +miscellaneous files like ``README.rst`` and ``setup.py``. + +The ``testtools/`` directory is the Python package itself. It is separated +into submodules for internal clarity, but all public APIs should be “promoted” +into the top-level package by importing them in ``testtools/__init__.py``. +Users of testtools should never import a submodule in order to use a stable +API. Unstable APIs like ``testtools.matchers`` and +``testtools.deferredruntest`` should be exported as submodules. + +Tests belong in ``testtools/tests/``. + + +Committing to trunk +------------------- + +Testtools is maintained using git, with its master repo at +https://github.com/testing-cabal/testtools. This gives every contributor the +ability to commit their work to their own branches. However permission must be +granted to allow contributors to commit to the trunk branch. + +Commit access to trunk is obtained by joining the `testing-cabal`_, either as an +Owner or a Committer. Commit access is contingent on obeying the testtools +contribution policy, see `Copyright Assignment`_ above. + + +Code Review +----------- + +All code must be reviewed before landing on trunk. The process is to create a +branch on Github, and make a pull request into trunk. It will then be reviewed +before it can be merged to trunk. It will be reviewed by someone: + +* not the author +* a committer + +As a special exception, since there are few testtools committers and thus +reviews are prone to blocking, a pull request from a committer that has not been +reviewed after 24 hours may be merged by that committer. When the team is larger +this policy will be revisited. + +Code reviewers should look for the quality of what is being submitted, +including conformance with this HACKING file. + +Changes which all users should be made aware of should be documented in NEWS. + +We are now in full backwards compatibility mode - no more releases < 1.0.0, and +breaking compatibility will require consensus on the testtools-dev mailing list. +Exactly what constitutes a backwards incompatible change is vague, but coarsely: + +* adding required arguments or required calls to something that used to work +* removing keyword or position arguments, removing methods, functions or modules +* changing behaviour someone may have reasonably depended on + +Some things are not compatibility issues: + +* changes to _ prefixed methods, functions, modules, packages. + + +NEWS management +--------------- + +The file NEWS is structured as a sorted list of releases. Each release can have +a free form description and more or more sections with bullet point items. +Sections in use today are 'Improvements' and 'Changes'. To ease merging between +branches, the bullet points are kept alphabetically sorted. The release NEXT is +permanently present at the top of the list. + + +Releasing +--------- + +Prerequisites ++++++++++++++ + +Membership in the testing-cabal org on github as committer. + +Membership in the pypi testtools project as maintainer. + +Membership in the https://launchpad.net/~testtools-committers. + +Tasks ++++++ + +#. Choose a version number, say X.Y.Z +#. Under NEXT in NEWS add a heading with the version number X.Y.Z. +#. Possibly write a blurb into NEWS. +#. Commit the changes. +#. Tag the release, ``git tag -s X.Y.Z -m "Releasing X.Y.Z"`` +#. Run 'make release', this: + #. Creates a source distribution and uploads to PyPI + #. Ensures all Fix Committed bugs are in the release milestone + #. Makes a release on Launchpad and uploads the tarball + #. Marks all the Fix Committed bugs as Fix Released + #. Creates a new milestone +#. If a new series has been created (e.g. 0.10.0), make the series on Launchpad. +#. Push trunk to Github, ``git push --tags origin master`` + +.. _PEP 8: http://www.python.org/dev/peps/pep-0008/ +.. _unittest: http://docs.python.org/library/unittest.html +.. _MIT license: http://www.opensource.org/licenses/mit-license.php +.. _Sphinx: http://sphinx.pocoo.org/ +.. _restructuredtext: http://docutils.sourceforge.net/rst.html +.. _testing-cabal: https://github.com/organizations/testing-cabal/ diff --git a/_sources/index.txt b/_sources/index.txt new file mode 100644 index 0000000..a6c05a9 --- /dev/null +++ b/_sources/index.txt @@ -0,0 +1,36 @@ +.. testtools documentation master file, created by + sphinx-quickstart on Sun Nov 28 13:45:40 2010. + You can adapt this file completely to your liking, but it should at least + contain the root `toctree` directive. + +testtools: tasteful testing for Python +====================================== + +testtools is a set of extensions to the Python standard library's unit testing +framework. These extensions have been derived from many years of experience +with unit testing in Python and come from many different sources. testtools +also ports recent unittest changes all the way back to Python 2.4. The next +release of testtools will change that to support versions that are maintained +by the Python community instead, to allow the use of modern language features +within testtools. + + +Contents: + +.. toctree:: + :maxdepth: 1 + + overview + for-test-authors + for-framework-folk + hacking + Changes to testtools <news> + API reference documentation <api> + +Indices and tables +================== + +* :ref:`genindex` +* :ref:`modindex` +* :ref:`search` + diff --git a/_sources/news.txt b/_sources/news.txt new file mode 100644 index 0000000..dae4dba --- /dev/null +++ b/_sources/news.txt @@ -0,0 +1,1535 @@ +testtools NEWS +++++++++++++++ + +Changes and improvements to testtools_, grouped by release. + + +NEXT +~~~~ + +1.8.0 +~~~~~ + +Improvements +------------ + +* AsynchronousDeferredRunTest now correctly attaches the test log. + Previously it attached an empty file. (Colin Watson) + +1.7.1 +~~~~~ + +Improvements +------------ + +* Building a wheel on Python 3 was missing ``_compat2x.py`` needed for Python2. + This was a side effect of the fix to bug #941958, where we fixed a cosmetic + error. (Robert Collins, #1430534) + +* During reporting in ``TextTestResult`` now always uses ``ceil`` rather than + depending on the undefined rounding behaviour in string formatting. + (Robert Collins) + +1.7.0 +~~~~~ + +Improvements +------------ + +* Empty attachments to tests were triggering a file payload of None in the + ``ExtendedToStreamDecorator`` code, which caused multiple copies of + attachments that had been output prior to the empty one. + (Robert Collins, #1378609) + +1.6.1 +~~~~~ + +Changes +------- + +* Fix installing when ``extras`` is not already installed. Our guards + for the absence of unittest2 were not sufficient. + (Robert Collins, #1430076) + +1.6.0 +~~~~~ + +Improvements +------------ + +* ``testtools.run`` now accepts ``--locals`` to show local variables + in tracebacks, which can be a significant aid in debugging. In doing + so we've removed the code reimplementing linecache and traceback by + using the new traceback2 and linecache2 packages. + (Robert Collins, github #111) + +Changes +------- + +* ``testtools`` now depends on ``unittest2`` 1.0.0 which brings in a dependency + on ``traceback2`` and via it ``linecache2``. (Robert Collins) + +1.5.0 +~~~~~ + +Improvements +------------ + +* When an import error happens ``testtools.run`` will now show the full + error rather than just the name of the module that failed to import. + (Robert Collins) + +1.4.0 +~~~~~ + +Changes +------- + +* ``testtools.TestCase`` now inherits from unittest2.TestCase, which + provides a ``setUpClass`` for upcalls on Python 2.6. + (Robert Collins, #1393283) + +1.3.0 +~~~~~ + +Changes +------- + +* Fixed our setup.py to use setup_requires to ensure the import dependencies + for testtools are present before setup.py runs (as setup.py imports testtools + to read out the version number). (Robert Collins) + +* Support setUpClass skipping with self.skipException. Previously this worked + with unittest from 2.7 and above but was not supported by testtools - it was + a happy accident. Since we now hard depend on unittest2, we need to invert + our exception lookup priorities to support it. Regular skips done through + raise self.skipException will continue to work, since they were always caught + in our code - its because the suite type being used to implement setUpClass + has changed that an issue occured. + (Robert Collins, #1393068) + +1.2.1 +~~~~~ + +Changes +------- + +* Correctly express our unittest2 dependency: we don't work with old releases. + (Robert Collins) + +1.2.0 +~~~~~ + +Changes +------- + +* Depends on unittest2 for discovery functionality and the ``TestProgram`` base + class. This brings in many fixes made to discovery where previously we were + only using the discovery package or the version in the release of Python + that the test execution was occuring on. (Robert Collins, #1271133) + +* Fixed unit tests which were failing under pypy due to a change in the way + pypy formats tracebacks. (Thomi Richards) + +* Fixed the testtools test suite to run correctly when run via ``unit2`` + or ``testtools.run discover``. + +* Make `testtools.content.text_content` error if anything other than text + is given as content. (Thomi Richards) + +* We now publish wheels of testtools. (Robert Collins, #issue84) + +1.1.0 +~~~~~ + +Improvements +------------ + +* Exceptions in a ``fixture.getDetails`` method will no longer mask errors + raised from the same fixture's ``setUp`` method. + (Robert Collins, #1368440) + +1.0.0 +~~~~~ + +Long overdue, we've adopted a backwards compatibility statement and recognized +that we have plenty of users depending on our behaviour - calling our version +1.0.0 is a recognition of that. + +Improvements +------------ + +* Fix a long-standing bug where tearDown and cleanUps would not be called if the + test run was interrupted. This should fix leaking external resources from + interrupted tests. + (Robert Collins, #1364188) + +* Fix a long-standing bug where calling sys.exit(0) from within a test would + cause the test suite to exit with 0, without reporting a failure of that + test. We still allow the test suite to be exited (since catching higher order + exceptions requires exceptional circumstances) but we now call a last-resort + handler on the TestCase, resulting in an error being reported for the test. + (Robert Collins, #1364188) + +* Fix an issue where tests skipped with the ``skip``* family of decorators would + still have their ``setUp`` and ``tearDown`` functions called. + (Thomi Richards, #https://github.com/testing-cabal/testtools/issues/86) + +* We have adopted a formal backwards compatibility statement (see hacking.rst) + (Robert Collins) + +0.9.39 +~~~~~~ + +Brown paper bag release - 0.9.38 was broken for some users, +_jython_aware_splitext was not defined entirely compatibly. +(Robert Collins, #https://github.com/testing-cabal/testtools/issues/100) + +0.9.38 +~~~~~~ + +Bug fixes for test importing. + +Improvements +------------ + +* Discovery import error detection wasn't implemented for python 2.6 (the + 'discover' module). (Robert Collins) + +* Discovery now executes load_tests (if present) in __init__ in all packages. + (Robert Collins, http://bugs.python.org/issue16662) + +0.9.37 +~~~~~~ + +Minor improvements to correctness. + +Changes +------- + +* ``stdout`` is now correctly honoured on ``run.TestProgram`` - before the + runner objects would be created with no stdout parameter. If construction + fails, the previous parameter list is attempted, permitting compatibility + with Runner classes that don't accept stdout as a parameter. + (Robert Collins) + +* The ``ExtendedToStreamDecorator`` now handles content objects with one less + packet - the last packet of the source content is sent with EOF set rather + than an empty packet with EOF set being sent after the last packet of the + source content. (Robert Collins) + +0.9.36 +~~~~~~ + +Welcome to our long overdue 0.9.36 release, which improves compatibility with +Python3.4, adds assert_that, a function for using matchers without TestCase +objects, and finally will error if you try to use setUp or tearDown twice - +since that invariably leads to bad things of one sort or another happening. + +Changes +------- + +* Error if ``setUp`` or ``tearDown`` are called twice. + (Robert Collins, #882884) + +* Make testtools compatible with the ``unittest.expectedFailure`` decorator in + Python 3.4. (Thomi Richards) + + +Improvements +------------ + +* Introduce the assert_that function, which allows matchers to be used + independent of testtools.TestCase. (Daniel Watkins, #1243834) + + +0.9.35 +~~~~~~ + +Changes +------- + +* Removed a number of code paths where Python 2.4 and Python 2.5 were + explicitly handled. (Daniel Watkins) + +Improvements +------------ + +* Added the ``testtools.TestCase.expectThat`` method, which implements + delayed assertions. (Thomi Richards) + +* Docs are now built as part of the Travis-CI build, reducing the chance of + Read The Docs being broken accidentally. (Daniel Watkins, #1158773) + +0.9.34 +~~~~~~ + +Improvements +------------ + +* Added ability for ``testtools.TestCase`` instances to force a test to + fail, even if no assertions failed. (Thomi Richards) + +* Added ``testtools.content.StacktraceContent``, a content object that + automatically creates a ``StackLinesContent`` object containing the current + stack trace. (Thomi Richards) + +* ``AnyMatch`` is now exported properly in ``testtools.matchers``. + (Robert Collins, Rob Kennedy, github #44) + +* In Python 3.3, if there are duplicate test ids, tests.sort() will + fail and raise TypeError. Detect the duplicate test ids firstly in + sorted_tests() to ensure that all test ids are unique. + (Kui Shi, #1243922) + +* ``json_content`` is now in the ``__all__`` attribute for + ``testtools.content``. (Robert Collins) + +* Network tests now bind to 127.0.0.1 to avoid (even temporary) network + visible ports. (Benedikt Morbach, github #46) + +* Test listing now explicitly indicates by printing 'Failed to import' and + exiting (2) when an import has failed rather than only signalling through the + test name. (Robert Collins, #1245672) + +* ``test_compat.TestDetectEncoding.test_bom`` now works on Python 3.3 - the + corner case with euc_jp is no longer permitted in Python 3.3 so we can + skip it. (Martin [gz], #1251962) + +0.9.33 +~~~~~~ + +Improvements +------------ + +* Added ``addDetailuniqueName`` method to ``testtools.TestCase`` class. + (Thomi Richards) + +* Removed some unused code from ``testtools.content.TracebackContent``. + (Thomi Richards) + +* Added ``testtools.StackLinesContent``: a content object for displaying + pre-processed stack lines. (Thomi Richards) + +* ``StreamSummary`` was calculating testsRun incorrectly: ``exists`` status + tests were counted as run tests, but they are not. + (Robert Collins, #1203728) + +0.9.32 +~~~~~~ + +Regular maintenance release. Special thanks to new contributor, Xiao Hanyu! + +Changes +------- + + * ``testttols.compat._format_exc_info`` has been refactored into several + smaller functions. (Thomi Richards) + +Improvements +------------ + +* Stacktrace filtering no longer hides unittest frames that are surrounded by + user frames. We will reenable this when we figure out a better algorithm for + retaining meaning. (Robert Collins, #1188420) + +* The compatibility code for skipped tests with unittest2 was broken. + (Robert Collins, #1190951) + +* Various documentation improvements (Clint Byrum, Xiao Hanyu). + +0.9.31 +~~~~~~ + +Improvements +------------ + +* ``ExpectedException`` now accepts a msg parameter for describing an error, + much the same as assertEquals etc. (Robert Collins) + +0.9.30 +~~~~~~ + +A new sort of TestResult, the StreamResult has been added, as a prototype for +a revised standard library test result API. Expect this API to change. +Although we will try to preserve compatibility for early adopters, it is +experimental and we might need to break it if it turns out to be unsuitable. + +Improvements +------------ +* ``assertRaises`` works properly for exception classes that have custom + metaclasses + +* ``ConcurrentTestSuite`` was silently eating exceptions that propagate from + the test.run(result) method call. Ignoring them is fine in a normal test + runner, but when they happen in a different thread, the thread that called + suite.run() is not in the stack anymore, and the exceptions are lost. We now + create a synthetic test recording any such exception. + (Robert Collins, #1130429) + +* Fixed SyntaxError raised in ``_compat2x.py`` when installing via Python 3. + (Will Bond, #941958) + +* New class ``StreamResult`` which defines the API for the new result type. + (Robert Collins) + +* New support class ``ConcurrentStreamTestSuite`` for convenient construction + and utilisation of ``StreamToQueue`` objects. (Robert Collins) + +* New support class ``CopyStreamResult`` which forwards events onto multiple + ``StreamResult`` objects (each of which receives all the events). + (Robert Collins) + +* New support class ``StreamSummary`` which summarises a ``StreamResult`` + stream compatibly with ``TestResult`` code. (Robert Collins) + +* New support class ``StreamTagger`` which adds or removes tags from + ``StreamResult`` events. (RobertCollins) + +* New support class ``StreamToDict`` which converts a ``StreamResult`` to a + series of dicts describing a test. Useful for writing trivial stream + analysers. (Robert Collins) + +* New support class ``TestControl`` which permits cancelling an in-progress + run. (Robert Collins) + +* New support class ``StreamFailFast`` which calls a ``TestControl`` instance + to abort the test run when a failure is detected. (Robert Collins) + +* New support class ``ExtendedToStreamDecorator`` which translates both regular + unittest TestResult API calls and the ExtendedTestResult API which testtools + has supported into the StreamResult API. ExtendedToStreamDecorator also + forwards calls made in the StreamResult API, permitting it to be used + anywhere a StreamResult is used. Key TestResult query methods like + wasSuccessful and shouldStop are synchronised with the StreamResult API + calls, but the detailed statistics like the list of errors are not - a + separate consumer will be created to support that. + (Robert Collins) + +* New support class ``StreamToExtendedDecorator`` which translates + ``StreamResult`` API calls into ``ExtendedTestResult`` (or any older + ``TestResult``) calls. This permits using un-migrated result objects with + new runners / tests. (Robert Collins) + +* New support class ``StreamToQueue`` for sending messages to one + ``StreamResult`` from multiple threads. (Robert Collins) + +* New support class ``TimestampingStreamResult`` which adds a timestamp to + events with no timestamp. (Robert Collins) + +* New ``TestCase`` decorator ``DecorateTestCaseResult`` that adapts the + ``TestResult`` or ``StreamResult`` a case will be run with, for ensuring that + a particular result object is used even if the runner running the test doesn't + know to use it. (Robert Collins) + +* New test support class ``testtools.testresult.doubles.StreamResult``, which + captures all the StreamResult events. (Robert Collins) + +* ``PlaceHolder`` can now hold tags, and applies them before, and removes them + after, the test. (Robert Collins) + +* ``PlaceHolder`` can now hold timestamps, and applies them before the test and + then before the outcome. (Robert Collins) + +* ``StreamResultRouter`` added. This is useful for demultiplexing - e.g. for + partitioning analysis of events or sending feedback encapsulated in + StreamResult events back to their source. (Robert Collins) + +* ``testtools.run.TestProgram`` now supports the ``TestRunner`` taking over + responsibility for formatting the output of ``--list-tests``. + (Robert Collins) + +* The error message for setUp and tearDown upcall errors was broken on Python + 3.4. (Monty Taylor, Robert Collins, #1140688) + +* The repr of object() on pypy includes the object id, which was breaking a + test that accidentally depended on the CPython repr for object(). + (Jonathan Lange) + +0.9.29 +~~~~~~ + +A simple bug fix, and better error messages when you don't up-call. + +Changes +------- + +* ``testtools.content_type.ContentType`` incorrectly used ',' rather than ';' + to separate parameters. (Robert Collins) + +Improvements +------------ + +* ``testtools.compat.unicode_output_stream`` was wrapping a stream encoder + around ``io.StringIO`` and ``io.TextIOWrapper`` objects, which was incorrect. + (Robert Collins) + +* Report the name of the source file for setUp and tearDown upcall errors. + (Monty Taylor) + +0.9.28 +~~~~~~ + +Testtools has moved VCS - https://github.com/testing-cabal/testtools/ is +the new home. Bug tracking is still on Launchpad, and releases are on Pypi. + +We made this change to take advantage of the richer ecosystem of tools around +Git, and to lower the barrier for new contributors. + +Improvements +------------ + +* New ``testtools.testcase.attr`` and ``testtools.testcase.WithAttributes`` + helpers allow marking up test case methods with simple labels. This permits + filtering tests with more granularity than organising them into modules and + test classes. (Robert Collins) + +0.9.27 +~~~~~~ + +Improvements +------------ + +* New matcher ``HasLength`` for matching the length of a collection. + (Robert Collins) + +* New matcher ``MatchesPredicateWithParams`` make it still easier to create + ad hoc matchers. (Robert Collins) + +* We have a simpler release process in future - see doc/hacking.rst. + (Robert Collins) + +0.9.26 +~~~~~~ + +Brown paper bag fix: failed to document the need for setup to be able to use +extras. Compounded by pip not supporting setup_requires. + +Changes +------- + +* setup.py now can generate egg_info even if extras is not available. + Also lists extras in setup_requires for easy_install. + (Robert Collins, #1102464) + +0.9.25 +~~~~~~ + +Changes +------- + +* ``python -m testtools.run --load-list`` will now preserve any custom suites + (such as ``testtools.FixtureSuite`` or ``testresources.OptimisingTestSuite``) + rather than flattening them. + (Robert Collins, #827175) + +* Testtools now depends on extras, a small library split out from it to contain + generally useful non-testing facilities. Since extras has been around for a + couple of testtools releases now, we're making this into a hard dependency of + testtools. (Robert Collins) + +* Testtools now uses setuptools rather than distutils so that we can document + the extras dependency. (Robert Collins) + +Improvements +------------ + +* Testtools will no longer override test code registered details called + 'traceback' when reporting caught exceptions from test code. + (Robert Collins, #812793) + +0.9.24 +~~~~~~ + +Changes +------- + +* ``testtools.run discover`` will now sort the tests it discovered. This is a + workaround for http://bugs.python.org/issue16709. Non-standard test suites + are preserved, and their ``sort_tests()`` method called (if they have such an + attribute). ``testtools.testsuite.sorted_tests(suite, True)`` can be used by + such suites to do a local sort. (Robert Collins, #1091512) + +* ``ThreadsafeForwardingResult`` now defines a stub ``progress`` method, which + fixes ``testr run`` of streams containing progress markers (by discarding the + progress data). (Robert Collins, #1019165) + +0.9.23 +~~~~~~ + +Changes +------- + +* ``run.TestToolsTestRunner`` now accepts the verbosity, buffer and failfast + arguments the upstream python TestProgram code wants to give it, making it + possible to support them in a compatible fashion. (Robert Collins) + +Improvements +------------ + +* ``testtools.run`` now supports the ``-f`` or ``--failfast`` parameter. + Previously it was advertised in the help but ignored. + (Robert Collins, #1090582) + +* ``AnyMatch`` added, a new matcher that matches when any item in a collection + matches the given matcher. (Jonathan Lange) + +* Spelling corrections to documentation. (Vincent Ladeuil) + +* ``TestProgram`` now has a sane default for its ``testRunner`` argument. + (Vincent Ladeuil) + +* The test suite passes on Python 3 again. (Robert Collins) + +0.9.22 +~~~~~~ + +Improvements +------------ + +* ``content_from_file`` and ``content_from_stream`` now accept seek_offset and + seek_whence parameters allowing them to be used to grab less than the full + stream, or to be used with StringIO streams. (Robert Collins, #1088693) + +0.9.21 +~~~~~~ + +Improvements +------------ + +* ``DirContains`` correctly exposed, after being accidentally hidden in the + great matcher re-organization of 0.9.17. (Jonathan Lange) + + +0.9.20 +~~~~~~ + +Three new matchers that'll rock your world. + +Improvements +------------ + +* New, powerful matchers that match items in a dictionary: + + - ``MatchesDict``, match every key in a dictionary with a key in a + dictionary of matchers. For when the set of expected keys is equal to the + set of observed keys. + + - ``ContainsDict``, every key in a dictionary of matchers must be + found in a dictionary, and the values for those keys must match. For when + the set of expected keys is a subset of the set of observed keys. + + - ``ContainedByDict``, every key in a dictionary must be found in + a dictionary of matchers. For when the set of expected keys is a superset + of the set of observed keys. + + The names are a little confusing, sorry. We're still trying to figure out + how to present the concept in the simplest way possible. + + +0.9.19 +~~~~~~ + +How embarrassing! Three releases in two days. + +We've worked out the kinks and have confirmation from our downstreams that +this is all good. Should be the last release for a little while. Please +ignore 0.9.18 and 0.9.17. + +Improvements +------------ + +* Include the matcher tests in the release, allowing the tests to run and + pass from the release tarball. (Jonathan Lange) + +* Fix cosmetic test failures in Python 3.3, introduced during release 0.9.17. + (Jonathan Lange) + + +0.9.18 +~~~~~~ + +Due to an oversight, release 0.9.18 did not contain the new +``testtools.matchers`` package and was thus completely broken. This release +corrects that, returning us all to normality. + +0.9.17 +~~~~~~ + +This release brings better discover support and Python3.x improvements. There +are still some test failures on Python3.3 but they are cosmetic - the library +is as usable there as on any other Python 3 release. + +Changes +------- + +* The ``testtools.matchers`` package has been split up. No change to the + public interface. (Jonathan Lange) + +Improvements +------------ + +* ``python -m testtools.run discover . --list`` now works. (Robert Collins) + +* Correctly handling of bytes vs text in JSON content type. (Martin [gz]) + + +0.9.16 +~~~~~~ + +Some new matchers and a new content helper for JSON content. + +This is the first release of testtools to drop support for Python 2.4 and 2.5. +If you need support for either of those versions, please use testtools 0.9.15. + +Improvements +------------ + +* New content helper, ``json_content`` (Jonathan Lange) + +* New matchers: + + * ``ContainsAll`` for asserting one thing is a subset of another + (Raphaël Badin) + + * ``SameMembers`` for asserting two iterators have the same members. + (Jonathan Lange) + +* Reraising of exceptions in Python 3 is more reliable. (Martin [gz]) + + +0.9.15 +~~~~~~ + +This is the last release to support Python2.4 and 2.5. It brings in a slew of +improvements to test tagging and concurrency, making running large test suites +with partitioned workers more reliable and easier to reproduce exact test +ordering in a given worker. See our sister project ``testrepository`` for a +test runner that uses these features. + +Changes +------- + +* ``PlaceHolder`` and ``ErrorHolder`` now support being given result details. + (Robert Collins) + +* ``ErrorHolder`` is now just a function - all the logic is in ``PlaceHolder``. + (Robert Collins) + +* ``TestResult`` and all other ``TestResult``-like objects in testtools + distinguish between global tags and test-local tags, as per the subunit + specification. (Jonathan Lange) + +* This is the **last** release of testtools that supports Python 2.4 or 2.5. + These releases are no longer supported by the Python community and do not + receive security updates. If this affects you, you will need to either + stay on this release or perform your own backports. + (Jonathan Lange, Robert Collins) + +* ``ThreadsafeForwardingResult`` now forwards global tags as test-local tags, + making reasoning about the correctness of the multiplexed stream simpler. + This preserves the semantic value (what tags apply to a given test) while + consuming less stream size (as no negative-tag statement is needed). + (Robert Collins, Gary Poster, #986434) + +Improvements +------------ + +* API documentation corrections. (Raphaël Badin) + +* ``ConcurrentTestSuite`` now takes an optional ``wrap_result`` parameter + that can be used to wrap the ``ThreadsafeForwardingResults`` created by + the suite. (Jonathan Lange) + +* ``Tagger`` added. It's a new ``TestResult`` that tags all tests sent to + it with a particular set of tags. (Jonathan Lange) + +* ``testresultdecorator`` brought over from subunit. (Jonathan Lange) + +* All ``TestResult`` wrappers now correctly forward ``current_tags`` from + their wrapped results, meaning that ``current_tags`` can always be relied + upon to return the currently active tags on a test result. + +* ``TestByTestResult``, a ``TestResult`` that calls a method once per test, + added. (Jonathan Lange) + +* ``ThreadsafeForwardingResult`` correctly forwards ``tags()`` calls where + only one of ``new_tags`` or ``gone_tags`` are specified. + (Jonathan Lange, #980263) + +* ``ThreadsafeForwardingResult`` no longer leaks local tags from one test + into all future tests run. (Jonathan Lange, #985613) + +* ``ThreadsafeForwardingResult`` has many, many more tests. (Jonathan Lange) + + +0.9.14 +~~~~~~ + +Our sister project, `subunit <https://launchpad.net/subunit>`_, was using a +private API that was deleted in the 0.9.13 release. This release restores +that API in order to smooth out the upgrade path. + +If you don't use subunit, then this release won't matter very much to you. + + +0.9.13 +~~~~~~ + +Plenty of new matchers and quite a few critical bug fixes (especially to do +with stack traces from failed assertions). A net win for all. + +Changes +------- + +* ``MatchesAll`` now takes an ``first_only`` keyword argument that changes how + mismatches are displayed. If you were previously passing matchers to + ``MatchesAll`` with keyword arguments, then this change might affect your + test results. (Jonathan Lange) + +Improvements +------------ + +* Actually hide all of the testtools stack for assertion failures. The + previous release promised clean stack, but now we actually provide it. + (Jonathan Lange, #854769) + +* ``assertRaises`` now includes the ``repr`` of the callable that failed to raise + properly. (Jonathan Lange, #881052) + +* Asynchronous tests no longer hang when run with trial. + (Jonathan Lange, #926189) + +* ``Content`` objects now have an ``as_text`` method to convert their contents + to Unicode text. (Jonathan Lange) + +* Failed equality assertions now line up. (Jonathan Lange, #879339) + +* ``FullStackRunTest`` no longer aborts the test run if a test raises an + error. (Jonathan Lange) + +* ``MatchesAll`` and ``MatchesListwise`` both take a ``first_only`` keyword + argument. If True, they will report only on the first mismatch they find, + and not continue looking for other possible mismatches. + (Jonathan Lange) + +* New helper, ``Nullary`` that turns callables with arguments into ones that + don't take arguments. (Jonathan Lange) + +* New matchers: + + * ``DirContains`` matches the contents of a directory. + (Jonathan Lange, James Westby) + + * ``DirExists`` matches if a directory exists. + (Jonathan Lange, James Westby) + + * ``FileContains`` matches the contents of a file. + (Jonathan Lange, James Westby) + + * ``FileExists`` matches if a file exists. + (Jonathan Lange, James Westby) + + * ``HasPermissions`` matches the permissions of a file. (Jonathan Lange) + + * ``MatchesPredicate`` matches if a predicate is true. (Jonathan Lange) + + * ``PathExists`` matches if a path exists. (Jonathan Lange, James Westby) + + * ``SamePath`` matches if two paths are the same. (Jonathan Lange) + + * ``TarballContains`` matches the contents of a tarball. (Jonathan Lange) + +* ``MultiTestResult`` supports the ``tags`` method. + (Graham Binns, Francesco Banconi, #914279) + +* ``ThreadsafeForwardingResult`` supports the ``tags`` method. + (Graham Binns, Francesco Banconi, #914279) + +* ``ThreadsafeForwardingResult`` no longer includes semaphore acquisition time + in the test duration (for implicitly timed test runs). + (Robert Collins, #914362) + +0.9.12 +~~~~~~ + +This is a very big release. We've made huge improvements on three fronts: + 1. Test failures are way nicer and easier to read + 2. Matchers and ``assertThat`` are much more convenient to use + 3. Correct handling of extended unicode characters + +We've trimmed off the fat from the stack trace you get when tests fail, we've +cut out the bits of error messages that just didn't help, we've made it easier +to annotate mismatch failures, to compare complex objects and to match raised +exceptions. + +Testing code was never this fun. + +Changes +------- + +* ``AfterPreproccessing`` renamed to ``AfterPreprocessing``, which is a more + correct spelling. Old name preserved for backwards compatibility, but is + now deprecated. Please stop using it. + (Jonathan Lange, #813460) + +* ``assertThat`` raises ``MismatchError`` instead of + ``TestCase.failureException``. ``MismatchError`` is a subclass of + ``AssertionError``, so in most cases this change will not matter. However, + if ``self.failureException`` has been set to a non-default value, then + mismatches will become test errors rather than test failures. + +* ``gather_details`` takes two dicts, rather than two detailed objects. + (Jonathan Lange, #801027) + +* ``MatchesRegex`` mismatch now says "<value> does not match /<regex>/" rather + than "<regex> did not match <value>". The regular expression contains fewer + backslashes too. (Jonathan Lange, #818079) + +* Tests that run with ``AsynchronousDeferredRunTest`` now have the ``reactor`` + attribute set to the running reactor. (Jonathan Lange, #720749) + +Improvements +------------ + +* All public matchers are now in ``testtools.matchers.__all__``. + (Jonathan Lange, #784859) + +* ``assertThat`` can actually display mismatches and matchers that contain + extended unicode characters. (Jonathan Lange, Martin [gz], #804127) + +* ``assertThat`` output is much less verbose, displaying only what the mismatch + tells us to display. Old-style verbose output can be had by passing + ``verbose=True`` to assertThat. (Jonathan Lange, #675323, #593190) + +* ``assertThat`` accepts a message which will be used to annotate the matcher. + This can be given as a third parameter or as a keyword parameter. + (Robert Collins) + +* Automated the Launchpad part of the release process. + (Jonathan Lange, #623486) + +* Correctly display non-ASCII unicode output on terminals that claim to have a + unicode encoding. (Martin [gz], #804122) + +* ``DocTestMatches`` correctly handles unicode output from examples, rather + than raising an error. (Martin [gz], #764170) + +* ``ErrorHolder`` and ``PlaceHolder`` added to docs. (Jonathan Lange, #816597) + +* ``ExpectedException`` now matches any exception of the given type by + default, and also allows specifying a ``Matcher`` rather than a mere regular + expression. (Jonathan Lange, #791889) + +* ``FixtureSuite`` added, allows test suites to run with a given fixture. + (Jonathan Lange) + +* Hide testtools's own stack frames when displaying tracebacks, making it + easier for test authors to focus on their errors. + (Jonathan Lange, Martin [gz], #788974) + +* Less boilerplate displayed in test failures and errors. + (Jonathan Lange, #660852) + +* ``MatchesException`` now allows you to match exceptions against any matcher, + rather than just regular expressions. (Jonathan Lange, #791889) + +* ``MatchesException`` now permits a tuple of types rather than a single type + (when using the type matching mode). (Robert Collins) + +* ``MatchesStructure.byEquality`` added to make the common case of matching + many attributes by equality much easier. ``MatchesStructure.byMatcher`` + added in case folk want to match by things other than equality. + (Jonathan Lange) + +* New convenience assertions, ``assertIsNone`` and ``assertIsNotNone``. + (Christian Kampka) + +* New matchers: + + * ``AllMatch`` matches many values against a single matcher. + (Jonathan Lange, #615108) + + * ``Contains``. (Robert Collins) + + * ``GreaterThan``. (Christian Kampka) + +* New helper, ``safe_hasattr`` added. (Jonathan Lange) + +* ``reraise`` added to ``testtools.compat``. (Jonathan Lange) + + +0.9.11 +~~~~~~ + +This release brings consistent use of super for better compatibility with +multiple inheritance, fixed Python3 support, improvements in fixture and mather +outputs and a compat helper for testing libraries that deal with bytestrings. + +Changes +------- + +* ``TestCase`` now uses super to call base ``unittest.TestCase`` constructor, + ``setUp`` and ``tearDown``. (Tim Cole, #771508) + +* If, when calling ``useFixture`` an error occurs during fixture set up, we + still attempt to gather details from the fixture. (Gavin Panella) + + +Improvements +------------ + +* Additional compat helper for ``BytesIO`` for libraries that build on + testtools and are working on Python 3 porting. (Robert Collins) + +* Corrected documentation for ``MatchesStructure`` in the test authors + document. (Jonathan Lange) + +* ``LessThan`` error message now says something that is logically correct. + (Gavin Panella, #762008) + +* Multiple details from a single fixture are now kept separate, rather than + being mooshed together. (Gavin Panella, #788182) + +* Python 3 support now back in action. (Martin [gz], #688729) + +* ``try_import`` and ``try_imports`` have a callback that is called whenever + they fail to import a module. (Martin Pool) + + +0.9.10 +~~~~~~ + +The last release of testtools could not be easy_installed. This is considered +severe enough for a re-release. + +Improvements +------------ + +* Include ``doc/`` in the source distribution, making testtools installable + from PyPI again (Tres Seaver, #757439) + + +0.9.9 +~~~~~ + +Many, many new matchers, vastly expanded documentation, stacks of bug fixes, +better unittest2 integration. If you've ever wanted to try out testtools but +been afraid to do so, this is the release to try. + + +Changes +------- + +* The timestamps generated by ``TestResult`` objects when no timing data has + been received are now datetime-with-timezone, which allows them to be + sensibly serialised and transported. (Robert Collins, #692297) + +Improvements +------------ + +* ``AnnotatedMismatch`` now correctly returns details. + (Jonathan Lange, #724691) + +* distutils integration for the testtools test runner. Can now use it for + 'python setup.py test'. (Christian Kampka, #693773) + +* ``EndsWith`` and ``KeysEqual`` now in testtools.matchers.__all__. + (Jonathan Lange, #692158) + +* ``MatchesException`` extended to support a regular expression check against + the str() of a raised exception. (Jonathan Lange) + +* ``MultiTestResult`` now forwards the ``time`` API. (Robert Collins, #692294) + +* ``MultiTestResult`` now documented in the manual. (Jonathan Lange, #661116) + +* New content helpers ``content_from_file``, ``content_from_stream`` and + ``attach_file`` make it easier to attach file-like objects to a + test. (Jonathan Lange, Robert Collins, #694126) + +* New ``ExpectedException`` context manager to help write tests against things + that are expected to raise exceptions. (Aaron Bentley) + +* New matchers: + + * ``MatchesListwise`` matches an iterable of matchers against an iterable + of values. (Michael Hudson-Doyle) + + * ``MatchesRegex`` matches a string against a regular expression. + (Michael Hudson-Doyle) + + * ``MatchesStructure`` matches attributes of an object against given + matchers. (Michael Hudson-Doyle) + + * ``AfterPreproccessing`` matches values against a matcher after passing them + through a callable. (Michael Hudson-Doyle) + + * ``MatchesSetwise`` matches an iterable of matchers against an iterable of + values, without regard to order. (Michael Hudson-Doyle) + +* ``setup.py`` can now build a snapshot when Bazaar is installed but the tree + is not a Bazaar tree. (Jelmer Vernooij) + +* Support for running tests using distutils (Christian Kampka, #726539) + +* Vastly improved and extended documentation. (Jonathan Lange) + +* Use unittest2 exception classes if available. (Jelmer Vernooij) + + +0.9.8 +~~~~~ + +In this release we bring some very interesting improvements: + +* new matchers for exceptions, sets, lists, dicts and more. + +* experimental (works but the contract isn't supported) twisted reactor + support. + +* The built in runner can now list tests and filter tests (the -l and + --load-list options). + +Changes +------- + +* addUnexpectedSuccess is translated to addFailure for test results that don't + know about addUnexpectedSuccess. Further, it fails the entire result for + all testtools TestResults (i.e. wasSuccessful() returns False after + addUnexpectedSuccess has been called). Note that when using a delegating + result such as ThreadsafeForwardingResult, MultiTestResult or + ExtendedToOriginalDecorator then the behaviour of addUnexpectedSuccess is + determined by the delegated to result(s). + (Jonathan Lange, Robert Collins, #654474, #683332) + +* startTestRun will reset any errors on the result. That is, wasSuccessful() + will always return True immediately after startTestRun() is called. This + only applies to delegated test results (ThreadsafeForwardingResult, + MultiTestResult and ExtendedToOriginalDecorator) if the delegated to result + is a testtools test result - we cannot reliably reset the state of unknown + test result class instances. (Jonathan Lange, Robert Collins, #683332) + +* Responsibility for running test cleanups has been moved to ``RunTest``. + This change does not affect public APIs and can be safely ignored by test + authors. (Jonathan Lange, #662647) + +Improvements +------------ + +* New matchers: + + * ``EndsWith`` which complements the existing ``StartsWith`` matcher. + (Jonathan Lange, #669165) + + * ``MatchesException`` matches an exception class and parameters. (Robert + Collins) + + * ``KeysEqual`` matches a dictionary with particular keys. (Jonathan Lange) + +* ``assertIsInstance`` supports a custom error message to be supplied, which + is necessary when using ``assertDictEqual`` on Python 2.7 with a + ``testtools.TestCase`` base class. (Jelmer Vernooij) + +* Experimental support for running tests that return Deferreds. + (Jonathan Lange, Martin [gz]) + +* Provide a per-test decorator, run_test_with, to specify which RunTest + object to use for a given test. (Jonathan Lange, #657780) + +* Fix the runTest parameter of TestCase to actually work, rather than raising + a TypeError. (Jonathan Lange, #657760) + +* Non-release snapshots of testtools will now work with buildout. + (Jonathan Lange, #613734) + +* Malformed SyntaxErrors no longer blow up the test suite. (Martin [gz]) + +* ``MismatchesAll.describe`` no longer appends a trailing newline. + (Michael Hudson-Doyle, #686790) + +* New helpers for conditionally importing modules, ``try_import`` and + ``try_imports``. (Jonathan Lange) + +* ``Raises`` added to the ``testtools.matchers`` module - matches if the + supplied callable raises, and delegates to an optional matcher for validation + of the exception. (Robert Collins) + +* ``raises`` added to the ``testtools.matchers`` module - matches if the + supplied callable raises and delegates to ``MatchesException`` to validate + the exception. (Jonathan Lange) + +* Tests will now pass on Python 2.6.4 : an ``Exception`` change made only in + 2.6.4 and reverted in Python 2.6.5 was causing test failures on that version. + (Martin [gz], #689858). + +* ``testtools.TestCase.useFixture`` has been added to glue with fixtures nicely. + (Robert Collins) + +* ``testtools.run`` now supports ``-l`` to list tests rather than executing + them. This is useful for integration with external test analysis/processing + tools like subunit and testrepository. (Robert Collins) + +* ``testtools.run`` now supports ``--load-list``, which takes a file containing + test ids, one per line, and intersects those ids with the tests found. This + allows fine grained control of what tests are run even when the tests cannot + be named as objects to import (e.g. due to test parameterisation via + testscenarios). (Robert Collins) + +* Update documentation to say how to use testtools.run() on Python 2.4. + (Jonathan Lange, #501174) + +* ``text_content`` conveniently converts a Python string to a Content object. + (Jonathan Lange, James Westby) + + + +0.9.7 +~~~~~ + +Lots of little cleanups in this release; many small improvements to make your +testing life more pleasant. + +Improvements +------------ + +* Cleanups can raise ``testtools.MultipleExceptions`` if they have multiple + exceptions to report. For instance, a cleanup which is itself responsible for + running several different internal cleanup routines might use this. + +* Code duplication between assertEqual and the matcher Equals has been removed. + +* In normal circumstances, a TestCase will no longer share details with clones + of itself. (Andrew Bennetts, bug #637725) + +* Less exception object cycles are generated (reduces peak memory use between + garbage collection). (Martin [gz]) + +* New matchers 'DoesNotStartWith' and 'StartsWith' contributed by Canonical + from the Launchpad project. Written by James Westby. + +* Timestamps as produced by subunit protocol clients are now forwarded in the + ThreadsafeForwardingResult so correct test durations can be reported. + (Martin [gz], Robert Collins, #625594) + +* With unittest from Python 2.7 skipped tests will now show only the reason + rather than a serialisation of all details. (Martin [gz], #625583) + +* The testtools release process is now a little better documented and a little + smoother. (Jonathan Lange, #623483, #623487) + + +0.9.6 +~~~~~ + +Nothing major in this release, just enough small bits and pieces to make it +useful enough to upgrade to. + +In particular, a serious bug in assertThat() has been fixed, it's easier to +write Matchers, there's a TestCase.patch() method for those inevitable monkey +patches and TestCase.assertEqual gives slightly nicer errors. + +Improvements +------------ + +* 'TestCase.assertEqual' now formats errors a little more nicely, in the + style of bzrlib. + +* Added `PlaceHolder` and `ErrorHolder`, TestCase-like objects that can be + used to add results to a `TestResult`. + +* 'Mismatch' now takes optional description and details parameters, so + custom Matchers aren't compelled to make their own subclass. + +* jml added a built-in UTF8_TEXT ContentType to make it slightly easier to + add details to test results. See bug #520044. + +* Fix a bug in our built-in matchers where assertThat would blow up if any + of them failed. All built-in mismatch objects now provide get_details(). + +* New 'Is' matcher, which lets you assert that a thing is identical to + another thing. + +* New 'LessThan' matcher which lets you assert that a thing is less than + another thing. + +* TestCase now has a 'patch()' method to make it easier to monkey-patching + objects in tests. See the manual for more information. Fixes bug #310770. + +* MultiTestResult methods now pass back return values from the results it + forwards to. + +0.9.5 +~~~~~ + +This release fixes some obscure traceback formatting issues that probably +weren't affecting you but were certainly breaking our own test suite. + +Changes +------- + +* Jamu Kakar has updated classes in testtools.matchers and testtools.runtest + to be new-style classes, fixing bug #611273. + +Improvements +------------ + +* Martin[gz] fixed traceback handling to handle cases where extract_tb returns + a source line of None. Fixes bug #611307. + +* Martin[gz] fixed an unicode issue that was causing the tests to fail, + closing bug #604187. + +* testtools now handles string exceptions (although why would you want to use + them?) and formats their tracebacks correctly. Thanks to Martin[gz] for + fixing bug #592262. + +0.9.4 +~~~~~ + +This release overhauls the traceback formatting layer to deal with Python 2 +line numbers and traceback objects often being local user encoded strings +rather than unicode objects. Test discovery has also been added and Python 3.1 +is also supported. Finally, the Mismatch protocol has been extended to let +Matchers collaborate with tests in supplying detailed data about failures. + +Changes +------- + +* testtools.utils has been renamed to testtools.compat. Importing + testtools.utils will now generate a deprecation warning. + +Improvements +------------ + +* Add machinery for Python 2 to create unicode tracebacks like those used by + Python 3. This means testtools no longer throws on encountering non-ascii + filenames, source lines, or exception strings when displaying test results. + Largely contributed by Martin[gz] with some tweaks from Robert Collins. + +* James Westby has supplied test discovery support using the Python 2.7 + TestRunner in testtools.run. This requires the 'discover' module. This + closes bug #250764. + +* Python 3.1 is now supported, thanks to Martin[gz] for a partial patch. + This fixes bug #592375. + +* TestCase.addCleanup has had its docstring corrected about when cleanups run. + +* TestCase.skip is now deprecated in favour of TestCase.skipTest, which is the + Python2.7 spelling for skip. This closes bug #560436. + +* Tests work on IronPython patch from Martin[gz] applied. + +* Thanks to a patch from James Westby testtools.matchers.Mismatch can now + supply a get_details method, which assertThat will query to provide + additional attachments. This can be used to provide additional detail + about the mismatch that doesn't suite being included in describe(). For + instance, if the match process was complex, a log of the process could be + included, permitting debugging. + +* testtools.testresults.real._StringException will now answer __str__ if its + value is unicode by encoding with UTF8, and vice versa to answer __unicode__. + This permits subunit decoded exceptions to contain unicode and still format + correctly. + +0.9.3 +~~~~~ + +More matchers, Python 2.4 support, faster test cloning by switching to copy +rather than deepcopy and better output when exceptions occur in cleanups are +the defining characteristics of this release. + +Improvements +------------ + +* New matcher "Annotate" that adds a simple string message to another matcher, + much like the option 'message' parameter to standard library assertFoo + methods. + +* New matchers "Not" and "MatchesAll". "Not" will invert another matcher, and + "MatchesAll" that needs a successful match for all of its arguments. + +* On Python 2.4, where types.FunctionType cannot be deepcopied, testtools will + now monkeypatch copy._deepcopy_dispatch using the same trivial patch that + added such support to Python 2.5. The monkey patch is triggered by the + absence of FunctionType from the dispatch dict rather than a version check. + Bug #498030. + +* On windows the test 'test_now_datetime_now' should now work reliably. + +* TestCase.getUniqueInteger and TestCase.getUniqueString now have docstrings. + +* TestCase.getUniqueString now takes an optional prefix parameter, so you can + now use it in circumstances that forbid strings with '.'s, and such like. + +* testtools.testcase.clone_test_with_new_id now uses copy.copy, rather than + copy.deepcopy. Tests that need a deeper copy should use the copy protocol to + control how they are copied. Bug #498869. + +* The backtrace test result output tests should now pass on windows and other + systems where os.sep is not '/'. + +* When a cleanUp or tearDown exception occurs, it is now accumulated as a new + traceback in the test details, rather than as a separate call to addError / + addException. This makes testtools work better with most TestResult objects + and fixes bug #335816. + + +0.9.2 +~~~~~ + +Python 3 support, more matchers and better consistency with Python 2.7 -- +you'd think that would be enough for a point release. Well, we here on the +testtools project think that you deserve more. + +We've added a hook so that user code can be called just-in-time whenever there +is an exception, and we've also factored out the "run" logic of test cases so +that new outcomes can be added without fiddling with the actual flow of logic. + +It might sound like small potatoes, but it's changes like these that will +bring about the end of test frameworks. + + +Improvements +------------ + +* A failure in setUp and tearDown now report as failures not as errors. + +* Cleanups now run after tearDown to be consistent with Python 2.7's cleanup + feature. + +* ExtendedToOriginalDecorator now passes unrecognised attributes through + to the decorated result object, permitting other extensions to the + TestCase -> TestResult protocol to work. + +* It is now possible to trigger code just-in-time after an exception causes + a test outcome such as failure or skip. See the testtools MANUAL or + ``pydoc testtools.TestCase.addOnException``. (bug #469092) + +* New matcher Equals which performs a simple equality test. + +* New matcher MatchesAny which looks for a match of any of its arguments. + +* TestCase no longer breaks if a TestSkipped exception is raised with no + parameters. + +* TestCase.run now clones test cases before they are run and runs the clone. + This reduces memory footprint in large test runs - state accumulated on + test objects during their setup and execution gets freed when test case + has finished running unless the TestResult object keeps a reference. + NOTE: As test cloning uses deepcopy, this can potentially interfere if + a test suite has shared state (such as the testscenarios or testresources + projects use). Use the __deepcopy__ hook to control the copying of such + objects so that the shared references stay shared. + +* Testtools now accepts contributions without copyright assignment under some + circumstances. See HACKING for details. + +* Testtools now provides a convenient way to run a test suite using the + testtools result object: python -m testtools.run testspec [testspec...]. + +* Testtools now works on Python 3, thanks to Benjamin Peterson. + +* Test execution now uses a separate class, testtools.RunTest to run single + tests. This can be customised and extended in a more consistent fashion than + the previous run method idiom. See pydoc for more information. + +* The test doubles that testtools itself uses are now available as part of + the testtools API in testtols.testresult.doubles. + +* TracebackContent now sets utf8 as the charset encoding, rather than not + setting one and encoding with the default encoder. + +* With python2.7 testtools.TestSkipped will be the unittest.case.SkipTest + exception class making skips compatible with code that manually raises the + standard library exception. (bug #490109) + +Changes +------- + +* TestCase.getUniqueInteger is now implemented using itertools.count. Thanks + to Benjamin Peterson for the patch. (bug #490111) + + +0.9.1 +~~~~~ + +The new matcher API introduced in 0.9.0 had a small flaw where the matchee +would be evaluated twice to get a description of the mismatch. This could lead +to bugs if the act of matching caused side effects to occur in the matchee. +Since having such side effects isn't desirable, we have changed the API now +before it has become widespread. + +Changes +------- + +* Matcher API changed to avoid evaluating matchee twice. Please consult + the API documentation. + +* TestCase.getUniqueString now uses the test id, not the test method name, + which works nicer with parameterised tests. + +Improvements +------------ + +* Python2.4 is now supported again. + + +0.9.0 +~~~~~ + +This release of testtools is perhaps the most interesting and exciting one +it's ever had. We've continued in bringing together the best practices of unit +testing from across a raft of different Python projects, but we've also +extended our mission to incorporating unit testing concepts from other +languages and from our own research, led by Robert Collins. + +We now support skipping and expected failures. We'll make sure that you +up-call setUp and tearDown, avoiding unexpected testing weirdnesses. We're +now compatible with Python 2.5, 2.6 and 2.7 unittest library. + +All in all, if you are serious about unit testing and want to get the best +thinking from the whole Python community, you should get this release. + +Improvements +------------ + +* A new TestResult API has been added for attaching details to test outcomes. + This API is currently experimental, but is being prepared with the intent + of becoming an upstream Python API. For more details see pydoc + testtools.TestResult and the TestCase addDetail / getDetails methods. + +* assertThat has been added to TestCase. This new assertion supports + a hamcrest-inspired matching protocol. See pydoc testtools.Matcher for + details about writing matchers, and testtools.matchers for the included + matchers. See http://code.google.com/p/hamcrest/. + +* Compatible with Python 2.6 and Python 2.7 + +* Failing to upcall in setUp or tearDown will now cause a test failure. + While the base methods do nothing, failing to upcall is usually a problem + in deeper hierarchies, and checking that the root method is called is a + simple way to catch this common bug. + +* New TestResult decorator ExtendedToOriginalDecorator which handles + downgrading extended API calls like addSkip to older result objects that + do not support them. This is used internally to make testtools simpler but + can also be used to simplify other code built on or for use with testtools. + +* New TextTestResult supporting the extended APIs that testtools provides. + +* Nose will no longer find 'runTest' tests in classes derived from + testtools.testcase.TestCase (bug #312257). + +* Supports the Python 2.7/3.1 addUnexpectedSuccess and addExpectedFailure + TestResult methods, with a support function 'knownFailure' to let tests + trigger these outcomes. + +* When using the skip feature with TestResult objects that do not support it + a test success will now be reported. Previously an error was reported but + production experience has shown that this is too disruptive for projects that + are using skips: they cannot get a clean run on down-level result objects. + + +.. _testtools: http://pypi.python.org/pypi/testtools diff --git a/_sources/overview.txt b/_sources/overview.txt new file mode 100644 index 0000000..a01dc3d --- /dev/null +++ b/_sources/overview.txt @@ -0,0 +1,101 @@ +====================================== +testtools: tasteful testing for Python +====================================== + +testtools is a set of extensions to the Python standard library's unit testing +framework. These extensions have been derived from many years of experience +with unit testing in Python and come from many different sources. testtools +supports Python versions all the way back to Python 2.6. + +What better way to start than with a contrived code snippet?:: + + from testtools import TestCase + from testtools.content import Content + from testtools.content_type import UTF8_TEXT + from testtools.matchers import Equals + + from myproject import SillySquareServer + + class TestSillySquareServer(TestCase): + + def setUp(self): + super(TestSillySquare, self).setUp() + self.server = self.useFixture(SillySquareServer()) + self.addCleanup(self.attach_log_file) + + def attach_log_file(self): + self.addDetail( + 'log-file', + Content(UTF8_TEXT, + lambda: open(self.server.logfile, 'r').readlines())) + + def test_server_is_cool(self): + self.assertThat(self.server.temperature, Equals("cool")) + + def test_square(self): + self.assertThat(self.server.silly_square_of(7), Equals(49)) + + +Why use testtools? +================== + +Better assertion methods +------------------------ + +The standard assertion methods that come with unittest aren't as helpful as +they could be, and there aren't quite enough of them. testtools adds +``assertIn``, ``assertIs``, ``assertIsInstance`` and their negatives. + + +Matchers: better than assertion methods +--------------------------------------- + +Of course, in any serious project you want to be able to have assertions that +are specific to that project and the particular problem that it is addressing. +Rather than forcing you to define your own assertion methods and maintain your +own inheritance hierarchy of ``TestCase`` classes, testtools lets you write +your own "matchers", custom predicates that can be plugged into a unit test:: + + def test_response_has_bold(self): + # The response has bold text. + response = self.server.getResponse() + self.assertThat(response, HTMLContains(Tag('bold', 'b'))) + + +More debugging info, when you need it +-------------------------------------- + +testtools makes it easy to add arbitrary data to your test result. If you +want to know what's in a log file when a test fails, or what the load was on +the computer when a test started, or what files were open, you can add that +information with ``TestCase.addDetail``, and it will appear in the test +results if that test fails. + + +Extend unittest, but stay compatible and re-usable +-------------------------------------------------- + +testtools goes to great lengths to allow serious test authors and test +*framework* authors to do whatever they like with their tests and their +extensions while staying compatible with the standard library's unittest. + +testtools has completely parametrized how exceptions raised in tests are +mapped to ``TestResult`` methods and how tests are actually executed (ever +wanted ``tearDown`` to be called regardless of whether ``setUp`` succeeds?) + +It also provides many simple but handy utilities, like the ability to clone a +test, a ``MultiTestResult`` object that lets many result objects get the +results from one test suite, adapters to bring legacy ``TestResult`` objects +into our new golden age. + + +Cross-Python compatibility +-------------------------- + +testtools gives you the very latest in unit testing technology in a way that +will work with Python 2.6, 2.7, 3.1 and 3.2. + +If you wish to use testtools with Python 2.4 or 2.5, then please use testtools +0.9.15. Up to then we supported Python 2.4 and 2.5, but we found the +constraints involved in not using the newer language features onerous as we +added more support for versions post Python 3. diff --git a/_static/ajax-loader.gif b/_static/ajax-loader.gif Binary files differnew file mode 100644 index 0000000..61faf8c --- /dev/null +++ b/_static/ajax-loader.gif diff --git a/_static/basic.css b/_static/basic.css new file mode 100644 index 0000000..9fa77d8 --- /dev/null +++ b/_static/basic.css @@ -0,0 +1,599 @@ +/* + * basic.css + * ~~~~~~~~~ + * + * Sphinx stylesheet -- basic theme. + * + * :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +div.sphinxsidebar #searchbox input[type="text"] { + width: 170px; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + width: 30px; +} + +img { + border: 0; + max-width: 100%; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin: 10px 0 0 20px; + padding: 0; +} + +ul.search li { + padding: 5px 0 5px 20px; + background-image: url(file.png); + background-repeat: no-repeat; + background-position: 0 7px; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li div.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable dl, table.indextable dd { + margin-top: 0; + margin-bottom: 0; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- general body styles --------------------------------------------------- */ + +a.headerlink { + visibility: hidden; +} + +h1:hover > a.headerlink, +h2:hover > a.headerlink, +h3:hover > a.headerlink, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink, +caption:hover > a.headerlink, +p.caption:hover > a.headerlink, +div.code-block-caption:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.field-list ul { + padding-left: 1em; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +img.align-left, .figure.align-left, object.align-left { + clear: left; + float: left; + margin-right: 1em; +} + +img.align-right, .figure.align-right, object.align-right { + clear: right; + float: right; + margin-left: 1em; +} + +img.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left; +} + +.align-center { + text-align: center; +} + +.align-right { + text-align: right; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px 7px 0 7px; + background-color: #ffe; + width: 40%; + float: right; +} + +p.sidebar-title { + font-weight: bold; +} + +/* -- topics ---------------------------------------------------------------- */ + +div.topic { + border: 1px solid #ccc; + padding: 7px 7px 0 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +div.admonition dl { + margin-bottom: 0; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + border: 0; + border-collapse: collapse; +} + +table caption span.caption-number { + font-style: italic; +} + +table caption span.caption-text { +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 5px; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +table.field-list td, table.field-list th { + border: 0 !important; +} + +table.footnote td, table.footnote th { + border: 0 !important; +} + +th { + text-align: left; + padding-right: 5px; +} + +table.citation { + border-left: solid 1px gray; + margin-left: 1px; +} + +table.citation td { + border-bottom: none; +} + +/* -- figures --------------------------------------------------------------- */ + +div.figure { + margin: 0.5em; + padding: 0.5em; +} + +div.figure p.caption { + padding: 0.3em; +} + +div.figure p.caption span.caption-number { + font-style: italic; +} + +div.figure p.caption span.caption-text { +} + + +/* -- other body styles ----------------------------------------------------- */ + +ol.arabic { + list-style: decimal; +} + +ol.loweralpha { + list-style: lower-alpha; +} + +ol.upperalpha { + list-style: upper-alpha; +} + +ol.lowerroman { + list-style: lower-roman; +} + +ol.upperroman { + list-style: upper-roman; +} + +dl { + margin-bottom: 15px; +} + +dd p { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +dt:target, .highlighted { + background-color: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.optional { + font-size: 1.3em; +} + +.sig-paren { + font-size: larger; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa; +} + +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + +.guilabel, .menuselection { + font-family: sans-serif; +} + +.accelerator { + text-decoration: underline; +} + +.classifier { + font-style: oblique; +} + +abbr, acronym { + border-bottom: dotted 1px; + cursor: help; +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; + overflow-y: hidden; /* fixes display issues on Chrome browsers */ +} + +td.linenos pre { + padding: 5px 0px; + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + margin-left: 0.5em; +} + +table.highlighttable td { + padding: 0 0.5em 0 0.5em; +} + +div.code-block-caption { + padding: 2px 5px; + font-size: small; +} + +div.code-block-caption code { + background-color: transparent; +} + +div.code-block-caption + div > div.highlight > pre { + margin-top: 0; +} + +div.code-block-caption span.caption-number { + padding: 0.1em 0.3em; + font-style: italic; +} + +div.code-block-caption span.caption-text { +} + +div.literal-block-wrapper { + padding: 1em 1em 0; +} + +div.literal-block-wrapper div.highlight { + margin: 0; +} + +code.descname { + background-color: transparent; + font-weight: bold; + font-size: 1.2em; +} + +code.descclassname { + background-color: transparent; +} + +code.xref, a code { + background-color: transparent; + font-weight: bold; +} + +h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { + background-color: transparent; +} + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0 !important; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +}
\ No newline at end of file diff --git a/_static/classic.css b/_static/classic.css new file mode 100644 index 0000000..2da9234 --- /dev/null +++ b/_static/classic.css @@ -0,0 +1,261 @@ +/* + * default.css_t + * ~~~~~~~~~~~~~ + * + * Sphinx stylesheet -- default theme. + * + * :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +@import url("basic.css"); + +/* -- page layout ----------------------------------------------------------- */ + +body { + font-family: sans-serif; + font-size: 100%; + background-color: #11303d; + color: #000; + margin: 0; + padding: 0; +} + +div.document { + background-color: #1c4e63; +} + +div.documentwrapper { + float: left; + width: 100%; +} + +div.bodywrapper { + margin: 0 0 0 230px; +} + +div.body { + background-color: #ffffff; + color: #000000; + padding: 0 20px 30px 20px; +} + +div.footer { + color: #ffffff; + width: 100%; + padding: 9px 0 9px 0; + text-align: center; + font-size: 75%; +} + +div.footer a { + color: #ffffff; + text-decoration: underline; +} + +div.related { + background-color: #133f52; + line-height: 30px; + color: #ffffff; +} + +div.related a { + color: #ffffff; +} + +div.sphinxsidebar { +} + +div.sphinxsidebar h3 { + font-family: 'Trebuchet MS', sans-serif; + color: #ffffff; + font-size: 1.4em; + font-weight: normal; + margin: 0; + padding: 0; +} + +div.sphinxsidebar h3 a { + color: #ffffff; +} + +div.sphinxsidebar h4 { + font-family: 'Trebuchet MS', sans-serif; + color: #ffffff; + font-size: 1.3em; + font-weight: normal; + margin: 5px 0 0 0; + padding: 0; +} + +div.sphinxsidebar p { + color: #ffffff; +} + +div.sphinxsidebar p.topless { + margin: 5px 10px 10px 10px; +} + +div.sphinxsidebar ul { + margin: 10px; + padding: 0; + color: #ffffff; +} + +div.sphinxsidebar a { + color: #98dbcc; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + + + +/* -- hyperlink styles ------------------------------------------------------ */ + +a { + color: #355f7c; + text-decoration: none; +} + +a:visited { + color: #355f7c; + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + + + +/* -- body styles ----------------------------------------------------------- */ + +div.body h1, +div.body h2, +div.body h3, +div.body h4, +div.body h5, +div.body h6 { + font-family: 'Trebuchet MS', sans-serif; + background-color: #f2f2f2; + font-weight: normal; + color: #20435c; + border-bottom: 1px solid #ccc; + margin: 20px -20px 10px -20px; + padding: 3px 0 3px 10px; +} + +div.body h1 { margin-top: 0; font-size: 200%; } +div.body h2 { font-size: 160%; } +div.body h3 { font-size: 140%; } +div.body h4 { font-size: 120%; } +div.body h5 { font-size: 110%; } +div.body h6 { font-size: 100%; } + +a.headerlink { + color: #c60f0f; + font-size: 0.8em; + padding: 0 4px 0 4px; + text-decoration: none; +} + +a.headerlink:hover { + background-color: #c60f0f; + color: white; +} + +div.body p, div.body dd, div.body li { + text-align: justify; + line-height: 130%; +} + +div.admonition p.admonition-title + p { + display: inline; +} + +div.admonition p { + margin-bottom: 5px; +} + +div.admonition pre { + margin-bottom: 5px; +} + +div.admonition ul, div.admonition ol { + margin-bottom: 5px; +} + +div.note { + background-color: #eee; + border: 1px solid #ccc; +} + +div.seealso { + background-color: #ffc; + border: 1px solid #ff6; +} + +div.topic { + background-color: #eee; +} + +div.warning { + background-color: #ffe4e4; + border: 1px solid #f66; +} + +p.admonition-title { + display: inline; +} + +p.admonition-title:after { + content: ":"; +} + +pre { + padding: 5px; + background-color: #eeffcc; + color: #333333; + line-height: 120%; + border: 1px solid #ac9; + border-left: none; + border-right: none; +} + +code { + background-color: #ecf0f3; + padding: 0 1px 0 1px; + font-size: 0.95em; +} + +th { + background-color: #ede; +} + +.warning code { + background: #efc2c2; +} + +.note code { + background: #d6d6d6; +} + +.viewcode-back { + font-family: sans-serif; +} + +div.viewcode-block:target { + background-color: #f4debf; + border-top: 1px solid #ac9; + border-bottom: 1px solid #ac9; +} + +div.code-block-caption { + color: #efefef; + background-color: #1c4e63; +}
\ No newline at end of file diff --git a/_static/comment-bright.png b/_static/comment-bright.png Binary files differnew file mode 100644 index 0000000..551517b --- /dev/null +++ b/_static/comment-bright.png diff --git a/_static/comment-close.png b/_static/comment-close.png Binary files differnew file mode 100644 index 0000000..09b54be --- /dev/null +++ b/_static/comment-close.png diff --git a/_static/comment.png b/_static/comment.png Binary files differnew file mode 100644 index 0000000..92feb52 --- /dev/null +++ b/_static/comment.png diff --git a/_static/default.css b/_static/default.css new file mode 100644 index 0000000..5f1399a --- /dev/null +++ b/_static/default.css @@ -0,0 +1,256 @@ +/* + * default.css_t + * ~~~~~~~~~~~~~ + * + * Sphinx stylesheet -- default theme. + * + * :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +@import url("basic.css"); + +/* -- page layout ----------------------------------------------------------- */ + +body { + font-family: sans-serif; + font-size: 100%; + background-color: #11303d; + color: #000; + margin: 0; + padding: 0; +} + +div.document { + background-color: #1c4e63; +} + +div.documentwrapper { + float: left; + width: 100%; +} + +div.bodywrapper { + margin: 0 0 0 230px; +} + +div.body { + background-color: #ffffff; + color: #000000; + padding: 0 20px 30px 20px; +} + +div.footer { + color: #ffffff; + width: 100%; + padding: 9px 0 9px 0; + text-align: center; + font-size: 75%; +} + +div.footer a { + color: #ffffff; + text-decoration: underline; +} + +div.related { + background-color: #133f52; + line-height: 30px; + color: #ffffff; +} + +div.related a { + color: #ffffff; +} + +div.sphinxsidebar { +} + +div.sphinxsidebar h3 { + font-family: 'Trebuchet MS', sans-serif; + color: #ffffff; + font-size: 1.4em; + font-weight: normal; + margin: 0; + padding: 0; +} + +div.sphinxsidebar h3 a { + color: #ffffff; +} + +div.sphinxsidebar h4 { + font-family: 'Trebuchet MS', sans-serif; + color: #ffffff; + font-size: 1.3em; + font-weight: normal; + margin: 5px 0 0 0; + padding: 0; +} + +div.sphinxsidebar p { + color: #ffffff; +} + +div.sphinxsidebar p.topless { + margin: 5px 10px 10px 10px; +} + +div.sphinxsidebar ul { + margin: 10px; + padding: 0; + color: #ffffff; +} + +div.sphinxsidebar a { + color: #98dbcc; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + + + +/* -- hyperlink styles ------------------------------------------------------ */ + +a { + color: #355f7c; + text-decoration: none; +} + +a:visited { + color: #355f7c; + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + + + +/* -- body styles ----------------------------------------------------------- */ + +div.body h1, +div.body h2, +div.body h3, +div.body h4, +div.body h5, +div.body h6 { + font-family: 'Trebuchet MS', sans-serif; + background-color: #f2f2f2; + font-weight: normal; + color: #20435c; + border-bottom: 1px solid #ccc; + margin: 20px -20px 10px -20px; + padding: 3px 0 3px 10px; +} + +div.body h1 { margin-top: 0; font-size: 200%; } +div.body h2 { font-size: 160%; } +div.body h3 { font-size: 140%; } +div.body h4 { font-size: 120%; } +div.body h5 { font-size: 110%; } +div.body h6 { font-size: 100%; } + +a.headerlink { + color: #c60f0f; + font-size: 0.8em; + padding: 0 4px 0 4px; + text-decoration: none; +} + +a.headerlink:hover { + background-color: #c60f0f; + color: white; +} + +div.body p, div.body dd, div.body li { + text-align: justify; + line-height: 130%; +} + +div.admonition p.admonition-title + p { + display: inline; +} + +div.admonition p { + margin-bottom: 5px; +} + +div.admonition pre { + margin-bottom: 5px; +} + +div.admonition ul, div.admonition ol { + margin-bottom: 5px; +} + +div.note { + background-color: #eee; + border: 1px solid #ccc; +} + +div.seealso { + background-color: #ffc; + border: 1px solid #ff6; +} + +div.topic { + background-color: #eee; +} + +div.warning { + background-color: #ffe4e4; + border: 1px solid #f66; +} + +p.admonition-title { + display: inline; +} + +p.admonition-title:after { + content: ":"; +} + +pre { + padding: 5px; + background-color: #eeffcc; + color: #333333; + line-height: 120%; + border: 1px solid #ac9; + border-left: none; + border-right: none; +} + +tt { + background-color: #ecf0f3; + padding: 0 1px 0 1px; + font-size: 0.95em; +} + +th { + background-color: #ede; +} + +.warning tt { + background: #efc2c2; +} + +.note tt { + background: #d6d6d6; +} + +.viewcode-back { + font-family: sans-serif; +} + +div.viewcode-block:target { + background-color: #f4debf; + border-top: 1px solid #ac9; + border-bottom: 1px solid #ac9; +}
\ No newline at end of file diff --git a/_static/doctools.js b/_static/doctools.js new file mode 100644 index 0000000..c7bfe76 --- /dev/null +++ b/_static/doctools.js @@ -0,0 +1,263 @@ +/* + * doctools.js + * ~~~~~~~~~~~ + * + * Sphinx JavaScript utilities for all documentation. + * + * :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/** + * select a different prefix for underscore + */ +$u = _.noConflict(); + +/** + * make the code below compatible with browsers without + * an installed firebug like debugger +if (!window.console || !console.firebug) { + var names = ["log", "debug", "info", "warn", "error", "assert", "dir", + "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", + "profile", "profileEnd"]; + window.console = {}; + for (var i = 0; i < names.length; ++i) + window.console[names[i]] = function() {}; +} + */ + +/** + * small helper function to urldecode strings + */ +jQuery.urldecode = function(x) { + return decodeURIComponent(x).replace(/\+/g, ' '); +}; + +/** + * small helper function to urlencode strings + */ +jQuery.urlencode = encodeURIComponent; + +/** + * This function returns the parsed url parameters of the + * current request. Multiple values per key are supported, + * it will always return arrays of strings for the value parts. + */ +jQuery.getQueryParameters = function(s) { + if (typeof s == 'undefined') + s = document.location.search; + var parts = s.substr(s.indexOf('?') + 1).split('&'); + var result = {}; + for (var i = 0; i < parts.length; i++) { + var tmp = parts[i].split('=', 2); + var key = jQuery.urldecode(tmp[0]); + var value = jQuery.urldecode(tmp[1]); + if (key in result) + result[key].push(value); + else + result[key] = [value]; + } + return result; +}; + +/** + * highlight a given string on a jquery object by wrapping it in + * span elements with the given class name. + */ +jQuery.fn.highlightText = function(text, className) { + function highlight(node) { + if (node.nodeType == 3) { + var val = node.nodeValue; + var pos = val.toLowerCase().indexOf(text); + if (pos >= 0 && !jQuery(node.parentNode).hasClass(className)) { + var span = document.createElement("span"); + span.className = className; + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + node.parentNode.insertBefore(span, node.parentNode.insertBefore( + document.createTextNode(val.substr(pos + text.length)), + node.nextSibling)); + node.nodeValue = val.substr(0, pos); + } + } + else if (!jQuery(node).is("button, select, textarea")) { + jQuery.each(node.childNodes, function() { + highlight(this); + }); + } + } + return this.each(function() { + highlight(this); + }); +}; + +/* + * backward compatibility for jQuery.browser + * This will be supported until firefox bug is fixed. + */ +if (!jQuery.browser) { + jQuery.uaMatch = function(ua) { + ua = ua.toLowerCase(); + + var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || + /(webkit)[ \/]([\w.]+)/.exec(ua) || + /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || + /(msie) ([\w.]+)/.exec(ua) || + ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || + []; + + return { + browser: match[ 1 ] || "", + version: match[ 2 ] || "0" + }; + }; + jQuery.browser = {}; + jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; +} + +/** + * Small JavaScript module for the documentation. + */ +var Documentation = { + + init : function() { + this.fixFirefoxAnchorBug(); + this.highlightSearchWords(); + this.initIndexTable(); + }, + + /** + * i18n support + */ + TRANSLATIONS : {}, + PLURAL_EXPR : function(n) { return n == 1 ? 0 : 1; }, + LOCALE : 'unknown', + + // gettext and ngettext don't access this so that the functions + // can safely bound to a different name (_ = Documentation.gettext) + gettext : function(string) { + var translated = Documentation.TRANSLATIONS[string]; + if (typeof translated == 'undefined') + return string; + return (typeof translated == 'string') ? translated : translated[0]; + }, + + ngettext : function(singular, plural, n) { + var translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated == 'undefined') + return (n == 1) ? singular : plural; + return translated[Documentation.PLURALEXPR(n)]; + }, + + addTranslations : function(catalog) { + for (var key in catalog.messages) + this.TRANSLATIONS[key] = catalog.messages[key]; + this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); + this.LOCALE = catalog.locale; + }, + + /** + * add context elements like header anchor links + */ + addContextElements : function() { + $('div[id] > :header:first').each(function() { + $('<a class="headerlink">\u00B6</a>'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this headline')). + appendTo(this); + }); + $('dt[id]').each(function() { + $('<a class="headerlink">\u00B6</a>'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this definition')). + appendTo(this); + }); + }, + + /** + * workaround a firefox stupidity + * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075 + */ + fixFirefoxAnchorBug : function() { + if (document.location.hash) + window.setTimeout(function() { + document.location.href += ''; + }, 10); + }, + + /** + * highlight the search words provided in the url in the text + */ + highlightSearchWords : function() { + var params = $.getQueryParameters(); + var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; + if (terms.length) { + var body = $('div.body'); + if (!body.length) { + body = $('body'); + } + window.setTimeout(function() { + $.each(terms, function() { + body.highlightText(this.toLowerCase(), 'highlighted'); + }); + }, 10); + $('<p class="highlight-link"><a href="javascript:Documentation.' + + 'hideSearchWords()">' + _('Hide Search Matches') + '</a></p>') + .appendTo($('#searchbox')); + } + }, + + /** + * init the domain index toggle buttons + */ + initIndexTable : function() { + var togglers = $('img.toggler').click(function() { + var src = $(this).attr('src'); + var idnum = $(this).attr('id').substr(7); + $('tr.cg-' + idnum).toggle(); + if (src.substr(-9) == 'minus.png') + $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); + else + $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); + }).css('display', ''); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { + togglers.click(); + } + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords : function() { + $('#searchbox .highlight-link').fadeOut(300); + $('span.highlighted').removeClass('highlighted'); + }, + + /** + * make the url absolute + */ + makeURL : function(relativeURL) { + return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; + }, + + /** + * get the current relative url + */ + getCurrentURL : function() { + var path = document.location.pathname; + var parts = path.split(/\//); + $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { + if (this == '..') + parts.pop(); + }); + var url = parts.join('/'); + return path.substring(url.lastIndexOf('/') + 1, path.length - 1); + } +}; + +// quick alias for translations +_ = Documentation.gettext; + +$(document).ready(function() { + Documentation.init(); +}); diff --git a/_static/down-pressed.png b/_static/down-pressed.png Binary files differnew file mode 100644 index 0000000..7c30d00 --- /dev/null +++ b/_static/down-pressed.png diff --git a/_static/down.png b/_static/down.png Binary files differnew file mode 100644 index 0000000..f48098a --- /dev/null +++ b/_static/down.png diff --git a/_static/file.png b/_static/file.png Binary files differnew file mode 100644 index 0000000..254c60b --- /dev/null +++ b/_static/file.png diff --git a/_static/jquery-1.11.1.js b/_static/jquery-1.11.1.js new file mode 100644 index 0000000..d4b67f7 --- /dev/null +++ b/_static/jquery-1.11.1.js @@ -0,0 +1,10308 @@ +/*! + * jQuery JavaScript Library v1.11.1 + * http://jquery.com/ + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * + * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-05-01T17:42Z + */ + +(function( global, factory ) { + + if ( typeof module === "object" && typeof module.exports === "object" ) { + // For CommonJS and CommonJS-like environments where a proper window is present, + // execute the factory and get jQuery + // For environments that do not inherently posses a window with a document + // (such as Node.js), expose a jQuery-making factory as module.exports + // This accentuates the need for the creation of a real window + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Can't do this because several apps including ASP.NET trace +// the stack via arguments.caller.callee and Firefox dies if +// you try to trace through "use strict" call chains. (#13335) +// Support: Firefox 18+ +// + +var deletedIds = []; + +var slice = deletedIds.slice; + +var concat = deletedIds.concat; + +var push = deletedIds.push; + +var indexOf = deletedIds.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var support = {}; + + + +var + version = "1.11.1", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }, + + // Support: Android<4.1, IE<9 + // Make sure we trim BOM and NBSP + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, + + // Matches dashed string for camelizing + rmsPrefix = /^-ms-/, + rdashAlpha = /-([\da-z])/gi, + + // Used by jQuery.camelCase as callback to replace() + fcamelCase = function( all, letter ) { + return letter.toUpperCase(); + }; + +jQuery.fn = jQuery.prototype = { + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // Start with an empty selector + selector: "", + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num != null ? + + // Return just the one element from the set + ( num < 0 ? this[ num + this.length ] : this[ num ] ) : + + // Return all the elements in a clean array + slice.call( this ); + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + ret.context = this.context; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + // (You can seed the arguments with an array of args, but this is + // only used internally.) + each: function( callback, args ) { + return jQuery.each( this, callback, args ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map(this, function( elem, i ) { + return callback.call( elem, i, elem ); + })); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(null); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: deletedIds.sort, + splice: deletedIds.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var src, copyIsArray, copy, name, options, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction(target) ) { + target = {}; + } + + // extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + // Only deal with non-null/undefined values + if ( (options = arguments[ i ]) != null ) { + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { + if ( copyIsArray ) { + copyIsArray = false; + clone = src && jQuery.isArray(src) ? src : []; + + } else { + clone = src && jQuery.isPlainObject(src) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend({ + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + // See test/unit/core.js for details concerning isFunction. + // Since version 1.3, DOM methods and functions like alert + // aren't supported. They return false on IE (#2968). + isFunction: function( obj ) { + return jQuery.type(obj) === "function"; + }, + + isArray: Array.isArray || function( obj ) { + return jQuery.type(obj) === "array"; + }, + + isWindow: function( obj ) { + /* jshint eqeqeq: false */ + return obj != null && obj == obj.window; + }, + + isNumeric: function( obj ) { + // parseFloat NaNs numeric-cast false positives (null|true|false|"") + // ...but misinterprets leading-number strings, particularly hex literals ("0x...") + // subtraction forces infinities to NaN + return !jQuery.isArray( obj ) && obj - parseFloat( obj ) >= 0; + }, + + isEmptyObject: function( obj ) { + var name; + for ( name in obj ) { + return false; + } + return true; + }, + + isPlainObject: function( obj ) { + var key; + + // Must be an Object. + // Because of IE, we also have to check the presence of the constructor property. + // Make sure that DOM nodes and window objects don't pass through, as well + if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { + return false; + } + + try { + // Not own constructor property must be Object + if ( obj.constructor && + !hasOwn.call(obj, "constructor") && + !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { + return false; + } + } catch ( e ) { + // IE8,9 Will throw exceptions on certain host objects #9897 + return false; + } + + // Support: IE<9 + // Handle iteration over inherited properties before own properties. + if ( support.ownLast ) { + for ( key in obj ) { + return hasOwn.call( obj, key ); + } + } + + // Own properties are enumerated firstly, so to speed up, + // if last one is own, then all properties are own. + for ( key in obj ) {} + + return key === undefined || hasOwn.call( obj, key ); + }, + + type: function( obj ) { + if ( obj == null ) { + return obj + ""; + } + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call(obj) ] || "object" : + typeof obj; + }, + + // Evaluates a script in a global context + // Workarounds based on findings by Jim Driscoll + // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context + globalEval: function( data ) { + if ( data && jQuery.trim( data ) ) { + // We use execScript on Internet Explorer + // We use an anonymous function so that context is window + // rather than jQuery in Firefox + ( window.execScript || function( data ) { + window[ "eval" ].call( window, data ); + } )( data ); + } + }, + + // Convert dashed to camelCase; used by the css and data modules + // Microsoft forgot to hump their vendor prefix (#9572) + camelCase: function( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + }, + + // args is for internal usage only + each: function( obj, callback, args ) { + var value, + i = 0, + length = obj.length, + isArray = isArraylike( obj ); + + if ( args ) { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } + + // A special, fast, case for the most common use of each + } else { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } + } + + return obj; + }, + + // Support: Android<4.1, IE<9 + trim: function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArraylike( Object(arr) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + var len; + + if ( arr ) { + if ( indexOf ) { + return indexOf.call( arr, elem, i ); + } + + len = arr.length; + i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; + + for ( ; i < len; i++ ) { + // Skip accessing in sparse arrays + if ( i in arr && arr[ i ] === elem ) { + return i; + } + } + } + + return -1; + }, + + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + while ( j < len ) { + first[ i++ ] = second[ j++ ]; + } + + // Support: IE<9 + // Workaround casting of .length to NaN on otherwise arraylike objects (e.g., NodeLists) + if ( len !== len ) { + while ( second[j] !== undefined ) { + first[ i++ ] = second[ j++ ]; + } + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var value, + i = 0, + length = elems.length, + isArray = isArraylike( elems ), + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // Bind a function to a context, optionally partially applying any + // arguments. + proxy: function( fn, context ) { + var args, proxy, tmp; + + if ( typeof context === "string" ) { + tmp = fn[ context ]; + context = fn; + fn = tmp; + } + + // Quick check to determine if target is callable, in the spec + // this throws a TypeError, but we will just return undefined. + if ( !jQuery.isFunction( fn ) ) { + return undefined; + } + + // Simulated bind + args = slice.call( arguments, 2 ); + proxy = function() { + return fn.apply( context || this, args.concat( slice.call( arguments ) ) ); + }; + + // Set the guid of unique handler to the same of original handler, so it can be removed + proxy.guid = fn.guid = fn.guid || jQuery.guid++; + + return proxy; + }, + + now: function() { + return +( new Date() ); + }, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +}); + +// Populate the class2type map +jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +}); + +function isArraylike( obj ) { + var length = obj.length, + type = jQuery.type( obj ); + + if ( type === "function" || jQuery.isWindow( obj ) ) { + return false; + } + + if ( obj.nodeType === 1 && length ) { + return true; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v1.10.19 + * http://sizzlejs.com/ + * + * Copyright 2013 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-04-18 + */ +(function( window ) { + +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + -(new Date()), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // General-purpose constants + strundefined = typeof undefined, + MAX_NEGATIVE = 1 << 31, + + // Instance methods + hasOwn = ({}).hasOwnProperty, + arr = [], + pop = arr.pop, + push_native = arr.push, + push = arr.push, + slice = arr.slice, + // Use a stripped-down indexOf if we can't use a native one + indexOf = arr.indexOf || function( elem ) { + var i = 0, + len = this.length; + for ( ; i < len; i++ ) { + if ( this[i] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + // http://www.w3.org/TR/css3-syntax/#characters + characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", + + // Loosely modeled on CSS identifier characters + // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors + // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = characterEncoding.replace( "w", "w#" ), + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + characterEncoding + ")(?:" + whitespace + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace + + "*\\]", + + pseudos = ":(" + characterEncoding + ")(?:\\((" + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), + + rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + characterEncoding + ")" ), + "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), + "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + rescape = /'|\\/g, + + // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), + funescape = function( _, escaped, escapedWhitespace ) { + var high = "0x" + escaped - 0x10000; + // NaN means non-codepoint + // Support: Firefox<24 + // Workaround erroneous numeric interpretation of +"0x" + return high !== high || escapedWhitespace ? + escaped : + high < 0 ? + // BMP codepoint + String.fromCharCode( high + 0x10000 ) : + // Supplemental Plane codepoint (surrogate pair) + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }; + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + (arr = slice.call( preferredDoc.childNodes )), + preferredDoc.childNodes + ); + // Support: Android<4.0 + // Detect silently failing push.apply + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + push_native.apply( target, slice.call(els) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + // Can't trust NodeList.length + while ( (target[j++] = els[i++]) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var match, elem, m, nodeType, + // QSA vars + i, groups, old, nid, newContext, newSelector; + + if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { + setDocument( context ); + } + + context = context || document; + results = results || []; + + if ( !selector || typeof selector !== "string" ) { + return results; + } + + if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { + return []; + } + + if ( documentIsHTML && !seed ) { + + // Shortcuts + if ( (match = rquickExpr.exec( selector )) ) { + // Speed-up: Sizzle("#ID") + if ( (m = match[1]) ) { + if ( nodeType === 9 ) { + elem = context.getElementById( m ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document (jQuery #6963) + if ( elem && elem.parentNode ) { + // Handle the case where IE, Opera, and Webkit return items + // by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + } else { + // Context is not a document + if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && + contains( context, elem ) && elem.id === m ) { + results.push( elem ); + return results; + } + } + + // Speed-up: Sizzle("TAG") + } else if ( match[2] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Speed-up: Sizzle(".CLASS") + } else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) { + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // QSA path + if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { + nid = old = expando; + newContext = context; + newSelector = nodeType === 9 && selector; + + // qSA works strangely on Element-rooted queries + // We can work around this by specifying an extra ID on the root + // and working up from there (Thanks to Andrew Dupont for the technique) + // IE 8 doesn't work on object elements + if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { + groups = tokenize( selector ); + + if ( (old = context.getAttribute("id")) ) { + nid = old.replace( rescape, "\\$&" ); + } else { + context.setAttribute( "id", nid ); + } + nid = "[id='" + nid + "'] "; + + i = groups.length; + while ( i-- ) { + groups[i] = nid + toSelector( groups[i] ); + } + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || context; + newSelector = groups.join(","); + } + + if ( newSelector ) { + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch(qsaError) { + } finally { + if ( !old ) { + context.removeAttribute("id"); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {Function(string, Object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return (cache[ key + " " ] = value); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created div and expects a boolean result + */ +function assert( fn ) { + var div = document.createElement("div"); + + try { + return !!fn( div ); + } catch (e) { + return false; + } finally { + // Remove from its parent by default + if ( div.parentNode ) { + div.parentNode.removeChild( div ); + } + // release memory in IE + div = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split("|"), + i = attrs.length; + + while ( i-- ) { + Expr.attrHandle[ arr[i] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + ( ~b.sourceIndex || MAX_NEGATIVE ) - + ( ~a.sourceIndex || MAX_NEGATIVE ); + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( (cur = cur.nextSibling) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== strundefined && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = elem && (elem.ownerDocument || elem).documentElement; + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, + doc = node ? node.ownerDocument || node : preferredDoc, + parent = doc.defaultView; + + // If no document and documentElement is available, return + if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Set our document + document = doc; + docElem = doc.documentElement; + + // Support tests + documentIsHTML = !isXML( doc ); + + // Support: IE>8 + // If iframe document is assigned to "document" variable and if iframe has been reloaded, + // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936 + // IE6-8 do not support the defaultView property so parent will be undefined + if ( parent && parent !== parent.top ) { + // IE11 does not have attachEvent, so all must suffer + if ( parent.addEventListener ) { + parent.addEventListener( "unload", function() { + setDocument(); + }, false ); + } else if ( parent.attachEvent ) { + parent.attachEvent( "onunload", function() { + setDocument(); + }); + } + } + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans) + support.attributes = assert(function( div ) { + div.className = "i"; + return !div.getAttribute("className"); + }); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert(function( div ) { + div.appendChild( doc.createComment("") ); + return !div.getElementsByTagName("*").length; + }); + + // Check if getElementsByClassName can be trusted + support.getElementsByClassName = rnative.test( doc.getElementsByClassName ) && assert(function( div ) { + div.innerHTML = "<div class='a'></div><div class='a i'></div>"; + + // Support: Safari<4 + // Catch class over-caching + div.firstChild.className = "i"; + // Support: Opera<10 + // Catch gEBCN failure to find non-leading classes + return div.getElementsByClassName("i").length === 2; + }); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert(function( div ) { + docElem.appendChild( div ).id = expando; + return !doc.getElementsByName || !doc.getElementsByName( expando ).length; + }); + + // ID find and filter + if ( support.getById ) { + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== strundefined && documentIsHTML ) { + var m = context.getElementById( id ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + return m && m.parentNode ? [ m ] : []; + } + }; + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute("id") === attrId; + }; + }; + } else { + // Support: IE6/7 + // getElementById is not reliable as a find shortcut + delete Expr.find["ID"]; + + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); + return node && node.value === attrId; + }; + }; + } + + // Tag + Expr.find["TAG"] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== strundefined ) { + return context.getElementsByTagName( tag ); + } + } : + function( tag, context ) { + var elem, + tmp = [], + i = 0, + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( (elem = results[i++]) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See http://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( (support.qsa = rnative.test( doc.querySelectorAll )) ) { + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( div ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // http://bugs.jquery.com/ticket/12359 + div.innerHTML = "<select msallowclip=''><option selected=''></option></select>"; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // http://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( div.querySelectorAll("[msallowclip^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !div.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + }); + + assert(function( div ) { + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = doc.createElement("input"); + input.setAttribute( "type", "hidden" ); + div.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( div.querySelectorAll("[name=d]").length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":enabled").length ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Opera 10-11 does not throw on post-comma invalid pseudos + div.querySelectorAll("*,:x"); + rbuggyQSA.push(",.*:"); + }); + } + + if ( (support.matchesSelector = rnative.test( (matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector) )) ) { + + assert(function( div ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( div, "div" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( div, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + }); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully does not implement inclusive descendent + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + )); + } : + function( a, b ) { + if ( b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { + + // Choose the first element that is related to our preferred document + if ( a === doc || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { + return -1; + } + if ( b === doc || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + return a === doc ? -1 : + b === doc ? 1 : + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( (cur = cur.parentNode) ) { + ap.unshift( cur ); + } + cur = b; + while ( (cur = cur.parentNode) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[i] === bp[i] ) { + i++; + } + + return i ? + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[i], bp[i] ) : + + // Otherwise nodes in our document sort first + ap[i] === preferredDoc ? -1 : + bp[i] === preferredDoc ? 1 : + 0; + }; + + return doc; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + // Make sure that attribute selectors are quoted + expr = expr.replace( rattributeQuotes, "='$1']" ); + + if ( support.matchesSelector && documentIsHTML && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch(e) {} + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + // Set document vars if needed + if ( ( context.ownerDocument || context ) !== document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + (val = elem.getAttributeNode(name)) && val.specified ? + val.value : + null; +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( (elem = results[i++]) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + // If no nodeType, this is expected to be an array + while ( (node = elem[i++]) ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[3] || match[4] || match[5] || "" ).replace( runescape, funescape ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1].slice( 0, 3 ) === "nth" ) { + // nth-* requires argument + if ( !match[3] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); + match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); + + // other types prohibit arguments + } else if ( match[3] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[6] && match[2]; + + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[3] ) { + match[2] = match[4] || match[5] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + match[0] = match[0].slice( 0, excess ); + match[2] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { return true; } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute("class") || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, what, argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, context, xml ) { + var cache, outerCache, node, diff, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( (node = node[ dir ]) ) { + if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { + return false; + } + } + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + // Seek `elem` from a previously-cached index + outerCache = parent[ expando ] || (parent[ expando ] = {}); + cache = outerCache[ type ] || []; + nodeIndex = cache[0] === dirruns && cache[1]; + diff = cache[0] === dirruns && cache[2]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( (node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + (diff = nodeIndex = 0) || start.pop()) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + outerCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + // Use previously-cached element index if available + } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) { + diff = cache[1]; + + // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...) + } else { + // Use the same loop as above to seek `elem` from the start + while ( (node = ++nodeIndex && node && node[ dir ] || + (diff = nodeIndex = 0) || start.pop()) ) { + + if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { + // Cache the index of each encountered element + if ( useCache ) { + (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf.call( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + // Potentially complex pseudos + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + return function( elem ) { + return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + // lang value must be a valid identifier + if ( !ridentifier.test(lang || "") ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( (elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); + return false; + }; + }), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + // Boolean properties + "enabled": function( elem ) { + return elem.disabled === false; + }, + + "disabled": function( elem ) { + return elem.disabled === true; + }, + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( (tokens = []) ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + matched = match.shift(); + tokens.push({ + value: matched, + // Cast descendant combinators to space + type: match[0].replace( rtrim, " " ) + }); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + matched = match.shift(); + tokens.push({ + value: matched, + type: type, + matches: match + }); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[i].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + checkNonElements = base && dir === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching + if ( xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || (elem[ expando ] = {}); + if ( (oldCache = outerCache[ dir ]) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return (newCache[ 2 ] = oldCache[ 2 ]); + } else { + // Reuse newcache so results back-propagate to previous elements + outerCache[ dir ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { + return true; + } + } + } + } + } + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf.call( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), + len = elems.length; + + if ( outermost ) { + outermostContext = context !== document && context; + } + + // Add elements passing elementMatchers directly to results + // Keep `i` a string if there are no elements so `matchedCount` will be "00" below + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: <number>) matching elements by id + for ( ; i !== len && (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + while ( (matcher = elementMatchers[j++]) ) { + if ( matcher( elem, context, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // Apply set filters to unmatched elements + matchedCount += i; + if ( bySet && i !== matchedCount ) { + j = 0; + while ( (matcher = setMatchers[j++]) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( (selector = compiled.selector || selector) ); + + results = results || []; + + // Try to minimize operations if there is no seed and only one group + if ( match.length === 1 ) { + + // Take a shortcut and set the context if the root selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + support.getById && context.nodeType === 9 && documentIsHTML && + Expr.relative[ tokens[1].type ] ) { + + context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( runescape, funescape ), + rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; + +// Support: Chrome<14 +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert(function( div1 ) { + // Should return 1, but returns 4 (following) + return div1.compareDocumentPosition( document.createElement("div") ) & 1; +}); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert(function( div ) { + div.innerHTML = "<a href='#'></a>"; + return div.firstChild.getAttribute("href") === "#" ; +}) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + }); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert(function( div ) { + div.innerHTML = "<input/>"; + div.firstChild.setAttribute( "value", "" ); + return div.firstChild.getAttribute( "value" ) === ""; +}) ) { + addHandle( "value", function( elem, name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + }); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert(function( div ) { + return div.getAttribute("disabled") == null; +}) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + (val = elem.getAttributeNode( name )) && val.specified ? + val.value : + null; + } + }); +} + +return Sizzle; + +})( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; +jQuery.expr[":"] = jQuery.expr.pseudos; +jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; + + + +var rneedsContext = jQuery.expr.match.needsContext; + +var rsingleTag = (/^<(\w+)\s*\/?>(?:<\/\1>|)$/); + + + +var risSimple = /^.[^:#\[\.,]*$/; + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + /* jshint -W018 */ + return !!qualifier.call( elem, i, elem ) !== not; + }); + + } + + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + }); + + } + + if ( typeof qualifier === "string" ) { + if ( risSimple.test( qualifier ) ) { + return jQuery.filter( qualifier, elements, not ); + } + + qualifier = jQuery.filter( qualifier, elements ); + } + + return jQuery.grep( elements, function( elem ) { + return ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not; + }); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + return elems.length === 1 && elem.nodeType === 1 ? + jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] : + jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + })); +}; + +jQuery.fn.extend({ + find: function( selector ) { + var i, + ret = [], + self = this, + len = self.length; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + }) ); + } + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + // Needed because $( selector, context ) becomes $( context ).find( selector ) + ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); + ret.selector = this.selector ? this.selector + " " + selector : selector; + return ret; + }, + filter: function( selector ) { + return this.pushStack( winnow(this, selector || [], false) ); + }, + not: function( selector ) { + return this.pushStack( winnow(this, selector || [], true) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +}); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // Use the correct document accordingly with window argument (sandbox) + document = window.document, + + // A simple way to check for HTML strings + // Prioritize #id over <tag> to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, + + init = jQuery.fn.init = function( selector, context ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && (match[1] || !context) ) { + + // HANDLE: $(html) -> $(array) + if ( match[1] ) { + context = context instanceof jQuery ? context[0] : context; + + // scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[1], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + // Properties of context are called as methods if possible + if ( jQuery.isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[2] ); + + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE and Opera return items + // by name instead of ID + if ( elem.id !== match[2] ) { + return rootjQuery.find( selector ); + } + + // Otherwise, we inject the element directly into the jQuery object + this.length = 1; + this[0] = elem; + } + + this.context = document; + this.selector = selector; + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || rootjQuery ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this.context = this[0] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return typeof rootjQuery.ready !== "undefined" ? + rootjQuery.ready( selector ) : + // Execute immediately if ready is not present + selector( jQuery ); + } + + if ( selector.selector !== undefined ) { + this.selector = selector.selector; + this.context = selector.context; + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + // methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.extend({ + dir: function( elem, dir, until ) { + var matched = [], + cur = elem[ dir ]; + + while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { + if ( cur.nodeType === 1 ) { + matched.push( cur ); + } + cur = cur[dir]; + } + return matched; + }, + + sibling: function( n, elem ) { + var r = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + r.push( n ); + } + } + + return r; + } +}); + +jQuery.fn.extend({ + has: function( target ) { + var i, + targets = jQuery( target, this ), + len = targets.length; + + return this.filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( this, targets[i] ) ) { + return true; + } + } + }); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? + jQuery( selectors, context || this.context ) : + 0; + + for ( ; i < l; i++ ) { + for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) { + // Always skip document fragments + if ( cur.nodeType < 11 && (pos ? + pos.index(cur) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector(cur, selectors)) ) { + + matched.push( cur ); + break; + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.unique( matched ) : matched ); + }, + + // Determine the position of an element within + // the matched set of elements + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1; + } + + // index in selector + if ( typeof elem === "string" ) { + return jQuery.inArray( this[0], jQuery( elem ) ); + } + + // Locate the position of the desired element + return jQuery.inArray( + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[0] : elem, this ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.unique( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter(selector) + ); + } +}); + +function sibling( cur, dir ) { + do { + cur = cur[ dir ]; + } while ( cur && cur.nodeType !== 1 ); + + return cur; +} + +jQuery.each({ + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return jQuery.dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return jQuery.dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return jQuery.dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return jQuery.dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return jQuery.dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return jQuery.dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return jQuery.sibling( elem.firstChild ); + }, + contents: function( elem ) { + return jQuery.nodeName( elem, "iframe" ) ? + elem.contentDocument || elem.contentWindow.document : + jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var ret = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + ret = jQuery.filter( selector, ret ); + } + + if ( this.length > 1 ) { + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + ret = jQuery.unique( ret ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + ret = ret.reverse(); + } + } + + return this.pushStack( ret ); + }; +}); +var rnotwhite = (/\S+/g); + + + +// String to Object options format cache +var optionsCache = {}; + +// Convert String-formatted options into Object-formatted ones and store in cache +function createOptions( options ) { + var object = optionsCache[ options ] = {}; + jQuery.each( options.match( rnotwhite ) || [], function( _, flag ) { + object[ flag ] = true; + }); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + ( optionsCache[ options ] || createOptions( options ) ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + // Last fire value (for non-forgettable lists) + memory, + // Flag to know if list was already fired + fired, + // End of the loop when firing + firingLength, + // Index of currently firing callback (modified by remove if needed) + firingIndex, + // First callback to fire (used internally by add and fireWith) + firingStart, + // Actual callback list + list = [], + // Stack of fire calls for repeatable lists + stack = !options.once && [], + // Fire callbacks + fire = function( data ) { + memory = options.memory && data; + fired = true; + firingIndex = firingStart || 0; + firingStart = 0; + firingLength = list.length; + firing = true; + for ( ; list && firingIndex < firingLength; firingIndex++ ) { + if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { + memory = false; // To prevent further calls using add + break; + } + } + firing = false; + if ( list ) { + if ( stack ) { + if ( stack.length ) { + fire( stack.shift() ); + } + } else if ( memory ) { + list = []; + } else { + self.disable(); + } + } + }, + // Actual Callbacks object + self = { + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + // First, we save the current length + var start = list.length; + (function add( args ) { + jQuery.each( args, function( _, arg ) { + var type = jQuery.type( arg ); + if ( type === "function" ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && type !== "string" ) { + // Inspect recursively + add( arg ); + } + }); + })( arguments ); + // Do we need to add the callbacks to the + // current firing batch? + if ( firing ) { + firingLength = list.length; + // With memory, if we're not firing then + // we should call right away + } else if ( memory ) { + firingStart = start; + fire( memory ); + } + } + return this; + }, + // Remove a callback from the list + remove: function() { + if ( list ) { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + // Handle firing indexes + if ( firing ) { + if ( index <= firingLength ) { + firingLength--; + } + if ( index <= firingIndex ) { + firingIndex--; + } + } + } + }); + } + return this; + }, + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length ); + }, + // Remove all callbacks from the list + empty: function() { + list = []; + firingLength = 0; + return this; + }, + // Have the list do nothing anymore + disable: function() { + list = stack = memory = undefined; + return this; + }, + // Is it disabled? + disabled: function() { + return !list; + }, + // Lock the list in its current state + lock: function() { + stack = undefined; + if ( !memory ) { + self.disable(); + } + return this; + }, + // Is it locked? + locked: function() { + return !stack; + }, + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( list && ( !fired || stack ) ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + if ( firing ) { + stack.push( args ); + } else { + fire( args ); + } + } + return this; + }, + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +jQuery.extend({ + + Deferred: function( func ) { + var tuples = [ + // action, add listener, listener list, final state + [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], + [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], + [ "notify", "progress", jQuery.Callbacks("memory") ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + then: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + return jQuery.Deferred(function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; + // deferred[ done | fail | progress ] for forwarding actions to newDefer + deferred[ tuple[1] ](function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && jQuery.isFunction( returned.promise ) ) { + returned.promise() + .done( newDefer.resolve ) + .fail( newDefer.reject ) + .progress( newDefer.notify ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); + } + }); + }); + fns = null; + }).promise(); + }, + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Keep pipe for back-compat + promise.pipe = promise.then; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 3 ]; + + // promise[ done | fail | progress ] = list.add + promise[ tuple[1] ] = list.add; + + // Handle state + if ( stateString ) { + list.add(function() { + // state = [ resolved | rejected ] + state = stateString; + + // [ reject_list | resolve_list ].disable; progress_list.lock + }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); + } + + // deferred[ resolve | reject | notify ] + deferred[ tuple[0] ] = function() { + deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); + return this; + }; + deferred[ tuple[0] + "With" ] = list.fireWith; + }); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( subordinate /* , ..., subordinateN */ ) { + var i = 0, + resolveValues = slice.call( arguments ), + length = resolveValues.length, + + // the count of uncompleted subordinates + remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, + + // the master Deferred. If resolveValues consist of only a single Deferred, just use that. + deferred = remaining === 1 ? subordinate : jQuery.Deferred(), + + // Update function for both resolve and progress values + updateFunc = function( i, contexts, values ) { + return function( value ) { + contexts[ i ] = this; + values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( values === progressValues ) { + deferred.notifyWith( contexts, values ); + + } else if ( !(--remaining) ) { + deferred.resolveWith( contexts, values ); + } + }; + }, + + progressValues, progressContexts, resolveContexts; + + // add listeners to Deferred subordinates; treat others as resolved + if ( length > 1 ) { + progressValues = new Array( length ); + progressContexts = new Array( length ); + resolveContexts = new Array( length ); + for ( ; i < length; i++ ) { + if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { + resolveValues[ i ].promise() + .done( updateFunc( i, resolveContexts, resolveValues ) ) + .fail( deferred.reject ) + .progress( updateFunc( i, progressContexts, progressValues ) ); + } else { + --remaining; + } + } + } + + // if we're not waiting on anything, resolve the master + if ( !remaining ) { + deferred.resolveWith( resolveContexts, resolveValues ); + } + + return deferred.promise(); + } +}); + + +// The deferred used on DOM ready +var readyList; + +jQuery.fn.ready = function( fn ) { + // Add the callback + jQuery.ready.promise().done( fn ); + + return this; +}; + +jQuery.extend({ + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Hold (or release) the ready event + holdReady: function( hold ) { + if ( hold ) { + jQuery.readyWait++; + } else { + jQuery.ready( true ); + } + }, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( !document.body ) { + return setTimeout( jQuery.ready ); + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + + // Trigger any bound ready events + if ( jQuery.fn.triggerHandler ) { + jQuery( document ).triggerHandler( "ready" ); + jQuery( document ).off( "ready" ); + } + } +}); + +/** + * Clean-up method for dom ready events + */ +function detach() { + if ( document.addEventListener ) { + document.removeEventListener( "DOMContentLoaded", completed, false ); + window.removeEventListener( "load", completed, false ); + + } else { + document.detachEvent( "onreadystatechange", completed ); + window.detachEvent( "onload", completed ); + } +} + +/** + * The ready event handler and self cleanup method + */ +function completed() { + // readyState === "complete" is good enough for us to call the dom ready in oldIE + if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) { + detach(); + jQuery.ready(); + } +} + +jQuery.ready.promise = function( obj ) { + if ( !readyList ) { + + readyList = jQuery.Deferred(); + + // Catch cases where $(document).ready() is called after the browser event has already occurred. + // we once tried to use readyState "interactive" here, but it caused issues like the one + // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 + if ( document.readyState === "complete" ) { + // Handle it asynchronously to allow scripts the opportunity to delay ready + setTimeout( jQuery.ready ); + + // Standards-based browsers support DOMContentLoaded + } else if ( document.addEventListener ) { + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed, false ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed, false ); + + // If IE event model is used + } else { + // Ensure firing before onload, maybe late but safe also for iframes + document.attachEvent( "onreadystatechange", completed ); + + // A fallback to window.onload, that will always work + window.attachEvent( "onload", completed ); + + // If IE and not a frame + // continually check to see if the document is ready + var top = false; + + try { + top = window.frameElement == null && document.documentElement; + } catch(e) {} + + if ( top && top.doScroll ) { + (function doScrollCheck() { + if ( !jQuery.isReady ) { + + try { + // Use the trick by Diego Perini + // http://javascript.nwbox.com/IEContentLoaded/ + top.doScroll("left"); + } catch(e) { + return setTimeout( doScrollCheck, 50 ); + } + + // detach all dom ready events + detach(); + + // and execute any waiting functions + jQuery.ready(); + } + })(); + } + } + } + return readyList.promise( obj ); +}; + + +var strundefined = typeof undefined; + + + +// Support: IE<9 +// Iteration over object's inherited properties before its own +var i; +for ( i in jQuery( support ) ) { + break; +} +support.ownLast = i !== "0"; + +// Note: most support tests are defined in their respective modules. +// false until the test is run +support.inlineBlockNeedsLayout = false; + +// Execute ASAP in case we need to set body.style.zoom +jQuery(function() { + // Minified: var a,b,c,d + var val, div, body, container; + + body = document.getElementsByTagName( "body" )[ 0 ]; + if ( !body || !body.style ) { + // Return for frameset docs that don't have a body + return; + } + + // Setup + div = document.createElement( "div" ); + container = document.createElement( "div" ); + container.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px"; + body.appendChild( container ).appendChild( div ); + + if ( typeof div.style.zoom !== strundefined ) { + // Support: IE<8 + // Check if natively block-level elements act like inline-block + // elements when setting their display to 'inline' and giving + // them layout + div.style.cssText = "display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1"; + + support.inlineBlockNeedsLayout = val = div.offsetWidth === 3; + if ( val ) { + // Prevent IE 6 from affecting layout for positioned elements #11048 + // Prevent IE from shrinking the body in IE 7 mode #12869 + // Support: IE<8 + body.style.zoom = 1; + } + } + + body.removeChild( container ); +}); + + + + +(function() { + var div = document.createElement( "div" ); + + // Execute the test only if not already executed in another module. + if (support.deleteExpando == null) { + // Support: IE<9 + support.deleteExpando = true; + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + } + + // Null elements to avoid leaks in IE. + div = null; +})(); + + +/** + * Determines whether an object can have data + */ +jQuery.acceptData = function( elem ) { + var noData = jQuery.noData[ (elem.nodeName + " ").toLowerCase() ], + nodeType = +elem.nodeType || 1; + + // Do not set data on non-element DOM nodes because it will not be cleared (#8335). + return nodeType !== 1 && nodeType !== 9 ? + false : + + // Nodes accept data unless otherwise specified; rejection can be conditional + !noData || noData !== true && elem.getAttribute("classid") === noData; +}; + + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /([A-Z])/g; + +function dataAttr( elem, key, data ) { + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + + var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); + + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : + // Only convert to a number if it doesn't change the string + +data + "" === data ? +data : + rbrace.test( data ) ? jQuery.parseJSON( data ) : + data; + } catch( e ) {} + + // Make sure we set the data so it isn't changed later + jQuery.data( elem, key, data ); + + } else { + data = undefined; + } + } + + return data; +} + +// checks a cache object for emptiness +function isEmptyDataObject( obj ) { + var name; + for ( name in obj ) { + + // if the public data object is empty, the private is still empty + if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { + continue; + } + if ( name !== "toJSON" ) { + return false; + } + } + + return true; +} + +function internalData( elem, name, data, pvt /* Internal Use Only */ ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var ret, thisCache, + internalKey = jQuery.expando, + + // We have to handle DOM nodes and JS objects differently because IE6-7 + // can't GC object references properly across the DOM-JS boundary + isNode = elem.nodeType, + + // Only DOM nodes need the global jQuery cache; JS object data is + // attached directly to the object so GC can occur automatically + cache = isNode ? jQuery.cache : elem, + + // Only defining an ID for JS objects if its cache already exists allows + // the code to shortcut on the same path as a DOM node with no cache + id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; + + // Avoid doing any more work than we need to when trying to get data on an + // object that has no data at all + if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string" ) { + return; + } + + if ( !id ) { + // Only DOM nodes need a new unique ID for each element since their data + // ends up in the global cache + if ( isNode ) { + id = elem[ internalKey ] = deletedIds.pop() || jQuery.guid++; + } else { + id = internalKey; + } + } + + if ( !cache[ id ] ) { + // Avoid exposing jQuery metadata on plain JS objects when the object + // is serialized using JSON.stringify + cache[ id ] = isNode ? {} : { toJSON: jQuery.noop }; + } + + // An object can be passed to jQuery.data instead of a key/value pair; this gets + // shallow copied over onto the existing cache + if ( typeof name === "object" || typeof name === "function" ) { + if ( pvt ) { + cache[ id ] = jQuery.extend( cache[ id ], name ); + } else { + cache[ id ].data = jQuery.extend( cache[ id ].data, name ); + } + } + + thisCache = cache[ id ]; + + // jQuery data() is stored in a separate object inside the object's internal data + // cache in order to avoid key collisions between internal data and user-defined + // data. + if ( !pvt ) { + if ( !thisCache.data ) { + thisCache.data = {}; + } + + thisCache = thisCache.data; + } + + if ( data !== undefined ) { + thisCache[ jQuery.camelCase( name ) ] = data; + } + + // Check for both converted-to-camel and non-converted data property names + // If a data property was specified + if ( typeof name === "string" ) { + + // First Try to find as-is property data + ret = thisCache[ name ]; + + // Test for null|undefined property data + if ( ret == null ) { + + // Try to find the camelCased property + ret = thisCache[ jQuery.camelCase( name ) ]; + } + } else { + ret = thisCache; + } + + return ret; +} + +function internalRemoveData( elem, name, pvt ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var thisCache, i, + isNode = elem.nodeType, + + // See jQuery.data for more information + cache = isNode ? jQuery.cache : elem, + id = isNode ? elem[ jQuery.expando ] : jQuery.expando; + + // If there is already no cache entry for this object, there is no + // purpose in continuing + if ( !cache[ id ] ) { + return; + } + + if ( name ) { + + thisCache = pvt ? cache[ id ] : cache[ id ].data; + + if ( thisCache ) { + + // Support array or space separated string names for data keys + if ( !jQuery.isArray( name ) ) { + + // try the string as a key before any manipulation + if ( name in thisCache ) { + name = [ name ]; + } else { + + // split the camel cased version by spaces unless a key with the spaces exists + name = jQuery.camelCase( name ); + if ( name in thisCache ) { + name = [ name ]; + } else { + name = name.split(" "); + } + } + } else { + // If "name" is an array of keys... + // When data is initially created, via ("key", "val") signature, + // keys will be converted to camelCase. + // Since there is no way to tell _how_ a key was added, remove + // both plain key and camelCase key. #12786 + // This will only penalize the array argument path. + name = name.concat( jQuery.map( name, jQuery.camelCase ) ); + } + + i = name.length; + while ( i-- ) { + delete thisCache[ name[i] ]; + } + + // If there is no data left in the cache, we want to continue + // and let the cache object itself get destroyed + if ( pvt ? !isEmptyDataObject(thisCache) : !jQuery.isEmptyObject(thisCache) ) { + return; + } + } + } + + // See jQuery.data for more information + if ( !pvt ) { + delete cache[ id ].data; + + // Don't destroy the parent cache unless the internal data object + // had been the only thing left in it + if ( !isEmptyDataObject( cache[ id ] ) ) { + return; + } + } + + // Destroy the cache + if ( isNode ) { + jQuery.cleanData( [ elem ], true ); + + // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) + /* jshint eqeqeq: false */ + } else if ( support.deleteExpando || cache != cache.window ) { + /* jshint eqeqeq: true */ + delete cache[ id ]; + + // When all else fails, null + } else { + cache[ id ] = null; + } +} + +jQuery.extend({ + cache: {}, + + // The following elements (space-suffixed to avoid Object.prototype collisions) + // throw uncatchable exceptions if you attempt to set expando properties + noData: { + "applet ": true, + "embed ": true, + // ...but Flash objects (which have this classid) *can* handle expandos + "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" + }, + + hasData: function( elem ) { + elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; + return !!elem && !isEmptyDataObject( elem ); + }, + + data: function( elem, name, data ) { + return internalData( elem, name, data ); + }, + + removeData: function( elem, name ) { + return internalRemoveData( elem, name ); + }, + + // For internal use only. + _data: function( elem, name, data ) { + return internalData( elem, name, data, true ); + }, + + _removeData: function( elem, name ) { + return internalRemoveData( elem, name, true ); + } +}); + +jQuery.fn.extend({ + data: function( key, value ) { + var i, name, data, + elem = this[0], + attrs = elem && elem.attributes; + + // Special expections of .data basically thwart jQuery.access, + // so implement the relevant behavior ourselves + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = jQuery.data( elem ); + + if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE11+ + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = jQuery.camelCase( name.slice(5) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + jQuery._data( elem, "parsedAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each(function() { + jQuery.data( this, key ); + }); + } + + return arguments.length > 1 ? + + // Sets one value + this.each(function() { + jQuery.data( this, key, value ); + }) : + + // Gets one value + // Try to fetch any internally stored data first + elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : undefined; + }, + + removeData: function( key ) { + return this.each(function() { + jQuery.removeData( this, key ); + }); + } +}); + + +jQuery.extend({ + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = jQuery._data( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || jQuery.isArray(data) ) { + queue = jQuery._data( elem, type, jQuery.makeArray(data) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // not intended for public consumption - generates a queueHooks object, or returns the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return jQuery._data( elem, key ) || jQuery._data( elem, key, { + empty: jQuery.Callbacks("once memory").add(function() { + jQuery._removeData( elem, type + "queue" ); + jQuery._removeData( elem, key ); + }) + }); + } +}); + +jQuery.fn.extend({ + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[0], type ); + } + + return data === undefined ? + this : + this.each(function() { + var queue = jQuery.queue( this, type, data ); + + // ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[0] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + }); + }, + dequeue: function( type ) { + return this.each(function() { + jQuery.dequeue( this, type ); + }); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = jQuery._data( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +}); +var pnum = (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source; + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var isHidden = function( elem, el ) { + // isHidden might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); + }; + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + length = elems.length, + bulk = key == null; + + // Sets many values + if ( jQuery.type( key ) === "object" ) { + chainable = true; + for ( i in key ) { + jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !jQuery.isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < length; i++ ) { + fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); + } + } + } + + return chainable ? + elems : + + // Gets + bulk ? + fn.call( elems ) : + length ? fn( elems[0], key ) : emptyGet; +}; +var rcheckableType = (/^(?:checkbox|radio)$/i); + + + +(function() { + // Minified: var a,b,c + var input = document.createElement( "input" ), + div = document.createElement( "div" ), + fragment = document.createDocumentFragment(); + + // Setup + div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>"; + + // IE strips leading whitespace when .innerHTML is used + support.leadingWhitespace = div.firstChild.nodeType === 3; + + // Make sure that tbody elements aren't automatically inserted + // IE will insert them into empty tables + support.tbody = !div.getElementsByTagName( "tbody" ).length; + + // Make sure that link elements get serialized correctly by innerHTML + // This requires a wrapper element in IE + support.htmlSerialize = !!div.getElementsByTagName( "link" ).length; + + // Makes sure cloning an html5 element does not cause problems + // Where outerHTML is undefined, this still works + support.html5Clone = + document.createElement( "nav" ).cloneNode( true ).outerHTML !== "<:nav></:nav>"; + + // Check if a disconnected checkbox will retain its checked + // value of true after appended to the DOM (IE6/7) + input.type = "checkbox"; + input.checked = true; + fragment.appendChild( input ); + support.appendChecked = input.checked; + + // Make sure textarea (and checkbox) defaultValue is properly cloned + // Support: IE6-IE11+ + div.innerHTML = "<textarea>x</textarea>"; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // #11217 - WebKit loses check when the name is after the checked attribute + fragment.appendChild( div ); + div.innerHTML = "<input type='radio' checked='checked' name='t'/>"; + + // Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3 + // old WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE<9 + // Opera does not clone events (and typeof div.attachEvent === undefined). + // IE9-10 clones events bound via attachEvent, but they don't trigger with .click() + support.noCloneEvent = true; + if ( div.attachEvent ) { + div.attachEvent( "onclick", function() { + support.noCloneEvent = false; + }); + + div.cloneNode( true ).click(); + } + + // Execute the test only if not already executed in another module. + if (support.deleteExpando == null) { + // Support: IE<9 + support.deleteExpando = true; + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + } +})(); + + +(function() { + var i, eventName, + div = document.createElement( "div" ); + + // Support: IE<9 (lack submit/change bubble), Firefox 23+ (lack focusin event) + for ( i in { submit: true, change: true, focusin: true }) { + eventName = "on" + i; + + if ( !(support[ i + "Bubbles" ] = eventName in window) ) { + // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP) + div.setAttribute( eventName, "t" ); + support[ i + "Bubbles" ] = div.attributes[ eventName ].expando === false; + } + } + + // Null elements to avoid leaks in IE. + div = null; +})(); + + +var rformElems = /^(?:input|select|textarea)$/i, + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|pointer|contextmenu)|click/, + rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + var tmp, events, t, handleObjIn, + special, eventHandle, handleObj, + handlers, type, namespaces, origType, + elemData = jQuery._data( elem ); + + // Don't attach events to noData or text/comment nodes (but allow plain objects) + if ( !elemData ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !(events = elemData.events) ) { + events = elemData.events = {}; + } + if ( !(eventHandle = elemData.handle) ) { + eventHandle = elemData.handle = function( e ) { + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== strundefined && (!e || jQuery.event.triggered !== e.type) ? + jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : + undefined; + }; + // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events + eventHandle.elem = elem; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend({ + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join(".") + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !(handlers = events[ type ]) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener/attachEvent if the special events handler returns false + if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + // Bind the global event handler to the element + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle, false ); + + } else if ( elem.attachEvent ) { + elem.attachEvent( "on" + type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + // Nullify elem to prevent memory leaks in IE + elem = null; + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + var j, handleObj, tmp, + origCount, t, events, + special, handlers, type, + namespaces, origType, + elemData = jQuery.hasData( elem ) && jQuery._data( elem ); + + if ( !elemData || !(events = elemData.events) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + delete elemData.handle; + + // removeData also checks for emptiness and clears the expando if empty + // so use it instead of delete + jQuery._removeData( elem, "events" ); + } + }, + + trigger: function( event, data, elem, onlyHandlers ) { + var handle, ontype, cur, + bubbleType, special, tmp, i, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : []; + + cur = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf(".") >= 0 ) { + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split("."); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf(":") < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join("."); + event.namespace_re = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === (elem.ownerDocument || document) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { + + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && jQuery.acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) && + jQuery.acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name name as the event. + // Can't use an .isFunction() check here because IE6/7 fails that test. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + try { + elem[ type ](); + } catch ( e ) { + // IE<9 dies on focus/blur to hidden element (#1486,#12518) + // only reproducible on winXP IE8 native, not IE9 in IE8 mode + } + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + dispatch: function( event ) { + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( event ); + + var i, ret, handleObj, matched, j, + handlerQueue = [], + args = slice.call( arguments ), + handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[0] = event; + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { + + // Triggered event must either 1) have no namespace, or + // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). + if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) + .apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( (event.result = ret) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var sel, handleObj, matches, i, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + // Black-hole SVG <use> instance trees (#13180) + // Avoid non-left-click bubbling in Firefox (#3861) + if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { + + /* jshint eqeqeq: false */ + for ( ; cur != this; cur = cur.parentNode || this ) { + /* jshint eqeqeq: true */ + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) { + matches = []; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matches[ sel ] === undefined ) { + matches[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) >= 0 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matches[ sel ] ) { + matches.push( handleObj ); + } + } + if ( matches.length ) { + handlerQueue.push({ elem: cur, handlers: matches }); + } + } + } + } + + // Add the remaining (directly-bound) handlers + if ( delegateCount < handlers.length ) { + handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); + } + + return handlerQueue; + }, + + fix: function( event ) { + if ( event[ jQuery.expando ] ) { + return event; + } + + // Create a writable copy of the event object and normalize some properties + var i, prop, copy, + type = event.type, + originalEvent = event, + fixHook = this.fixHooks[ type ]; + + if ( !fixHook ) { + this.fixHooks[ type ] = fixHook = + rmouseEvent.test( type ) ? this.mouseHooks : + rkeyEvent.test( type ) ? this.keyHooks : + {}; + } + copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; + + event = new jQuery.Event( originalEvent ); + + i = copy.length; + while ( i-- ) { + prop = copy[ i ]; + event[ prop ] = originalEvent[ prop ]; + } + + // Support: IE<9 + // Fix target property (#1925) + if ( !event.target ) { + event.target = originalEvent.srcElement || document; + } + + // Support: Chrome 23+, Safari? + // Target should not be a text node (#504, #13143) + if ( event.target.nodeType === 3 ) { + event.target = event.target.parentNode; + } + + // Support: IE<9 + // For mouse/key events, metaKey==false if it's undefined (#3368, #11328) + event.metaKey = !!event.metaKey; + + return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; + }, + + // Includes some event props shared by KeyEvent and MouseEvent + props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), + + fixHooks: {}, + + keyHooks: { + props: "char charCode key keyCode".split(" "), + filter: function( event, original ) { + + // Add which for key events + if ( event.which == null ) { + event.which = original.charCode != null ? original.charCode : original.keyCode; + } + + return event; + } + }, + + mouseHooks: { + props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), + filter: function( event, original ) { + var body, eventDoc, doc, + button = original.button, + fromElement = original.fromElement; + + // Calculate pageX/Y if missing and clientX/Y available + if ( event.pageX == null && original.clientX != null ) { + eventDoc = event.target.ownerDocument || document; + doc = eventDoc.documentElement; + body = eventDoc.body; + + event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); + event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); + } + + // Add relatedTarget, if necessary + if ( !event.relatedTarget && fromElement ) { + event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + // Note: button is not normalized, so don't use it + if ( !event.which && button !== undefined ) { + event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); + } + + return event; + } + }, + + special: { + load: { + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + focus: { + // Fire native event if possible so blur/focus sequence is correct + trigger: function() { + if ( this !== safeActiveElement() && this.focus ) { + try { + this.focus(); + return false; + } catch ( e ) { + // Support: IE<9 + // If we error on focus to hidden element (#1486, #12518), + // let .trigger() run the handlers + } + } + }, + delegateType: "focusin" + }, + blur: { + trigger: function() { + if ( this === safeActiveElement() && this.blur ) { + this.blur(); + return false; + } + }, + delegateType: "focusout" + }, + click: { + // For checkbox, fire native event so checked state will be right + trigger: function() { + if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) { + this.click(); + return false; + } + }, + + // For cross-browser consistency, don't fire native .click() on links + _default: function( event ) { + return jQuery.nodeName( event.target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + }, + + simulate: function( type, elem, event, bubble ) { + // Piggyback on a donor event to simulate a different one. + // Fake originalEvent to avoid donor's stopPropagation, but if the + // simulated event prevents default then we do the same on the donor. + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true, + originalEvent: {} + } + ); + if ( bubble ) { + jQuery.event.trigger( e, null, elem ); + } else { + jQuery.event.dispatch.call( elem, e ); + } + if ( e.isDefaultPrevented() ) { + event.preventDefault(); + } + } +}; + +jQuery.removeEvent = document.removeEventListener ? + function( elem, type, handle ) { + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle, false ); + } + } : + function( elem, type, handle ) { + var name = "on" + type; + + if ( elem.detachEvent ) { + + // #8545, #7054, preventing memory leaks for custom events in IE6-8 + // detachEvent needed property on element, by name of that event, to properly expose it to GC + if ( typeof elem[ name ] === strundefined ) { + elem[ name ] = null; + } + + elem.detachEvent( name, handle ); + } + }; + +jQuery.Event = function( src, props ) { + // Allow instantiation without the 'new' keyword + if ( !(this instanceof jQuery.Event) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + // Support: IE < 9, Android < 4.0 + src.returnValue === false ? + returnTrue : + returnFalse; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + if ( !e ) { + return; + } + + // If preventDefault exists, run it on the original event + if ( e.preventDefault ) { + e.preventDefault(); + + // Support: IE + // Otherwise set the returnValue property of the original event to false + } else { + e.returnValue = false; + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + if ( !e ) { + return; + } + // If stopPropagation exists, run it on the original event + if ( e.stopPropagation ) { + e.stopPropagation(); + } + + // Support: IE + // Set the cancelBubble property of the original event to true + e.cancelBubble = true; + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && e.stopImmediatePropagation ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Create mouseenter/leave events using mouseover/out and event-time checks +jQuery.each({ + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mousenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || (related !== target && !jQuery.contains( target, related )) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +}); + +// IE submit delegation +if ( !support.submitBubbles ) { + + jQuery.event.special.submit = { + setup: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Lazy-add a submit handler when a descendant form may potentially be submitted + jQuery.event.add( this, "click._submit keypress._submit", function( e ) { + // Node name check avoids a VML-related crash in IE (#9807) + var elem = e.target, + form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; + if ( form && !jQuery._data( form, "submitBubbles" ) ) { + jQuery.event.add( form, "submit._submit", function( event ) { + event._submit_bubble = true; + }); + jQuery._data( form, "submitBubbles", true ); + } + }); + // return undefined since we don't need an event listener + }, + + postDispatch: function( event ) { + // If form was submitted by the user, bubble the event up the tree + if ( event._submit_bubble ) { + delete event._submit_bubble; + if ( this.parentNode && !event.isTrigger ) { + jQuery.event.simulate( "submit", this.parentNode, event, true ); + } + } + }, + + teardown: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Remove delegated handlers; cleanData eventually reaps submit handlers attached above + jQuery.event.remove( this, "._submit" ); + } + }; +} + +// IE change delegation and checkbox/radio fix +if ( !support.changeBubbles ) { + + jQuery.event.special.change = { + + setup: function() { + + if ( rformElems.test( this.nodeName ) ) { + // IE doesn't fire change on a check/radio until blur; trigger it on click + // after a propertychange. Eat the blur-change in special.change.handle. + // This still fires onchange a second time for check/radio after blur. + if ( this.type === "checkbox" || this.type === "radio" ) { + jQuery.event.add( this, "propertychange._change", function( event ) { + if ( event.originalEvent.propertyName === "checked" ) { + this._just_changed = true; + } + }); + jQuery.event.add( this, "click._change", function( event ) { + if ( this._just_changed && !event.isTrigger ) { + this._just_changed = false; + } + // Allow triggered, simulated change events (#11500) + jQuery.event.simulate( "change", this, event, true ); + }); + } + return false; + } + // Delegated event; lazy-add a change handler on descendant inputs + jQuery.event.add( this, "beforeactivate._change", function( e ) { + var elem = e.target; + + if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) { + jQuery.event.add( elem, "change._change", function( event ) { + if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { + jQuery.event.simulate( "change", this.parentNode, event, true ); + } + }); + jQuery._data( elem, "changeBubbles", true ); + } + }); + }, + + handle: function( event ) { + var elem = event.target; + + // Swallow native change events from checkbox/radio, we already triggered them above + if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { + return event.handleObj.handler.apply( this, arguments ); + } + }, + + teardown: function() { + jQuery.event.remove( this, "._change" ); + + return !rformElems.test( this.nodeName ); + } + }; +} + +// Create "bubbling" focus and blur events +if ( !support.focusinBubbles ) { + jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + var doc = this.ownerDocument || this, + attaches = jQuery._data( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + jQuery._data( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this, + attaches = jQuery._data( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + jQuery._removeData( doc, fix ); + } else { + jQuery._data( doc, fix, attaches ); + } + } + }; + }); +} + +jQuery.fn.extend({ + + on: function( types, selector, data, fn, /*INTERNAL*/ one ) { + var type, origFn; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + this.on( type, selector, data, types[ type ], one ); + } + return this; + } + + if ( data == null && fn == null ) { + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return this; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return this.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + }); + }, + one: function( types, selector, data, fn ) { + return this.on( types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each(function() { + jQuery.event.remove( this, types, fn, selector ); + }); + }, + + trigger: function( type, data ) { + return this.each(function() { + jQuery.event.trigger( type, data, this ); + }); + }, + triggerHandler: function( type, data ) { + var elem = this[0]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +}); + + +function createSafeFragment( document ) { + var list = nodeNames.split( "|" ), + safeFrag = document.createDocumentFragment(); + + if ( safeFrag.createElement ) { + while ( list.length ) { + safeFrag.createElement( + list.pop() + ); + } + } + return safeFrag; +} + +var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + + "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", + rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, + rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"), + rleadingWhitespace = /^\s+/, + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, + rtagName = /<([\w:]+)/, + rtbody = /<tbody/i, + rhtml = /<|&#?\w+;/, + rnoInnerhtml = /<(?:script|style|link)/i, + // checked="checked" or checked + rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i, + rscriptType = /^$|\/(?:java|ecma)script/i, + rscriptTypeMasked = /^true\/(.*)/, + rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g, + + // We have to close these tags to support XHTML (#13200) + wrapMap = { + option: [ 1, "<select multiple='multiple'>", "</select>" ], + legend: [ 1, "<fieldset>", "</fieldset>" ], + area: [ 1, "<map>", "</map>" ], + param: [ 1, "<object>", "</object>" ], + thead: [ 1, "<table>", "</table>" ], + tr: [ 2, "<table><tbody>", "</tbody></table>" ], + col: [ 2, "<table><tbody></tbody><colgroup>", "</colgroup></table>" ], + td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ], + + // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, + // unless wrapped in a div with non-breaking characters in front of it. + _default: support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X<div>", "</div>" ] + }, + safeFragment = createSafeFragment( document ), + fragmentDiv = safeFragment.appendChild( document.createElement("div") ); + +wrapMap.optgroup = wrapMap.option; +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +function getAll( context, tag ) { + var elems, elem, + i = 0, + found = typeof context.getElementsByTagName !== strundefined ? context.getElementsByTagName( tag || "*" ) : + typeof context.querySelectorAll !== strundefined ? context.querySelectorAll( tag || "*" ) : + undefined; + + if ( !found ) { + for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) { + if ( !tag || jQuery.nodeName( elem, tag ) ) { + found.push( elem ); + } else { + jQuery.merge( found, getAll( elem, tag ) ); + } + } + } + + return tag === undefined || tag && jQuery.nodeName( context, tag ) ? + jQuery.merge( [ context ], found ) : + found; +} + +// Used in buildFragment, fixes the defaultChecked property +function fixDefaultChecked( elem ) { + if ( rcheckableType.test( elem.type ) ) { + elem.defaultChecked = elem.checked; + } +} + +// Support: IE<8 +// Manipulating tables requires a tbody +function manipulationTarget( elem, content ) { + return jQuery.nodeName( elem, "table" ) && + jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ? + + elem.getElementsByTagName("tbody")[0] || + elem.appendChild( elem.ownerDocument.createElement("tbody") ) : + elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = (jQuery.find.attr( elem, "type" ) !== null) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + var match = rscriptTypeMasked.exec( elem.type ); + if ( match ) { + elem.type = match[1]; + } else { + elem.removeAttribute("type"); + } + return elem; +} + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var elem, + i = 0; + for ( ; (elem = elems[i]) != null; i++ ) { + jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) ); + } +} + +function cloneCopyEvent( src, dest ) { + + if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { + return; + } + + var type, i, l, + oldData = jQuery._data( src ), + curData = jQuery._data( dest, oldData ), + events = oldData.events; + + if ( events ) { + delete curData.handle; + curData.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + + // make the cloned public data object a copy from the original + if ( curData.data ) { + curData.data = jQuery.extend( {}, curData.data ); + } +} + +function fixCloneNodeIssues( src, dest ) { + var nodeName, e, data; + + // We do not need to do anything for non-Elements + if ( dest.nodeType !== 1 ) { + return; + } + + nodeName = dest.nodeName.toLowerCase(); + + // IE6-8 copies events bound via attachEvent when using cloneNode. + if ( !support.noCloneEvent && dest[ jQuery.expando ] ) { + data = jQuery._data( dest ); + + for ( e in data.events ) { + jQuery.removeEvent( dest, e, data.handle ); + } + + // Event data gets referenced instead of copied if the expando gets copied too + dest.removeAttribute( jQuery.expando ); + } + + // IE blanks contents when cloning scripts, and tries to evaluate newly-set text + if ( nodeName === "script" && dest.text !== src.text ) { + disableScript( dest ).text = src.text; + restoreScript( dest ); + + // IE6-10 improperly clones children of object elements using classid. + // IE10 throws NoModificationAllowedError if parent is null, #12132. + } else if ( nodeName === "object" ) { + if ( dest.parentNode ) { + dest.outerHTML = src.outerHTML; + } + + // This path appears unavoidable for IE9. When cloning an object + // element in IE9, the outerHTML strategy above is not sufficient. + // If the src has innerHTML and the destination does not, + // copy the src.innerHTML into the dest.innerHTML. #10324 + if ( support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) { + dest.innerHTML = src.innerHTML; + } + + } else if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + // IE6-8 fails to persist the checked state of a cloned checkbox + // or radio button. Worse, IE6-7 fail to give the cloned element + // a checked appearance if the defaultChecked value isn't also set + + dest.defaultChecked = dest.checked = src.checked; + + // IE6-7 get confused and end up setting the value of a cloned + // checkbox/radio button to an empty string instead of "on" + if ( dest.value !== src.value ) { + dest.value = src.value; + } + + // IE6-8 fails to return the selected option to the default selected + // state when cloning options + } else if ( nodeName === "option" ) { + dest.defaultSelected = dest.selected = src.defaultSelected; + + // IE6-8 fails to set the defaultValue to the correct value when + // cloning other types of input fields + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +jQuery.extend({ + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var destElements, node, clone, i, srcElements, + inPage = jQuery.contains( elem.ownerDocument, elem ); + + if ( support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { + clone = elem.cloneNode( true ); + + // IE<=8 does not properly clone detached, unknown element nodes + } else { + fragmentDiv.innerHTML = elem.outerHTML; + fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); + } + + if ( (!support.noCloneEvent || !support.noCloneChecked) && + (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { + + // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + // Fix all IE cloning issues + for ( i = 0; (node = srcElements[i]) != null; ++i ) { + // Ensure that the destination node is not null; Fixes #9587 + if ( destElements[i] ) { + fixCloneNodeIssues( node, destElements[i] ); + } + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0; (node = srcElements[i]) != null; i++ ) { + cloneCopyEvent( node, destElements[i] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + destElements = srcElements = node = null; + + // Return the cloned set + return clone; + }, + + buildFragment: function( elems, context, scripts, selection ) { + var j, elem, contains, + tmp, tag, tbody, wrap, + l = elems.length, + + // Ensure a safe fragment + safe = createSafeFragment( context ), + + nodes = [], + i = 0; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( jQuery.type( elem ) === "object" ) { + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || safe.appendChild( context.createElement("div") ); + + // Deserialize a standard representation + tag = (rtagName.exec( elem ) || [ "", "" ])[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + + tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1></$2>" ) + wrap[2]; + + // Descend through wrappers to the right content + j = wrap[0]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Manually add leading whitespace removed by IE + if ( !support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { + nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) ); + } + + // Remove IE's autoinserted <tbody> from table fragments + if ( !support.tbody ) { + + // String was a <table>, *may* have spurious <tbody> + elem = tag === "table" && !rtbody.test( elem ) ? + tmp.firstChild : + + // String was a bare <thead> or <tfoot> + wrap[1] === "<table>" && !rtbody.test( elem ) ? + tmp : + 0; + + j = elem && elem.childNodes.length; + while ( j-- ) { + if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) { + elem.removeChild( tbody ); + } + } + } + + jQuery.merge( nodes, tmp.childNodes ); + + // Fix #12392 for WebKit and IE > 9 + tmp.textContent = ""; + + // Fix #12392 for oldIE + while ( tmp.firstChild ) { + tmp.removeChild( tmp.firstChild ); + } + + // Remember the top-level container for proper cleanup + tmp = safe.lastChild; + } + } + } + + // Fix #11356: Clear elements from fragment + if ( tmp ) { + safe.removeChild( tmp ); + } + + // Reset defaultChecked for any radios and checkboxes + // about to be appended to the DOM in IE 6/7 (#8060) + if ( !support.appendChecked ) { + jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked ); + } + + i = 0; + while ( (elem = nodes[ i++ ]) ) { + + // #4087 - If origin and destination elements are the same, and this is + // that element, do not do anything + if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { + continue; + } + + contains = jQuery.contains( elem.ownerDocument, elem ); + + // Append to fragment + tmp = getAll( safe.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( contains ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( (elem = tmp[ j++ ]) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + tmp = null; + + return safe; + }, + + cleanData: function( elems, /* internal */ acceptData ) { + var elem, type, id, data, + i = 0, + internalKey = jQuery.expando, + cache = jQuery.cache, + deleteExpando = support.deleteExpando, + special = jQuery.event.special; + + for ( ; (elem = elems[i]) != null; i++ ) { + if ( acceptData || jQuery.acceptData( elem ) ) { + + id = elem[ internalKey ]; + data = id && cache[ id ]; + + if ( data ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Remove cache only if it was not already removed by jQuery.event.remove + if ( cache[ id ] ) { + + delete cache[ id ]; + + // IE does not allow us to delete expando properties from nodes, + // nor does it have a removeAttribute function on Document nodes; + // we must handle all of these cases + if ( deleteExpando ) { + delete elem[ internalKey ]; + + } else if ( typeof elem.removeAttribute !== strundefined ) { + elem.removeAttribute( internalKey ); + + } else { + elem[ internalKey ] = null; + } + + deletedIds.push( id ); + } + } + } + } + } +}); + +jQuery.fn.extend({ + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); + }, null, value, arguments.length ); + }, + + append: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + }); + }, + + prepend: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + }); + }, + + before: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + }); + }, + + after: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + }); + }, + + remove: function( selector, keepData /* Internal Use Only */ ) { + var elem, + elems = selector ? jQuery.filter( selector, this ) : this, + i = 0; + + for ( ; (elem = elems[i]) != null; i++ ) { + + if ( !keepData && elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem ) ); + } + + if ( elem.parentNode ) { + if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { + setGlobalEval( getAll( elem, "script" ) ); + } + elem.parentNode.removeChild( elem ); + } + } + + return this; + }, + + empty: function() { + var elem, + i = 0; + + for ( ; (elem = this[i]) != null; i++ ) { + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + } + + // Remove any remaining nodes + while ( elem.firstChild ) { + elem.removeChild( elem.firstChild ); + } + + // If this is a select, ensure that it displays empty (#12336) + // Support: IE<9 + if ( elem.options && jQuery.nodeName( elem, "select" ) ) { + elem.options.length = 0; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map(function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + }); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined ) { + return elem.nodeType === 1 ? + elem.innerHTML.replace( rinlinejQuery, "" ) : + undefined; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + ( support.htmlSerialize || !rnoshimcache.test( value ) ) && + ( support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && + !wrapMap[ (rtagName.exec( value ) || [ "", "" ])[ 1 ].toLowerCase() ] ) { + + value = value.replace( rxhtmlTag, "<$1></$2>" ); + + try { + for (; i < l; i++ ) { + // Remove element nodes and prevent memory leaks + elem = this[i] || {}; + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch(e) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var arg = arguments[ 0 ]; + + // Make the changes, replacing each context element with the new content + this.domManip( arguments, function( elem ) { + arg = this.parentNode; + + jQuery.cleanData( getAll( this ) ); + + if ( arg ) { + arg.replaceChild( elem, this ); + } + }); + + // Force removal if there was no new content (e.g., from empty arguments) + return arg && (arg.length || arg.nodeType) ? this : this.remove(); + }, + + detach: function( selector ) { + return this.remove( selector, true ); + }, + + domManip: function( args, callback ) { + + // Flatten any nested arrays + args = concat.apply( [], args ); + + var first, node, hasScripts, + scripts, doc, fragment, + i = 0, + l = this.length, + set = this, + iNoClone = l - 1, + value = args[0], + isFunction = jQuery.isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( isFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return this.each(function( index ) { + var self = set.eq( index ); + if ( isFunction ) { + args[0] = value.call( this, index, self.html() ); + } + self.domManip( args, callback ); + }); + } + + if ( l ) { + fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + if ( first ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( this[i], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) { + + if ( node.src ) { + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl ) { + jQuery._evalUrl( node.src ); + } + } else { + jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) ); + } + } + } + } + + // Fix #11809: Avoid leaking memory + fragment = first = null; + } + } + + return this; + } +}); + +jQuery.each({ + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + i = 0, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone(true); + jQuery( insert[i] )[ original ]( elems ); + + // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get() + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +}); + + +var iframe, + elemdisplay = {}; + +/** + * Retrieve the actual display of a element + * @param {String} name nodeName of the element + * @param {Object} doc Document object + */ +// Called only from within defaultDisplay +function actualDisplay( name, doc ) { + var style, + elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), + + // getDefaultComputedStyle might be reliably used only on attached element + display = window.getDefaultComputedStyle && ( style = window.getDefaultComputedStyle( elem[ 0 ] ) ) ? + + // Use of this method is a temporary fix (more like optmization) until something better comes along, + // since it was removed from specification and supported only in FF + style.display : jQuery.css( elem[ 0 ], "display" ); + + // We don't have any data stored on the element, + // so use "detach" method as fast way to get rid of the element + elem.detach(); + + return display; +} + +/** + * Try to determine the default display value of an element + * @param {String} nodeName + */ +function defaultDisplay( nodeName ) { + var doc = document, + display = elemdisplay[ nodeName ]; + + if ( !display ) { + display = actualDisplay( nodeName, doc ); + + // If the simple way fails, read from inside an iframe + if ( display === "none" || !display ) { + + // Use the already-created iframe if possible + iframe = (iframe || jQuery( "<iframe frameborder='0' width='0' height='0'/>" )).appendTo( doc.documentElement ); + + // Always write a new HTML skeleton so Webkit and Firefox don't choke on reuse + doc = ( iframe[ 0 ].contentWindow || iframe[ 0 ].contentDocument ).document; + + // Support: IE + doc.write(); + doc.close(); + + display = actualDisplay( nodeName, doc ); + iframe.detach(); + } + + // Store the correct default display + elemdisplay[ nodeName ] = display; + } + + return display; +} + + +(function() { + var shrinkWrapBlocksVal; + + support.shrinkWrapBlocks = function() { + if ( shrinkWrapBlocksVal != null ) { + return shrinkWrapBlocksVal; + } + + // Will be changed later if needed. + shrinkWrapBlocksVal = false; + + // Minified: var b,c,d + var div, body, container; + + body = document.getElementsByTagName( "body" )[ 0 ]; + if ( !body || !body.style ) { + // Test fired too early or in an unsupported environment, exit. + return; + } + + // Setup + div = document.createElement( "div" ); + container = document.createElement( "div" ); + container.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px"; + body.appendChild( container ).appendChild( div ); + + // Support: IE6 + // Check if elements with layout shrink-wrap their children + if ( typeof div.style.zoom !== strundefined ) { + // Reset CSS: box-sizing; display; margin; border + div.style.cssText = + // Support: Firefox<29, Android 2.3 + // Vendor-prefix box-sizing + "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;" + + "box-sizing:content-box;display:block;margin:0;border:0;" + + "padding:1px;width:1px;zoom:1"; + div.appendChild( document.createElement( "div" ) ).style.width = "5px"; + shrinkWrapBlocksVal = div.offsetWidth !== 3; + } + + body.removeChild( container ); + + return shrinkWrapBlocksVal; + }; + +})(); +var rmargin = (/^margin/); + +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + + + +var getStyles, curCSS, + rposition = /^(top|right|bottom|left)$/; + +if ( window.getComputedStyle ) { + getStyles = function( elem ) { + return elem.ownerDocument.defaultView.getComputedStyle( elem, null ); + }; + + curCSS = function( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is only needed for .css('filter') in IE9, see #12537 + ret = computed ? computed.getPropertyValue( name ) || computed[ name ] : undefined; + + if ( computed ) { + + if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Chrome < 17 and Safari 5.0 uses "computed value" instead of "used value" for margin-right + // Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels + // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values + if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + // Support: IE + // IE returns zIndex value as an integer. + return ret === undefined ? + ret : + ret + ""; + }; +} else if ( document.documentElement.currentStyle ) { + getStyles = function( elem ) { + return elem.currentStyle; + }; + + curCSS = function( elem, name, computed ) { + var left, rs, rsLeft, ret, + style = elem.style; + + computed = computed || getStyles( elem ); + ret = computed ? computed[ name ] : undefined; + + // Avoid setting ret to empty string here + // so we don't default to auto + if ( ret == null && style && style[ name ] ) { + ret = style[ name ]; + } + + // From the awesome hack by Dean Edwards + // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291 + + // If we're not dealing with a regular pixel number + // but a number that has a weird ending, we need to convert it to pixels + // but not position css attributes, as those are proportional to the parent element instead + // and we can't measure the parent instead because it might trigger a "stacking dolls" problem + if ( rnumnonpx.test( ret ) && !rposition.test( name ) ) { + + // Remember the original values + left = style.left; + rs = elem.runtimeStyle; + rsLeft = rs && rs.left; + + // Put in the new values to get a computed value out + if ( rsLeft ) { + rs.left = elem.currentStyle.left; + } + style.left = name === "fontSize" ? "1em" : ret; + ret = style.pixelLeft + "px"; + + // Revert the changed values + style.left = left; + if ( rsLeft ) { + rs.left = rsLeft; + } + } + + // Support: IE + // IE returns zIndex value as an integer. + return ret === undefined ? + ret : + ret + "" || "auto"; + }; +} + + + + +function addGetHookIf( conditionFn, hookFn ) { + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + var condition = conditionFn(); + + if ( condition == null ) { + // The test was not ready at this point; screw the hook this time + // but check again when needed next time. + return; + } + + if ( condition ) { + // Hook not needed (or it's not possible to use it due to missing dependency), + // remove it. + // Since there are no other hooks for marginRight, remove the whole object. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + + return (this.get = hookFn).apply( this, arguments ); + } + }; +} + + +(function() { + // Minified: var b,c,d,e,f,g, h,i + var div, style, a, pixelPositionVal, boxSizingReliableVal, + reliableHiddenOffsetsVal, reliableMarginRightVal; + + // Setup + div = document.createElement( "div" ); + div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>"; + a = div.getElementsByTagName( "a" )[ 0 ]; + style = a && a.style; + + // Finish early in limited (non-browser) environments + if ( !style ) { + return; + } + + style.cssText = "float:left;opacity:.5"; + + // Support: IE<9 + // Make sure that element opacity exists (as opposed to filter) + support.opacity = style.opacity === "0.5"; + + // Verify style float existence + // (IE uses styleFloat instead of cssFloat) + support.cssFloat = !!style.cssFloat; + + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + // Support: Firefox<29, Android 2.3 + // Vendor-prefix box-sizing + support.boxSizing = style.boxSizing === "" || style.MozBoxSizing === "" || + style.WebkitBoxSizing === ""; + + jQuery.extend(support, { + reliableHiddenOffsets: function() { + if ( reliableHiddenOffsetsVal == null ) { + computeStyleTests(); + } + return reliableHiddenOffsetsVal; + }, + + boxSizingReliable: function() { + if ( boxSizingReliableVal == null ) { + computeStyleTests(); + } + return boxSizingReliableVal; + }, + + pixelPosition: function() { + if ( pixelPositionVal == null ) { + computeStyleTests(); + } + return pixelPositionVal; + }, + + // Support: Android 2.3 + reliableMarginRight: function() { + if ( reliableMarginRightVal == null ) { + computeStyleTests(); + } + return reliableMarginRightVal; + } + }); + + function computeStyleTests() { + // Minified: var b,c,d,j + var div, body, container, contents; + + body = document.getElementsByTagName( "body" )[ 0 ]; + if ( !body || !body.style ) { + // Test fired too early or in an unsupported environment, exit. + return; + } + + // Setup + div = document.createElement( "div" ); + container = document.createElement( "div" ); + container.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px"; + body.appendChild( container ).appendChild( div ); + + div.style.cssText = + // Support: Firefox<29, Android 2.3 + // Vendor-prefix box-sizing + "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;" + + "box-sizing:border-box;display:block;margin-top:1%;top:1%;" + + "border:1px;padding:1px;width:4px;position:absolute"; + + // Support: IE<9 + // Assume reasonable values in the absence of getComputedStyle + pixelPositionVal = boxSizingReliableVal = false; + reliableMarginRightVal = true; + + // Check for getComputedStyle so that this code is not run in IE<9. + if ( window.getComputedStyle ) { + pixelPositionVal = ( window.getComputedStyle( div, null ) || {} ).top !== "1%"; + boxSizingReliableVal = + ( window.getComputedStyle( div, null ) || { width: "4px" } ).width === "4px"; + + // Support: Android 2.3 + // Div with explicit width and no margin-right incorrectly + // gets computed margin-right based on width of container (#3333) + // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right + contents = div.appendChild( document.createElement( "div" ) ); + + // Reset CSS: box-sizing; display; margin; border; padding + contents.style.cssText = div.style.cssText = + // Support: Firefox<29, Android 2.3 + // Vendor-prefix box-sizing + "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;" + + "box-sizing:content-box;display:block;margin:0;border:0;padding:0"; + contents.style.marginRight = contents.style.width = "0"; + div.style.width = "1px"; + + reliableMarginRightVal = + !parseFloat( ( window.getComputedStyle( contents, null ) || {} ).marginRight ); + } + + // Support: IE8 + // Check if table cells still have offsetWidth/Height when they are set + // to display:none and there are still other visible table cells in a + // table row; if so, offsetWidth/Height are not reliable for use when + // determining if an element has been hidden directly using + // display:none (it is still safe to use offsets if a parent element is + // hidden; don safety goggles and see bug #4512 for more information). + div.innerHTML = "<table><tr><td></td><td>t</td></tr></table>"; + contents = div.getElementsByTagName( "td" ); + contents[ 0 ].style.cssText = "margin:0;border:0;padding:0;display:none"; + reliableHiddenOffsetsVal = contents[ 0 ].offsetHeight === 0; + if ( reliableHiddenOffsetsVal ) { + contents[ 0 ].style.display = ""; + contents[ 1 ].style.display = "none"; + reliableHiddenOffsetsVal = contents[ 0 ].offsetHeight === 0; + } + + body.removeChild( container ); + } + +})(); + + +// A method for quickly swapping in/out CSS properties to get correct calculations. +jQuery.swap = function( elem, options, callback, args ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.apply( elem, args || [] ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + +var + ralpha = /alpha\([^)]*\)/i, + ropacity = /opacity\s*=\s*([^)]*)/, + + // swappable if display is none or starts with table except "table", "table-cell", or "table-caption" + // see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rnumsplit = new RegExp( "^(" + pnum + ")(.*)$", "i" ), + rrelNum = new RegExp( "^([+-])=(" + pnum + ")", "i" ), + + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }, + + cssPrefixes = [ "Webkit", "O", "Moz", "ms" ]; + + +// return a css property mapped to a potentially vendor prefixed property +function vendorPropName( style, name ) { + + // shortcut for names that are not vendor prefixed + if ( name in style ) { + return name; + } + + // check for vendor prefixed names + var capName = name.charAt(0).toUpperCase() + name.slice(1), + origName = name, + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in style ) { + return name; + } + } + + return origName; +} + +function showHide( elements, show ) { + var display, elem, hidden, + values = [], + index = 0, + length = elements.length; + + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + values[ index ] = jQuery._data( elem, "olddisplay" ); + display = elem.style.display; + if ( show ) { + // Reset the inline display of this element to learn if it is + // being hidden by cascaded rules or not + if ( !values[ index ] && display === "none" ) { + elem.style.display = ""; + } + + // Set elements which have been overridden with display: none + // in a stylesheet to whatever the default browser style is + // for such an element + if ( elem.style.display === "" && isHidden( elem ) ) { + values[ index ] = jQuery._data( elem, "olddisplay", defaultDisplay(elem.nodeName) ); + } + } else { + hidden = isHidden( elem ); + + if ( display && display !== "none" || !hidden ) { + jQuery._data( elem, "olddisplay", hidden ? display : jQuery.css( elem, "display" ) ); + } + } + } + + // Set the display of most of the elements in a second loop + // to avoid the constant reflow + for ( index = 0; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + if ( !show || elem.style.display === "none" || elem.style.display === "" ) { + elem.style.display = show ? values[ index ] || "" : "none"; + } + } + + return elements; +} + +function setPositiveNumber( elem, value, subtract ) { + var matches = rnumsplit.exec( value ); + return matches ? + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) : + value; +} + +function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) { + var i = extra === ( isBorderBox ? "border" : "content" ) ? + // If we already have the right measurement, avoid augmentation + 4 : + // Otherwise initialize for horizontal or vertical properties + name === "width" ? 1 : 0, + + val = 0; + + for ( ; i < 4; i += 2 ) { + // both box models exclude margin, so add it if we want it + if ( extra === "margin" ) { + val += jQuery.css( elem, extra + cssExpand[ i ], true, styles ); + } + + if ( isBorderBox ) { + // border-box includes padding, so remove it if we want content + if ( extra === "content" ) { + val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // at this point, extra isn't border nor margin, so remove border + if ( extra !== "margin" ) { + val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } else { + // at this point, extra isn't content, so add padding + val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // at this point, extra isn't content nor padding, so add border + if ( extra !== "padding" ) { + val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + return val; +} + +function getWidthOrHeight( elem, name, extra ) { + + // Start with offset property, which is equivalent to the border-box value + var valueIsBorderBox = true, + val = name === "width" ? elem.offsetWidth : elem.offsetHeight, + styles = getStyles( elem ), + isBorderBox = support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // some non-html elements return undefined for offsetWidth, so check for null/undefined + // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285 + // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668 + if ( val <= 0 || val == null ) { + // Fall back to computed then uncomputed css if necessary + val = curCSS( elem, name, styles ); + if ( val < 0 || val == null ) { + val = elem.style[ name ]; + } + + // Computed unit is not pixels. Stop here and return. + if ( rnumnonpx.test(val) ) { + return val; + } + + // we need the check for style in case a browser which returns unreliable values + // for getComputedStyle silently falls back to the reliable elem.style + valueIsBorderBox = isBorderBox && ( support.boxSizingReliable() || val === elem.style[ name ] ); + + // Normalize "", auto, and prepare for extra + val = parseFloat( val ) || 0; + } + + // use the active box-sizing model to add/subtract irrelevant styles + return ( val + + augmentWidthOrHeight( + elem, + name, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles + ) + ) + "px"; +} + +jQuery.extend({ + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: { + // normalize float css property + "float": support.cssFloat ? "cssFloat" : "styleFloat" + }, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = jQuery.camelCase( name ), + style = elem.style; + + name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) ); + + // gets hook for the prefixed version + // followed by the unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // convert relative number strings (+= or -=) to relative numbers. #7345 + if ( type === "string" && (ret = rrelNum.exec( value )) ) { + value = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) ); + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set. See: #7116 + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add 'px' to the (except for certain CSS properties) + if ( type === "number" && !jQuery.cssNumber[ origName ] ) { + value += "px"; + } + + // Fixes #8908, it can be done more correctly by specifing setters in cssHooks, + // but it would mean to define eight (for every problematic property) identical functions + if ( !support.clearCloneStyle && value === "" && name.indexOf("background") === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) { + + // Support: IE + // Swallow errors from 'invalid' CSS values (#5509) + try { + style[ name ] = value; + } catch(e) {} + } + + } else { + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) { + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var num, val, hooks, + origName = jQuery.camelCase( name ); + + // Make sure that we're working with the right name + name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) ); + + // gets hook for the prefixed version + // followed by the unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + //convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Return, converting to number if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || jQuery.isNumeric( num ) ? num || 0 : val; + } + return val; + } +}); + +jQuery.each([ "height", "width" ], function( i, name ) { + jQuery.cssHooks[ name ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + // certain elements can have dimension info if we invisibly show them + // however, it must have a current display style that would benefit from this + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && elem.offsetWidth === 0 ? + jQuery.swap( elem, cssShow, function() { + return getWidthOrHeight( elem, name, extra ); + }) : + getWidthOrHeight( elem, name, extra ); + } + }, + + set: function( elem, value, extra ) { + var styles = extra && getStyles( elem ); + return setPositiveNumber( elem, value, extra ? + augmentWidthOrHeight( + elem, + name, + extra, + support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + styles + ) : 0 + ); + } + }; +}); + +if ( !support.opacity ) { + jQuery.cssHooks.opacity = { + get: function( elem, computed ) { + // IE uses filters for opacity + return ropacity.test( (computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "" ) ? + ( 0.01 * parseFloat( RegExp.$1 ) ) + "" : + computed ? "1" : ""; + }, + + set: function( elem, value ) { + var style = elem.style, + currentStyle = elem.currentStyle, + opacity = jQuery.isNumeric( value ) ? "alpha(opacity=" + value * 100 + ")" : "", + filter = currentStyle && currentStyle.filter || style.filter || ""; + + // IE has trouble with opacity if it does not have layout + // Force it by setting the zoom level + style.zoom = 1; + + // if setting opacity to 1, and no other filters exist - attempt to remove filter attribute #6652 + // if value === "", then remove inline opacity #12685 + if ( ( value >= 1 || value === "" ) && + jQuery.trim( filter.replace( ralpha, "" ) ) === "" && + style.removeAttribute ) { + + // Setting style.filter to null, "" & " " still leave "filter:" in the cssText + // if "filter:" is present at all, clearType is disabled, we want to avoid this + // style.removeAttribute is IE Only, but so apparently is this code path... + style.removeAttribute( "filter" ); + + // if there is no filter style applied in a css rule or unset inline opacity, we are done + if ( value === "" || currentStyle && !currentStyle.filter ) { + return; + } + } + + // otherwise, set new filter values + style.filter = ralpha.test( filter ) ? + filter.replace( ralpha, opacity ) : + filter + " " + opacity; + } + }; +} + +jQuery.cssHooks.marginRight = addGetHookIf( support.reliableMarginRight, + function( elem, computed ) { + if ( computed ) { + // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right + // Work around by temporarily setting element display to inline-block + return jQuery.swap( elem, { "display": "inline-block" }, + curCSS, [ elem, "marginRight" ] ); + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each({ + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // assumes a single number if not a string + parts = typeof value === "string" ? value.split(" ") : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( !rmargin.test( prefix ) ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +}); + +jQuery.fn.extend({ + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( jQuery.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + }, + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each(function() { + if ( isHidden( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + }); + } +}); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || "swing"; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + if ( tween.elem[ tween.prop ] != null && + (!tween.elem.style || tween.elem.style[ tween.prop ] == null) ) { + return tween.elem[ tween.prop ]; + } + + // passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails + // so, simple values such as "10px" are parsed to Float. + // complex values such as "rotate(1rad)" are returned as is. + result = jQuery.css( tween.elem, tween.prop, "" ); + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + // use step hook for back compat - use cssHook if its there - use .style if its + // available and use plain properties where available + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.style && ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || jQuery.cssHooks[ tween.prop ] ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 +// Panic based approach to setting things on disconnected nodes + +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + } +}; + +jQuery.fx = Tween.prototype.init; + +// Back Compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, timerId, + rfxtypes = /^(?:toggle|show|hide)$/, + rfxnum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ), + rrun = /queueHooks$/, + animationPrefilters = [ defaultPrefilter ], + tweeners = { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ), + target = tween.cur(), + parts = rfxnum.exec( value ), + unit = parts && parts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + start = ( jQuery.cssNumber[ prop ] || unit !== "px" && +target ) && + rfxnum.exec( jQuery.css( tween.elem, prop ) ), + scale = 1, + maxIterations = 20; + + if ( start && start[ 3 ] !== unit ) { + // Trust units reported by jQuery.css + unit = unit || start[ 3 ]; + + // Make sure we update the tween properties later on + parts = parts || []; + + // Iteratively approximate from a nonzero starting point + start = +target || 1; + + do { + // If previous iteration zeroed out, double until we get *something* + // Use a string for doubling factor so we don't accidentally see scale as unchanged below + scale = scale || ".5"; + + // Adjust and apply + start = start / scale; + jQuery.style( tween.elem, prop, start + unit ); + + // Update scale, tolerating zero or NaN from tween.cur() + // And breaking the loop if scale is unchanged or perfect, or if we've just had enough + } while ( scale !== (scale = tween.cur() / target) && scale !== 1 && --maxIterations ); + } + + // Update tween properties + if ( parts ) { + start = tween.start = +start || +target || 0; + tween.unit = unit; + // If a +=/-= token was provided, we're doing a relative animation + tween.end = parts[ 1 ] ? + start + ( parts[ 1 ] + 1 ) * parts[ 2 ] : + +parts[ 2 ]; + } + + return tween; + } ] + }; + +// Animations created synchronously will run synchronously +function createFxNow() { + setTimeout(function() { + fxNow = undefined; + }); + return ( fxNow = jQuery.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + attrs = { height: type }, + i = 0; + + // if we include width, step value is 1 to do all cssExpand values, + // if we don't include width, step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4 ; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( tweeners[ prop ] || [] ).concat( tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( (tween = collection[ index ].call( animation, prop, value )) ) { + + // we're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + /* jshint validthis: true */ + var prop, value, toggle, tween, hooks, oldfire, display, checkDisplay, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHidden( elem ), + dataShow = jQuery._data( elem, "fxshow" ); + + // handle queue: false promises + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always(function() { + // doing this makes sure that the complete handler will be called + // before this completes + anim.always(function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + }); + }); + } + + // height/width overflow pass + if ( elem.nodeType === 1 && ( "height" in props || "width" in props ) ) { + // Make sure that nothing sneaks out + // Record all 3 overflow attributes because IE does not + // change the overflow attribute when overflowX and + // overflowY are set to the same value + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Set display property to inline-block for height/width + // animations on inline elements that are having width/height animated + display = jQuery.css( elem, "display" ); + + // Test default display if display is currently "none" + checkDisplay = display === "none" ? + jQuery._data( elem, "olddisplay" ) || defaultDisplay( elem.nodeName ) : display; + + if ( checkDisplay === "inline" && jQuery.css( elem, "float" ) === "none" ) { + + // inline-level elements accept inline-block; + // block-level elements need to be inline with layout + if ( !support.inlineBlockNeedsLayout || defaultDisplay( elem.nodeName ) === "inline" ) { + style.display = "inline-block"; + } else { + style.zoom = 1; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + if ( !support.shrinkWrapBlocks() ) { + anim.always(function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + }); + } + } + + // show/hide pass + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.exec( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // If there is dataShow left over from a stopped hide or show and we are going to proceed with show, we should pretend to be hidden + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + + // Any non-fx value stops us from restoring the original display value + } else { + display = undefined; + } + } + + if ( !jQuery.isEmptyObject( orig ) ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = jQuery._data( elem, "fxshow", {} ); + } + + // store state if its toggle - enables .stop().toggle() to "reverse" + if ( toggle ) { + dataShow.hidden = !hidden; + } + if ( hidden ) { + jQuery( elem ).show(); + } else { + anim.done(function() { + jQuery( elem ).hide(); + }); + } + anim.done(function() { + var prop; + jQuery._removeData( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + }); + for ( prop in orig ) { + tween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = tween.start; + if ( hidden ) { + tween.end = tween.start; + tween.start = prop === "width" || prop === "height" ? 1 : 0; + } + } + } + + // If this is a noop like .hide().hide(), restore an overwritten display value + } else if ( (display === "none" ? defaultDisplay( elem.nodeName ) : display) === "inline" ) { + style.display = display; + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = jQuery.camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( jQuery.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // not quite $.extend, this wont overwrite keys already present. + // also - reusing 'index' from above because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = animationPrefilters.length, + deferred = jQuery.Deferred().always( function() { + // don't match elem in the :animated selector + delete tick.elem; + }), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + // archaic crash bug won't allow us to use 1 - ( 0.5 || 0 ) (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length ; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ]); + + if ( percent < 1 && length ) { + return remaining; + } else { + deferred.resolveWith( elem, [ animation ] ); + return false; + } + }, + animation = deferred.promise({ + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { specialEasing: {} }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + // if we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length ; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // resolve when we played the last frame + // otherwise, reject + if ( gotoEnd ) { + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + }), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length ; index++ ) { + result = animationPrefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( jQuery.isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + }) + ); + + // attach callbacks from options + return animation.progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); +} + +jQuery.Animation = jQuery.extend( Animation, { + tweener: function( props, callback ) { + if ( jQuery.isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.split(" "); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length ; index++ ) { + prop = props[ index ]; + tweeners[ prop ] = tweeners[ prop ] || []; + tweeners[ prop ].unshift( callback ); + } + }, + + prefilter: function( callback, prepend ) { + if ( prepend ) { + animationPrefilters.unshift( callback ); + } else { + animationPrefilters.push( callback ); + } + } +}); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + jQuery.isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing + }; + + opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration : + opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default; + + // normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( jQuery.isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend({ + fadeTo: function( speed, to, easing, callback ) { + + // show any hidden elements after setting opacity to 0 + return this.filter( isHidden ).css( "opacity", 0 ).show() + + // animate to the value specified + .end().animate({ opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || jQuery._data( this, "finish" ) ) { + anim.stop( true ); + } + }; + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue && type !== false ) { + this.queue( type || "fx", [] ); + } + + return this.each(function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = jQuery._data( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && (type == null || timers[ index ].queue === type) ) { + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // start the next in the queue if the last step wasn't forced + // timers currently will call their complete callbacks, which will dequeue + // but only if they were gotoEnd + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + }); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each(function() { + var index, + data = jQuery._data( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // enable finishing flag on private data + data.finish = true; + + // empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // turn off finishing flag + delete data.finish; + }); + } +}); + +jQuery.each([ "toggle", "show", "hide" ], function( i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +}); + +// Generate shortcuts for custom animations +jQuery.each({ + slideDown: genFx("show"), + slideUp: genFx("hide"), + slideToggle: genFx("toggle"), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +}); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + timers = jQuery.timers, + i = 0; + + fxNow = jQuery.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + // Checks the timer has not already been removed + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + if ( timer() ) { + jQuery.fx.start(); + } else { + jQuery.timers.pop(); + } +}; + +jQuery.fx.interval = 13; + +jQuery.fx.start = function() { + if ( !timerId ) { + timerId = setInterval( jQuery.fx.tick, jQuery.fx.interval ); + } +}; + +jQuery.fx.stop = function() { + clearInterval( timerId ); + timerId = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = setTimeout( next, time ); + hooks.stop = function() { + clearTimeout( timeout ); + }; + }); +}; + + +(function() { + // Minified: var a,b,c,d,e + var input, div, select, a, opt; + + // Setup + div = document.createElement( "div" ); + div.setAttribute( "className", "t" ); + div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>"; + a = div.getElementsByTagName("a")[ 0 ]; + + // First batch of tests. + select = document.createElement("select"); + opt = select.appendChild( document.createElement("option") ); + input = div.getElementsByTagName("input")[ 0 ]; + + a.style.cssText = "top:1px"; + + // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7) + support.getSetAttribute = div.className !== "t"; + + // Get the style information from getAttribute + // (IE uses .cssText instead) + support.style = /top/.test( a.getAttribute("style") ); + + // Make sure that URLs aren't manipulated + // (IE normalizes it by default) + support.hrefNormalized = a.getAttribute("href") === "/a"; + + // Check the default checkbox/radio value ("" on WebKit; "on" elsewhere) + support.checkOn = !!input.value; + + // Make sure that a selected-by-default option has a working selected property. + // (WebKit defaults to false instead of true, IE too, if it's in an optgroup) + support.optSelected = opt.selected; + + // Tests for enctype support on a form (#6743) + support.enctype = !!document.createElement("form").enctype; + + // Make sure that the options inside disabled selects aren't marked as disabled + // (WebKit marks them as disabled) + select.disabled = true; + support.optDisabled = !opt.disabled; + + // Support: IE8 only + // Check if we can trust getAttribute("value") + input = document.createElement( "input" ); + input.setAttribute( "value", "" ); + support.input = input.getAttribute( "value" ) === ""; + + // Check if an input maintains its value after becoming a radio + input.value = "t"; + input.setAttribute( "type", "radio" ); + support.radioValue = input.value === "t"; +})(); + + +var rreturn = /\r/g; + +jQuery.fn.extend({ + val: function( value ) { + var hooks, ret, isFunction, + elem = this[0]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) { + return ret; + } + + ret = elem.value; + + return typeof ret === "string" ? + // handle most common string cases + ret.replace(rreturn, "") : + // handle cases where value is null/undef or number + ret == null ? "" : ret; + } + + return; + } + + isFunction = jQuery.isFunction( value ); + + return this.each(function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( isFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + } else if ( typeof val === "number" ) { + val += ""; + } else if ( jQuery.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + }); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + }); + } +}); + +jQuery.extend({ + valHooks: { + option: { + get: function( elem ) { + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + // Support: IE10-11+ + // option.text throws exceptions (#14686, #14858) + jQuery.trim( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one" || index < 0, + values = one ? null : [], + max = one ? index + 1 : options.length, + i = index < 0 ? + max : + one ? index : 0; + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // oldIE doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + // Don't return options that are disabled or in a disabled optgroup + ( support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null ) && + ( !option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + if ( jQuery.inArray( jQuery.valHooks.option.get( option ), values ) >= 0 ) { + + // Support: IE6 + // When new option element is added to select box we need to + // force reflow of newly added node in order to workaround delay + // of initialization properties + try { + option.selected = optionSet = true; + + } catch ( _ ) { + + // Will be executed only in IE6 + option.scrollHeight; + } + + } else { + option.selected = false; + } + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + + return options; + } + } + } +}); + +// Radios and checkboxes getter/setter +jQuery.each([ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( jQuery.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + // Support: Webkit + // "" is returned instead of "on" if a value isn't specified + return elem.getAttribute("value") === null ? "on" : elem.value; + }; + } +}); + + + + +var nodeHook, boolHook, + attrHandle = jQuery.expr.attrHandle, + ruseDefault = /^(?:checked|selected)$/i, + getSetAttribute = support.getSetAttribute, + getSetInput = support.input; + +jQuery.fn.extend({ + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each(function() { + jQuery.removeAttr( this, name ); + }); + } +}); + +jQuery.extend({ + attr: function( elem, name, value ) { + var hooks, ret, + nType = elem.nodeType; + + // don't get/set attributes on text, comment and attribute nodes + if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === strundefined ) { + return jQuery.prop( elem, name, value ); + } + + // All attributes are lowercase + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + name = name.toLowerCase(); + hooks = jQuery.attrHooks[ name ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : nodeHook ); + } + + if ( value !== undefined ) { + + if ( value === null ) { + jQuery.removeAttr( elem, name ); + + } else if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { + return ret; + + } else { + elem.setAttribute( name, value + "" ); + return value; + } + + } else if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) { + return ret; + + } else { + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? + undefined : + ret; + } + }, + + removeAttr: function( elem, value ) { + var name, propName, + i = 0, + attrNames = value && value.match( rnotwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( (name = attrNames[i++]) ) { + propName = jQuery.propFix[ name ] || name; + + // Boolean attributes get special treatment (#10870) + if ( jQuery.expr.match.bool.test( name ) ) { + // Set corresponding property to false + if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) { + elem[ propName ] = false; + // Support: IE<9 + // Also clear defaultChecked/defaultSelected (if appropriate) + } else { + elem[ jQuery.camelCase( "default-" + name ) ] = + elem[ propName ] = false; + } + + // See #9699 for explanation of this approach (setting first, then removal) + } else { + jQuery.attr( elem, name, "" ); + } + + elem.removeAttribute( getSetAttribute ? name : propName ); + } + } + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) { + // Setting the type on a radio button after the value resets the value in IE6-9 + // Reset value to default in case type is set after value during creation + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + } +}); + +// Hook for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) { + // IE<8 needs the *property* name + elem.setAttribute( !getSetAttribute && jQuery.propFix[ name ] || name, name ); + + // Use defaultChecked and defaultSelected for oldIE + } else { + elem[ jQuery.camelCase( "default-" + name ) ] = elem[ name ] = true; + } + + return name; + } +}; + +// Retrieve booleans specially +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) { + + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = getSetInput && getSetAttribute || !ruseDefault.test( name ) ? + function( elem, name, isXML ) { + var ret, handle; + if ( !isXML ) { + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ name ]; + attrHandle[ name ] = ret; + ret = getter( elem, name, isXML ) != null ? + name.toLowerCase() : + null; + attrHandle[ name ] = handle; + } + return ret; + } : + function( elem, name, isXML ) { + if ( !isXML ) { + return elem[ jQuery.camelCase( "default-" + name ) ] ? + name.toLowerCase() : + null; + } + }; +}); + +// fix oldIE attroperties +if ( !getSetInput || !getSetAttribute ) { + jQuery.attrHooks.value = { + set: function( elem, value, name ) { + if ( jQuery.nodeName( elem, "input" ) ) { + // Does not return so that setAttribute is also used + elem.defaultValue = value; + } else { + // Use nodeHook if defined (#1954); otherwise setAttribute is fine + return nodeHook && nodeHook.set( elem, value, name ); + } + } + }; +} + +// IE6/7 do not support getting/setting some attributes with get/setAttribute +if ( !getSetAttribute ) { + + // Use this for any attribute in IE6/7 + // This fixes almost every IE6/7 issue + nodeHook = { + set: function( elem, value, name ) { + // Set the existing or create a new attribute node + var ret = elem.getAttributeNode( name ); + if ( !ret ) { + elem.setAttributeNode( + (ret = elem.ownerDocument.createAttribute( name )) + ); + } + + ret.value = value += ""; + + // Break association with cloned elements by also using setAttribute (#9646) + if ( name === "value" || value === elem.getAttribute( name ) ) { + return value; + } + } + }; + + // Some attributes are constructed with empty-string values when not defined + attrHandle.id = attrHandle.name = attrHandle.coords = + function( elem, name, isXML ) { + var ret; + if ( !isXML ) { + return (ret = elem.getAttributeNode( name )) && ret.value !== "" ? + ret.value : + null; + } + }; + + // Fixing value retrieval on a button requires this module + jQuery.valHooks.button = { + get: function( elem, name ) { + var ret = elem.getAttributeNode( name ); + if ( ret && ret.specified ) { + return ret.value; + } + }, + set: nodeHook.set + }; + + // Set contenteditable to false on removals(#10429) + // Setting to empty string throws an error as an invalid value + jQuery.attrHooks.contenteditable = { + set: function( elem, value, name ) { + nodeHook.set( elem, value === "" ? false : value, name ); + } + }; + + // Set width and height to auto instead of 0 on empty string( Bug #8150 ) + // This is for removals + jQuery.each([ "width", "height" ], function( i, name ) { + jQuery.attrHooks[ name ] = { + set: function( elem, value ) { + if ( value === "" ) { + elem.setAttribute( name, "auto" ); + return value; + } + } + }; + }); +} + +if ( !support.style ) { + jQuery.attrHooks.style = { + get: function( elem ) { + // Return undefined in the case of empty string + // Note: IE uppercases css property names, but if we were to .toLowerCase() + // .cssText, that would destroy case senstitivity in URL's, like in "background" + return elem.style.cssText || undefined; + }, + set: function( elem, value ) { + return ( elem.style.cssText = value + "" ); + } + }; +} + + + + +var rfocusable = /^(?:input|select|textarea|button|object)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend({ + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + name = jQuery.propFix[ name ] || name; + return this.each(function() { + // try/catch handles cases where IE balks (such as removing a property on window) + try { + this[ name ] = undefined; + delete this[ name ]; + } catch( e ) {} + }); + } +}); + +jQuery.extend({ + propFix: { + "for": "htmlFor", + "class": "className" + }, + + prop: function( elem, name, value ) { + var ret, hooks, notxml, + nType = elem.nodeType; + + // don't get/set properties on text, comment and attribute nodes + if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); + + if ( notxml ) { + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + return hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ? + ret : + ( elem[ name ] = value ); + + } else { + return hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ? + ret : + elem[ name ]; + } + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set + // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + return tabindex ? + parseInt( tabindex, 10 ) : + rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ? + 0 : + -1; + } + } + } +}); + +// Some attributes require a special call on IE +// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !support.hrefNormalized ) { + // href/src property should get the full normalized URL (#10299/#12915) + jQuery.each([ "href", "src" ], function( i, name ) { + jQuery.propHooks[ name ] = { + get: function( elem ) { + return elem.getAttribute( name, 4 ); + } + }; + }); +} + +// Support: Safari, IE9+ +// mis-reports the default selected property of an option +// Accessing the parent's selectedIndex property fixes it +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + var parent = elem.parentNode; + + if ( parent ) { + parent.selectedIndex; + + // Make sure that it also works with optgroups, see #5701 + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + return null; + } + }; +} + +jQuery.each([ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +}); + +// IE6/7 call enctype encoding +if ( !support.enctype ) { + jQuery.propFix.enctype = "encoding"; +} + + + + +var rclass = /[\t\r\n\f]/g; + +jQuery.fn.extend({ + addClass: function( value ) { + var classes, elem, cur, clazz, j, finalValue, + i = 0, + len = this.length, + proceed = typeof value === "string" && value; + + if ( jQuery.isFunction( value ) ) { + return this.each(function( j ) { + jQuery( this ).addClass( value.call( this, j, this.className ) ); + }); + } + + if ( proceed ) { + // The disjunction here is for better compressibility (see removeClass) + classes = ( value || "" ).match( rnotwhite ) || []; + + for ( ; i < len; i++ ) { + elem = this[ i ]; + cur = elem.nodeType === 1 && ( elem.className ? + ( " " + elem.className + " " ).replace( rclass, " " ) : + " " + ); + + if ( cur ) { + j = 0; + while ( (clazz = classes[j++]) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // only assign if different to avoid unneeded rendering. + finalValue = jQuery.trim( cur ); + if ( elem.className !== finalValue ) { + elem.className = finalValue; + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, clazz, j, finalValue, + i = 0, + len = this.length, + proceed = arguments.length === 0 || typeof value === "string" && value; + + if ( jQuery.isFunction( value ) ) { + return this.each(function( j ) { + jQuery( this ).removeClass( value.call( this, j, this.className ) ); + }); + } + if ( proceed ) { + classes = ( value || "" ).match( rnotwhite ) || []; + + for ( ; i < len; i++ ) { + elem = this[ i ]; + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( elem.className ? + ( " " + elem.className + " " ).replace( rclass, " " ) : + "" + ); + + if ( cur ) { + j = 0; + while ( (clazz = classes[j++]) ) { + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) >= 0 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // only assign if different to avoid unneeded rendering. + finalValue = value ? jQuery.trim( cur ) : ""; + if ( elem.className !== finalValue ) { + elem.className = finalValue; + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value; + + if ( typeof stateVal === "boolean" && type === "string" ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( jQuery.isFunction( value ) ) { + return this.each(function( i ) { + jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal ); + }); + } + + return this.each(function() { + if ( type === "string" ) { + // toggle individual class names + var className, + i = 0, + self = jQuery( this ), + classNames = value.match( rnotwhite ) || []; + + while ( (className = classNames[ i++ ]) ) { + // check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( type === strundefined || type === "boolean" ) { + if ( this.className ) { + // store className if set + jQuery._data( this, "__className__", this.className ); + } + + // If the element has a class name or if we're passed "false", + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || ""; + } + }); + }, + + hasClass: function( selector ) { + var className = " " + selector + " ", + i = 0, + l = this.length; + for ( ; i < l; i++ ) { + if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) >= 0 ) { + return true; + } + } + + return false; + } +}); + + + + +// Return jQuery for attributes-only inclusion + + +jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " + + "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + + "change select submit keydown keypress keyup error contextmenu").split(" "), function( i, name ) { + + // Handle event binding + jQuery.fn[ name ] = function( data, fn ) { + return arguments.length > 0 ? + this.on( name, null, data, fn ) : + this.trigger( name ); + }; +}); + +jQuery.fn.extend({ + hover: function( fnOver, fnOut ) { + return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); + }, + + bind: function( types, data, fn ) { + return this.on( types, null, data, fn ); + }, + unbind: function( types, fn ) { + return this.off( types, null, fn ); + }, + + delegate: function( selector, types, data, fn ) { + return this.on( types, selector, data, fn ); + }, + undelegate: function( selector, types, fn ) { + // ( namespace ) or ( selector, types [, fn] ) + return arguments.length === 1 ? this.off( selector, "**" ) : this.off( types, selector || "**", fn ); + } +}); + + +var nonce = jQuery.now(); + +var rquery = (/\?/); + + + +var rvalidtokens = /(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g; + +jQuery.parseJSON = function( data ) { + // Attempt to parse using the native JSON parser first + if ( window.JSON && window.JSON.parse ) { + // Support: Android 2.3 + // Workaround failure to string-cast null input + return window.JSON.parse( data + "" ); + } + + var requireNonComma, + depth = null, + str = jQuery.trim( data + "" ); + + // Guard against invalid (and possibly dangerous) input by ensuring that nothing remains + // after removing valid tokens + return str && !jQuery.trim( str.replace( rvalidtokens, function( token, comma, open, close ) { + + // Force termination if we see a misplaced comma + if ( requireNonComma && comma ) { + depth = 0; + } + + // Perform no more replacements after returning to outermost depth + if ( depth === 0 ) { + return token; + } + + // Commas must not follow "[", "{", or "," + requireNonComma = open || comma; + + // Determine new depth + // array/object open ("[" or "{"): depth += true - false (increment) + // array/object close ("]" or "}"): depth += false - true (decrement) + // other cases ("," or primitive): depth += true - true (numeric cast) + depth += !close - !open; + + // Remove this token + return ""; + }) ) ? + ( Function( "return " + str ) )() : + jQuery.error( "Invalid JSON: " + data ); +}; + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml, tmp; + if ( !data || typeof data !== "string" ) { + return null; + } + try { + if ( window.DOMParser ) { // Standard + tmp = new DOMParser(); + xml = tmp.parseFromString( data, "text/xml" ); + } else { // IE + xml = new ActiveXObject( "Microsoft.XMLDOM" ); + xml.async = "false"; + xml.loadXML( data ); + } + } catch( e ) { + xml = undefined; + } + if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; +}; + + +var + // Document location + ajaxLocParts, + ajaxLocation, + + rhash = /#.*$/, + rts = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg, // IE leaves an \r character at EOL + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + rurl = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat("*"); + +// #8138, IE may throw an exception when accessing +// a field from window.location if document.domain has been set +try { + ajaxLocation = location.href; +} catch( e ) { + // Use the href attribute of an A element + // since IE will modify it given document.location + ajaxLocation = document.createElement( "a" ); + ajaxLocation.href = ""; + ajaxLocation = ajaxLocation.href; +} + +// Segment location into parts +ajaxLocParts = rurl.exec( ajaxLocation.toLowerCase() ) || []; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnotwhite ) || []; + + if ( jQuery.isFunction( func ) ) { + // For each dataType in the dataTypeExpression + while ( (dataType = dataTypes[i++]) ) { + // Prepend if requested + if ( dataType.charAt( 0 ) === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + (structure[ dataType ] = structure[ dataType ] || []).unshift( func ); + + // Otherwise append + } else { + (structure[ dataType ] = structure[ dataType ] || []).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + }); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var deep, key, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || (deep = {}) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + var firstDataType, ct, finalDataType, type, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader("Content-Type"); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[0] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s[ "throws" ] ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { state: "parsererror", error: conv ? e : "No conversion from " + prev + " to " + current }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend({ + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: ajaxLocation, + type: "GET", + isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /xml/, + html: /html/, + json: /json/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": jQuery.parseJSON, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var // Cross-domain detection vars + parts, + // Loop variable + i, + // URL without anti-cache param + cacheURL, + // Response headers as string + responseHeadersString, + // timeout handle + timeoutTimer, + + // To know if global events are to be dispatched + fireGlobals, + + transport, + // Response headers + responseHeaders, + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + // Callbacks context + callbackContext = s.context || s, + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks("once memory"), + // Status-dependent callbacks + statusCode = s.statusCode || {}, + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + // The jqXHR state + state = 0, + // Default abort message + strAbort = "canceled", + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( state === 2 ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( (match = rheaders.exec( responseHeadersString )) ) { + responseHeaders[ match[1].toLowerCase() ] = match[ 2 ]; + } + } + match = responseHeaders[ key.toLowerCase() ]; + } + return match == null ? null : match; + }, + + // Raw string + getAllResponseHeaders: function() { + return state === 2 ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + var lname = name.toLowerCase(); + if ( !state ) { + name = requestHeadersNames[ lname ] = requestHeadersNames[ lname ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( !state ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( state < 2 ) { + for ( code in map ) { + // Lazy-add the new callback in a way that preserves old ones + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } else { + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ).complete = completeDeferred.add; + jqXHR.success = jqXHR.done; + jqXHR.error = jqXHR.fail; + + // Remove hash character (#7531: and string promotion) + // Add protocol if not provided (#5866: IE7 issue with protocol-less urls) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || ajaxLocation ) + "" ).replace( rhash, "" ).replace( rprotocol, ajaxLocParts[ 1 ] + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = jQuery.trim( s.dataType || "*" ).toLowerCase().match( rnotwhite ) || [ "" ]; + + // A cross-domain request is in order when we have a protocol:host:port mismatch + if ( s.crossDomain == null ) { + parts = rurl.exec( s.url.toLowerCase() ); + s.crossDomain = !!( parts && + ( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] || + ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? "80" : "443" ) ) !== + ( ajaxLocParts[ 3 ] || ( ajaxLocParts[ 1 ] === "http:" ? "80" : "443" ) ) ) + ); + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( state === 2 ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + fireGlobals = s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger("ajaxStart"); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + cacheURL = s.url; + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // If data is available, append data to url + if ( s.data ) { + cacheURL = ( s.url += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data ); + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add anti-cache in url if needed + if ( s.cache === false ) { + s.url = rts.test( cacheURL ) ? + + // If there is already a '_' parameter, set its value + cacheURL.replace( rts, "$1_=" + nonce++ ) : + + // Otherwise add one to the end + cacheURL + ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + nonce++; + } + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[0] ] ? + s.accepts[ s.dataTypes[0] ] + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || state === 2 ) ) { + // Abort if not done already and return + return jqXHR.abort(); + } + + // aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + for ( i in { success: 1, error: 1, complete: 1 } ) { + jqXHR[ i ]( s[ i ] ); + } + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = setTimeout(function() { + jqXHR.abort("timeout"); + }, s.timeout ); + } + + try { + state = 1; + transport.send( requestHeaders, done ); + } catch ( e ) { + // Propagate exception as error if not done + if ( state < 2 ) { + done( -1, e ); + // Simply rethrow otherwise + } else { + throw e; + } + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Called once + if ( state === 2 ) { + return; + } + + // State is "done" now + state = 2; + + // Clear timeout if it exists + if ( timeoutTimer ) { + clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader("Last-Modified"); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader("etag"); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + // We extract error from statusText + // then normalize statusText and status for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger("ajaxStop"); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +}); + +jQuery.each( [ "get", "post" ], function( i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + // shift arguments if data argument was omitted + if ( jQuery.isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + return jQuery.ajax({ + url: url, + type: method, + dataType: type, + data: data, + success: callback + }); + }; +}); + +// Attach a bunch of functions for handling common AJAX events +jQuery.each( [ "ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend" ], function( i, type ) { + jQuery.fn[ type ] = function( fn ) { + return this.on( type, fn ); + }; +}); + + +jQuery._evalUrl = function( url ) { + return jQuery.ajax({ + url: url, + type: "GET", + dataType: "script", + async: false, + global: false, + "throws": true + }); +}; + + +jQuery.fn.extend({ + wrapAll: function( html ) { + if ( jQuery.isFunction( html ) ) { + return this.each(function(i) { + jQuery(this).wrapAll( html.call(this, i) ); + }); + } + + if ( this[0] ) { + // The elements to wrap the target around + var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true); + + if ( this[0].parentNode ) { + wrap.insertBefore( this[0] ); + } + + wrap.map(function() { + var elem = this; + + while ( elem.firstChild && elem.firstChild.nodeType === 1 ) { + elem = elem.firstChild; + } + + return elem; + }).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( jQuery.isFunction( html ) ) { + return this.each(function(i) { + jQuery(this).wrapInner( html.call(this, i) ); + }); + } + + return this.each(function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + }); + }, + + wrap: function( html ) { + var isFunction = jQuery.isFunction( html ); + + return this.each(function(i) { + jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html ); + }); + }, + + unwrap: function() { + return this.parent().each(function() { + if ( !jQuery.nodeName( this, "body" ) ) { + jQuery( this ).replaceWith( this.childNodes ); + } + }).end(); + } +}); + + +jQuery.expr.filters.hidden = function( elem ) { + // Support: Opera <= 12.12 + // Opera reports offsetWidths and offsetHeights less than zero on some elements + return elem.offsetWidth <= 0 && elem.offsetHeight <= 0 || + (!support.reliableHiddenOffsets() && + ((elem.style && elem.style.display) || jQuery.css( elem, "display" )) === "none"); +}; + +jQuery.expr.filters.visible = function( elem ) { + return !jQuery.expr.filters.hidden( elem ); +}; + + + + +var r20 = /%20/g, + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( jQuery.isArray( obj ) ) { + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + // Item is non-scalar (array or object), encode its numeric index. + buildParams( prefix + "[" + ( typeof v === "object" ? i : "" ) + "]", v, traditional, add ); + } + }); + + } else if ( !traditional && jQuery.type( obj ) === "object" ) { + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, value ) { + // If value is a function, invoke it and return its value + value = jQuery.isFunction( value ) ? value() : ( value == null ? "" : value ); + s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value ); + }; + + // Set traditional to true for jQuery <= 1.3.2 behavior. + if ( traditional === undefined ) { + traditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( jQuery.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + }); + + } else { + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ).replace( r20, "+" ); +}; + +jQuery.fn.extend({ + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map(function() { + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + }) + .filter(function() { + var type = this.type; + // Use .is(":disabled") so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + }) + .map(function( i, elem ) { + var val = jQuery( this ).val(); + + return val == null ? + null : + jQuery.isArray( val ) ? + jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + }) : + { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + }).get(); + } +}); + + +// Create the request object +// (This is still attached to ajaxSettings for backward compatibility) +jQuery.ajaxSettings.xhr = window.ActiveXObject !== undefined ? + // Support: IE6+ + function() { + + // XHR cannot access local files, always use ActiveX for that case + return !this.isLocal && + + // Support: IE7-8 + // oldIE XHR does not support non-RFC2616 methods (#13240) + // See http://msdn.microsoft.com/en-us/library/ie/ms536648(v=vs.85).aspx + // and http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9 + // Although this check for six methods instead of eight + // since IE also does not support "trace" and "connect" + /^(get|post|head|put|delete|options)$/i.test( this.type ) && + + createStandardXHR() || createActiveXHR(); + } : + // For all other browsers, use the standard XMLHttpRequest object + createStandardXHR; + +var xhrId = 0, + xhrCallbacks = {}, + xhrSupported = jQuery.ajaxSettings.xhr(); + +// Support: IE<10 +// Open requests must be manually aborted on unload (#5280) +if ( window.ActiveXObject ) { + jQuery( window ).on( "unload", function() { + for ( var key in xhrCallbacks ) { + xhrCallbacks[ key ]( undefined, true ); + } + }); +} + +// Determine support properties +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +xhrSupported = support.ajax = !!xhrSupported; + +// Create transport if the browser can provide an xhr +if ( xhrSupported ) { + + jQuery.ajaxTransport(function( options ) { + // Cross domain only allowed if supported through XMLHttpRequest + if ( !options.crossDomain || support.cors ) { + + var callback; + + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(), + id = ++xhrId; + + // Open the socket + xhr.open( options.type, options.url, options.async, options.username, options.password ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers["X-Requested-With"] ) { + headers["X-Requested-With"] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + // Support: IE<9 + // IE's ActiveXObject throws a 'Type Mismatch' exception when setting + // request header to a null-value. + // + // To keep consistent with other XHR implementations, cast the value + // to string and ignore `undefined`. + if ( headers[ i ] !== undefined ) { + xhr.setRequestHeader( i, headers[ i ] + "" ); + } + } + + // Do send the request + // This may raise an exception which is actually + // handled in jQuery.ajax (so no try/catch here) + xhr.send( ( options.hasContent && options.data ) || null ); + + // Listener + callback = function( _, isAbort ) { + var status, statusText, responses; + + // Was never called and is aborted or complete + if ( callback && ( isAbort || xhr.readyState === 4 ) ) { + // Clean up + delete xhrCallbacks[ id ]; + callback = undefined; + xhr.onreadystatechange = jQuery.noop; + + // Abort manually if needed + if ( isAbort ) { + if ( xhr.readyState !== 4 ) { + xhr.abort(); + } + } else { + responses = {}; + status = xhr.status; + + // Support: IE<10 + // Accessing binary-data responseText throws an exception + // (#11426) + if ( typeof xhr.responseText === "string" ) { + responses.text = xhr.responseText; + } + + // Firefox throws an exception when accessing + // statusText for faulty cross-domain requests + try { + statusText = xhr.statusText; + } catch( e ) { + // We normalize with Webkit giving an empty statusText + statusText = ""; + } + + // Filter status for non standard behaviors + + // If the request is local and we have data: assume a success + // (success with no data won't get notified, that's the best we + // can do given current implementations) + if ( !status && options.isLocal && !options.crossDomain ) { + status = responses.text ? 200 : 404; + // IE - #1450: sometimes returns 1223 when it should be 204 + } else if ( status === 1223 ) { + status = 204; + } + } + } + + // Call complete if needed + if ( responses ) { + complete( status, statusText, responses, xhr.getAllResponseHeaders() ); + } + }; + + if ( !options.async ) { + // if we're in sync mode we fire the callback + callback(); + } else if ( xhr.readyState === 4 ) { + // (IE6 & IE7) if it's in cache and has been + // retrieved directly we need to fire the callback + setTimeout( callback ); + } else { + // Add to the list of active xhr callbacks + xhr.onreadystatechange = xhrCallbacks[ id ] = callback; + } + }, + + abort: function() { + if ( callback ) { + callback( undefined, true ); + } + } + }; + } + }); +} + +// Functions to create xhrs +function createStandardXHR() { + try { + return new window.XMLHttpRequest(); + } catch( e ) {} +} + +function createActiveXHR() { + try { + return new window.ActiveXObject( "Microsoft.XMLHTTP" ); + } catch( e ) {} +} + + + + +// Install script dataType +jQuery.ajaxSetup({ + accepts: { + script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /(?:java|ecma)script/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +}); + +// Handle cache's special case and global +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + s.global = false; + } +}); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function(s) { + + // This transport only deals with cross domain requests + if ( s.crossDomain ) { + + var script, + head = document.head || jQuery("head")[0] || document.documentElement; + + return { + + send: function( _, callback ) { + + script = document.createElement("script"); + + script.async = true; + + if ( s.scriptCharset ) { + script.charset = s.scriptCharset; + } + + script.src = s.url; + + // Attach handlers for all browsers + script.onload = script.onreadystatechange = function( _, isAbort ) { + + if ( isAbort || !script.readyState || /loaded|complete/.test( script.readyState ) ) { + + // Handle memory leak in IE + script.onload = script.onreadystatechange = null; + + // Remove the script + if ( script.parentNode ) { + script.parentNode.removeChild( script ); + } + + // Dereference the script + script = null; + + // Callback if not abort + if ( !isAbort ) { + callback( 200, "success" ); + } + } + }; + + // Circumvent IE6 bugs with base elements (#2709 and #4378) by prepending + // Use native DOM manipulation to avoid our domManip AJAX trickery + head.insertBefore( script, head.firstChild ); + }, + + abort: function() { + if ( script ) { + script.onload( undefined, true ); + } + } + }; + } +}); + + + + +var oldCallbacks = [], + rjsonp = /(=)\?(?=&|$)|\?\?/; + +// Default jsonp settings +jQuery.ajaxSetup({ + jsonp: "callback", + jsonpCallback: function() { + var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce++ ) ); + this[ callback ] = true; + return callback; + } +}); + +// Detect, normalize options and install callbacks for jsonp requests +jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) { + + var callbackName, overwritten, responseContainer, + jsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ? + "url" : + typeof s.data === "string" && !( s.contentType || "" ).indexOf("application/x-www-form-urlencoded") && rjsonp.test( s.data ) && "data" + ); + + // Handle iff the expected data type is "jsonp" or we have a parameter to set + if ( jsonProp || s.dataTypes[ 0 ] === "jsonp" ) { + + // Get callback name, remembering preexisting value associated with it + callbackName = s.jsonpCallback = jQuery.isFunction( s.jsonpCallback ) ? + s.jsonpCallback() : + s.jsonpCallback; + + // Insert callback into url or form data + if ( jsonProp ) { + s[ jsonProp ] = s[ jsonProp ].replace( rjsonp, "$1" + callbackName ); + } else if ( s.jsonp !== false ) { + s.url += ( rquery.test( s.url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName; + } + + // Use data converter to retrieve json after script execution + s.converters["script json"] = function() { + if ( !responseContainer ) { + jQuery.error( callbackName + " was not called" ); + } + return responseContainer[ 0 ]; + }; + + // force json dataType + s.dataTypes[ 0 ] = "json"; + + // Install callback + overwritten = window[ callbackName ]; + window[ callbackName ] = function() { + responseContainer = arguments; + }; + + // Clean-up function (fires after converters) + jqXHR.always(function() { + // Restore preexisting value + window[ callbackName ] = overwritten; + + // Save back as free + if ( s[ callbackName ] ) { + // make sure that re-using the options doesn't screw things around + s.jsonpCallback = originalSettings.jsonpCallback; + + // save the callback name for future use + oldCallbacks.push( callbackName ); + } + + // Call if it was a function and we have a response + if ( responseContainer && jQuery.isFunction( overwritten ) ) { + overwritten( responseContainer[ 0 ] ); + } + + responseContainer = overwritten = undefined; + }); + + // Delegate to script + return "script"; + } +}); + + + + +// data: string of html +// context (optional): If specified, the fragment will be created in this context, defaults to document +// keepScripts (optional): If true, will include scripts passed in the html string +jQuery.parseHTML = function( data, context, keepScripts ) { + if ( !data || typeof data !== "string" ) { + return null; + } + if ( typeof context === "boolean" ) { + keepScripts = context; + context = false; + } + context = context || document; + + var parsed = rsingleTag.exec( data ), + scripts = !keepScripts && []; + + // Single tag + if ( parsed ) { + return [ context.createElement( parsed[1] ) ]; + } + + parsed = jQuery.buildFragment( [ data ], context, scripts ); + + if ( scripts && scripts.length ) { + jQuery( scripts ).remove(); + } + + return jQuery.merge( [], parsed.childNodes ); +}; + + +// Keep a copy of the old load method +var _load = jQuery.fn.load; + +/** + * Load a url into a page + */ +jQuery.fn.load = function( url, params, callback ) { + if ( typeof url !== "string" && _load ) { + return _load.apply( this, arguments ); + } + + var selector, response, type, + self = this, + off = url.indexOf(" "); + + if ( off >= 0 ) { + selector = jQuery.trim( url.slice( off, url.length ) ); + url = url.slice( 0, off ); + } + + // If it's a function + if ( jQuery.isFunction( params ) ) { + + // We assume that it's the callback + callback = params; + params = undefined; + + // Otherwise, build a param string + } else if ( params && typeof params === "object" ) { + type = "POST"; + } + + // If we have elements to modify, make the request + if ( self.length > 0 ) { + jQuery.ajax({ + url: url, + + // if "type" variable is undefined, then "GET" method will be used + type: type, + dataType: "html", + data: params + }).done(function( responseText ) { + + // Save response for use in complete callback + response = arguments; + + self.html( selector ? + + // If a selector was specified, locate the right elements in a dummy div + // Exclude scripts to avoid IE 'Permission Denied' errors + jQuery("<div>").append( jQuery.parseHTML( responseText ) ).find( selector ) : + + // Otherwise use the full result + responseText ); + + }).complete( callback && function( jqXHR, status ) { + self.each( callback, response || [ jqXHR.responseText, status, jqXHR ] ); + }); + } + + return this; +}; + + + + +jQuery.expr.filters.animated = function( elem ) { + return jQuery.grep(jQuery.timers, function( fn ) { + return elem === fn.elem; + }).length; +}; + + + + + +var docElem = window.document.documentElement; + +/** + * Gets a window from an element + */ +function getWindow( elem ) { + return jQuery.isWindow( elem ) ? + elem : + elem.nodeType === 9 ? + elem.defaultView || elem.parentWindow : + false; +} + +jQuery.offset = { + setOffset: function( elem, options, i ) { + var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition, + position = jQuery.css( elem, "position" ), + curElem = jQuery( elem ), + props = {}; + + // set position first, in-case top/left are set even on static elem + if ( position === "static" ) { + elem.style.position = "relative"; + } + + curOffset = curElem.offset(); + curCSSTop = jQuery.css( elem, "top" ); + curCSSLeft = jQuery.css( elem, "left" ); + calculatePosition = ( position === "absolute" || position === "fixed" ) && + jQuery.inArray("auto", [ curCSSTop, curCSSLeft ] ) > -1; + + // need to be able to calculate position if either top or left is auto and position is either absolute or fixed + if ( calculatePosition ) { + curPosition = curElem.position(); + curTop = curPosition.top; + curLeft = curPosition.left; + } else { + curTop = parseFloat( curCSSTop ) || 0; + curLeft = parseFloat( curCSSLeft ) || 0; + } + + if ( jQuery.isFunction( options ) ) { + options = options.call( elem, i, curOffset ); + } + + if ( options.top != null ) { + props.top = ( options.top - curOffset.top ) + curTop; + } + if ( options.left != null ) { + props.left = ( options.left - curOffset.left ) + curLeft; + } + + if ( "using" in options ) { + options.using.call( elem, props ); + } else { + curElem.css( props ); + } + } +}; + +jQuery.fn.extend({ + offset: function( options ) { + if ( arguments.length ) { + return options === undefined ? + this : + this.each(function( i ) { + jQuery.offset.setOffset( this, options, i ); + }); + } + + var docElem, win, + box = { top: 0, left: 0 }, + elem = this[ 0 ], + doc = elem && elem.ownerDocument; + + if ( !doc ) { + return; + } + + docElem = doc.documentElement; + + // Make sure it's not a disconnected DOM node + if ( !jQuery.contains( docElem, elem ) ) { + return box; + } + + // If we don't have gBCR, just use 0,0 rather than error + // BlackBerry 5, iOS 3 (original iPhone) + if ( typeof elem.getBoundingClientRect !== strundefined ) { + box = elem.getBoundingClientRect(); + } + win = getWindow( doc ); + return { + top: box.top + ( win.pageYOffset || docElem.scrollTop ) - ( docElem.clientTop || 0 ), + left: box.left + ( win.pageXOffset || docElem.scrollLeft ) - ( docElem.clientLeft || 0 ) + }; + }, + + position: function() { + if ( !this[ 0 ] ) { + return; + } + + var offsetParent, offset, + parentOffset = { top: 0, left: 0 }, + elem = this[ 0 ]; + + // fixed elements are offset from window (parentOffset = {top:0, left: 0}, because it is its only offset parent + if ( jQuery.css( elem, "position" ) === "fixed" ) { + // we assume that getBoundingClientRect is available when computed position is fixed + offset = elem.getBoundingClientRect(); + } else { + // Get *real* offsetParent + offsetParent = this.offsetParent(); + + // Get correct offsets + offset = this.offset(); + if ( !jQuery.nodeName( offsetParent[ 0 ], "html" ) ) { + parentOffset = offsetParent.offset(); + } + + // Add offsetParent borders + parentOffset.top += jQuery.css( offsetParent[ 0 ], "borderTopWidth", true ); + parentOffset.left += jQuery.css( offsetParent[ 0 ], "borderLeftWidth", true ); + } + + // Subtract parent offsets and element margins + // note: when an element has margin: auto the offsetLeft and marginLeft + // are the same in Safari causing offset.left to incorrectly be 0 + return { + top: offset.top - parentOffset.top - jQuery.css( elem, "marginTop", true ), + left: offset.left - parentOffset.left - jQuery.css( elem, "marginLeft", true) + }; + }, + + offsetParent: function() { + return this.map(function() { + var offsetParent = this.offsetParent || docElem; + + while ( offsetParent && ( !jQuery.nodeName( offsetParent, "html" ) && jQuery.css( offsetParent, "position" ) === "static" ) ) { + offsetParent = offsetParent.offsetParent; + } + return offsetParent || docElem; + }); + } +}); + +// Create scrollLeft and scrollTop methods +jQuery.each( { scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function( method, prop ) { + var top = /Y/.test( prop ); + + jQuery.fn[ method ] = function( val ) { + return access( this, function( elem, method, val ) { + var win = getWindow( elem ); + + if ( val === undefined ) { + return win ? (prop in win) ? win[ prop ] : + win.document.documentElement[ method ] : + elem[ method ]; + } + + if ( win ) { + win.scrollTo( + !top ? val : jQuery( win ).scrollLeft(), + top ? val : jQuery( win ).scrollTop() + ); + + } else { + elem[ method ] = val; + } + }, method, val, arguments.length, null ); + }; +}); + +// Add the top/left cssHooks using jQuery.fn.position +// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084 +// getComputedStyle returns percent when specified for top/left/bottom/right +// rather than make the css module depend on the offset module, we just check for it here +jQuery.each( [ "top", "left" ], function( i, prop ) { + jQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition, + function( elem, computed ) { + if ( computed ) { + computed = curCSS( elem, prop ); + // if curCSS returns percentage, fallback to offset + return rnumnonpx.test( computed ) ? + jQuery( elem ).position()[ prop ] + "px" : + computed; + } + } + ); +}); + + +// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods +jQuery.each( { Height: "height", Width: "width" }, function( name, type ) { + jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name }, function( defaultExtra, funcName ) { + // margin is only for outerHeight, outerWidth + jQuery.fn[ funcName ] = function( margin, value ) { + var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ), + extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" ); + + return access( this, function( elem, type, value ) { + var doc; + + if ( jQuery.isWindow( elem ) ) { + // As of 5/8/2012 this will yield incorrect results for Mobile Safari, but there + // isn't a whole lot we can do. See pull request at this URL for discussion: + // https://github.com/jquery/jquery/pull/764 + return elem.document.documentElement[ "client" + name ]; + } + + // Get document width or height + if ( elem.nodeType === 9 ) { + doc = elem.documentElement; + + // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height], whichever is greatest + // unfortunately, this causes bug #3838 in IE6/8 only, but there is currently no good, small way to fix it. + return Math.max( + elem.body[ "scroll" + name ], doc[ "scroll" + name ], + elem.body[ "offset" + name ], doc[ "offset" + name ], + doc[ "client" + name ] + ); + } + + return value === undefined ? + // Get width or height on the element, requesting but not forcing parseFloat + jQuery.css( elem, type, extra ) : + + // Set width or height on the element + jQuery.style( elem, type, value, extra ); + }, type, chainable ? margin : undefined, chainable, null ); + }; + }); +}); + + +// The number of elements contained in the matched element set +jQuery.fn.size = function() { + return this.length; +}; + +jQuery.fn.andSelf = jQuery.fn.addBack; + + + + +// Register as a named AMD module, since jQuery can be concatenated with other +// files that may use define, but not via a proper concatenation script that +// understands anonymous AMD modules. A named AMD is safest and most robust +// way to register. Lowercase jquery is used because AMD module names are +// derived from file names, and jQuery is normally delivered in a lowercase +// file name. Do this after creating the global so that if an AMD module wants +// to call noConflict to hide this version of jQuery, it will work. + +// Note that for maximum portability, libraries that are not jQuery should +// declare themselves as anonymous modules, and avoid setting a global if an +// AMD loader is present. jQuery is a special case. For more information, see +// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon + +if ( typeof define === "function" && define.amd ) { + define( "jquery", [], function() { + return jQuery; + }); +} + + + + +var + // Map over jQuery in case of overwrite + _jQuery = window.jQuery, + + // Map over the $ in case of overwrite + _$ = window.$; + +jQuery.noConflict = function( deep ) { + if ( window.$ === jQuery ) { + window.$ = _$; + } + + if ( deep && window.jQuery === jQuery ) { + window.jQuery = _jQuery; + } + + return jQuery; +}; + +// Expose jQuery and $ identifiers, even in +// AMD (#7102#comment:10, https://github.com/jquery/jquery/pull/557) +// and CommonJS for browser emulators (#13566) +if ( typeof noGlobal === strundefined ) { + window.jQuery = window.$ = jQuery; +} + + + + +return jQuery; + +})); diff --git a/_static/jquery.js b/_static/jquery.js new file mode 100644 index 0000000..ab28a24 --- /dev/null +++ b/_static/jquery.js @@ -0,0 +1,4 @@ +/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ +!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l="1.11.1",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b){return b.toUpperCase()};m.fn=m.prototype={jquery:l,constructor:m,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function r(a){var b=a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var s=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(f=_.exec(a))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return I.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="<div class='a'></div><div class='a i'></div>",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="<select msallowclip=''><option selected=''></option></select>",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?kb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&E.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fb.selectors={cacheLength:50,createPseudo:hb,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=lb(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=mb(b);function pb(){}pb.prototype=d.filters=d.pseudos,d.setFilters=new pb,g=fb.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=S.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=T.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(R," ")}),h=h.slice(c.length));for(g in d.filter)!(e=X[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?fb.error(a):z(a,i).slice(0)};function qb(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}return h=fb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fb}(a);m.find=s,m.expr=s.selectors,m.expr[":"]=m.expr.pseudos,m.unique=s.uniqueSort,m.text=s.getText,m.isXMLDoc=s.isXML,m.contains=s.contains;var t=m.expr.match.needsContext,u=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/^.[^:#\[\.,]*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return m.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(v.test(b))return m.filter(b,a,c);b=m.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>=0!==c})}m.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?m.find.matchesSelector(d,a)?[d]:[]:m.find.matches(a,m.grep(b,function(a){return 1===a.nodeType}))},m.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(m(a).filter(function(){for(b=0;e>b;b++)if(m.contains(d[b],this))return!0}));for(b=0;e>b;b++)m.find(a,d[b],c);return c=this.pushStack(e>1?m.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(w(this,a||[],!1))},not:function(a){return this.pushStack(w(this,a||[],!0))},is:function(a){return!!w(this,"string"==typeof a&&t.test(a)?m(a):a||[],!1).length}});var x,y=a.document,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=m.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||x).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof m?b[0]:b,m.merge(this,m.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c[1])&&m.isPlainObject(b))for(c in b)m.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=y.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return x.find(a);this.length=1,this[0]=d}return this.context=y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):m.isFunction(a)?"undefined"!=typeof x.ready?x.ready(a):a(m):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),m.makeArray(a,this))};A.prototype=m.fn,x=m(y);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!m(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,c=m(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(m.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=t.test(a)||"string"!=typeof a?m(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?"string"==typeof a?m.inArray(this[0],m(a)):m.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}m.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return m.dir(a,"parentNode")},parentsUntil:function(a,b,c){return m.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return m.dir(a,"nextSibling")},prevAll:function(a){return m.dir(a,"previousSibling")},nextUntil:function(a,b,c){return m.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return m.dir(a,"previousSibling",c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:m.merge([],a.childNodes)}},function(a,b){m.fn[a]=function(c,d){var e=m.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=m.filter(d,e)),this.length>1&&(C[a]||(e=m.unique(e)),B.test(a)&&(e=e.reverse())),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return m.each(a.match(E)||[],function(a,c){b[c]=!0}),b}m.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):m.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((d=m.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var b=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return m.Deferred(function(c){m.each(b,function(b,f){var g=m.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&m.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?m.extend(a,d):d}},e={};return d.pipe=d.then,m.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&m.isFunction(a.promise)?e:0,g=1===f?a:m.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&m.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;m.fn.ready=function(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a===!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady=!0,a!==!0&&--m.readyWait>0||(H.resolveWith(y,[m]),m.fn.triggerHandler&&(m(y).triggerHandler("ready"),m(y).off("ready")))}}});function I(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",J,!1),a.removeEventListener("load",J,!1)):(y.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(y.addEventListener||"load"===event.type||"complete"===y.readyState)&&(I(),m.ready())}m.ready.promise=function(b){if(!H)if(H=m.Deferred(),"complete"===y.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",J,!1),a.addEventListener("load",J,!1);else{y.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var K="undefined",L;for(L in m(k))break;k.ownLast="0"!==L,k.inlineBlockNeedsLayout=!1,m(function(){var a,b,c,d;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",k.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))}),function(){var a=y.createElement("div");if(null==k.deleteExpando){k.deleteExpando=!0;try{delete a.test}catch(b){k.deleteExpando=!1}}a=null}(),m.acceptData=function(a){var b=m.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else c=void 0}return c}function P(a){var b;for(b in a)if(("data"!==b||!m.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h; +if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||m.guid++:h),j[k]||(j[k]=i?{}:{toJSON:m.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=m.extend(j[k],b):j[k].data=m.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[m.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[m.camelCase(b)])):f=g,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,f=a.nodeType,g=f?m.cache:a,h=f?a[m.expando]:m.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){m.isArray(b)?b=b.concat(m.map(b,m.camelCase)):b in d?b=[b]:(b=m.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?m.cleanData([a],!0):k.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}m.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?m.cache[a[m.expando]]:a[m.expando],!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=m.data(f),1===f.nodeType&&!m._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=m.camelCase(d.slice(5)),O(f,d,e[d])));m._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=m._data(a,b),c&&(!d||m.isArray(c)?d=m._data(a,b,m.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=m.queue(a,b),d=c.length,e=c.shift(),f=m._queueHooks(a,b),g=function(){m.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return m._data(a,c)||m._data(a,c,{empty:m.Callbacks("once memory").add(function(){m._removeData(a,b+"queue"),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?m.queue(this[0],a):void 0===b?this:this.each(function(){var c=m.queue(this,a,b);m._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&m.dequeue(this,a)})},dequeue:function(a){return this.each(function(){m.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=m.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=m._data(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var S=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=["Top","Right","Bottom","Left"],U=function(a,b){return a=b||a,"none"===m.css(a,"display")||!m.contains(a.ownerDocument,a)},V=m.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===m.type(c)){e=!0;for(h in c)m.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,m.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(m(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},W=/^(?:checkbox|radio)$/i;!function(){var a=y.createElement("input"),b=y.createElement("div"),c=y.createDocumentFragment();if(b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",k.leadingWhitespace=3===b.firstChild.nodeType,k.tbody=!b.getElementsByTagName("tbody").length,k.htmlSerialize=!!b.getElementsByTagName("link").length,k.html5Clone="<:nav></:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),k.appendChecked=a.checked,b.innerHTML="<textarea>x</textarea>",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="<input type='radio' checked='checked' name='t'/>",k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).click()),null==k.deleteExpando){k.deleteExpando=!0;try{delete b.test}catch(d){k.deleteExpando=!1}}}(),function(){var b,c,d=y.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(k[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),k[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var X=/^(?:input|select|textarea)$/i,Y=/^key/,Z=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=/^([^.]*)(?:\.(.+)|)$/;function ab(){return!0}function bb(){return!1}function cb(){try{return y.activeElement}catch(a){}}m.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=m.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof m===K||a&&m.event.triggered===a.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(E)||[""],h=b.length;while(h--)f=_.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=m.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=m.event.special[o]||{},l=m.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(".")},i),(n=g[o])||(n=g[o]=[],n.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m.hasData(a)&&m._data(a);if(r&&(k=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=_.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=m.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,n=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=n.length;while(f--)g=n[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||m.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)m.event.remove(a,o+b[j],c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,o=[d||y],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||y,3!==d.nodeType&&8!==d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[m.expando]?b:new m.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:m.makeArray(c,[b]),k=m.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(i=k.delegateType||p,$.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n=0;while((h=o[n++])&&!b.isPropagationStopped())b.type=n>1?i:k.bindType||p,f=(m._data(h,"events")||{})[b.type]&&m._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&m.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&m.acceptData(d)&&g&&d[p]&&!m.isWindow(d)){l=d[g],l&&(d[g]=null),m.event.triggered=p;try{d[p]()}catch(r){}m.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=m.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(m._data(this,"events")||{})[a.type]||[],k=m.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=m.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?m(c,this).index(i)>=0:m.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},fix:function(a){if(a[m.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];g||(this.fixHooks[e]=g=Z.test(e)?this.mouseHooks:Y.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new m.Event(f),b=d.length;while(b--)c=d[b],a[c]=f[c];return a.target||(a.target=f.srcElement||y),3===a.target.nodeType&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,g.filter?g.filter(a,f):a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e,f=b.button,g=b.fromElement;return null==a.pageX&&null!=b.clientX&&(d=a.target.ownerDocument||y,e=d.documentElement,c=d.body,a.pageX=b.clientX+(e&&e.scrollLeft||c&&c.scrollLeft||0)-(e&&e.clientLeft||c&&c.clientLeft||0),a.pageY=b.clientY+(e&&e.scrollTop||c&&c.scrollTop||0)-(e&&e.clientTop||c&&c.clientTop||0)),!a.relatedTarget&&g&&(a.relatedTarget=g===a.target?b.toElement:g),a.which||void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==cb()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){return this===cb()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return m.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(a){return m.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c,d){var e=m.extend(new m.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?m.event.trigger(e,null,b):m.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},m.removeEvent=y.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){var d="on"+b;a.detachEvent&&(typeof a[d]===K&&(a[d]=null),a.detachEvent(d,c))},m.Event=function(a,b){return this instanceof m.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?ab:bb):this.type=a,b&&m.extend(this,b),this.timeStamp=a&&a.timeStamp||m.now(),void(this[m.expando]=!0)):new m.Event(a,b)},m.Event.prototype={isDefaultPrevented:bb,isPropagationStopped:bb,isImmediatePropagationStopped:bb,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=ab,a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=ab,a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=ab,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}},m.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){m.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return(!e||e!==d&&!m.contains(d,e))&&(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),k.submitBubbles||(m.event.special.submit={setup:function(){return m.nodeName(this,"form")?!1:void m.event.add(this,"click._submit keypress._submit",function(a){var b=a.target,c=m.nodeName(b,"input")||m.nodeName(b,"button")?b.form:void 0;c&&!m._data(c,"submitBubbles")&&(m.event.add(c,"submit._submit",function(a){a._submit_bubble=!0}),m._data(c,"submitBubbles",!0))})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&m.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){return m.nodeName(this,"form")?!1:void m.event.remove(this,"._submit")}}),k.changeBubbles||(m.event.special.change={setup:function(){return X.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(m.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._just_changed=!0)}),m.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1),m.event.simulate("change",this,a,!0)})),!1):void m.event.add(this,"beforeactivate._change",function(a){var b=a.target;X.test(b.nodeName)&&!m._data(b,"changeBubbles")&&(m.event.add(b,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||m.event.simulate("change",this.parentNode,a,!0)}),m._data(b,"changeBubbles",!0))})},handle:function(a){var b=a.target;return this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type?a.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return m.event.remove(this,"._change"),!X.test(this.nodeName)}}),k.focusinBubbles||m.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){m.event.simulate(b,a.target,m.event.fix(a),!0)};m.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=m._data(d,b);e||d.addEventListener(a,c,!0),m._data(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=m._data(d,b)-1;e?m._data(d,b,e):(d.removeEventListener(a,c,!0),m._removeData(d,b))}}}),m.fn.extend({on:function(a,b,c,d,e){var f,g;if("object"==typeof a){"string"!=typeof b&&(c=c||b,b=void 0);for(f in a)this.on(f,b,c,a[f],e);return this}if(null==c&&null==d?(d=b,c=b=void 0):null==d&&("string"==typeof b?(d=c,c=void 0):(d=c,c=b,b=void 0)),d===!1)d=bb;else if(!d)return this;return 1===e&&(g=d,d=function(a){return m().off(a),g.apply(this,arguments)},d.guid=g.guid||(g.guid=m.guid++)),this.each(function(){m.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,m(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return(b===!1||"function"==typeof b)&&(c=b,b=void 0),c===!1&&(c=bb),this.each(function(){m.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){m.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?m.event.trigger(a,b,c,!0):void 0}});function db(a){var b=eb.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}var eb="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",fb=/ jQuery\d+="(?:null|\d+)"/g,gb=new RegExp("<(?:"+eb+")[\\s/>]","i"),hb=/^\s+/,ib=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,jb=/<([\w:]+)/,kb=/<tbody/i,lb=/<|&#?\w+;/,mb=/<(?:script|style|link)/i,nb=/checked\s*(?:[^=]|=\s*.checked.)/i,ob=/^$|\/(?:java|ecma)script/i,pb=/^true\/(.*)/,qb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,rb={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:k.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},sb=db(y),tb=sb.appendChild(y.createElement("div"));rb.optgroup=rb.option,rb.tbody=rb.tfoot=rb.colgroup=rb.caption=rb.thead,rb.th=rb.td;function ub(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==K?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==K?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ub(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function vb(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wb(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function xb(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function yb(a){var b=pb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function zb(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Ab(a,b){if(1===b.nodeType&&m.hasData(a)){var c,d,e,f=m._data(a),g=m._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)m.event.add(b,c,h[c][d])}g.data&&(g.data=m.extend({},g.data))}}function Bb(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!k.noCloneEvent&&b[m.expando]){e=m._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}"script"===c&&b.text!==a.text?(xb(b).text=a.text,yb(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&W.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,i=m.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!gb.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(tb.innerHTML=a.outerHTML,tb.removeChild(f=tb.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ub(f),h=ub(a),g=0;null!=(e=h[g]);++g)d[g]&&Bb(e,d[g]);if(b)if(c)for(h=h||ub(a),d=d||ub(f),g=0;null!=(e=h[g]);g++)Ab(e,d[g]);else Ab(a,f);return d=ub(f,"script"),d.length>0&&zb(d,!i&&ub(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,n=a.length,o=db(b),p=[],q=0;n>q;q++)if(f=a[q],f||0===f)if("object"===m.type(f))m.merge(p,f.nodeType?[f]:f);else if(lb.test(f)){h=h||o.appendChild(b.createElement("div")),i=(jb.exec(f)||["",""])[1].toLowerCase(),l=rb[i]||rb._default,h.innerHTML=l[1]+f.replace(ib,"<$1></$2>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&hb.test(f)&&p.push(b.createTextNode(hb.exec(f)[0])),!k.tbody){f="table"!==i||kb.test(f)?"<table>"!==l[1]||kb.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ub(p,"input"),vb),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ub(o.appendChild(f),"script"),g&&zb(h),c)){e=0;while(f=h[e++])ob.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ub(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&zb(ub(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ub(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fb,""):void 0;if(!("string"!=typeof a||mb.test(a)||!k.htmlSerialize&&gb.test(a)||!k.leadingWhitespace&&hb.test(a)||rb[(jb.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ib,"<$1></$2>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ub(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,m.cleanData(ub(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&nb.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ub(i,"script"),xb),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ub(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,yb),j=0;f>j;j++)d=g[j],ob.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qb,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Cb,Db={};function Eb(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fb(a){var b=y,c=Db[a];return c||(c=Eb(a,b),"none"!==c&&c||(Cb=(Cb||m("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=(Cb[0].contentWindow||Cb[0].contentDocument).document,b.write(),b.close(),c=Eb(a,b),Cb.detach()),Db[a]=c),c}!function(){var a;k.shrinkWrapBlocks=function(){if(null!=a)return a;a=!1;var b,c,d;return c=y.getElementsByTagName("body")[0],c&&c.style?(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",b.appendChild(y.createElement("div")).style.width="5px",a=3!==b.offsetWidth),c.removeChild(d),a):void 0}}();var Gb=/^margin/,Hb=new RegExp("^("+S+")(?!px)[a-z%]+$","i"),Ib,Jb,Kb=/^(top|right|bottom|left)$/;a.getComputedStyle?(Ib=function(a){return a.ownerDocument.defaultView.getComputedStyle(a,null)},Jb=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ib(a),g=c?c.getPropertyValue(b)||c[b]:void 0,c&&(""!==g||m.contains(a.ownerDocument,a)||(g=m.style(a,b)),Hb.test(g)&&Gb.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0===g?g:g+""}):y.documentElement.currentStyle&&(Ib=function(a){return a.currentStyle},Jb=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ib(a),g=c?c[b]:void 0,null==g&&h&&h[b]&&(g=h[b]),Hb.test(g)&&!Kb.test(b)&&(d=h.left,e=a.runtimeStyle,f=e&&e.left,f&&(e.left=a.currentStyle.left),h.left="fontSize"===b?"1em":g,g=h.pixelLeft+"px",h.left=d,f&&(e.left=f)),void 0===g?g:g+""||"auto"});function Lb(a,b){return{get:function(){var c=a();if(null!=c)return c?void delete this.get:(this.get=b).apply(this,arguments)}}}!function(){var b,c,d,e,f,g,h;if(b=y.createElement("div"),b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",d=b.getElementsByTagName("a")[0],c=d&&d.style){c.cssText="float:left;opacity:.5",k.opacity="0.5"===c.opacity,k.cssFloat=!!c.cssFloat,b.style.backgroundClip="content-box",b.cloneNode(!0).style.backgroundClip="",k.clearCloneStyle="content-box"===b.style.backgroundClip,k.boxSizing=""===c.boxSizing||""===c.MozBoxSizing||""===c.WebkitBoxSizing,m.extend(k,{reliableHiddenOffsets:function(){return null==g&&i(),g},boxSizingReliable:function(){return null==f&&i(),f},pixelPosition:function(){return null==e&&i(),e},reliableMarginRight:function(){return null==h&&i(),h}});function i(){var b,c,d,i;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),b.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",e=f=!1,h=!0,a.getComputedStyle&&(e="1%"!==(a.getComputedStyle(b,null)||{}).top,f="4px"===(a.getComputedStyle(b,null)||{width:"4px"}).width,i=b.appendChild(y.createElement("div")),i.style.cssText=b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",i.style.marginRight=i.style.width="0",b.style.width="1px",h=!parseFloat((a.getComputedStyle(i,null)||{}).marginRight)),b.innerHTML="<table><tr><td></td><td>t</td></tr></table>",i=b.getElementsByTagName("td"),i[0].style.cssText="margin:0;border:0;padding:0;display:none",g=0===i[0].offsetHeight,g&&(i[0].style.display="",i[1].style.display="none",g=0===i[0].offsetHeight),c.removeChild(d))}}}(),m.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};var Mb=/alpha\([^)]*\)/i,Nb=/opacity\s*=\s*([^)]*)/,Ob=/^(none|table(?!-c[ea]).+)/,Pb=new RegExp("^("+S+")(.*)$","i"),Qb=new RegExp("^([+-])=("+S+")","i"),Rb={position:"absolute",visibility:"hidden",display:"block"},Sb={letterSpacing:"0",fontWeight:"400"},Tb=["Webkit","O","Moz","ms"];function Ub(a,b){if(b in a)return b;var c=b.charAt(0).toUpperCase()+b.slice(1),d=b,e=Tb.length;while(e--)if(b=Tb[e]+c,b in a)return b;return d}function Vb(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=m._data(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&U(d)&&(f[g]=m._data(d,"olddisplay",Fb(d.nodeName)))):(e=U(d),(c&&"none"!==c||!e)&&m._data(d,"olddisplay",e?c:m.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}function Wb(a,b,c){var d=Pb.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function Xb(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=m.css(a,c+T[f],!0,e)),d?("content"===c&&(g-=m.css(a,"padding"+T[f],!0,e)),"margin"!==c&&(g-=m.css(a,"border"+T[f]+"Width",!0,e))):(g+=m.css(a,"padding"+T[f],!0,e),"padding"!==c&&(g+=m.css(a,"border"+T[f]+"Width",!0,e)));return g}function Yb(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Ib(a),g=k.boxSizing&&"border-box"===m.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=Jb(a,b,f),(0>e||null==e)&&(e=a.style[b]),Hb.test(e))return e;d=g&&(k.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Xb(a,b,c||(g?"border":"content"),d,f)+"px"}m.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Jb(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":k.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=m.camelCase(b),i=a.style;if(b=m.cssProps[h]||(m.cssProps[h]=Ub(i,h)),g=m.cssHooks[b]||m.cssHooks[h],void 0===c)return g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b];if(f=typeof c,"string"===f&&(e=Qb.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(m.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||m.cssNumber[h]||(c+="px"),k.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),!(g&&"set"in g&&void 0===(c=g.set(a,c,d)))))try{i[b]=c}catch(j){}}},css:function(a,b,c,d){var e,f,g,h=m.camelCase(b);return b=m.cssProps[h]||(m.cssProps[h]=Ub(a.style,h)),g=m.cssHooks[b]||m.cssHooks[h],g&&"get"in g&&(f=g.get(a,!0,c)),void 0===f&&(f=Jb(a,b,d)),"normal"===f&&b in Sb&&(f=Sb[b]),""===c||c?(e=parseFloat(f),c===!0||m.isNumeric(e)?e||0:f):f}}),m.each(["height","width"],function(a,b){m.cssHooks[b]={get:function(a,c,d){return c?Ob.test(m.css(a,"display"))&&0===a.offsetWidth?m.swap(a,Rb,function(){return Yb(a,b,d)}):Yb(a,b,d):void 0},set:function(a,c,d){var e=d&&Ib(a);return Wb(a,c,d?Xb(a,b,d,k.boxSizing&&"border-box"===m.css(a,"boxSizing",!1,e),e):0)}}}),k.opacity||(m.cssHooks.opacity={get:function(a,b){return Nb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=m.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1,(b>=1||""===b)&&""===m.trim(f.replace(Mb,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter)||(c.filter=Mb.test(f)?f.replace(Mb,e):f+" "+e)}}),m.cssHooks.marginRight=Lb(k.reliableMarginRight,function(a,b){return b?m.swap(a,{display:"inline-block"},Jb,[a,"marginRight"]):void 0}),m.each({margin:"",padding:"",border:"Width"},function(a,b){m.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+T[d]+b]=f[d]||f[d-2]||f[0];return e}},Gb.test(a)||(m.cssHooks[a+b].set=Wb)}),m.fn.extend({css:function(a,b){return V(this,function(a,b,c){var d,e,f={},g=0;if(m.isArray(b)){for(d=Ib(a),e=b.length;e>g;g++)f[b[g]]=m.css(a,b[g],!1,d);return f}return void 0!==c?m.style(a,b,c):m.css(a,b)},a,b,arguments.length>1)},show:function(){return Vb(this,!0)},hide:function(){return Vb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){U(this)?m(this).show():m(this).hide()})}});function Zb(a,b,c,d,e){return new Zb.prototype.init(a,b,c,d,e)}m.Tween=Zb,Zb.prototype={constructor:Zb,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(m.cssNumber[c]?"":"px") +},cur:function(){var a=Zb.propHooks[this.prop];return a&&a.get?a.get(this):Zb.propHooks._default.get(this)},run:function(a){var b,c=Zb.propHooks[this.prop];return this.pos=b=this.options.duration?m.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Zb.propHooks._default.set(this),this}},Zb.prototype.init.prototype=Zb.prototype,Zb.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=m.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){m.fx.step[a.prop]?m.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[m.cssProps[a.prop]]||m.cssHooks[a.prop])?m.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},Zb.propHooks.scrollTop=Zb.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},m.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},m.fx=Zb.prototype.init,m.fx.step={};var $b,_b,ac=/^(?:toggle|show|hide)$/,bc=new RegExp("^(?:([+-])=|)("+S+")([a-z%]*)$","i"),cc=/queueHooks$/,dc=[ic],ec={"*":[function(a,b){var c=this.createTween(a,b),d=c.cur(),e=bc.exec(b),f=e&&e[3]||(m.cssNumber[a]?"":"px"),g=(m.cssNumber[a]||"px"!==f&&+d)&&bc.exec(m.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,m.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};function fc(){return setTimeout(function(){$b=void 0}),$b=m.now()}function gc(a,b){var c,d={height:a},e=0;for(b=b?1:0;4>e;e+=2-b)c=T[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function hc(a,b,c){for(var d,e=(ec[b]||[]).concat(ec["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function ic(a,b,c){var d,e,f,g,h,i,j,l,n=this,o={},p=a.style,q=a.nodeType&&U(a),r=m._data(a,"fxshow");c.queue||(h=m._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,n.always(function(){n.always(function(){h.unqueued--,m.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[p.overflow,p.overflowX,p.overflowY],j=m.css(a,"display"),l="none"===j?m._data(a,"olddisplay")||Fb(a.nodeName):j,"inline"===l&&"none"===m.css(a,"float")&&(k.inlineBlockNeedsLayout&&"inline"!==Fb(a.nodeName)?p.zoom=1:p.display="inline-block")),c.overflow&&(p.overflow="hidden",k.shrinkWrapBlocks()||n.always(function(){p.overflow=c.overflow[0],p.overflowX=c.overflow[1],p.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],ac.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(q?"hide":"show")){if("show"!==e||!r||void 0===r[d])continue;q=!0}o[d]=r&&r[d]||m.style(a,d)}else j=void 0;if(m.isEmptyObject(o))"inline"===("none"===j?Fb(a.nodeName):j)&&(p.display=j);else{r?"hidden"in r&&(q=r.hidden):r=m._data(a,"fxshow",{}),f&&(r.hidden=!q),q?m(a).show():n.done(function(){m(a).hide()}),n.done(function(){var b;m._removeData(a,"fxshow");for(b in o)m.style(a,b,o[b])});for(d in o)g=hc(q?r[d]:0,d,n),d in r||(r[d]=g.start,q&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function jc(a,b){var c,d,e,f,g;for(c in a)if(d=m.camelCase(c),e=b[d],f=a[c],m.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=m.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function kc(a,b,c){var d,e,f=0,g=dc.length,h=m.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=$b||fc(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:m.extend({},b),opts:m.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:$b||fc(),duration:c.duration,tweens:[],createTween:function(b,c){var d=m.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(jc(k,j.opts.specialEasing);g>f;f++)if(d=dc[f].call(j,a,k,j.opts))return d;return m.map(k,hc,j),m.isFunction(j.opts.start)&&j.opts.start.call(a,j),m.fx.timer(m.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}m.Animation=m.extend(kc,{tweener:function(a,b){m.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],ec[c]=ec[c]||[],ec[c].unshift(b)},prefilter:function(a,b){b?dc.unshift(a):dc.push(a)}}),m.speed=function(a,b,c){var d=a&&"object"==typeof a?m.extend({},a):{complete:c||!c&&b||m.isFunction(a)&&a,duration:a,easing:c&&b||b&&!m.isFunction(b)&&b};return d.duration=m.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in m.fx.speeds?m.fx.speeds[d.duration]:m.fx.speeds._default,(null==d.queue||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){m.isFunction(d.old)&&d.old.call(this),d.queue&&m.dequeue(this,d.queue)},d},m.fn.extend({fadeTo:function(a,b,c,d){return this.filter(U).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=m.isEmptyObject(a),f=m.speed(b,c,d),g=function(){var b=kc(this,m.extend({},a),f);(e||m._data(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=m.timers,g=m._data(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&cc.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));(b||!c)&&m.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=m._data(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=m.timers,g=d?d.length:0;for(c.finish=!0,m.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),m.each(["toggle","show","hide"],function(a,b){var c=m.fn[b];m.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(gc(b,!0),a,d,e)}}),m.each({slideDown:gc("show"),slideUp:gc("hide"),slideToggle:gc("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){m.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),m.timers=[],m.fx.tick=function(){var a,b=m.timers,c=0;for($b=m.now();c<b.length;c++)a=b[c],a()||b[c]!==a||b.splice(c--,1);b.length||m.fx.stop(),$b=void 0},m.fx.timer=function(a){m.timers.push(a),a()?m.fx.start():m.timers.pop()},m.fx.interval=13,m.fx.start=function(){_b||(_b=setInterval(m.fx.tick,m.fx.interval))},m.fx.stop=function(){clearInterval(_b),_b=null},m.fx.speeds={slow:600,fast:200,_default:400},m.fn.delay=function(a,b){return a=m.fx?m.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},function(){var a,b,c,d,e;b=y.createElement("div"),b.setAttribute("className","t"),b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",d=b.getElementsByTagName("a")[0],c=y.createElement("select"),e=c.appendChild(y.createElement("option")),a=b.getElementsByTagName("input")[0],d.style.cssText="top:1px",k.getSetAttribute="t"!==b.className,k.style=/top/.test(d.getAttribute("style")),k.hrefNormalized="/a"===d.getAttribute("href"),k.checkOn=!!a.value,k.optSelected=e.selected,k.enctype=!!y.createElement("form").enctype,c.disabled=!0,k.optDisabled=!e.disabled,a=y.createElement("input"),a.setAttribute("value",""),k.input=""===a.getAttribute("value"),a.value="t",a.setAttribute("type","radio"),k.radioValue="t"===a.value}();var lc=/\r/g;m.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=m.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,m(this).val()):a,null==e?e="":"number"==typeof e?e+="":m.isArray(e)&&(e=m.map(e,function(a){return null==a?"":a+""})),b=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=m.valHooks[e.type]||m.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(lc,""):null==c?"":c)}}}),m.extend({valHooks:{option:{get:function(a){var b=m.find.attr(a,"value");return null!=b?b:m.trim(m.text(a))}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],!(!c.selected&&i!==e||(k.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&m.nodeName(c.parentNode,"optgroup"))){if(b=m(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=m.makeArray(b),g=e.length;while(g--)if(d=e[g],m.inArray(m.valHooks.option.get(d),f)>=0)try{d.selected=c=!0}catch(h){d.scrollHeight}else d.selected=!1;return c||(a.selectedIndex=-1),e}}}}),m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(a,b){return m.isArray(b)?a.checked=m.inArray(m(a).val(),b)>=0:void 0}},k.checkOn||(m.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var mc,nc,oc=m.expr.attrHandle,pc=/^(?:checked|selected)$/i,qc=k.getSetAttribute,rc=k.input;m.fn.extend({attr:function(a,b){return V(this,m.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){m.removeAttr(this,a)})}}),m.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f)return typeof a.getAttribute===K?m.prop(a,b,c):(1===f&&m.isXMLDoc(a)||(b=b.toLowerCase(),d=m.attrHooks[b]||(m.expr.match.bool.test(b)?nc:mc)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=m.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void m.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(E);if(f&&1===a.nodeType)while(c=f[e++])d=m.propFix[c]||c,m.expr.match.bool.test(c)?rc&&qc||!pc.test(c)?a[d]=!1:a[m.camelCase("default-"+c)]=a[d]=!1:m.attr(a,c,""),a.removeAttribute(qc?c:d)},attrHooks:{type:{set:function(a,b){if(!k.radioValue&&"radio"===b&&m.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),nc={set:function(a,b,c){return b===!1?m.removeAttr(a,c):rc&&qc||!pc.test(c)?a.setAttribute(!qc&&m.propFix[c]||c,c):a[m.camelCase("default-"+c)]=a[c]=!0,c}},m.each(m.expr.match.bool.source.match(/\w+/g),function(a,b){var c=oc[b]||m.find.attr;oc[b]=rc&&qc||!pc.test(b)?function(a,b,d){var e,f;return d||(f=oc[b],oc[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,oc[b]=f),e}:function(a,b,c){return c?void 0:a[m.camelCase("default-"+b)]?b.toLowerCase():null}}),rc&&qc||(m.attrHooks.value={set:function(a,b,c){return m.nodeName(a,"input")?void(a.defaultValue=b):mc&&mc.set(a,b,c)}}),qc||(mc={set:function(a,b,c){var d=a.getAttributeNode(c);return d||a.setAttributeNode(d=a.ownerDocument.createAttribute(c)),d.value=b+="","value"===c||b===a.getAttribute(c)?b:void 0}},oc.id=oc.name=oc.coords=function(a,b,c){var d;return c?void 0:(d=a.getAttributeNode(b))&&""!==d.value?d.value:null},m.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);return c&&c.specified?c.value:void 0},set:mc.set},m.attrHooks.contenteditable={set:function(a,b,c){mc.set(a,""===b?!1:b,c)}},m.each(["width","height"],function(a,b){m.attrHooks[b]={set:function(a,c){return""===c?(a.setAttribute(b,"auto"),c):void 0}}})),k.style||(m.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});var sc=/^(?:input|select|textarea|button|object)$/i,tc=/^(?:a|area)$/i;m.fn.extend({prop:function(a,b){return V(this,m.prop,a,b,arguments.length>1)},removeProp:function(a){return a=m.propFix[a]||a,this.each(function(){try{this[a]=void 0,delete this[a]}catch(b){}})}}),m.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!m.isXMLDoc(a),f&&(b=m.propFix[b]||b,e=m.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=m.find.attr(a,"tabindex");return b?parseInt(b,10):sc.test(a.nodeName)||tc.test(a.nodeName)&&a.href?0:-1}}}}),k.hrefNormalized||m.each(["href","src"],function(a,b){m.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}}),k.optSelected||(m.propHooks.selected={get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){m.propFix[this.toLowerCase()]=this}),k.enctype||(m.propFix.enctype="encoding");var uc=/[\t\r\n\f]/g;m.fn.extend({addClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j="string"==typeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).addClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(E)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(uc," "):" ")){f=0;while(e=b[f++])d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=m.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j=0===arguments.length||"string"==typeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).removeClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(E)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(uc," "):"")){f=0;while(e=b[f++])while(d.indexOf(" "+e+" ")>=0)d=d.replace(" "+e+" "," ");g=a?m.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):this.each(m.isFunction(a)?function(c){m(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c){var b,d=0,e=m(this),f=a.match(E)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(c===K||"boolean"===c)&&(this.className&&m._data(this,"__className__",this.className),this.className=this.className||a===!1?"":m._data(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(uc," ").indexOf(b)>=0)return!0;return!1}}),m.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){m.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),m.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var vc=m.now(),wc=/\?/,xc=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;m.parseJSON=function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+"");var c,d=null,e=m.trim(b+"");return e&&!m.trim(e.replace(xc,function(a,b,e,f){return c&&b&&(d=0),0===d?a:(c=e||b,d+=!f-!e,"")}))?Function("return "+e)():m.error("Invalid JSON: "+b)},m.parseXML=function(b){var c,d;if(!b||"string"!=typeof b)return null;try{a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b))}catch(e){c=void 0}return c&&c.documentElement&&!c.getElementsByTagName("parsererror").length||m.error("Invalid XML: "+b),c};var yc,zc,Ac=/#.*$/,Bc=/([?&])_=[^&]*/,Cc=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Dc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ec=/^(?:GET|HEAD)$/,Fc=/^\/\//,Gc=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Hc={},Ic={},Jc="*/".concat("*");try{zc=location.href}catch(Kc){zc=y.createElement("a"),zc.href="",zc=zc.href}yc=Gc.exec(zc.toLowerCase())||[];function Lc(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(E)||[];if(m.isFunction(c))while(d=f[e++])"+"===d.charAt(0)?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Mc(a,b,c,d){var e={},f=a===Ic;function g(h){var i;return e[h]=!0,m.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Nc(a,b){var c,d,e=m.ajaxSettings.flatOptions||{};for(d in b)void 0!==b[d]&&((e[d]?a:c||(c={}))[d]=b[d]);return c&&m.extend(!0,a,c),a}function Oc(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===e&&(e=a.mimeType||b.getResponseHeader("Content-Type"));if(e)for(g in h)if(h[g]&&h[g].test(e)){i.unshift(g);break}if(i[0]in c)f=i[0];else{for(g in c){if(!i[0]||a.converters[g+" "+i[0]]){f=g;break}d||(d=g)}f=f||d}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function Pc(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:zc,type:"GET",isLocal:Dc.test(yc[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Jc,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":m.parseJSON,"text xml":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Nc(Nc(a,m.ajaxSettings),b):Nc(m.ajaxSettings,a)},ajaxPrefilter:Lc(Hc),ajaxTransport:Lc(Ic),ajax:function(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d,e,f,g,h,i,j,k=m.ajaxSetup({},b),l=k.context||k,n=k.context&&(l.nodeType||l.jquery)?m(l):m.event,o=m.Deferred(),p=m.Callbacks("once memory"),q=k.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!j){j={};while(b=Cc.exec(f))j[b[1].toLowerCase()]=b[2]}b=j[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?f:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(k.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)q[b]=[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return i&&i.abort(b),x(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,k.url=((a||k.url||zc)+"").replace(Ac,"").replace(Fc,yc[1]+"//"),k.type=b.method||b.type||k.method||k.type,k.dataTypes=m.trim(k.dataType||"*").toLowerCase().match(E)||[""],null==k.crossDomain&&(c=Gc.exec(k.url.toLowerCase()),k.crossDomain=!(!c||c[1]===yc[1]&&c[2]===yc[2]&&(c[3]||("http:"===c[1]?"80":"443"))===(yc[3]||("http:"===yc[1]?"80":"443")))),k.data&&k.processData&&"string"!=typeof k.data&&(k.data=m.param(k.data,k.traditional)),Mc(Hc,k,b,v),2===t)return v;h=k.global,h&&0===m.active++&&m.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!Ec.test(k.type),e=k.url,k.hasContent||(k.data&&(e=k.url+=(wc.test(e)?"&":"?")+k.data,delete k.data),k.cache===!1&&(k.url=Bc.test(e)?e.replace(Bc,"$1_="+vc++):e+(wc.test(e)?"&":"?")+"_="+vc++)),k.ifModified&&(m.lastModified[e]&&v.setRequestHeader("If-Modified-Since",m.lastModified[e]),m.etag[e]&&v.setRequestHeader("If-None-Match",m.etag[e])),(k.data&&k.hasContent&&k.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",k.contentType),v.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+("*"!==k.dataTypes[0]?", "+Jc+"; q=0.01":""):k.accepts["*"]);for(d in k.headers)v.setRequestHeader(d,k.headers[d]);if(k.beforeSend&&(k.beforeSend.call(l,v,k)===!1||2===t))return v.abort();u="abort";for(d in{success:1,error:1,complete:1})v[d](k[d]);if(i=Mc(Ic,k,b,v)){v.readyState=1,h&&n.trigger("ajaxSend",[v,k]),k.async&&k.timeout>0&&(g=setTimeout(function(){v.abort("timeout")},k.timeout));try{t=1,i.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,"No Transport");function x(a,b,c,d){var j,r,s,u,w,x=b;2!==t&&(t=2,g&&clearTimeout(g),i=void 0,f=d||"",v.readyState=a>0?4:0,j=a>=200&&300>a||304===a,c&&(u=Oc(k,v,c)),u=Pc(k,u,v,j),j?(k.ifModified&&(w=v.getResponseHeader("Last-Modified"),w&&(m.lastModified[e]=w),w=v.getResponseHeader("etag"),w&&(m.etag[e]=w)),204===a||"HEAD"===k.type?x="nocontent":304===a?x="notmodified":(x=u.state,r=u.data,s=u.error,j=!s)):(s=x,(a||!x)&&(x="error",0>a&&(a=0))),v.status=a,v.statusText=(b||x)+"",j?o.resolveWith(l,[r,x,v]):o.rejectWith(l,[v,x,s]),v.statusCode(q),q=void 0,h&&n.trigger(j?"ajaxSuccess":"ajaxError",[v,k,j?r:s]),p.fireWith(l,[v,x]),h&&(n.trigger("ajaxComplete",[v,k]),--m.active||m.event.trigger("ajaxStop")))}return v},getJSON:function(a,b,c){return m.get(a,b,c,"json")},getScript:function(a,b){return m.get(a,void 0,b,"script")}}),m.each(["get","post"],function(a,b){m[b]=function(a,c,d,e){return m.isFunction(c)&&(e=e||d,d=c,c=void 0),m.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){m.fn[b]=function(a){return this.on(b,a)}}),m._evalUrl=function(a){return m.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},m.fn.extend({wrapAll:function(a){if(m.isFunction(a))return this.each(function(b){m(this).wrapAll(a.call(this,b))});if(this[0]){var b=m(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&1===a.firstChild.nodeType)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return this.each(m.isFunction(a)?function(b){m(this).wrapInner(a.call(this,b))}:function(){var b=m(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=m.isFunction(a);return this.each(function(c){m(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){m.nodeName(this,"body")||m(this).replaceWith(this.childNodes)}).end()}}),m.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0||!k.reliableHiddenOffsets()&&"none"===(a.style&&a.style.display||m.css(a,"display"))},m.expr.filters.visible=function(a){return!m.expr.filters.hidden(a)};var Qc=/%20/g,Rc=/\[\]$/,Sc=/\r?\n/g,Tc=/^(?:submit|button|image|reset|file)$/i,Uc=/^(?:input|select|textarea|keygen)/i;function Vc(a,b,c,d){var e;if(m.isArray(b))m.each(b,function(b,e){c||Rc.test(a)?d(a,e):Vc(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==m.type(b))d(a,b);else for(e in b)Vc(a+"["+e+"]",b[e],c,d)}m.param=function(a,b){var c,d=[],e=function(a,b){b=m.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=m.ajaxSettings&&m.ajaxSettings.traditional),m.isArray(a)||a.jquery&&!m.isPlainObject(a))m.each(a,function(){e(this.name,this.value)});else for(c in a)Vc(c,a[c],b,e);return d.join("&").replace(Qc,"+")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=m.prop(this,"elements");return a?m.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!m(this).is(":disabled")&&Uc.test(this.nodeName)&&!Tc.test(a)&&(this.checked||!W.test(a))}).map(function(a,b){var c=m(this).val();return null==c?null:m.isArray(c)?m.map(c,function(a){return{name:b.name,value:a.replace(Sc,"\r\n")}}):{name:b.name,value:c.replace(Sc,"\r\n")}}).get()}}),m.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Zc()||$c()}:Zc;var Wc=0,Xc={},Yc=m.ajaxSettings.xhr();a.ActiveXObject&&m(a).on("unload",function(){for(var a in Xc)Xc[a](void 0,!0)}),k.cors=!!Yc&&"withCredentials"in Yc,Yc=k.ajax=!!Yc,Yc&&m.ajaxTransport(function(a){if(!a.crossDomain||k.cors){var b;return{send:function(c,d){var e,f=a.xhr(),g=++Wc;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(e in c)void 0!==c[e]&&f.setRequestHeader(e,c[e]+"");f.send(a.hasContent&&a.data||null),b=function(c,e){var h,i,j;if(b&&(e||4===f.readyState))if(delete Xc[g],b=void 0,f.onreadystatechange=m.noop,e)4!==f.readyState&&f.abort();else{j={},h=f.status,"string"==typeof f.responseText&&(j.text=f.responseText);try{i=f.statusText}catch(k){i=""}h||!a.isLocal||a.crossDomain?1223===h&&(h=204):h=j.text?200:404}j&&d(h,i,j,f.getAllResponseHeaders())},a.async?4===f.readyState?setTimeout(b):f.onreadystatechange=Xc[g]=b:b()},abort:function(){b&&b(void 0,!0)}}}});function Zc(){try{return new a.XMLHttpRequest}catch(b){}}function $c(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return m.globalEval(a),a}}}),m.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),m.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=y.head||m("head")[0]||y.documentElement;return{send:function(d,e){b=y.createElement("script"),b.async=!0,a.scriptCharset&&(b.charset=a.scriptCharset),b.src=a.url,b.onload=b.onreadystatechange=function(a,c){(c||!b.readyState||/loaded|complete/.test(b.readyState))&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||e(200,"success"))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var _c=[],ad=/(=)\?(?=&|$)|\?\?/;m.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=_c.pop()||m.expando+"_"+vc++;return this[a]=!0,a}}),m.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(ad.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&ad.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=m.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(ad,"$1"+e):b.jsonp!==!1&&(b.url+=(wc.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||m.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,_c.push(e)),g&&m.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),m.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||y;var d=u.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=m.buildFragment([a],b,e),e&&e.length&&m(e).remove(),m.merge([],d.childNodes))};var bd=m.fn.load;m.fn.load=function(a,b,c){if("string"!=typeof a&&bd)return bd.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>=0&&(d=m.trim(a.slice(h,a.length)),a=a.slice(0,h)),m.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(f="POST"),g.length>0&&m.ajax({url:a,type:f,dataType:"html",data:b}).done(function(a){e=arguments,g.html(d?m("<div>").append(m.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,e||[a.responseText,b,a])}),this},m.expr.filters.animated=function(a){return m.grep(m.timers,function(b){return a===b.elem}).length};var cd=a.document.documentElement;function dd(a){return m.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}m.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=m.css(a,"position"),l=m(a),n={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=m.css(a,"top"),i=m.css(a,"left"),j=("absolute"===k||"fixed"===k)&&m.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),m.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(n.top=b.top-h.top+g),null!=b.left&&(n.left=b.left-h.left+e),"using"in b?b.using.call(a,n):l.css(n)}},m.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){m.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,m.contains(b,e)?(typeof e.getBoundingClientRect!==K&&(d=e.getBoundingClientRect()),c=dd(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===m.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),m.nodeName(a[0],"html")||(c=a.offset()),c.top+=m.css(a[0],"borderTopWidth",!0),c.left+=m.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-m.css(d,"marginTop",!0),left:b.left-c.left-m.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||cd;while(a&&!m.nodeName(a,"html")&&"static"===m.css(a,"position"))a=a.offsetParent;return a||cd})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);m.fn[a]=function(d){return V(this,function(a,d,e){var f=dd(a);return void 0===e?f?b in f?f[b]:f.document.documentElement[d]:a[d]:void(f?f.scrollTo(c?m(f).scrollLeft():e,c?e:m(f).scrollTop()):a[d]=e)},a,d,arguments.length,null)}}),m.each(["top","left"],function(a,b){m.cssHooks[b]=Lb(k.pixelPosition,function(a,c){return c?(c=Jb(a,b),Hb.test(c)?m(a).position()[b]+"px":c):void 0})}),m.each({Height:"height",Width:"width"},function(a,b){m.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){m.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return V(this,function(b,c,d){var e;return m.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?m.css(b,c,g):m.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),m.fn.size=function(){return this.length},m.fn.andSelf=m.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return m});var ed=a.jQuery,fd=a.$;return m.noConflict=function(b){return a.$===m&&(a.$=fd),b&&a.jQuery===m&&(a.jQuery=ed),m},typeof b===K&&(a.jQuery=a.$=m),m}); diff --git a/_static/minus.png b/_static/minus.png Binary files differnew file mode 100644 index 0000000..0f22b16 --- /dev/null +++ b/_static/minus.png diff --git a/_static/placeholder.txt b/_static/placeholder.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/_static/placeholder.txt diff --git a/_static/plus.png b/_static/plus.png Binary files differnew file mode 100644 index 0000000..0cfe084 --- /dev/null +++ b/_static/plus.png diff --git a/_static/pygments.css b/_static/pygments.css new file mode 100644 index 0000000..57eadc0 --- /dev/null +++ b/_static/pygments.css @@ -0,0 +1,63 @@ +.highlight .hll { background-color: #ffffcc } +.highlight { background: #eeffcc; } +.highlight .c { color: #408090; font-style: italic } /* Comment */ +.highlight .err { border: 1px solid #FF0000 } /* Error */ +.highlight .k { color: #007020; font-weight: bold } /* Keyword */ +.highlight .o { color: #666666 } /* Operator */ +.highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */ +.highlight .cp { color: #007020 } /* Comment.Preproc */ +.highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */ +.highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */ +.highlight .gd { color: #A00000 } /* Generic.Deleted */ +.highlight .ge { font-style: italic } /* Generic.Emph */ +.highlight .gr { color: #FF0000 } /* Generic.Error */ +.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ +.highlight .gi { color: #00A000 } /* Generic.Inserted */ +.highlight .go { color: #333333 } /* Generic.Output */ +.highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */ +.highlight .gs { font-weight: bold } /* Generic.Strong */ +.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ +.highlight .gt { color: #0044DD } /* Generic.Traceback */ +.highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */ +.highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */ +.highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */ +.highlight .kp { color: #007020 } /* Keyword.Pseudo */ +.highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */ +.highlight .kt { color: #902000 } /* Keyword.Type */ +.highlight .m { color: #208050 } /* Literal.Number */ +.highlight .s { color: #4070a0 } /* Literal.String */ +.highlight .na { color: #4070a0 } /* Name.Attribute */ +.highlight .nb { color: #007020 } /* Name.Builtin */ +.highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */ +.highlight .no { color: #60add5 } /* Name.Constant */ +.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */ +.highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */ +.highlight .ne { color: #007020 } /* Name.Exception */ +.highlight .nf { color: #06287e } /* Name.Function */ +.highlight .nl { color: #002070; font-weight: bold } /* Name.Label */ +.highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */ +.highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */ +.highlight .nv { color: #bb60d5 } /* Name.Variable */ +.highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */ +.highlight .w { color: #bbbbbb } /* Text.Whitespace */ +.highlight .mb { color: #208050 } /* Literal.Number.Bin */ +.highlight .mf { color: #208050 } /* Literal.Number.Float */ +.highlight .mh { color: #208050 } /* Literal.Number.Hex */ +.highlight .mi { color: #208050 } /* Literal.Number.Integer */ +.highlight .mo { color: #208050 } /* Literal.Number.Oct */ +.highlight .sb { color: #4070a0 } /* Literal.String.Backtick */ +.highlight .sc { color: #4070a0 } /* Literal.String.Char */ +.highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */ +.highlight .s2 { color: #4070a0 } /* Literal.String.Double */ +.highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */ +.highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */ +.highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */ +.highlight .sx { color: #c65d09 } /* Literal.String.Other */ +.highlight .sr { color: #235388 } /* Literal.String.Regex */ +.highlight .s1 { color: #4070a0 } /* Literal.String.Single */ +.highlight .ss { color: #517918 } /* Literal.String.Symbol */ +.highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */ +.highlight .vc { color: #bb60d5 } /* Name.Variable.Class */ +.highlight .vg { color: #bb60d5 } /* Name.Variable.Global */ +.highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */ +.highlight .il { color: #208050 } /* Literal.Number.Integer.Long */
\ No newline at end of file diff --git a/_static/searchtools.js b/_static/searchtools.js new file mode 100644 index 0000000..0e794fd --- /dev/null +++ b/_static/searchtools.js @@ -0,0 +1,622 @@ +/* + * searchtools.js_t + * ~~~~~~~~~~~~~~~~ + * + * Sphinx JavaScript utilties for the full-text search. + * + * :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + + +/** + * Porter Stemmer + */ +var Stemmer = function() { + + var step2list = { + ational: 'ate', + tional: 'tion', + enci: 'ence', + anci: 'ance', + izer: 'ize', + bli: 'ble', + alli: 'al', + entli: 'ent', + eli: 'e', + ousli: 'ous', + ization: 'ize', + ation: 'ate', + ator: 'ate', + alism: 'al', + iveness: 'ive', + fulness: 'ful', + ousness: 'ous', + aliti: 'al', + iviti: 'ive', + biliti: 'ble', + logi: 'log' + }; + + var step3list = { + icate: 'ic', + ative: '', + alize: 'al', + iciti: 'ic', + ical: 'ic', + ful: '', + ness: '' + }; + + var c = "[^aeiou]"; // consonant + var v = "[aeiouy]"; // vowel + var C = c + "[^aeiouy]*"; // consonant sequence + var V = v + "[aeiou]*"; // vowel sequence + + var mgr0 = "^(" + C + ")?" + V + C; // [C]VC... is m>0 + var meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$"; // [C]VC[V] is m=1 + var mgr1 = "^(" + C + ")?" + V + C + V + C; // [C]VCVC... is m>1 + var s_v = "^(" + C + ")?" + v; // vowel in stem + + this.stemWord = function (w) { + var stem; + var suffix; + var firstch; + var origword = w; + + if (w.length < 3) + return w; + + var re; + var re2; + var re3; + var re4; + + firstch = w.substr(0,1); + if (firstch == "y") + w = firstch.toUpperCase() + w.substr(1); + + // Step 1a + re = /^(.+?)(ss|i)es$/; + re2 = /^(.+?)([^s])s$/; + + if (re.test(w)) + w = w.replace(re,"$1$2"); + else if (re2.test(w)) + w = w.replace(re2,"$1$2"); + + // Step 1b + re = /^(.+?)eed$/; + re2 = /^(.+?)(ed|ing)$/; + if (re.test(w)) { + var fp = re.exec(w); + re = new RegExp(mgr0); + if (re.test(fp[1])) { + re = /.$/; + w = w.replace(re,""); + } + } + else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1]; + re2 = new RegExp(s_v); + if (re2.test(stem)) { + w = stem; + re2 = /(at|bl|iz)$/; + re3 = new RegExp("([^aeiouylsz])\\1$"); + re4 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + if (re2.test(w)) + w = w + "e"; + else if (re3.test(w)) { + re = /.$/; + w = w.replace(re,""); + } + else if (re4.test(w)) + w = w + "e"; + } + } + + // Step 1c + re = /^(.+?)y$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(s_v); + if (re.test(stem)) + w = stem + "i"; + } + + // Step 2 + re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = new RegExp(mgr0); + if (re.test(stem)) + w = stem + step2list[suffix]; + } + + // Step 3 + re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = new RegExp(mgr0); + if (re.test(stem)) + w = stem + step3list[suffix]; + } + + // Step 4 + re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/; + re2 = /^(.+?)(s|t)(ion)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(mgr1); + if (re.test(stem)) + w = stem; + } + else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1] + fp[2]; + re2 = new RegExp(mgr1); + if (re2.test(stem)) + w = stem; + } + + // Step 5 + re = /^(.+?)e$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(mgr1); + re2 = new RegExp(meq1); + re3 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + if (re.test(stem) || (re2.test(stem) && !(re3.test(stem)))) + w = stem; + } + re = /ll$/; + re2 = new RegExp(mgr1); + if (re.test(w) && re2.test(w)) { + re = /.$/; + w = w.replace(re,""); + } + + // and turn initial Y back to y + if (firstch == "y") + w = firstch.toLowerCase() + w.substr(1); + return w; + } +} + + + +/** + * Simple result scoring code. + */ +var Scorer = { + // Implement the following function to further tweak the score for each result + // The function takes a result array [filename, title, anchor, descr, score] + // and returns the new score. + /* + score: function(result) { + return result[4]; + }, + */ + + // query matches the full name of an object + objNameMatch: 11, + // or matches in the last dotted part of the object name + objPartialMatch: 6, + // Additive scores depending on the priority of the object + objPrio: {0: 15, // used to be importantResults + 1: 5, // used to be objectResults + 2: -5}, // used to be unimportantResults + // Used when the priority is not in the mapping. + objPrioDefault: 0, + + // query found in title + title: 15, + // query found in terms + term: 5 +}; + + +/** + * Search Module + */ +var Search = { + + _index : null, + _queued_query : null, + _pulse_status : -1, + + init : function() { + var params = $.getQueryParameters(); + if (params.q) { + var query = params.q[0]; + $('input[name="q"]')[0].value = query; + this.performSearch(query); + } + }, + + loadIndex : function(url) { + $.ajax({type: "GET", url: url, data: null, + dataType: "script", cache: true, + complete: function(jqxhr, textstatus) { + if (textstatus != "success") { + document.getElementById("searchindexloader").src = url; + } + }}); + }, + + setIndex : function(index) { + var q; + this._index = index; + if ((q = this._queued_query) !== null) { + this._queued_query = null; + Search.query(q); + } + }, + + hasIndex : function() { + return this._index !== null; + }, + + deferQuery : function(query) { + this._queued_query = query; + }, + + stopPulse : function() { + this._pulse_status = 0; + }, + + startPulse : function() { + if (this._pulse_status >= 0) + return; + function pulse() { + var i; + Search._pulse_status = (Search._pulse_status + 1) % 4; + var dotString = ''; + for (i = 0; i < Search._pulse_status; i++) + dotString += '.'; + Search.dots.text(dotString); + if (Search._pulse_status > -1) + window.setTimeout(pulse, 500); + } + pulse(); + }, + + /** + * perform a search for something (or wait until index is loaded) + */ + performSearch : function(query) { + // create the required interface elements + this.out = $('#search-results'); + this.title = $('<h2>' + _('Searching') + '</h2>').appendTo(this.out); + this.dots = $('<span></span>').appendTo(this.title); + this.status = $('<p style="display: none"></p>').appendTo(this.out); + this.output = $('<ul class="search"/>').appendTo(this.out); + + $('#search-progress').text(_('Preparing search...')); + this.startPulse(); + + // index already loaded, the browser was quick! + if (this.hasIndex()) + this.query(query); + else + this.deferQuery(query); + }, + + /** + * execute search (requires search index to be loaded) + */ + query : function(query) { + var i; + var stopwords = ["a","and","are","as","at","be","but","by","for","if","in","into","is","it","near","no","not","of","on","or","such","that","the","their","then","there","these","they","this","to","was","will","with"]; + + // stem the searchterms and add them to the correct list + var stemmer = new Stemmer(); + var searchterms = []; + var excluded = []; + var hlterms = []; + var tmp = query.split(/\s+/); + var objectterms = []; + for (i = 0; i < tmp.length; i++) { + if (tmp[i] !== "") { + objectterms.push(tmp[i].toLowerCase()); + } + + if ($u.indexOf(stopwords, tmp[i].toLowerCase()) != -1 || tmp[i].match(/^\d+$/) || + tmp[i] === "") { + // skip this "word" + continue; + } + // stem the word + var word = stemmer.stemWord(tmp[i].toLowerCase()); + var toAppend; + // select the correct list + if (word[0] == '-') { + toAppend = excluded; + word = word.substr(1); + } + else { + toAppend = searchterms; + hlterms.push(tmp[i].toLowerCase()); + } + // only add if not already in the list + if (!$u.contains(toAppend, word)) + toAppend.push(word); + } + var highlightstring = '?highlight=' + $.urlencode(hlterms.join(" ")); + + // console.debug('SEARCH: searching for:'); + // console.info('required: ', searchterms); + // console.info('excluded: ', excluded); + + // prepare search + var terms = this._index.terms; + var titleterms = this._index.titleterms; + + // array of [filename, title, anchor, descr, score] + var results = []; + $('#search-progress').empty(); + + // lookup as object + for (i = 0; i < objectterms.length; i++) { + var others = [].concat(objectterms.slice(0, i), + objectterms.slice(i+1, objectterms.length)); + results = results.concat(this.performObjectSearch(objectterms[i], others)); + } + + // lookup as search terms in fulltext + results = results.concat(this.performTermsSearch(searchterms, excluded, terms, Scorer.term)) + .concat(this.performTermsSearch(searchterms, excluded, titleterms, Scorer.title)); + + // let the scorer override scores with a custom scoring function + if (Scorer.score) { + for (i = 0; i < results.length; i++) + results[i][4] = Scorer.score(results[i]); + } + + // now sort the results by score (in opposite order of appearance, since the + // display function below uses pop() to retrieve items) and then + // alphabetically + results.sort(function(a, b) { + var left = a[4]; + var right = b[4]; + if (left > right) { + return 1; + } else if (left < right) { + return -1; + } else { + // same score: sort alphabetically + left = a[1].toLowerCase(); + right = b[1].toLowerCase(); + return (left > right) ? -1 : ((left < right) ? 1 : 0); + } + }); + + // for debugging + //Search.lastresults = results.slice(); // a copy + //console.info('search results:', Search.lastresults); + + // print the results + var resultCount = results.length; + function displayNextItem() { + // results left, load the summary and display it + if (results.length) { + var item = results.pop(); + var listItem = $('<li style="display:none"></li>'); + if (DOCUMENTATION_OPTIONS.FILE_SUFFIX === '') { + // dirhtml builder + var dirname = item[0] + '/'; + if (dirname.match(/\/index\/$/)) { + dirname = dirname.substring(0, dirname.length-6); + } else if (dirname == 'index/') { + dirname = ''; + } + listItem.append($('<a/>').attr('href', + DOCUMENTATION_OPTIONS.URL_ROOT + dirname + + highlightstring + item[2]).html(item[1])); + } else { + // normal html builders + listItem.append($('<a/>').attr('href', + item[0] + DOCUMENTATION_OPTIONS.FILE_SUFFIX + + highlightstring + item[2]).html(item[1])); + } + if (item[3]) { + listItem.append($('<span> (' + item[3] + ')</span>')); + Search.output.append(listItem); + listItem.slideDown(5, function() { + displayNextItem(); + }); + } else if (DOCUMENTATION_OPTIONS.HAS_SOURCE) { + $.ajax({url: DOCUMENTATION_OPTIONS.URL_ROOT + '_sources/' + item[0] + '.txt', + dataType: "text", + complete: function(jqxhr, textstatus) { + var data = jqxhr.responseText; + if (data !== '' && data !== undefined) { + listItem.append(Search.makeSearchSummary(data, searchterms, hlterms)); + } + Search.output.append(listItem); + listItem.slideDown(5, function() { + displayNextItem(); + }); + }}); + } else { + // no source available, just display title + Search.output.append(listItem); + listItem.slideDown(5, function() { + displayNextItem(); + }); + } + } + // search finished, update title and status message + else { + Search.stopPulse(); + Search.title.text(_('Search Results')); + if (!resultCount) + Search.status.text(_('Your search did not match any documents. Please make sure that all words are spelled correctly and that you\'ve selected enough categories.')); + else + Search.status.text(_('Search finished, found %s page(s) matching the search query.').replace('%s', resultCount)); + Search.status.fadeIn(500); + } + } + displayNextItem(); + }, + + /** + * search for object names + */ + performObjectSearch : function(object, otherterms) { + var filenames = this._index.filenames; + var objects = this._index.objects; + var objnames = this._index.objnames; + var titles = this._index.titles; + + var i; + var results = []; + + for (var prefix in objects) { + for (var name in objects[prefix]) { + var fullname = (prefix ? prefix + '.' : '') + name; + if (fullname.toLowerCase().indexOf(object) > -1) { + var score = 0; + var parts = fullname.split('.'); + // check for different match types: exact matches of full name or + // "last name" (i.e. last dotted part) + if (fullname == object || parts[parts.length - 1] == object) { + score += Scorer.objNameMatch; + // matches in last name + } else if (parts[parts.length - 1].indexOf(object) > -1) { + score += Scorer.objPartialMatch; + } + var match = objects[prefix][name]; + var objname = objnames[match[1]][2]; + var title = titles[match[0]]; + // If more than one term searched for, we require other words to be + // found in the name/title/description + if (otherterms.length > 0) { + var haystack = (prefix + ' ' + name + ' ' + + objname + ' ' + title).toLowerCase(); + var allfound = true; + for (i = 0; i < otherterms.length; i++) { + if (haystack.indexOf(otherterms[i]) == -1) { + allfound = false; + break; + } + } + if (!allfound) { + continue; + } + } + var descr = objname + _(', in ') + title; + + var anchor = match[3]; + if (anchor === '') + anchor = fullname; + else if (anchor == '-') + anchor = objnames[match[1]][1] + '-' + fullname; + // add custom score for some objects according to scorer + if (Scorer.objPrio.hasOwnProperty(match[2])) { + score += Scorer.objPrio[match[2]]; + } else { + score += Scorer.objPrioDefault; + } + results.push([filenames[match[0]], fullname, '#'+anchor, descr, score]); + } + } + } + + return results; + }, + + /** + * search for full-text terms in the index + */ + performTermsSearch : function(searchterms, excluded, terms, score) { + var filenames = this._index.filenames; + var titles = this._index.titles; + + var i, j, file, files; + var fileMap = {}; + var results = []; + + // perform the search on the required terms + for (i = 0; i < searchterms.length; i++) { + var word = searchterms[i]; + // no match but word was a required one + if ((files = terms[word]) === undefined) + break; + if (files.length === undefined) { + files = [files]; + } + // create the mapping + for (j = 0; j < files.length; j++) { + file = files[j]; + if (file in fileMap) + fileMap[file].push(word); + else + fileMap[file] = [word]; + } + } + + // now check if the files don't contain excluded terms + for (file in fileMap) { + var valid = true; + + // check if all requirements are matched + if (fileMap[file].length != searchterms.length) + continue; + + // ensure that none of the excluded terms is in the search result + for (i = 0; i < excluded.length; i++) { + if (terms[excluded[i]] == file || + $u.contains(terms[excluded[i]] || [], file)) { + valid = false; + break; + } + } + + // if we have still a valid result we can add it to the result list + if (valid) { + results.push([filenames[file], titles[file], '', null, score]); + } + } + return results; + }, + + /** + * helper function to return a node containing the + * search summary for a given text. keywords is a list + * of stemmed words, hlwords is the list of normal, unstemmed + * words. the first one is used to find the occurance, the + * latter for highlighting it. + */ + makeSearchSummary : function(text, keywords, hlwords) { + var textLower = text.toLowerCase(); + var start = 0; + $.each(keywords, function() { + var i = textLower.indexOf(this.toLowerCase()); + if (i > -1) + start = i; + }); + start = Math.max(start - 120, 0); + var excerpt = ((start > 0) ? '...' : '') + + $.trim(text.substr(start, 240)) + + ((start + 240 - text.length) ? '...' : ''); + var rv = $('<div class="context"></div>').text(excerpt); + $.each(hlwords, function() { + rv = rv.highlightText(this, 'highlighted'); + }); + return rv; + } +}; + +$(document).ready(function() { + Search.init(); +});
\ No newline at end of file diff --git a/_static/sidebar.js b/_static/sidebar.js new file mode 100644 index 0000000..4f09a0d --- /dev/null +++ b/_static/sidebar.js @@ -0,0 +1,159 @@ +/* + * sidebar.js + * ~~~~~~~~~~ + * + * This script makes the Sphinx sidebar collapsible. + * + * .sphinxsidebar contains .sphinxsidebarwrapper. This script adds + * in .sphixsidebar, after .sphinxsidebarwrapper, the #sidebarbutton + * used to collapse and expand the sidebar. + * + * When the sidebar is collapsed the .sphinxsidebarwrapper is hidden + * and the width of the sidebar and the margin-left of the document + * are decreased. When the sidebar is expanded the opposite happens. + * This script saves a per-browser/per-session cookie used to + * remember the position of the sidebar among the pages. + * Once the browser is closed the cookie is deleted and the position + * reset to the default (expanded). + * + * :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +$(function() { + + + + + + + + + // global elements used by the functions. + // the 'sidebarbutton' element is defined as global after its + // creation, in the add_sidebar_button function + var bodywrapper = $('.bodywrapper'); + var sidebar = $('.sphinxsidebar'); + var sidebarwrapper = $('.sphinxsidebarwrapper'); + + // for some reason, the document has no sidebar; do not run into errors + if (!sidebar.length) return; + + // original margin-left of the bodywrapper and width of the sidebar + // with the sidebar expanded + var bw_margin_expanded = bodywrapper.css('margin-left'); + var ssb_width_expanded = sidebar.width(); + + // margin-left of the bodywrapper and width of the sidebar + // with the sidebar collapsed + var bw_margin_collapsed = '.8em'; + var ssb_width_collapsed = '.8em'; + + // colors used by the current theme + var dark_color = $('.related').css('background-color'); + var light_color = $('.document').css('background-color'); + + function sidebar_is_collapsed() { + return sidebarwrapper.is(':not(:visible)'); + } + + function toggle_sidebar() { + if (sidebar_is_collapsed()) + expand_sidebar(); + else + collapse_sidebar(); + } + + function collapse_sidebar() { + sidebarwrapper.hide(); + sidebar.css('width', ssb_width_collapsed); + bodywrapper.css('margin-left', bw_margin_collapsed); + sidebarbutton.css({ + 'margin-left': '0', + 'height': bodywrapper.height() + }); + sidebarbutton.find('span').text('»'); + sidebarbutton.attr('title', _('Expand sidebar')); + document.cookie = 'sidebar=collapsed'; + } + + function expand_sidebar() { + bodywrapper.css('margin-left', bw_margin_expanded); + sidebar.css('width', ssb_width_expanded); + sidebarwrapper.show(); + sidebarbutton.css({ + 'margin-left': ssb_width_expanded-12, + 'height': bodywrapper.height() + }); + sidebarbutton.find('span').text('«'); + sidebarbutton.attr('title', _('Collapse sidebar')); + document.cookie = 'sidebar=expanded'; + } + + function add_sidebar_button() { + sidebarwrapper.css({ + 'float': 'left', + 'margin-right': '0', + 'width': ssb_width_expanded - 28 + }); + // create the button + sidebar.append( + '<div id="sidebarbutton"><span>«</span></div>' + ); + var sidebarbutton = $('#sidebarbutton'); + light_color = sidebarbutton.css('background-color'); + // find the height of the viewport to center the '<<' in the page + var viewport_height; + if (window.innerHeight) + viewport_height = window.innerHeight; + else + viewport_height = $(window).height(); + sidebarbutton.find('span').css({ + 'display': 'block', + 'margin-top': (viewport_height - sidebar.position().top - 20) / 2 + }); + + sidebarbutton.click(toggle_sidebar); + sidebarbutton.attr('title', _('Collapse sidebar')); + sidebarbutton.css({ + 'color': '#FFFFFF', + 'border-left': '1px solid ' + dark_color, + 'font-size': '1.2em', + 'cursor': 'pointer', + 'height': bodywrapper.height(), + 'padding-top': '1px', + 'margin-left': ssb_width_expanded - 12 + }); + + sidebarbutton.hover( + function () { + $(this).css('background-color', dark_color); + }, + function () { + $(this).css('background-color', light_color); + } + ); + } + + function set_position_from_cookie() { + if (!document.cookie) + return; + var items = document.cookie.split(';'); + for(var k=0; k<items.length; k++) { + var key_val = items[k].split('='); + var key = key_val[0].replace(/ /, ""); // strip leading spaces + if (key == 'sidebar') { + var value = key_val[1]; + if ((value == 'collapsed') && (!sidebar_is_collapsed())) + collapse_sidebar(); + else if ((value == 'expanded') && (sidebar_is_collapsed())) + expand_sidebar(); + } + } + } + + add_sidebar_button(); + var sidebarbutton = $('#sidebarbutton'); + set_position_from_cookie(); +});
\ No newline at end of file diff --git a/_static/underscore-1.3.1.js b/_static/underscore-1.3.1.js new file mode 100644 index 0000000..208d4cd --- /dev/null +++ b/_static/underscore-1.3.1.js @@ -0,0 +1,999 @@ +// Underscore.js 1.3.1 +// (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc. +// Underscore is freely distributable under the MIT license. +// Portions of Underscore are inspired or borrowed from Prototype, +// Oliver Steele's Functional, and John Resig's Micro-Templating. +// For all details and documentation: +// http://documentcloud.github.com/underscore + +(function() { + + // Baseline setup + // -------------- + + // Establish the root object, `window` in the browser, or `global` on the server. + var root = this; + + // Save the previous value of the `_` variable. + var previousUnderscore = root._; + + // Establish the object that gets returned to break out of a loop iteration. + var breaker = {}; + + // Save bytes in the minified (but not gzipped) version: + var ArrayProto = Array.prototype, ObjProto = Object.prototype, FuncProto = Function.prototype; + + // Create quick reference variables for speed access to core prototypes. + var slice = ArrayProto.slice, + unshift = ArrayProto.unshift, + toString = ObjProto.toString, + hasOwnProperty = ObjProto.hasOwnProperty; + + // All **ECMAScript 5** native function implementations that we hope to use + // are declared here. + var + nativeForEach = ArrayProto.forEach, + nativeMap = ArrayProto.map, + nativeReduce = ArrayProto.reduce, + nativeReduceRight = ArrayProto.reduceRight, + nativeFilter = ArrayProto.filter, + nativeEvery = ArrayProto.every, + nativeSome = ArrayProto.some, + nativeIndexOf = ArrayProto.indexOf, + nativeLastIndexOf = ArrayProto.lastIndexOf, + nativeIsArray = Array.isArray, + nativeKeys = Object.keys, + nativeBind = FuncProto.bind; + + // Create a safe reference to the Underscore object for use below. + var _ = function(obj) { return new wrapper(obj); }; + + // Export the Underscore object for **Node.js**, with + // backwards-compatibility for the old `require()` API. If we're in + // the browser, add `_` as a global object via a string identifier, + // for Closure Compiler "advanced" mode. + if (typeof exports !== 'undefined') { + if (typeof module !== 'undefined' && module.exports) { + exports = module.exports = _; + } + exports._ = _; + } else { + root['_'] = _; + } + + // Current version. + _.VERSION = '1.3.1'; + + // Collection Functions + // -------------------- + + // The cornerstone, an `each` implementation, aka `forEach`. + // Handles objects with the built-in `forEach`, arrays, and raw objects. + // Delegates to **ECMAScript 5**'s native `forEach` if available. + var each = _.each = _.forEach = function(obj, iterator, context) { + if (obj == null) return; + if (nativeForEach && obj.forEach === nativeForEach) { + obj.forEach(iterator, context); + } else if (obj.length === +obj.length) { + for (var i = 0, l = obj.length; i < l; i++) { + if (i in obj && iterator.call(context, obj[i], i, obj) === breaker) return; + } + } else { + for (var key in obj) { + if (_.has(obj, key)) { + if (iterator.call(context, obj[key], key, obj) === breaker) return; + } + } + } + }; + + // Return the results of applying the iterator to each element. + // Delegates to **ECMAScript 5**'s native `map` if available. + _.map = _.collect = function(obj, iterator, context) { + var results = []; + if (obj == null) return results; + if (nativeMap && obj.map === nativeMap) return obj.map(iterator, context); + each(obj, function(value, index, list) { + results[results.length] = iterator.call(context, value, index, list); + }); + if (obj.length === +obj.length) results.length = obj.length; + return results; + }; + + // **Reduce** builds up a single result from a list of values, aka `inject`, + // or `foldl`. Delegates to **ECMAScript 5**'s native `reduce` if available. + _.reduce = _.foldl = _.inject = function(obj, iterator, memo, context) { + var initial = arguments.length > 2; + if (obj == null) obj = []; + if (nativeReduce && obj.reduce === nativeReduce) { + if (context) iterator = _.bind(iterator, context); + return initial ? obj.reduce(iterator, memo) : obj.reduce(iterator); + } + each(obj, function(value, index, list) { + if (!initial) { + memo = value; + initial = true; + } else { + memo = iterator.call(context, memo, value, index, list); + } + }); + if (!initial) throw new TypeError('Reduce of empty array with no initial value'); + return memo; + }; + + // The right-associative version of reduce, also known as `foldr`. + // Delegates to **ECMAScript 5**'s native `reduceRight` if available. + _.reduceRight = _.foldr = function(obj, iterator, memo, context) { + var initial = arguments.length > 2; + if (obj == null) obj = []; + if (nativeReduceRight && obj.reduceRight === nativeReduceRight) { + if (context) iterator = _.bind(iterator, context); + return initial ? obj.reduceRight(iterator, memo) : obj.reduceRight(iterator); + } + var reversed = _.toArray(obj).reverse(); + if (context && !initial) iterator = _.bind(iterator, context); + return initial ? _.reduce(reversed, iterator, memo, context) : _.reduce(reversed, iterator); + }; + + // Return the first value which passes a truth test. Aliased as `detect`. + _.find = _.detect = function(obj, iterator, context) { + var result; + any(obj, function(value, index, list) { + if (iterator.call(context, value, index, list)) { + result = value; + return true; + } + }); + return result; + }; + + // Return all the elements that pass a truth test. + // Delegates to **ECMAScript 5**'s native `filter` if available. + // Aliased as `select`. + _.filter = _.select = function(obj, iterator, context) { + var results = []; + if (obj == null) return results; + if (nativeFilter && obj.filter === nativeFilter) return obj.filter(iterator, context); + each(obj, function(value, index, list) { + if (iterator.call(context, value, index, list)) results[results.length] = value; + }); + return results; + }; + + // Return all the elements for which a truth test fails. + _.reject = function(obj, iterator, context) { + var results = []; + if (obj == null) return results; + each(obj, function(value, index, list) { + if (!iterator.call(context, value, index, list)) results[results.length] = value; + }); + return results; + }; + + // Determine whether all of the elements match a truth test. + // Delegates to **ECMAScript 5**'s native `every` if available. + // Aliased as `all`. + _.every = _.all = function(obj, iterator, context) { + var result = true; + if (obj == null) return result; + if (nativeEvery && obj.every === nativeEvery) return obj.every(iterator, context); + each(obj, function(value, index, list) { + if (!(result = result && iterator.call(context, value, index, list))) return breaker; + }); + return result; + }; + + // Determine if at least one element in the object matches a truth test. + // Delegates to **ECMAScript 5**'s native `some` if available. + // Aliased as `any`. + var any = _.some = _.any = function(obj, iterator, context) { + iterator || (iterator = _.identity); + var result = false; + if (obj == null) return result; + if (nativeSome && obj.some === nativeSome) return obj.some(iterator, context); + each(obj, function(value, index, list) { + if (result || (result = iterator.call(context, value, index, list))) return breaker; + }); + return !!result; + }; + + // Determine if a given value is included in the array or object using `===`. + // Aliased as `contains`. + _.include = _.contains = function(obj, target) { + var found = false; + if (obj == null) return found; + if (nativeIndexOf && obj.indexOf === nativeIndexOf) return obj.indexOf(target) != -1; + found = any(obj, function(value) { + return value === target; + }); + return found; + }; + + // Invoke a method (with arguments) on every item in a collection. + _.invoke = function(obj, method) { + var args = slice.call(arguments, 2); + return _.map(obj, function(value) { + return (_.isFunction(method) ? method || value : value[method]).apply(value, args); + }); + }; + + // Convenience version of a common use case of `map`: fetching a property. + _.pluck = function(obj, key) { + return _.map(obj, function(value){ return value[key]; }); + }; + + // Return the maximum element or (element-based computation). + _.max = function(obj, iterator, context) { + if (!iterator && _.isArray(obj)) return Math.max.apply(Math, obj); + if (!iterator && _.isEmpty(obj)) return -Infinity; + var result = {computed : -Infinity}; + each(obj, function(value, index, list) { + var computed = iterator ? iterator.call(context, value, index, list) : value; + computed >= result.computed && (result = {value : value, computed : computed}); + }); + return result.value; + }; + + // Return the minimum element (or element-based computation). + _.min = function(obj, iterator, context) { + if (!iterator && _.isArray(obj)) return Math.min.apply(Math, obj); + if (!iterator && _.isEmpty(obj)) return Infinity; + var result = {computed : Infinity}; + each(obj, function(value, index, list) { + var computed = iterator ? iterator.call(context, value, index, list) : value; + computed < result.computed && (result = {value : value, computed : computed}); + }); + return result.value; + }; + + // Shuffle an array. + _.shuffle = function(obj) { + var shuffled = [], rand; + each(obj, function(value, index, list) { + if (index == 0) { + shuffled[0] = value; + } else { + rand = Math.floor(Math.random() * (index + 1)); + shuffled[index] = shuffled[rand]; + shuffled[rand] = value; + } + }); + return shuffled; + }; + + // Sort the object's values by a criterion produced by an iterator. + _.sortBy = function(obj, iterator, context) { + return _.pluck(_.map(obj, function(value, index, list) { + return { + value : value, + criteria : iterator.call(context, value, index, list) + }; + }).sort(function(left, right) { + var a = left.criteria, b = right.criteria; + return a < b ? -1 : a > b ? 1 : 0; + }), 'value'); + }; + + // Groups the object's values by a criterion. Pass either a string attribute + // to group by, or a function that returns the criterion. + _.groupBy = function(obj, val) { + var result = {}; + var iterator = _.isFunction(val) ? val : function(obj) { return obj[val]; }; + each(obj, function(value, index) { + var key = iterator(value, index); + (result[key] || (result[key] = [])).push(value); + }); + return result; + }; + + // Use a comparator function to figure out at what index an object should + // be inserted so as to maintain order. Uses binary search. + _.sortedIndex = function(array, obj, iterator) { + iterator || (iterator = _.identity); + var low = 0, high = array.length; + while (low < high) { + var mid = (low + high) >> 1; + iterator(array[mid]) < iterator(obj) ? low = mid + 1 : high = mid; + } + return low; + }; + + // Safely convert anything iterable into a real, live array. + _.toArray = function(iterable) { + if (!iterable) return []; + if (iterable.toArray) return iterable.toArray(); + if (_.isArray(iterable)) return slice.call(iterable); + if (_.isArguments(iterable)) return slice.call(iterable); + return _.values(iterable); + }; + + // Return the number of elements in an object. + _.size = function(obj) { + return _.toArray(obj).length; + }; + + // Array Functions + // --------------- + + // Get the first element of an array. Passing **n** will return the first N + // values in the array. Aliased as `head`. The **guard** check allows it to work + // with `_.map`. + _.first = _.head = function(array, n, guard) { + return (n != null) && !guard ? slice.call(array, 0, n) : array[0]; + }; + + // Returns everything but the last entry of the array. Especcialy useful on + // the arguments object. Passing **n** will return all the values in + // the array, excluding the last N. The **guard** check allows it to work with + // `_.map`. + _.initial = function(array, n, guard) { + return slice.call(array, 0, array.length - ((n == null) || guard ? 1 : n)); + }; + + // Get the last element of an array. Passing **n** will return the last N + // values in the array. The **guard** check allows it to work with `_.map`. + _.last = function(array, n, guard) { + if ((n != null) && !guard) { + return slice.call(array, Math.max(array.length - n, 0)); + } else { + return array[array.length - 1]; + } + }; + + // Returns everything but the first entry of the array. Aliased as `tail`. + // Especially useful on the arguments object. Passing an **index** will return + // the rest of the values in the array from that index onward. The **guard** + // check allows it to work with `_.map`. + _.rest = _.tail = function(array, index, guard) { + return slice.call(array, (index == null) || guard ? 1 : index); + }; + + // Trim out all falsy values from an array. + _.compact = function(array) { + return _.filter(array, function(value){ return !!value; }); + }; + + // Return a completely flattened version of an array. + _.flatten = function(array, shallow) { + return _.reduce(array, function(memo, value) { + if (_.isArray(value)) return memo.concat(shallow ? value : _.flatten(value)); + memo[memo.length] = value; + return memo; + }, []); + }; + + // Return a version of the array that does not contain the specified value(s). + _.without = function(array) { + return _.difference(array, slice.call(arguments, 1)); + }; + + // Produce a duplicate-free version of the array. If the array has already + // been sorted, you have the option of using a faster algorithm. + // Aliased as `unique`. + _.uniq = _.unique = function(array, isSorted, iterator) { + var initial = iterator ? _.map(array, iterator) : array; + var result = []; + _.reduce(initial, function(memo, el, i) { + if (0 == i || (isSorted === true ? _.last(memo) != el : !_.include(memo, el))) { + memo[memo.length] = el; + result[result.length] = array[i]; + } + return memo; + }, []); + return result; + }; + + // Produce an array that contains the union: each distinct element from all of + // the passed-in arrays. + _.union = function() { + return _.uniq(_.flatten(arguments, true)); + }; + + // Produce an array that contains every item shared between all the + // passed-in arrays. (Aliased as "intersect" for back-compat.) + _.intersection = _.intersect = function(array) { + var rest = slice.call(arguments, 1); + return _.filter(_.uniq(array), function(item) { + return _.every(rest, function(other) { + return _.indexOf(other, item) >= 0; + }); + }); + }; + + // Take the difference between one array and a number of other arrays. + // Only the elements present in just the first array will remain. + _.difference = function(array) { + var rest = _.flatten(slice.call(arguments, 1)); + return _.filter(array, function(value){ return !_.include(rest, value); }); + }; + + // Zip together multiple lists into a single array -- elements that share + // an index go together. + _.zip = function() { + var args = slice.call(arguments); + var length = _.max(_.pluck(args, 'length')); + var results = new Array(length); + for (var i = 0; i < length; i++) results[i] = _.pluck(args, "" + i); + return results; + }; + + // If the browser doesn't supply us with indexOf (I'm looking at you, **MSIE**), + // we need this function. Return the position of the first occurrence of an + // item in an array, or -1 if the item is not included in the array. + // Delegates to **ECMAScript 5**'s native `indexOf` if available. + // If the array is large and already in sort order, pass `true` + // for **isSorted** to use binary search. + _.indexOf = function(array, item, isSorted) { + if (array == null) return -1; + var i, l; + if (isSorted) { + i = _.sortedIndex(array, item); + return array[i] === item ? i : -1; + } + if (nativeIndexOf && array.indexOf === nativeIndexOf) return array.indexOf(item); + for (i = 0, l = array.length; i < l; i++) if (i in array && array[i] === item) return i; + return -1; + }; + + // Delegates to **ECMAScript 5**'s native `lastIndexOf` if available. + _.lastIndexOf = function(array, item) { + if (array == null) return -1; + if (nativeLastIndexOf && array.lastIndexOf === nativeLastIndexOf) return array.lastIndexOf(item); + var i = array.length; + while (i--) if (i in array && array[i] === item) return i; + return -1; + }; + + // Generate an integer Array containing an arithmetic progression. A port of + // the native Python `range()` function. See + // [the Python documentation](http://docs.python.org/library/functions.html#range). + _.range = function(start, stop, step) { + if (arguments.length <= 1) { + stop = start || 0; + start = 0; + } + step = arguments[2] || 1; + + var len = Math.max(Math.ceil((stop - start) / step), 0); + var idx = 0; + var range = new Array(len); + + while(idx < len) { + range[idx++] = start; + start += step; + } + + return range; + }; + + // Function (ahem) Functions + // ------------------ + + // Reusable constructor function for prototype setting. + var ctor = function(){}; + + // Create a function bound to a given object (assigning `this`, and arguments, + // optionally). Binding with arguments is also known as `curry`. + // Delegates to **ECMAScript 5**'s native `Function.bind` if available. + // We check for `func.bind` first, to fail fast when `func` is undefined. + _.bind = function bind(func, context) { + var bound, args; + if (func.bind === nativeBind && nativeBind) return nativeBind.apply(func, slice.call(arguments, 1)); + if (!_.isFunction(func)) throw new TypeError; + args = slice.call(arguments, 2); + return bound = function() { + if (!(this instanceof bound)) return func.apply(context, args.concat(slice.call(arguments))); + ctor.prototype = func.prototype; + var self = new ctor; + var result = func.apply(self, args.concat(slice.call(arguments))); + if (Object(result) === result) return result; + return self; + }; + }; + + // Bind all of an object's methods to that object. Useful for ensuring that + // all callbacks defined on an object belong to it. + _.bindAll = function(obj) { + var funcs = slice.call(arguments, 1); + if (funcs.length == 0) funcs = _.functions(obj); + each(funcs, function(f) { obj[f] = _.bind(obj[f], obj); }); + return obj; + }; + + // Memoize an expensive function by storing its results. + _.memoize = function(func, hasher) { + var memo = {}; + hasher || (hasher = _.identity); + return function() { + var key = hasher.apply(this, arguments); + return _.has(memo, key) ? memo[key] : (memo[key] = func.apply(this, arguments)); + }; + }; + + // Delays a function for the given number of milliseconds, and then calls + // it with the arguments supplied. + _.delay = function(func, wait) { + var args = slice.call(arguments, 2); + return setTimeout(function(){ return func.apply(func, args); }, wait); + }; + + // Defers a function, scheduling it to run after the current call stack has + // cleared. + _.defer = function(func) { + return _.delay.apply(_, [func, 1].concat(slice.call(arguments, 1))); + }; + + // Returns a function, that, when invoked, will only be triggered at most once + // during a given window of time. + _.throttle = function(func, wait) { + var context, args, timeout, throttling, more; + var whenDone = _.debounce(function(){ more = throttling = false; }, wait); + return function() { + context = this; args = arguments; + var later = function() { + timeout = null; + if (more) func.apply(context, args); + whenDone(); + }; + if (!timeout) timeout = setTimeout(later, wait); + if (throttling) { + more = true; + } else { + func.apply(context, args); + } + whenDone(); + throttling = true; + }; + }; + + // Returns a function, that, as long as it continues to be invoked, will not + // be triggered. The function will be called after it stops being called for + // N milliseconds. + _.debounce = function(func, wait) { + var timeout; + return function() { + var context = this, args = arguments; + var later = function() { + timeout = null; + func.apply(context, args); + }; + clearTimeout(timeout); + timeout = setTimeout(later, wait); + }; + }; + + // Returns a function that will be executed at most one time, no matter how + // often you call it. Useful for lazy initialization. + _.once = function(func) { + var ran = false, memo; + return function() { + if (ran) return memo; + ran = true; + return memo = func.apply(this, arguments); + }; + }; + + // Returns the first function passed as an argument to the second, + // allowing you to adjust arguments, run code before and after, and + // conditionally execute the original function. + _.wrap = function(func, wrapper) { + return function() { + var args = [func].concat(slice.call(arguments, 0)); + return wrapper.apply(this, args); + }; + }; + + // Returns a function that is the composition of a list of functions, each + // consuming the return value of the function that follows. + _.compose = function() { + var funcs = arguments; + return function() { + var args = arguments; + for (var i = funcs.length - 1; i >= 0; i--) { + args = [funcs[i].apply(this, args)]; + } + return args[0]; + }; + }; + + // Returns a function that will only be executed after being called N times. + _.after = function(times, func) { + if (times <= 0) return func(); + return function() { + if (--times < 1) { return func.apply(this, arguments); } + }; + }; + + // Object Functions + // ---------------- + + // Retrieve the names of an object's properties. + // Delegates to **ECMAScript 5**'s native `Object.keys` + _.keys = nativeKeys || function(obj) { + if (obj !== Object(obj)) throw new TypeError('Invalid object'); + var keys = []; + for (var key in obj) if (_.has(obj, key)) keys[keys.length] = key; + return keys; + }; + + // Retrieve the values of an object's properties. + _.values = function(obj) { + return _.map(obj, _.identity); + }; + + // Return a sorted list of the function names available on the object. + // Aliased as `methods` + _.functions = _.methods = function(obj) { + var names = []; + for (var key in obj) { + if (_.isFunction(obj[key])) names.push(key); + } + return names.sort(); + }; + + // Extend a given object with all the properties in passed-in object(s). + _.extend = function(obj) { + each(slice.call(arguments, 1), function(source) { + for (var prop in source) { + obj[prop] = source[prop]; + } + }); + return obj; + }; + + // Fill in a given object with default properties. + _.defaults = function(obj) { + each(slice.call(arguments, 1), function(source) { + for (var prop in source) { + if (obj[prop] == null) obj[prop] = source[prop]; + } + }); + return obj; + }; + + // Create a (shallow-cloned) duplicate of an object. + _.clone = function(obj) { + if (!_.isObject(obj)) return obj; + return _.isArray(obj) ? obj.slice() : _.extend({}, obj); + }; + + // Invokes interceptor with the obj, and then returns obj. + // The primary purpose of this method is to "tap into" a method chain, in + // order to perform operations on intermediate results within the chain. + _.tap = function(obj, interceptor) { + interceptor(obj); + return obj; + }; + + // Internal recursive comparison function. + function eq(a, b, stack) { + // Identical objects are equal. `0 === -0`, but they aren't identical. + // See the Harmony `egal` proposal: http://wiki.ecmascript.org/doku.php?id=harmony:egal. + if (a === b) return a !== 0 || 1 / a == 1 / b; + // A strict comparison is necessary because `null == undefined`. + if (a == null || b == null) return a === b; + // Unwrap any wrapped objects. + if (a._chain) a = a._wrapped; + if (b._chain) b = b._wrapped; + // Invoke a custom `isEqual` method if one is provided. + if (a.isEqual && _.isFunction(a.isEqual)) return a.isEqual(b); + if (b.isEqual && _.isFunction(b.isEqual)) return b.isEqual(a); + // Compare `[[Class]]` names. + var className = toString.call(a); + if (className != toString.call(b)) return false; + switch (className) { + // Strings, numbers, dates, and booleans are compared by value. + case '[object String]': + // Primitives and their corresponding object wrappers are equivalent; thus, `"5"` is + // equivalent to `new String("5")`. + return a == String(b); + case '[object Number]': + // `NaN`s are equivalent, but non-reflexive. An `egal` comparison is performed for + // other numeric values. + return a != +a ? b != +b : (a == 0 ? 1 / a == 1 / b : a == +b); + case '[object Date]': + case '[object Boolean]': + // Coerce dates and booleans to numeric primitive values. Dates are compared by their + // millisecond representations. Note that invalid dates with millisecond representations + // of `NaN` are not equivalent. + return +a == +b; + // RegExps are compared by their source patterns and flags. + case '[object RegExp]': + return a.source == b.source && + a.global == b.global && + a.multiline == b.multiline && + a.ignoreCase == b.ignoreCase; + } + if (typeof a != 'object' || typeof b != 'object') return false; + // Assume equality for cyclic structures. The algorithm for detecting cyclic + // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`. + var length = stack.length; + while (length--) { + // Linear search. Performance is inversely proportional to the number of + // unique nested structures. + if (stack[length] == a) return true; + } + // Add the first object to the stack of traversed objects. + stack.push(a); + var size = 0, result = true; + // Recursively compare objects and arrays. + if (className == '[object Array]') { + // Compare array lengths to determine if a deep comparison is necessary. + size = a.length; + result = size == b.length; + if (result) { + // Deep compare the contents, ignoring non-numeric properties. + while (size--) { + // Ensure commutative equality for sparse arrays. + if (!(result = size in a == size in b && eq(a[size], b[size], stack))) break; + } + } + } else { + // Objects with different constructors are not equivalent. + if ('constructor' in a != 'constructor' in b || a.constructor != b.constructor) return false; + // Deep compare objects. + for (var key in a) { + if (_.has(a, key)) { + // Count the expected number of properties. + size++; + // Deep compare each member. + if (!(result = _.has(b, key) && eq(a[key], b[key], stack))) break; + } + } + // Ensure that both objects contain the same number of properties. + if (result) { + for (key in b) { + if (_.has(b, key) && !(size--)) break; + } + result = !size; + } + } + // Remove the first object from the stack of traversed objects. + stack.pop(); + return result; + } + + // Perform a deep comparison to check if two objects are equal. + _.isEqual = function(a, b) { + return eq(a, b, []); + }; + + // Is a given array, string, or object empty? + // An "empty" object has no enumerable own-properties. + _.isEmpty = function(obj) { + if (_.isArray(obj) || _.isString(obj)) return obj.length === 0; + for (var key in obj) if (_.has(obj, key)) return false; + return true; + }; + + // Is a given value a DOM element? + _.isElement = function(obj) { + return !!(obj && obj.nodeType == 1); + }; + + // Is a given value an array? + // Delegates to ECMA5's native Array.isArray + _.isArray = nativeIsArray || function(obj) { + return toString.call(obj) == '[object Array]'; + }; + + // Is a given variable an object? + _.isObject = function(obj) { + return obj === Object(obj); + }; + + // Is a given variable an arguments object? + _.isArguments = function(obj) { + return toString.call(obj) == '[object Arguments]'; + }; + if (!_.isArguments(arguments)) { + _.isArguments = function(obj) { + return !!(obj && _.has(obj, 'callee')); + }; + } + + // Is a given value a function? + _.isFunction = function(obj) { + return toString.call(obj) == '[object Function]'; + }; + + // Is a given value a string? + _.isString = function(obj) { + return toString.call(obj) == '[object String]'; + }; + + // Is a given value a number? + _.isNumber = function(obj) { + return toString.call(obj) == '[object Number]'; + }; + + // Is the given value `NaN`? + _.isNaN = function(obj) { + // `NaN` is the only value for which `===` is not reflexive. + return obj !== obj; + }; + + // Is a given value a boolean? + _.isBoolean = function(obj) { + return obj === true || obj === false || toString.call(obj) == '[object Boolean]'; + }; + + // Is a given value a date? + _.isDate = function(obj) { + return toString.call(obj) == '[object Date]'; + }; + + // Is the given value a regular expression? + _.isRegExp = function(obj) { + return toString.call(obj) == '[object RegExp]'; + }; + + // Is a given value equal to null? + _.isNull = function(obj) { + return obj === null; + }; + + // Is a given variable undefined? + _.isUndefined = function(obj) { + return obj === void 0; + }; + + // Has own property? + _.has = function(obj, key) { + return hasOwnProperty.call(obj, key); + }; + + // Utility Functions + // ----------------- + + // Run Underscore.js in *noConflict* mode, returning the `_` variable to its + // previous owner. Returns a reference to the Underscore object. + _.noConflict = function() { + root._ = previousUnderscore; + return this; + }; + + // Keep the identity function around for default iterators. + _.identity = function(value) { + return value; + }; + + // Run a function **n** times. + _.times = function (n, iterator, context) { + for (var i = 0; i < n; i++) iterator.call(context, i); + }; + + // Escape a string for HTML interpolation. + _.escape = function(string) { + return (''+string).replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"').replace(/'/g, ''').replace(/\//g,'/'); + }; + + // Add your own custom functions to the Underscore object, ensuring that + // they're correctly added to the OOP wrapper as well. + _.mixin = function(obj) { + each(_.functions(obj), function(name){ + addToWrapper(name, _[name] = obj[name]); + }); + }; + + // Generate a unique integer id (unique within the entire client session). + // Useful for temporary DOM ids. + var idCounter = 0; + _.uniqueId = function(prefix) { + var id = idCounter++; + return prefix ? prefix + id : id; + }; + + // By default, Underscore uses ERB-style template delimiters, change the + // following template settings to use alternative delimiters. + _.templateSettings = { + evaluate : /<%([\s\S]+?)%>/g, + interpolate : /<%=([\s\S]+?)%>/g, + escape : /<%-([\s\S]+?)%>/g + }; + + // When customizing `templateSettings`, if you don't want to define an + // interpolation, evaluation or escaping regex, we need one that is + // guaranteed not to match. + var noMatch = /.^/; + + // Within an interpolation, evaluation, or escaping, remove HTML escaping + // that had been previously added. + var unescape = function(code) { + return code.replace(/\\\\/g, '\\').replace(/\\'/g, "'"); + }; + + // JavaScript micro-templating, similar to John Resig's implementation. + // Underscore templating handles arbitrary delimiters, preserves whitespace, + // and correctly escapes quotes within interpolated code. + _.template = function(str, data) { + var c = _.templateSettings; + var tmpl = 'var __p=[],print=function(){__p.push.apply(__p,arguments);};' + + 'with(obj||{}){__p.push(\'' + + str.replace(/\\/g, '\\\\') + .replace(/'/g, "\\'") + .replace(c.escape || noMatch, function(match, code) { + return "',_.escape(" + unescape(code) + "),'"; + }) + .replace(c.interpolate || noMatch, function(match, code) { + return "'," + unescape(code) + ",'"; + }) + .replace(c.evaluate || noMatch, function(match, code) { + return "');" + unescape(code).replace(/[\r\n\t]/g, ' ') + ";__p.push('"; + }) + .replace(/\r/g, '\\r') + .replace(/\n/g, '\\n') + .replace(/\t/g, '\\t') + + "');}return __p.join('');"; + var func = new Function('obj', '_', tmpl); + if (data) return func(data, _); + return function(data) { + return func.call(this, data, _); + }; + }; + + // Add a "chain" function, which will delegate to the wrapper. + _.chain = function(obj) { + return _(obj).chain(); + }; + + // The OOP Wrapper + // --------------- + + // If Underscore is called as a function, it returns a wrapped object that + // can be used OO-style. This wrapper holds altered versions of all the + // underscore functions. Wrapped objects may be chained. + var wrapper = function(obj) { this._wrapped = obj; }; + + // Expose `wrapper.prototype` as `_.prototype` + _.prototype = wrapper.prototype; + + // Helper function to continue chaining intermediate results. + var result = function(obj, chain) { + return chain ? _(obj).chain() : obj; + }; + + // A method to easily add functions to the OOP wrapper. + var addToWrapper = function(name, func) { + wrapper.prototype[name] = function() { + var args = slice.call(arguments); + unshift.call(args, this._wrapped); + return result(func.apply(_, args), this._chain); + }; + }; + + // Add all of the Underscore functions to the wrapper object. + _.mixin(_); + + // Add all mutator Array functions to the wrapper. + each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) { + var method = ArrayProto[name]; + wrapper.prototype[name] = function() { + var wrapped = this._wrapped; + method.apply(wrapped, arguments); + var length = wrapped.length; + if ((name == 'shift' || name == 'splice') && length === 0) delete wrapped[0]; + return result(wrapped, this._chain); + }; + }); + + // Add all accessor Array functions to the wrapper. + each(['concat', 'join', 'slice'], function(name) { + var method = ArrayProto[name]; + wrapper.prototype[name] = function() { + return result(method.apply(this._wrapped, arguments), this._chain); + }; + }); + + // Start chaining a wrapped Underscore object. + wrapper.prototype.chain = function() { + this._chain = true; + return this; + }; + + // Extracts the result from a wrapped and chained object. + wrapper.prototype.value = function() { + return this._wrapped; + }; + +}).call(this); diff --git a/_static/underscore.js b/_static/underscore.js new file mode 100644 index 0000000..5b55f32 --- /dev/null +++ b/_static/underscore.js @@ -0,0 +1,31 @@ +// Underscore.js 1.3.1 +// (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc. +// Underscore is freely distributable under the MIT license. +// Portions of Underscore are inspired or borrowed from Prototype, +// Oliver Steele's Functional, and John Resig's Micro-Templating. +// For all details and documentation: +// http://documentcloud.github.com/underscore +(function(){function q(a,c,d){if(a===c)return a!==0||1/a==1/c;if(a==null||c==null)return a===c;if(a._chain)a=a._wrapped;if(c._chain)c=c._wrapped;if(a.isEqual&&b.isFunction(a.isEqual))return a.isEqual(c);if(c.isEqual&&b.isFunction(c.isEqual))return c.isEqual(a);var e=l.call(a);if(e!=l.call(c))return false;switch(e){case "[object String]":return a==String(c);case "[object Number]":return a!=+a?c!=+c:a==0?1/a==1/c:a==+c;case "[object Date]":case "[object Boolean]":return+a==+c;case "[object RegExp]":return a.source== +c.source&&a.global==c.global&&a.multiline==c.multiline&&a.ignoreCase==c.ignoreCase}if(typeof a!="object"||typeof c!="object")return false;for(var f=d.length;f--;)if(d[f]==a)return true;d.push(a);var f=0,g=true;if(e=="[object Array]"){if(f=a.length,g=f==c.length)for(;f--;)if(!(g=f in a==f in c&&q(a[f],c[f],d)))break}else{if("constructor"in a!="constructor"in c||a.constructor!=c.constructor)return false;for(var h in a)if(b.has(a,h)&&(f++,!(g=b.has(c,h)&&q(a[h],c[h],d))))break;if(g){for(h in c)if(b.has(c, +h)&&!f--)break;g=!f}}d.pop();return g}var r=this,G=r._,n={},k=Array.prototype,o=Object.prototype,i=k.slice,H=k.unshift,l=o.toString,I=o.hasOwnProperty,w=k.forEach,x=k.map,y=k.reduce,z=k.reduceRight,A=k.filter,B=k.every,C=k.some,p=k.indexOf,D=k.lastIndexOf,o=Array.isArray,J=Object.keys,s=Function.prototype.bind,b=function(a){return new m(a)};if(typeof exports!=="undefined"){if(typeof module!=="undefined"&&module.exports)exports=module.exports=b;exports._=b}else r._=b;b.VERSION="1.3.1";var j=b.each= +b.forEach=function(a,c,d){if(a!=null)if(w&&a.forEach===w)a.forEach(c,d);else if(a.length===+a.length)for(var e=0,f=a.length;e<f;e++){if(e in a&&c.call(d,a[e],e,a)===n)break}else for(e in a)if(b.has(a,e)&&c.call(d,a[e],e,a)===n)break};b.map=b.collect=function(a,c,b){var e=[];if(a==null)return e;if(x&&a.map===x)return a.map(c,b);j(a,function(a,g,h){e[e.length]=c.call(b,a,g,h)});if(a.length===+a.length)e.length=a.length;return e};b.reduce=b.foldl=b.inject=function(a,c,d,e){var f=arguments.length>2;a== +null&&(a=[]);if(y&&a.reduce===y)return e&&(c=b.bind(c,e)),f?a.reduce(c,d):a.reduce(c);j(a,function(a,b,i){f?d=c.call(e,d,a,b,i):(d=a,f=true)});if(!f)throw new TypeError("Reduce of empty array with no initial value");return d};b.reduceRight=b.foldr=function(a,c,d,e){var f=arguments.length>2;a==null&&(a=[]);if(z&&a.reduceRight===z)return e&&(c=b.bind(c,e)),f?a.reduceRight(c,d):a.reduceRight(c);var g=b.toArray(a).reverse();e&&!f&&(c=b.bind(c,e));return f?b.reduce(g,c,d,e):b.reduce(g,c)};b.find=b.detect= +function(a,c,b){var e;E(a,function(a,g,h){if(c.call(b,a,g,h))return e=a,true});return e};b.filter=b.select=function(a,c,b){var e=[];if(a==null)return e;if(A&&a.filter===A)return a.filter(c,b);j(a,function(a,g,h){c.call(b,a,g,h)&&(e[e.length]=a)});return e};b.reject=function(a,c,b){var e=[];if(a==null)return e;j(a,function(a,g,h){c.call(b,a,g,h)||(e[e.length]=a)});return e};b.every=b.all=function(a,c,b){var e=true;if(a==null)return e;if(B&&a.every===B)return a.every(c,b);j(a,function(a,g,h){if(!(e= +e&&c.call(b,a,g,h)))return n});return e};var E=b.some=b.any=function(a,c,d){c||(c=b.identity);var e=false;if(a==null)return e;if(C&&a.some===C)return a.some(c,d);j(a,function(a,b,h){if(e||(e=c.call(d,a,b,h)))return n});return!!e};b.include=b.contains=function(a,c){var b=false;if(a==null)return b;return p&&a.indexOf===p?a.indexOf(c)!=-1:b=E(a,function(a){return a===c})};b.invoke=function(a,c){var d=i.call(arguments,2);return b.map(a,function(a){return(b.isFunction(c)?c||a:a[c]).apply(a,d)})};b.pluck= +function(a,c){return b.map(a,function(a){return a[c]})};b.max=function(a,c,d){if(!c&&b.isArray(a))return Math.max.apply(Math,a);if(!c&&b.isEmpty(a))return-Infinity;var e={computed:-Infinity};j(a,function(a,b,h){b=c?c.call(d,a,b,h):a;b>=e.computed&&(e={value:a,computed:b})});return e.value};b.min=function(a,c,d){if(!c&&b.isArray(a))return Math.min.apply(Math,a);if(!c&&b.isEmpty(a))return Infinity;var e={computed:Infinity};j(a,function(a,b,h){b=c?c.call(d,a,b,h):a;b<e.computed&&(e={value:a,computed:b})}); +return e.value};b.shuffle=function(a){var b=[],d;j(a,function(a,f){f==0?b[0]=a:(d=Math.floor(Math.random()*(f+1)),b[f]=b[d],b[d]=a)});return b};b.sortBy=function(a,c,d){return b.pluck(b.map(a,function(a,b,g){return{value:a,criteria:c.call(d,a,b,g)}}).sort(function(a,b){var c=a.criteria,d=b.criteria;return c<d?-1:c>d?1:0}),"value")};b.groupBy=function(a,c){var d={},e=b.isFunction(c)?c:function(a){return a[c]};j(a,function(a,b){var c=e(a,b);(d[c]||(d[c]=[])).push(a)});return d};b.sortedIndex=function(a, +c,d){d||(d=b.identity);for(var e=0,f=a.length;e<f;){var g=e+f>>1;d(a[g])<d(c)?e=g+1:f=g}return e};b.toArray=function(a){return!a?[]:a.toArray?a.toArray():b.isArray(a)?i.call(a):b.isArguments(a)?i.call(a):b.values(a)};b.size=function(a){return b.toArray(a).length};b.first=b.head=function(a,b,d){return b!=null&&!d?i.call(a,0,b):a[0]};b.initial=function(a,b,d){return i.call(a,0,a.length-(b==null||d?1:b))};b.last=function(a,b,d){return b!=null&&!d?i.call(a,Math.max(a.length-b,0)):a[a.length-1]};b.rest= +b.tail=function(a,b,d){return i.call(a,b==null||d?1:b)};b.compact=function(a){return b.filter(a,function(a){return!!a})};b.flatten=function(a,c){return b.reduce(a,function(a,e){if(b.isArray(e))return a.concat(c?e:b.flatten(e));a[a.length]=e;return a},[])};b.without=function(a){return b.difference(a,i.call(arguments,1))};b.uniq=b.unique=function(a,c,d){var d=d?b.map(a,d):a,e=[];b.reduce(d,function(d,g,h){if(0==h||(c===true?b.last(d)!=g:!b.include(d,g)))d[d.length]=g,e[e.length]=a[h];return d},[]); +return e};b.union=function(){return b.uniq(b.flatten(arguments,true))};b.intersection=b.intersect=function(a){var c=i.call(arguments,1);return b.filter(b.uniq(a),function(a){return b.every(c,function(c){return b.indexOf(c,a)>=0})})};b.difference=function(a){var c=b.flatten(i.call(arguments,1));return b.filter(a,function(a){return!b.include(c,a)})};b.zip=function(){for(var a=i.call(arguments),c=b.max(b.pluck(a,"length")),d=Array(c),e=0;e<c;e++)d[e]=b.pluck(a,""+e);return d};b.indexOf=function(a,c, +d){if(a==null)return-1;var e;if(d)return d=b.sortedIndex(a,c),a[d]===c?d:-1;if(p&&a.indexOf===p)return a.indexOf(c);for(d=0,e=a.length;d<e;d++)if(d in a&&a[d]===c)return d;return-1};b.lastIndexOf=function(a,b){if(a==null)return-1;if(D&&a.lastIndexOf===D)return a.lastIndexOf(b);for(var d=a.length;d--;)if(d in a&&a[d]===b)return d;return-1};b.range=function(a,b,d){arguments.length<=1&&(b=a||0,a=0);for(var d=arguments[2]||1,e=Math.max(Math.ceil((b-a)/d),0),f=0,g=Array(e);f<e;)g[f++]=a,a+=d;return g}; +var F=function(){};b.bind=function(a,c){var d,e;if(a.bind===s&&s)return s.apply(a,i.call(arguments,1));if(!b.isFunction(a))throw new TypeError;e=i.call(arguments,2);return d=function(){if(!(this instanceof d))return a.apply(c,e.concat(i.call(arguments)));F.prototype=a.prototype;var b=new F,g=a.apply(b,e.concat(i.call(arguments)));return Object(g)===g?g:b}};b.bindAll=function(a){var c=i.call(arguments,1);c.length==0&&(c=b.functions(a));j(c,function(c){a[c]=b.bind(a[c],a)});return a};b.memoize=function(a, +c){var d={};c||(c=b.identity);return function(){var e=c.apply(this,arguments);return b.has(d,e)?d[e]:d[e]=a.apply(this,arguments)}};b.delay=function(a,b){var d=i.call(arguments,2);return setTimeout(function(){return a.apply(a,d)},b)};b.defer=function(a){return b.delay.apply(b,[a,1].concat(i.call(arguments,1)))};b.throttle=function(a,c){var d,e,f,g,h,i=b.debounce(function(){h=g=false},c);return function(){d=this;e=arguments;var b;f||(f=setTimeout(function(){f=null;h&&a.apply(d,e);i()},c));g?h=true: +a.apply(d,e);i();g=true}};b.debounce=function(a,b){var d;return function(){var e=this,f=arguments;clearTimeout(d);d=setTimeout(function(){d=null;a.apply(e,f)},b)}};b.once=function(a){var b=false,d;return function(){if(b)return d;b=true;return d=a.apply(this,arguments)}};b.wrap=function(a,b){return function(){var d=[a].concat(i.call(arguments,0));return b.apply(this,d)}};b.compose=function(){var a=arguments;return function(){for(var b=arguments,d=a.length-1;d>=0;d--)b=[a[d].apply(this,b)];return b[0]}}; +b.after=function(a,b){return a<=0?b():function(){if(--a<1)return b.apply(this,arguments)}};b.keys=J||function(a){if(a!==Object(a))throw new TypeError("Invalid object");var c=[],d;for(d in a)b.has(a,d)&&(c[c.length]=d);return c};b.values=function(a){return b.map(a,b.identity)};b.functions=b.methods=function(a){var c=[],d;for(d in a)b.isFunction(a[d])&&c.push(d);return c.sort()};b.extend=function(a){j(i.call(arguments,1),function(b){for(var d in b)a[d]=b[d]});return a};b.defaults=function(a){j(i.call(arguments, +1),function(b){for(var d in b)a[d]==null&&(a[d]=b[d])});return a};b.clone=function(a){return!b.isObject(a)?a:b.isArray(a)?a.slice():b.extend({},a)};b.tap=function(a,b){b(a);return a};b.isEqual=function(a,b){return q(a,b,[])};b.isEmpty=function(a){if(b.isArray(a)||b.isString(a))return a.length===0;for(var c in a)if(b.has(a,c))return false;return true};b.isElement=function(a){return!!(a&&a.nodeType==1)};b.isArray=o||function(a){return l.call(a)=="[object Array]"};b.isObject=function(a){return a===Object(a)}; +b.isArguments=function(a){return l.call(a)=="[object Arguments]"};if(!b.isArguments(arguments))b.isArguments=function(a){return!(!a||!b.has(a,"callee"))};b.isFunction=function(a){return l.call(a)=="[object Function]"};b.isString=function(a){return l.call(a)=="[object String]"};b.isNumber=function(a){return l.call(a)=="[object Number]"};b.isNaN=function(a){return a!==a};b.isBoolean=function(a){return a===true||a===false||l.call(a)=="[object Boolean]"};b.isDate=function(a){return l.call(a)=="[object Date]"}; +b.isRegExp=function(a){return l.call(a)=="[object RegExp]"};b.isNull=function(a){return a===null};b.isUndefined=function(a){return a===void 0};b.has=function(a,b){return I.call(a,b)};b.noConflict=function(){r._=G;return this};b.identity=function(a){return a};b.times=function(a,b,d){for(var e=0;e<a;e++)b.call(d,e)};b.escape=function(a){return(""+a).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")};b.mixin=function(a){j(b.functions(a), +function(c){K(c,b[c]=a[c])})};var L=0;b.uniqueId=function(a){var b=L++;return a?a+b:b};b.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var t=/.^/,u=function(a){return a.replace(/\\\\/g,"\\").replace(/\\'/g,"'")};b.template=function(a,c){var d=b.templateSettings,d="var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(d.escape||t,function(a,b){return"',_.escape("+ +u(b)+"),'"}).replace(d.interpolate||t,function(a,b){return"',"+u(b)+",'"}).replace(d.evaluate||t,function(a,b){return"');"+u(b).replace(/[\r\n\t]/g," ")+";__p.push('"}).replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"');}return __p.join('');",e=new Function("obj","_",d);return c?e(c,b):function(a){return e.call(this,a,b)}};b.chain=function(a){return b(a).chain()};var m=function(a){this._wrapped=a};b.prototype=m.prototype;var v=function(a,c){return c?b(a).chain():a},K=function(a,c){m.prototype[a]= +function(){var a=i.call(arguments);H.call(a,this._wrapped);return v(c.apply(b,a),this._chain)}};b.mixin(b);j("pop,push,reverse,shift,sort,splice,unshift".split(","),function(a){var b=k[a];m.prototype[a]=function(){var d=this._wrapped;b.apply(d,arguments);var e=d.length;(a=="shift"||a=="splice")&&e===0&&delete d[0];return v(d,this._chain)}});j(["concat","join","slice"],function(a){var b=k[a];m.prototype[a]=function(){return v(b.apply(this._wrapped,arguments),this._chain)}});m.prototype.chain=function(){this._chain= +true;return this};m.prototype.value=function(){return this._wrapped}}).call(this); diff --git a/_static/up-pressed.png b/_static/up-pressed.png Binary files differnew file mode 100644 index 0000000..99e7210 --- /dev/null +++ b/_static/up-pressed.png diff --git a/_static/up.png b/_static/up.png Binary files differnew file mode 100644 index 0000000..26de002 --- /dev/null +++ b/_static/up.png diff --git a/_static/websupport.js b/_static/websupport.js new file mode 100644 index 0000000..28d65db --- /dev/null +++ b/_static/websupport.js @@ -0,0 +1,808 @@ +/* + * websupport.js + * ~~~~~~~~~~~~~ + * + * sphinx.websupport utilties for all documentation. + * + * :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +(function($) { + $.fn.autogrow = function() { + return this.each(function() { + var textarea = this; + + $.fn.autogrow.resize(textarea); + + $(textarea) + .focus(function() { + textarea.interval = setInterval(function() { + $.fn.autogrow.resize(textarea); + }, 500); + }) + .blur(function() { + clearInterval(textarea.interval); + }); + }); + }; + + $.fn.autogrow.resize = function(textarea) { + var lineHeight = parseInt($(textarea).css('line-height'), 10); + var lines = textarea.value.split('\n'); + var columns = textarea.cols; + var lineCount = 0; + $.each(lines, function() { + lineCount += Math.ceil(this.length / columns) || 1; + }); + var height = lineHeight * (lineCount + 1); + $(textarea).css('height', height); + }; +})(jQuery); + +(function($) { + var comp, by; + + function init() { + initEvents(); + initComparator(); + } + + function initEvents() { + $(document).on("click", 'a.comment-close', function(event) { + event.preventDefault(); + hide($(this).attr('id').substring(2)); + }); + $(document).on("click", 'a.vote', function(event) { + event.preventDefault(); + handleVote($(this)); + }); + $(document).on("click", 'a.reply', function(event) { + event.preventDefault(); + openReply($(this).attr('id').substring(2)); + }); + $(document).on("click", 'a.close-reply', function(event) { + event.preventDefault(); + closeReply($(this).attr('id').substring(2)); + }); + $(document).on("click", 'a.sort-option', function(event) { + event.preventDefault(); + handleReSort($(this)); + }); + $(document).on("click", 'a.show-proposal', function(event) { + event.preventDefault(); + showProposal($(this).attr('id').substring(2)); + }); + $(document).on("click", 'a.hide-proposal', function(event) { + event.preventDefault(); + hideProposal($(this).attr('id').substring(2)); + }); + $(document).on("click", 'a.show-propose-change', function(event) { + event.preventDefault(); + showProposeChange($(this).attr('id').substring(2)); + }); + $(document).on("click", 'a.hide-propose-change', function(event) { + event.preventDefault(); + hideProposeChange($(this).attr('id').substring(2)); + }); + $(document).on("click", 'a.accept-comment', function(event) { + event.preventDefault(); + acceptComment($(this).attr('id').substring(2)); + }); + $(document).on("click", 'a.delete-comment', function(event) { + event.preventDefault(); + deleteComment($(this).attr('id').substring(2)); + }); + $(document).on("click", 'a.comment-markup', function(event) { + event.preventDefault(); + toggleCommentMarkupBox($(this).attr('id').substring(2)); + }); + } + + /** + * Set comp, which is a comparator function used for sorting and + * inserting comments into the list. + */ + function setComparator() { + // If the first three letters are "asc", sort in ascending order + // and remove the prefix. + if (by.substring(0,3) == 'asc') { + var i = by.substring(3); + comp = function(a, b) { return a[i] - b[i]; }; + } else { + // Otherwise sort in descending order. + comp = function(a, b) { return b[by] - a[by]; }; + } + + // Reset link styles and format the selected sort option. + $('a.sel').attr('href', '#').removeClass('sel'); + $('a.by' + by).removeAttr('href').addClass('sel'); + } + + /** + * Create a comp function. If the user has preferences stored in + * the sortBy cookie, use those, otherwise use the default. + */ + function initComparator() { + by = 'rating'; // Default to sort by rating. + // If the sortBy cookie is set, use that instead. + if (document.cookie.length > 0) { + var start = document.cookie.indexOf('sortBy='); + if (start != -1) { + start = start + 7; + var end = document.cookie.indexOf(";", start); + if (end == -1) { + end = document.cookie.length; + by = unescape(document.cookie.substring(start, end)); + } + } + } + setComparator(); + } + + /** + * Show a comment div. + */ + function show(id) { + $('#ao' + id).hide(); + $('#ah' + id).show(); + var context = $.extend({id: id}, opts); + var popup = $(renderTemplate(popupTemplate, context)).hide(); + popup.find('textarea[name="proposal"]').hide(); + popup.find('a.by' + by).addClass('sel'); + var form = popup.find('#cf' + id); + form.submit(function(event) { + event.preventDefault(); + addComment(form); + }); + $('#s' + id).after(popup); + popup.slideDown('fast', function() { + getComments(id); + }); + } + + /** + * Hide a comment div. + */ + function hide(id) { + $('#ah' + id).hide(); + $('#ao' + id).show(); + var div = $('#sc' + id); + div.slideUp('fast', function() { + div.remove(); + }); + } + + /** + * Perform an ajax request to get comments for a node + * and insert the comments into the comments tree. + */ + function getComments(id) { + $.ajax({ + type: 'GET', + url: opts.getCommentsURL, + data: {node: id}, + success: function(data, textStatus, request) { + var ul = $('#cl' + id); + var speed = 100; + $('#cf' + id) + .find('textarea[name="proposal"]') + .data('source', data.source); + + if (data.comments.length === 0) { + ul.html('<li>No comments yet.</li>'); + ul.data('empty', true); + } else { + // If there are comments, sort them and put them in the list. + var comments = sortComments(data.comments); + speed = data.comments.length * 100; + appendComments(comments, ul); + ul.data('empty', false); + } + $('#cn' + id).slideUp(speed + 200); + ul.slideDown(speed); + }, + error: function(request, textStatus, error) { + showError('Oops, there was a problem retrieving the comments.'); + }, + dataType: 'json' + }); + } + + /** + * Add a comment via ajax and insert the comment into the comment tree. + */ + function addComment(form) { + var node_id = form.find('input[name="node"]').val(); + var parent_id = form.find('input[name="parent"]').val(); + var text = form.find('textarea[name="comment"]').val(); + var proposal = form.find('textarea[name="proposal"]').val(); + + if (text == '') { + showError('Please enter a comment.'); + return; + } + + // Disable the form that is being submitted. + form.find('textarea,input').attr('disabled', 'disabled'); + + // Send the comment to the server. + $.ajax({ + type: "POST", + url: opts.addCommentURL, + dataType: 'json', + data: { + node: node_id, + parent: parent_id, + text: text, + proposal: proposal + }, + success: function(data, textStatus, error) { + // Reset the form. + if (node_id) { + hideProposeChange(node_id); + } + form.find('textarea') + .val('') + .add(form.find('input')) + .removeAttr('disabled'); + var ul = $('#cl' + (node_id || parent_id)); + if (ul.data('empty')) { + $(ul).empty(); + ul.data('empty', false); + } + insertComment(data.comment); + var ao = $('#ao' + node_id); + ao.find('img').attr({'src': opts.commentBrightImage}); + if (node_id) { + // if this was a "root" comment, remove the commenting box + // (the user can get it back by reopening the comment popup) + $('#ca' + node_id).slideUp(); + } + }, + error: function(request, textStatus, error) { + form.find('textarea,input').removeAttr('disabled'); + showError('Oops, there was a problem adding the comment.'); + } + }); + } + + /** + * Recursively append comments to the main comment list and children + * lists, creating the comment tree. + */ + function appendComments(comments, ul) { + $.each(comments, function() { + var div = createCommentDiv(this); + ul.append($(document.createElement('li')).html(div)); + appendComments(this.children, div.find('ul.comment-children')); + // To avoid stagnating data, don't store the comments children in data. + this.children = null; + div.data('comment', this); + }); + } + + /** + * After adding a new comment, it must be inserted in the correct + * location in the comment tree. + */ + function insertComment(comment) { + var div = createCommentDiv(comment); + + // To avoid stagnating data, don't store the comments children in data. + comment.children = null; + div.data('comment', comment); + + var ul = $('#cl' + (comment.node || comment.parent)); + var siblings = getChildren(ul); + + var li = $(document.createElement('li')); + li.hide(); + + // Determine where in the parents children list to insert this comment. + for(i=0; i < siblings.length; i++) { + if (comp(comment, siblings[i]) <= 0) { + $('#cd' + siblings[i].id) + .parent() + .before(li.html(div)); + li.slideDown('fast'); + return; + } + } + + // If we get here, this comment rates lower than all the others, + // or it is the only comment in the list. + ul.append(li.html(div)); + li.slideDown('fast'); + } + + function acceptComment(id) { + $.ajax({ + type: 'POST', + url: opts.acceptCommentURL, + data: {id: id}, + success: function(data, textStatus, request) { + $('#cm' + id).fadeOut('fast'); + $('#cd' + id).removeClass('moderate'); + }, + error: function(request, textStatus, error) { + showError('Oops, there was a problem accepting the comment.'); + } + }); + } + + function deleteComment(id) { + $.ajax({ + type: 'POST', + url: opts.deleteCommentURL, + data: {id: id}, + success: function(data, textStatus, request) { + var div = $('#cd' + id); + if (data == 'delete') { + // Moderator mode: remove the comment and all children immediately + div.slideUp('fast', function() { + div.remove(); + }); + return; + } + // User mode: only mark the comment as deleted + div + .find('span.user-id:first') + .text('[deleted]').end() + .find('div.comment-text:first') + .text('[deleted]').end() + .find('#cm' + id + ', #dc' + id + ', #ac' + id + ', #rc' + id + + ', #sp' + id + ', #hp' + id + ', #cr' + id + ', #rl' + id) + .remove(); + var comment = div.data('comment'); + comment.username = '[deleted]'; + comment.text = '[deleted]'; + div.data('comment', comment); + }, + error: function(request, textStatus, error) { + showError('Oops, there was a problem deleting the comment.'); + } + }); + } + + function showProposal(id) { + $('#sp' + id).hide(); + $('#hp' + id).show(); + $('#pr' + id).slideDown('fast'); + } + + function hideProposal(id) { + $('#hp' + id).hide(); + $('#sp' + id).show(); + $('#pr' + id).slideUp('fast'); + } + + function showProposeChange(id) { + $('#pc' + id).hide(); + $('#hc' + id).show(); + var textarea = $('#pt' + id); + textarea.val(textarea.data('source')); + $.fn.autogrow.resize(textarea[0]); + textarea.slideDown('fast'); + } + + function hideProposeChange(id) { + $('#hc' + id).hide(); + $('#pc' + id).show(); + var textarea = $('#pt' + id); + textarea.val('').removeAttr('disabled'); + textarea.slideUp('fast'); + } + + function toggleCommentMarkupBox(id) { + $('#mb' + id).toggle(); + } + + /** Handle when the user clicks on a sort by link. */ + function handleReSort(link) { + var classes = link.attr('class').split(/\s+/); + for (var i=0; i<classes.length; i++) { + if (classes[i] != 'sort-option') { + by = classes[i].substring(2); + } + } + setComparator(); + // Save/update the sortBy cookie. + var expiration = new Date(); + expiration.setDate(expiration.getDate() + 365); + document.cookie= 'sortBy=' + escape(by) + + ';expires=' + expiration.toUTCString(); + $('ul.comment-ul').each(function(index, ul) { + var comments = getChildren($(ul), true); + comments = sortComments(comments); + appendComments(comments, $(ul).empty()); + }); + } + + /** + * Function to process a vote when a user clicks an arrow. + */ + function handleVote(link) { + if (!opts.voting) { + showError("You'll need to login to vote."); + return; + } + + var id = link.attr('id'); + if (!id) { + // Didn't click on one of the voting arrows. + return; + } + // If it is an unvote, the new vote value is 0, + // Otherwise it's 1 for an upvote, or -1 for a downvote. + var value = 0; + if (id.charAt(1) != 'u') { + value = id.charAt(0) == 'u' ? 1 : -1; + } + // The data to be sent to the server. + var d = { + comment_id: id.substring(2), + value: value + }; + + // Swap the vote and unvote links. + link.hide(); + $('#' + id.charAt(0) + (id.charAt(1) == 'u' ? 'v' : 'u') + d.comment_id) + .show(); + + // The div the comment is displayed in. + var div = $('div#cd' + d.comment_id); + var data = div.data('comment'); + + // If this is not an unvote, and the other vote arrow has + // already been pressed, unpress it. + if ((d.value !== 0) && (data.vote === d.value * -1)) { + $('#' + (d.value == 1 ? 'd' : 'u') + 'u' + d.comment_id).hide(); + $('#' + (d.value == 1 ? 'd' : 'u') + 'v' + d.comment_id).show(); + } + + // Update the comments rating in the local data. + data.rating += (data.vote === 0) ? d.value : (d.value - data.vote); + data.vote = d.value; + div.data('comment', data); + + // Change the rating text. + div.find('.rating:first') + .text(data.rating + ' point' + (data.rating == 1 ? '' : 's')); + + // Send the vote information to the server. + $.ajax({ + type: "POST", + url: opts.processVoteURL, + data: d, + error: function(request, textStatus, error) { + showError('Oops, there was a problem casting that vote.'); + } + }); + } + + /** + * Open a reply form used to reply to an existing comment. + */ + function openReply(id) { + // Swap out the reply link for the hide link + $('#rl' + id).hide(); + $('#cr' + id).show(); + + // Add the reply li to the children ul. + var div = $(renderTemplate(replyTemplate, {id: id})).hide(); + $('#cl' + id) + .prepend(div) + // Setup the submit handler for the reply form. + .find('#rf' + id) + .submit(function(event) { + event.preventDefault(); + addComment($('#rf' + id)); + closeReply(id); + }) + .find('input[type=button]') + .click(function() { + closeReply(id); + }); + div.slideDown('fast', function() { + $('#rf' + id).find('textarea').focus(); + }); + } + + /** + * Close the reply form opened with openReply. + */ + function closeReply(id) { + // Remove the reply div from the DOM. + $('#rd' + id).slideUp('fast', function() { + $(this).remove(); + }); + + // Swap out the hide link for the reply link + $('#cr' + id).hide(); + $('#rl' + id).show(); + } + + /** + * Recursively sort a tree of comments using the comp comparator. + */ + function sortComments(comments) { + comments.sort(comp); + $.each(comments, function() { + this.children = sortComments(this.children); + }); + return comments; + } + + /** + * Get the children comments from a ul. If recursive is true, + * recursively include childrens' children. + */ + function getChildren(ul, recursive) { + var children = []; + ul.children().children("[id^='cd']") + .each(function() { + var comment = $(this).data('comment'); + if (recursive) + comment.children = getChildren($(this).find('#cl' + comment.id), true); + children.push(comment); + }); + return children; + } + + /** Create a div to display a comment in. */ + function createCommentDiv(comment) { + if (!comment.displayed && !opts.moderator) { + return $('<div class="moderate">Thank you! Your comment will show up ' + + 'once it is has been approved by a moderator.</div>'); + } + // Prettify the comment rating. + comment.pretty_rating = comment.rating + ' point' + + (comment.rating == 1 ? '' : 's'); + // Make a class (for displaying not yet moderated comments differently) + comment.css_class = comment.displayed ? '' : ' moderate'; + // Create a div for this comment. + var context = $.extend({}, opts, comment); + var div = $(renderTemplate(commentTemplate, context)); + + // If the user has voted on this comment, highlight the correct arrow. + if (comment.vote) { + var direction = (comment.vote == 1) ? 'u' : 'd'; + div.find('#' + direction + 'v' + comment.id).hide(); + div.find('#' + direction + 'u' + comment.id).show(); + } + + if (opts.moderator || comment.text != '[deleted]') { + div.find('a.reply').show(); + if (comment.proposal_diff) + div.find('#sp' + comment.id).show(); + if (opts.moderator && !comment.displayed) + div.find('#cm' + comment.id).show(); + if (opts.moderator || (opts.username == comment.username)) + div.find('#dc' + comment.id).show(); + } + return div; + } + + /** + * A simple template renderer. Placeholders such as <%id%> are replaced + * by context['id'] with items being escaped. Placeholders such as <#id#> + * are not escaped. + */ + function renderTemplate(template, context) { + var esc = $(document.createElement('div')); + + function handle(ph, escape) { + var cur = context; + $.each(ph.split('.'), function() { + cur = cur[this]; + }); + return escape ? esc.text(cur || "").html() : cur; + } + + return template.replace(/<([%#])([\w\.]*)\1>/g, function() { + return handle(arguments[2], arguments[1] == '%' ? true : false); + }); + } + + /** Flash an error message briefly. */ + function showError(message) { + $(document.createElement('div')).attr({'class': 'popup-error'}) + .append($(document.createElement('div')) + .attr({'class': 'error-message'}).text(message)) + .appendTo('body') + .fadeIn("slow") + .delay(2000) + .fadeOut("slow"); + } + + /** Add a link the user uses to open the comments popup. */ + $.fn.comment = function() { + return this.each(function() { + var id = $(this).attr('id').substring(1); + var count = COMMENT_METADATA[id]; + var title = count + ' comment' + (count == 1 ? '' : 's'); + var image = count > 0 ? opts.commentBrightImage : opts.commentImage; + var addcls = count == 0 ? ' nocomment' : ''; + $(this) + .append( + $(document.createElement('a')).attr({ + href: '#', + 'class': 'sphinx-comment-open' + addcls, + id: 'ao' + id + }) + .append($(document.createElement('img')).attr({ + src: image, + alt: 'comment', + title: title + })) + .click(function(event) { + event.preventDefault(); + show($(this).attr('id').substring(2)); + }) + ) + .append( + $(document.createElement('a')).attr({ + href: '#', + 'class': 'sphinx-comment-close hidden', + id: 'ah' + id + }) + .append($(document.createElement('img')).attr({ + src: opts.closeCommentImage, + alt: 'close', + title: 'close' + })) + .click(function(event) { + event.preventDefault(); + hide($(this).attr('id').substring(2)); + }) + ); + }); + }; + + var opts = { + processVoteURL: '/_process_vote', + addCommentURL: '/_add_comment', + getCommentsURL: '/_get_comments', + acceptCommentURL: '/_accept_comment', + deleteCommentURL: '/_delete_comment', + commentImage: '/static/_static/comment.png', + closeCommentImage: '/static/_static/comment-close.png', + loadingImage: '/static/_static/ajax-loader.gif', + commentBrightImage: '/static/_static/comment-bright.png', + upArrow: '/static/_static/up.png', + downArrow: '/static/_static/down.png', + upArrowPressed: '/static/_static/up-pressed.png', + downArrowPressed: '/static/_static/down-pressed.png', + voting: false, + moderator: false + }; + + if (typeof COMMENT_OPTIONS != "undefined") { + opts = jQuery.extend(opts, COMMENT_OPTIONS); + } + + var popupTemplate = '\ + <div class="sphinx-comments" id="sc<%id%>">\ + <p class="sort-options">\ + Sort by:\ + <a href="#" class="sort-option byrating">best rated</a>\ + <a href="#" class="sort-option byascage">newest</a>\ + <a href="#" class="sort-option byage">oldest</a>\ + </p>\ + <div class="comment-header">Comments</div>\ + <div class="comment-loading" id="cn<%id%>">\ + loading comments... <img src="<%loadingImage%>" alt="" /></div>\ + <ul id="cl<%id%>" class="comment-ul"></ul>\ + <div id="ca<%id%>">\ + <p class="add-a-comment">Add a comment\ + (<a href="#" class="comment-markup" id="ab<%id%>">markup</a>):</p>\ + <div class="comment-markup-box" id="mb<%id%>">\ + reStructured text markup: <i>*emph*</i>, <b>**strong**</b>, \ + <code>``code``</code>, \ + code blocks: <code>::</code> and an indented block after blank line</div>\ + <form method="post" id="cf<%id%>" class="comment-form" action="">\ + <textarea name="comment" cols="80"></textarea>\ + <p class="propose-button">\ + <a href="#" id="pc<%id%>" class="show-propose-change">\ + Propose a change ▹\ + </a>\ + <a href="#" id="hc<%id%>" class="hide-propose-change">\ + Propose a change ▿\ + </a>\ + </p>\ + <textarea name="proposal" id="pt<%id%>" cols="80"\ + spellcheck="false"></textarea>\ + <input type="submit" value="Add comment" />\ + <input type="hidden" name="node" value="<%id%>" />\ + <input type="hidden" name="parent" value="" />\ + </form>\ + </div>\ + </div>'; + + var commentTemplate = '\ + <div id="cd<%id%>" class="sphinx-comment<%css_class%>">\ + <div class="vote">\ + <div class="arrow">\ + <a href="#" id="uv<%id%>" class="vote" title="vote up">\ + <img src="<%upArrow%>" />\ + </a>\ + <a href="#" id="uu<%id%>" class="un vote" title="vote up">\ + <img src="<%upArrowPressed%>" />\ + </a>\ + </div>\ + <div class="arrow">\ + <a href="#" id="dv<%id%>" class="vote" title="vote down">\ + <img src="<%downArrow%>" id="da<%id%>" />\ + </a>\ + <a href="#" id="du<%id%>" class="un vote" title="vote down">\ + <img src="<%downArrowPressed%>" />\ + </a>\ + </div>\ + </div>\ + <div class="comment-content">\ + <p class="tagline comment">\ + <span class="user-id"><%username%></span>\ + <span class="rating"><%pretty_rating%></span>\ + <span class="delta"><%time.delta%></span>\ + </p>\ + <div class="comment-text comment"><#text#></div>\ + <p class="comment-opts comment">\ + <a href="#" class="reply hidden" id="rl<%id%>">reply ▹</a>\ + <a href="#" class="close-reply" id="cr<%id%>">reply ▿</a>\ + <a href="#" id="sp<%id%>" class="show-proposal">proposal ▹</a>\ + <a href="#" id="hp<%id%>" class="hide-proposal">proposal ▿</a>\ + <a href="#" id="dc<%id%>" class="delete-comment hidden">delete</a>\ + <span id="cm<%id%>" class="moderation hidden">\ + <a href="#" id="ac<%id%>" class="accept-comment">accept</a>\ + </span>\ + </p>\ + <pre class="proposal" id="pr<%id%>">\ +<#proposal_diff#>\ + </pre>\ + <ul class="comment-children" id="cl<%id%>"></ul>\ + </div>\ + <div class="clearleft"></div>\ + </div>\ + </div>'; + + var replyTemplate = '\ + <li>\ + <div class="reply-div" id="rd<%id%>">\ + <form id="rf<%id%>">\ + <textarea name="comment" cols="80"></textarea>\ + <input type="submit" value="Add reply" />\ + <input type="button" value="Cancel" />\ + <input type="hidden" name="parent" value="<%id%>" />\ + <input type="hidden" name="node" value="" />\ + </form>\ + </div>\ + </li>'; + + $(document).ready(function() { + init(); + }); +})(jQuery); + +$(document).ready(function() { + // add comment anchors for all paragraphs that are commentable + $('.sphinx-has-comment').comment(); + + // highlight search words in search results + $("div.context").each(function() { + var params = $.getQueryParameters(); + var terms = (params.q) ? params.q[0].split(/\s+/) : []; + var result = $(this); + $.each(terms, function() { + result.highlightText(this.toLowerCase(), 'highlighted'); + }); + }); + + // directly open comment window if requested + var anchor = document.location.hash; + if (anchor.substring(0, 9) == '#comment-') { + $('#ao' + anchor.substring(9)).click(); + document.location.hash = '#s' + anchor.substring(9); + } +}); diff --git a/api.html b/api.html new file mode 100644 index 0000000..9336955 --- /dev/null +++ b/api.html @@ -0,0 +1,1939 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + + +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + + <title>testtools API documentation — testtools VERSION documentation</title> + + <link rel="stylesheet" href="_static/classic.css" type="text/css" /> + <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> + + <script type="text/javascript"> + var DOCUMENTATION_OPTIONS = { + URL_ROOT: './', + VERSION: 'VERSION', + COLLAPSE_INDEX: false, + FILE_SUFFIX: '.html', + HAS_SOURCE: true + }; + </script> + <script type="text/javascript" src="_static/jquery.js"></script> + <script type="text/javascript" src="_static/underscore.js"></script> + <script type="text/javascript" src="_static/doctools.js"></script> + <link rel="top" title="testtools VERSION documentation" href="index.html" /> + <link rel="prev" title="testtools NEWS" href="news.html" /> + </head> + <body role="document"> + <div class="related" role="navigation" aria-label="related navigation"> + <h3>Navigation</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="genindex.html" title="General Index" + accesskey="I">index</a></li> + <li class="right" > + <a href="py-modindex.html" title="Python Module Index" + >modules</a> |</li> + <li class="right" > + <a href="news.html" title="testtools NEWS" + accesskey="P">previous</a> |</li> + <li class="nav-item nav-item-0"><a href="index.html">testtools VERSION documentation</a> »</li> + </ul> + </div> + + <div class="document"> + <div class="documentwrapper"> + <div class="bodywrapper"> + <div class="body" role="main"> + + <div class="section" id="testtools-api-documentation"> +<h1>testtools API documentation<a class="headerlink" href="#testtools-api-documentation" title="Permalink to this headline">¶</a></h1> +<p>Generated reference documentation for all the public functionality of +testtools.</p> +<p>Please <a class="reference internal" href="hacking.html"><em>send patches</em></a> if you notice anything confusing or +wrong, or that could be improved.</p> +<div class="toctree-wrapper compound"> +<ul class="simple"> +</ul> +</div> +<div class="section" id="module-testtools"> +<span id="testtools"></span><h2>testtools<a class="headerlink" href="#module-testtools" title="Permalink to this headline">¶</a></h2> +<p>Extensions to the standard Python unittest library.</p> +<dl class="function"> +<dt id="testtools.clone_test_with_new_id"> +<code class="descclassname">testtools.</code><code class="descname">clone_test_with_new_id</code><span class="sig-paren">(</span><em>test</em>, <em>new_id</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.clone_test_with_new_id" title="Permalink to this definition">¶</a></dt> +<dd><p>Copy a <cite>TestCase</cite>, and give the copied test a new id.</p> +<p>This is only expected to be used on tests that have been constructed but +not executed.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.CopyStreamResult"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">CopyStreamResult</code><span class="sig-paren">(</span><em>targets</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.CopyStreamResult" title="Permalink to this definition">¶</a></dt> +<dd><p>Copies all event it receives to multiple results.</p> +<p>This provides an easy facility for combining multiple StreamResults.</p> +<p>For TestResult the equivalent class was <code class="docutils literal"><span class="pre">MultiTestResult</span></code>.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.ConcurrentTestSuite"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">ConcurrentTestSuite</code><span class="sig-paren">(</span><em>suite</em>, <em>make_tests</em>, <em>wrap_result=None</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.ConcurrentTestSuite" title="Permalink to this definition">¶</a></dt> +<dd><p>A TestSuite whose run() calls out to a concurrency strategy.</p> +<dl class="method"> +<dt id="testtools.ConcurrentTestSuite.run"> +<code class="descname">run</code><span class="sig-paren">(</span><em>result</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.ConcurrentTestSuite.run" title="Permalink to this definition">¶</a></dt> +<dd><p>Run the tests concurrently.</p> +<p>This calls out to the provided make_tests helper, and then serialises +the results so that result only sees activity from one TestCase at +a time.</p> +<p>ConcurrentTestSuite provides no special mechanism to stop the tests +returned by make_tests, it is up to the make_tests to honour the +shouldStop attribute on the result object they are run with, which will +be set if an exception is raised in the thread which +ConcurrentTestSuite.run is called in.</p> +</dd></dl> + +</dd></dl> + +<dl class="class"> +<dt id="testtools.ConcurrentStreamTestSuite"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">ConcurrentStreamTestSuite</code><span class="sig-paren">(</span><em>make_tests</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.ConcurrentStreamTestSuite" title="Permalink to this definition">¶</a></dt> +<dd><p>A TestSuite whose run() parallelises.</p> +<dl class="method"> +<dt id="testtools.ConcurrentStreamTestSuite.run"> +<code class="descname">run</code><span class="sig-paren">(</span><em>result</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.ConcurrentStreamTestSuite.run" title="Permalink to this definition">¶</a></dt> +<dd><p>Run the tests concurrently.</p> +<p>This calls out to the provided make_tests helper to determine the +concurrency to use and to assign routing codes to each worker.</p> +<p>ConcurrentTestSuite provides no special mechanism to stop the tests +returned by make_tests, it is up to the made tests to honour the +shouldStop attribute on the result object they are run with, which will +be set if the test run is to be aborted.</p> +<p>The tests are run with an ExtendedToStreamDecorator wrapped around a +StreamToQueue instance. ConcurrentStreamTestSuite dequeues events from +the queue and forwards them to result. Tests can therefore be either +original unittest tests (or compatible tests), or new tests that emit +StreamResult events directly.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>result</strong> – A StreamResult instance. The caller is responsible for +calling startTestRun on this instance prior to invoking suite.run, +and stopTestRun subsequent to the run method returning.</td> +</tr> +</tbody> +</table> +</dd></dl> + +</dd></dl> + +<dl class="class"> +<dt id="testtools.DecorateTestCaseResult"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">DecorateTestCaseResult</code><span class="sig-paren">(</span><em>case</em>, <em>callout</em>, <em>before_run=None</em>, <em>after_run=None</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.DecorateTestCaseResult" title="Permalink to this definition">¶</a></dt> +<dd><p>Decorate a TestCase and permit customisation of the result for runs.</p> +</dd></dl> + +<dl class="function"> +<dt id="testtools.ErrorHolder"> +<code class="descclassname">testtools.</code><code class="descname">ErrorHolder</code><span class="sig-paren">(</span><em>test_id</em>, <em>error</em>, <em>short_description=None</em>, <em>details=None</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.ErrorHolder" title="Permalink to this definition">¶</a></dt> +<dd><p>Construct an <cite>ErrorHolder</cite>.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> +<li><strong>test_id</strong> – The id of the test.</li> +<li><strong>error</strong> – The exc info tuple that will be used as the test’s error. +This is inserted into the details as ‘traceback’ - any existing key +will be overridden.</li> +<li><strong>short_description</strong> – An optional short description of the test.</li> +<li><strong>details</strong> – Outcome details as accepted by addSuccess etc.</li> +</ul> +</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="class"> +<dt id="testtools.ExpectedException"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">ExpectedException</code><span class="sig-paren">(</span><em>exc_type</em>, <em>value_re=None</em>, <em>msg=None</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.ExpectedException" title="Permalink to this definition">¶</a></dt> +<dd><p>A context manager to handle expected exceptions.</p> +<blockquote> +<div><dl class="docutils"> +<dt>def test_foo(self):</dt> +<dd><dl class="first last docutils"> +<dt>with ExpectedException(ValueError, ‘fo.*’):</dt> +<dd>raise ValueError(‘foo’)</dd> +</dl> +</dd> +</dl> +</div></blockquote> +<p>will pass. If the raised exception has a type other than the specified +type, it will be re-raised. If it has a ‘str()’ that does not match the +given regular expression, an AssertionError will be raised. If no +exception is raised, an AssertionError will be raised.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.ExtendedToOriginalDecorator"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">ExtendedToOriginalDecorator</code><span class="sig-paren">(</span><em>decorated</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.ExtendedToOriginalDecorator" title="Permalink to this definition">¶</a></dt> +<dd><p>Permit new TestResult API code to degrade gracefully with old results.</p> +<p>This decorates an existing TestResult and converts missing outcomes +such as addSkip to older outcomes such as addSuccess. It also supports +the extended details protocol. In all cases the most recent protocol +is attempted first, and fallbacks only occur when the decorated result +does not support the newer style of calling.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.ExtendedToStreamDecorator"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">ExtendedToStreamDecorator</code><span class="sig-paren">(</span><em>decorated</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.ExtendedToStreamDecorator" title="Permalink to this definition">¶</a></dt> +<dd><p>Permit using old TestResult API code with new StreamResult objects.</p> +<p>This decorates a StreamResult and converts old (Python 2.6 / 2.7 / +Extended) TestResult API calls into StreamResult calls.</p> +<p>It also supports regular StreamResult calls, making it safe to wrap around +any StreamResult.</p> +<dl class="attribute"> +<dt id="testtools.ExtendedToStreamDecorator.current_tags"> +<code class="descname">current_tags</code><a class="headerlink" href="#testtools.ExtendedToStreamDecorator.current_tags" title="Permalink to this definition">¶</a></dt> +<dd><p>The currently set tags.</p> +</dd></dl> + +<dl class="method"> +<dt id="testtools.ExtendedToStreamDecorator.tags"> +<code class="descname">tags</code><span class="sig-paren">(</span><em>new_tags</em>, <em>gone_tags</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.ExtendedToStreamDecorator.tags" title="Permalink to this definition">¶</a></dt> +<dd><p>Add and remove tags from the test.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> +<li><strong>new_tags</strong> – A set of tags to be added to the stream.</li> +<li><strong>gone_tags</strong> – A set of tags to be removed from the stream.</li> +</ul> +</td> +</tr> +</tbody> +</table> +</dd></dl> + +</dd></dl> + +<dl class="function"> +<dt id="testtools.iterate_tests"> +<code class="descclassname">testtools.</code><code class="descname">iterate_tests</code><span class="sig-paren">(</span><em>test_suite_or_case</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.iterate_tests" title="Permalink to this definition">¶</a></dt> +<dd><p>Iterate through all of the test cases in ‘test_suite_or_case’.</p> +</dd></dl> + +<dl class="exception"> +<dt id="testtools.MultipleExceptions"> +<em class="property">exception </em><code class="descclassname">testtools.</code><code class="descname">MultipleExceptions</code><a class="headerlink" href="#testtools.MultipleExceptions" title="Permalink to this definition">¶</a></dt> +<dd><p>Represents many exceptions raised from some operation.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Variables:</th><td class="field-body"><strong>args</strong> – The sys.exc_info() tuples for each exception.</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="class"> +<dt id="testtools.MultiTestResult"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">MultiTestResult</code><span class="sig-paren">(</span><em>*results</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.MultiTestResult" title="Permalink to this definition">¶</a></dt> +<dd><p>A test result that dispatches to many test results.</p> +<dl class="method"> +<dt id="testtools.MultiTestResult.wasSuccessful"> +<code class="descname">wasSuccessful</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#testtools.MultiTestResult.wasSuccessful" title="Permalink to this definition">¶</a></dt> +<dd><p>Was this result successful?</p> +<p>Only returns True if every constituent result was successful.</p> +</dd></dl> + +</dd></dl> + +<dl class="class"> +<dt id="testtools.PlaceHolder"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">PlaceHolder</code><span class="sig-paren">(</span><em>test_id</em>, <em>short_description=None</em>, <em>details=None</em>, <em>outcome='addSuccess'</em>, <em>error=None</em>, <em>tags=None</em>, <em>timestamps=(None</em>, <em>None)</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.PlaceHolder" title="Permalink to this definition">¶</a></dt> +<dd><p>A placeholder test.</p> +<p><cite>PlaceHolder</cite> implements much of the same interface as TestCase and is +particularly suitable for being added to TestResults.</p> +</dd></dl> + +<dl class="function"> +<dt id="testtools.run_test_with"> +<code class="descclassname">testtools.</code><code class="descname">run_test_with</code><span class="sig-paren">(</span><em>test_runner</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.run_test_with" title="Permalink to this definition">¶</a></dt> +<dd><p>Decorate a test as using a specific <code class="docutils literal"><span class="pre">RunTest</span></code>.</p> +<p>e.g.:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="nd">@run_test_with</span><span class="p">(</span><span class="n">CustomRunner</span><span class="p">,</span> <span class="n">timeout</span><span class="o">=</span><span class="mi">42</span><span class="p">)</span> +<span class="k">def</span> <span class="nf">test_foo</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertTrue</span><span class="p">(</span><span class="bp">True</span><span class="p">)</span> +</pre></div> +</div> +<p>The returned decorator works by setting an attribute on the decorated +function. <cite>TestCase.__init__</cite> looks for this attribute when deciding on a +<code class="docutils literal"><span class="pre">RunTest</span></code> factory. If you wish to use multiple decorators on a test +method, then you must either make this one the top-most decorator, or you +must write your decorators so that they update the wrapping function with +the attributes of the wrapped function. The latter is recommended style +anyway. <code class="docutils literal"><span class="pre">functools.wraps</span></code>, <code class="docutils literal"><span class="pre">functools.wrapper</span></code> and +<code class="docutils literal"><span class="pre">twisted.python.util.mergeFunctionMetadata</span></code> can help you do this.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> +<li><strong>test_runner</strong> – A <code class="docutils literal"><span class="pre">RunTest</span></code> factory that takes a test case and an +optional list of exception handlers. See <code class="docutils literal"><span class="pre">RunTest</span></code>.</li> +<li><strong>kwargs</strong> – Keyword arguments to pass on as extra arguments to +‘test_runner’.</li> +</ul> +</td> +</tr> +<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A decorator to be used for marking a test as needing a special +runner.</p> +</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="class"> +<dt id="testtools.Tagger"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">Tagger</code><span class="sig-paren">(</span><em>decorated</em>, <em>new_tags</em>, <em>gone_tags</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.Tagger" title="Permalink to this definition">¶</a></dt> +<dd><p>Tag each test individually.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.TestCase"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">TestCase</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase" title="Permalink to this definition">¶</a></dt> +<dd><p>Extensions to the basic TestCase.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Variables:</th><td class="field-body"><ul class="first last simple"> +<li><strong>exception_handlers</strong> – Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</li> +<li><strong>force_failure</strong> – Force testtools.RunTest to fail the test after the +test has completed.</li> +<li><a class="reference internal" href="#testtools.TestCase.run_tests_with" title="testtools.TestCase.run_tests_with"><strong>run_tests_with</strong></a> – A factory to make the <code class="docutils literal"><span class="pre">RunTest</span></code> to run tests with. +Defaults to <code class="docutils literal"><span class="pre">RunTest</span></code>. The factory is expected to take a test case +and an optional list of exception handlers.</li> +</ul> +</td> +</tr> +</tbody> +</table> +<dl class="method"> +<dt id="testtools.TestCase.addCleanup"> +<code class="descname">addCleanup</code><span class="sig-paren">(</span><em>function</em>, <em>*arguments</em>, <em>**keywordArguments</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.addCleanup" title="Permalink to this definition">¶</a></dt> +<dd><p>Add a cleanup function to be called after tearDown.</p> +<p>Functions added with addCleanup will be called in reverse order of +adding after tearDown, or after setUp if setUp raises an exception.</p> +<p>If a function added with addCleanup raises an exception, the error +will be recorded as a test error, and the next cleanup will then be +run.</p> +<p>Cleanup functions are always called before a test finishes running, +even if setUp is aborted by an exception.</p> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.addDetail"> +<code class="descname">addDetail</code><span class="sig-paren">(</span><em>name</em>, <em>content_object</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.addDetail" title="Permalink to this definition">¶</a></dt> +<dd><p>Add a detail to be reported with this test’s outcome.</p> +<p>For more details see pydoc testtools.TestResult.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> +<li><strong>name</strong> – The name to give this detail.</li> +<li><strong>content_object</strong> – The content object for this detail. See +testtools.content for more detail.</li> +</ul> +</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.addDetailUniqueName"> +<code class="descname">addDetailUniqueName</code><span class="sig-paren">(</span><em>name</em>, <em>content_object</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.addDetailUniqueName" title="Permalink to this definition">¶</a></dt> +<dd><p>Add a detail to the test, but ensure it’s name is unique.</p> +<p>This method checks whether <code class="docutils literal"><span class="pre">name</span></code> conflicts with a detail that has +already been added to the test. If it does, it will modify <code class="docutils literal"><span class="pre">name</span></code> to +avoid the conflict.</p> +<p>For more details see pydoc testtools.TestResult.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> +<li><strong>name</strong> – The name to give this detail.</li> +<li><strong>content_object</strong> – The content object for this detail. See +testtools.content for more detail.</li> +</ul> +</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.addOnException"> +<code class="descname">addOnException</code><span class="sig-paren">(</span><em>handler</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.addOnException" title="Permalink to this definition">¶</a></dt> +<dd><p>Add a handler to be called when an exception occurs in test code.</p> +<p>This handler cannot affect what result methods are called, and is +called before any outcome is called on the result object. An example +use for it is to add some diagnostic state to the test details dict +which is expensive to calculate and not interesting for reporting in +the success case.</p> +<p>Handlers are called before the outcome (such as addFailure) that +the exception has caused.</p> +<p>Handlers are called in first-added, first-called order, and if they +raise an exception, that will propogate out of the test running +machinery, halting test processing. As a result, do not call code that +may unreasonably fail.</p> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.assertEqual"> +<code class="descname">assertEqual</code><span class="sig-paren">(</span><em>expected</em>, <em>observed</em>, <em>message=''</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.assertEqual" title="Permalink to this definition">¶</a></dt> +<dd><p>Assert that ‘expected’ is equal to ‘observed’.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> +<li><strong>expected</strong> – The expected value.</li> +<li><strong>observed</strong> – The observed value.</li> +<li><strong>message</strong> – An optional message to include in the error.</li> +</ul> +</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.assertEquals"> +<code class="descname">assertEquals</code><span class="sig-paren">(</span><em>expected</em>, <em>observed</em>, <em>message=''</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.assertEquals" title="Permalink to this definition">¶</a></dt> +<dd><p>Assert that ‘expected’ is equal to ‘observed’.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> +<li><strong>expected</strong> – The expected value.</li> +<li><strong>observed</strong> – The observed value.</li> +<li><strong>message</strong> – An optional message to include in the error.</li> +</ul> +</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.assertIn"> +<code class="descname">assertIn</code><span class="sig-paren">(</span><em>needle</em>, <em>haystack</em>, <em>message=''</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.assertIn" title="Permalink to this definition">¶</a></dt> +<dd><p>Assert that needle is in haystack.</p> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.assertIs"> +<code class="descname">assertIs</code><span class="sig-paren">(</span><em>expected</em>, <em>observed</em>, <em>message=''</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.assertIs" title="Permalink to this definition">¶</a></dt> +<dd><p>Assert that ‘expected’ is ‘observed’.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> +<li><strong>expected</strong> – The expected value.</li> +<li><strong>observed</strong> – The observed value.</li> +<li><strong>message</strong> – An optional message describing the error.</li> +</ul> +</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.assertIsNone"> +<code class="descname">assertIsNone</code><span class="sig-paren">(</span><em>observed</em>, <em>message=''</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.assertIsNone" title="Permalink to this definition">¶</a></dt> +<dd><p>Assert that ‘observed’ is equal to None.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> +<li><strong>observed</strong> – The observed value.</li> +<li><strong>message</strong> – An optional message describing the error.</li> +</ul> +</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.assertIsNot"> +<code class="descname">assertIsNot</code><span class="sig-paren">(</span><em>expected</em>, <em>observed</em>, <em>message=''</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.assertIsNot" title="Permalink to this definition">¶</a></dt> +<dd><p>Assert that ‘expected’ is not ‘observed’.</p> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.assertIsNotNone"> +<code class="descname">assertIsNotNone</code><span class="sig-paren">(</span><em>observed</em>, <em>message=''</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.assertIsNotNone" title="Permalink to this definition">¶</a></dt> +<dd><p>Assert that ‘observed’ is not equal to None.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> +<li><strong>observed</strong> – The observed value.</li> +<li><strong>message</strong> – An optional message describing the error.</li> +</ul> +</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.assertNotIn"> +<code class="descname">assertNotIn</code><span class="sig-paren">(</span><em>needle</em>, <em>haystack</em>, <em>message=''</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.assertNotIn" title="Permalink to this definition">¶</a></dt> +<dd><p>Assert that needle is not in haystack.</p> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.assertRaises"> +<code class="descname">assertRaises</code><span class="sig-paren">(</span><em>excClass</em>, <em>callableObj</em>, <em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.assertRaises" title="Permalink to this definition">¶</a></dt> +<dd><p>Fail unless an exception of class excClass is thrown +by callableObj when invoked with arguments args and keyword +arguments kwargs. If a different type of exception is +thrown, it will not be caught, and the test case will be +deemed to have suffered an error, exactly as for an +unexpected exception.</p> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.assertThat"> +<code class="descname">assertThat</code><span class="sig-paren">(</span><em>matchee</em>, <em>matcher</em>, <em>message=''</em>, <em>verbose=False</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.assertThat" title="Permalink to this definition">¶</a></dt> +<dd><p>Assert that matchee is matched by matcher.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> +<li><strong>matchee</strong> – An object to match with matcher.</li> +<li><strong>matcher</strong> – An object meeting the testtools.Matcher protocol.</li> +</ul> +</td> +</tr> +<tr class="field-even field"><th class="field-name" colspan="2">Raises MismatchError:</th></tr> +<tr class="field-even field"><td> </td><td class="field-body"><p class="first last">When matcher does not match thing.</p> +</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.expectFailure"> +<code class="descname">expectFailure</code><span class="sig-paren">(</span><em>reason</em>, <em>predicate</em>, <em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.expectFailure" title="Permalink to this definition">¶</a></dt> +<dd><p>Check that a test fails in a particular way.</p> +<p>If the test fails in the expected way, a KnownFailure is caused. If it +succeeds an UnexpectedSuccess is caused.</p> +<p>The expected use of expectFailure is as a barrier at the point in a +test where the test would fail. For example: +>>> def test_foo(self): +>>> self.expectFailure(“1 should be 0”, self.assertNotEqual, 1, 0) +>>> self.assertEqual(1, 0)</p> +<p>If in the future 1 were to equal 0, the expectFailure call can simply +be removed. This separation preserves the original intent of the test +while it is in the expectFailure mode.</p> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.expectThat"> +<code class="descname">expectThat</code><span class="sig-paren">(</span><em>matchee</em>, <em>matcher</em>, <em>message=''</em>, <em>verbose=False</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.expectThat" title="Permalink to this definition">¶</a></dt> +<dd><p>Check that matchee is matched by matcher, but delay the assertion failure.</p> +<p>This method behaves similarly to <code class="docutils literal"><span class="pre">assertThat</span></code>, except that a failed +match does not exit the test immediately. The rest of the test code will +continue to run, and the test will be marked as failing after the test +has finished.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> +<li><strong>matchee</strong> – An object to match with matcher.</li> +<li><strong>matcher</strong> – An object meeting the testtools.Matcher protocol.</li> +<li><strong>message</strong> – If specified, show this message with any failed match.</li> +</ul> +</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.failUnlessEqual"> +<code class="descname">failUnlessEqual</code><span class="sig-paren">(</span><em>expected</em>, <em>observed</em>, <em>message=''</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.failUnlessEqual" title="Permalink to this definition">¶</a></dt> +<dd><p>Assert that ‘expected’ is equal to ‘observed’.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> +<li><strong>expected</strong> – The expected value.</li> +<li><strong>observed</strong> – The observed value.</li> +<li><strong>message</strong> – An optional message to include in the error.</li> +</ul> +</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.failUnlessRaises"> +<code class="descname">failUnlessRaises</code><span class="sig-paren">(</span><em>excClass</em>, <em>callableObj</em>, <em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.failUnlessRaises" title="Permalink to this definition">¶</a></dt> +<dd><p>Fail unless an exception of class excClass is thrown +by callableObj when invoked with arguments args and keyword +arguments kwargs. If a different type of exception is +thrown, it will not be caught, and the test case will be +deemed to have suffered an error, exactly as for an +unexpected exception.</p> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.getDetails"> +<code class="descname">getDetails</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.getDetails" title="Permalink to this definition">¶</a></dt> +<dd><p>Get the details dict that will be reported with this test’s outcome.</p> +<p>For more details see pydoc testtools.TestResult.</p> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.getUniqueInteger"> +<code class="descname">getUniqueInteger</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.getUniqueInteger" title="Permalink to this definition">¶</a></dt> +<dd><p>Get an integer unique to this test.</p> +<p>Returns an integer that is guaranteed to be unique to this instance. +Use this when you need an arbitrary integer in your test, or as a +helper for custom anonymous factory methods.</p> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.getUniqueString"> +<code class="descname">getUniqueString</code><span class="sig-paren">(</span><em>prefix=None</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.getUniqueString" title="Permalink to this definition">¶</a></dt> +<dd><p>Get a string unique to this test.</p> +<p>Returns a string that is guaranteed to be unique to this instance. Use +this when you need an arbitrary string in your test, or as a helper +for custom anonymous factory methods.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>prefix</strong> – The prefix of the string. If not provided, defaults +to the id of the tests.</td> +</tr> +<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">A bytestring of ‘<prefix>-<unique_int>’.</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.onException"> +<code class="descname">onException</code><span class="sig-paren">(</span><em>exc_info</em>, <em>tb_label='traceback'</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.onException" title="Permalink to this definition">¶</a></dt> +<dd><p>Called when an exception propogates from test code.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name" colspan="2">Seealso addOnException:</th></tr> +<tr class="field-odd field"><td> </td><td class="field-body"></td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.patch"> +<code class="descname">patch</code><span class="sig-paren">(</span><em>obj</em>, <em>attribute</em>, <em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.patch" title="Permalink to this definition">¶</a></dt> +<dd><p>Monkey-patch ‘obj.attribute’ to ‘value’ while the test is running.</p> +<p>If ‘obj’ has no attribute, then the monkey-patch will still go ahead, +and the attribute will be deleted instead of restored to its original +value.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> +<li><strong>obj</strong> – The object to patch. Can be anything.</li> +<li><strong>attribute</strong> – The attribute on ‘obj’ to patch.</li> +<li><strong>value</strong> – The value to set ‘obj.attribute’ to.</li> +</ul> +</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="attribute"> +<dt id="testtools.TestCase.run_tests_with"> +<code class="descname">run_tests_with</code><a class="headerlink" href="#testtools.TestCase.run_tests_with" title="Permalink to this definition">¶</a></dt> +<dd><p>alias of <a class="reference internal" href="#testtools.RunTest" title="testtools.RunTest"><code class="xref py py-class docutils literal"><span class="pre">RunTest</span></code></a></p> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.skip"> +<code class="descname">skip</code><span class="sig-paren">(</span><em>reason</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.skip" title="Permalink to this definition">¶</a></dt> +<dd><p>Cause this test to be skipped.</p> +<p>This raises self.skipException(reason). skipException is raised +to permit a skip to be triggered at any point (during setUp or the +testMethod itself). The run() method catches skipException and +translates that into a call to the result objects addSkip method.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>reason</strong> – The reason why the test is being skipped. This must +support being cast into a unicode string for reporting.</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="attribute"> +<dt id="testtools.TestCase.skipException"> +<code class="descname">skipException</code><a class="headerlink" href="#testtools.TestCase.skipException" title="Permalink to this definition">¶</a></dt> +<dd><p>alias of <code class="xref py py-class docutils literal"><span class="pre">SkipTest</span></code></p> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.skipTest"> +<code class="descname">skipTest</code><span class="sig-paren">(</span><em>reason</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.skipTest" title="Permalink to this definition">¶</a></dt> +<dd><p>Cause this test to be skipped.</p> +<p>This raises self.skipException(reason). skipException is raised +to permit a skip to be triggered at any point (during setUp or the +testMethod itself). The run() method catches skipException and +translates that into a call to the result objects addSkip method.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>reason</strong> – The reason why the test is being skipped. This must +support being cast into a unicode string for reporting.</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestCase.useFixture"> +<code class="descname">useFixture</code><span class="sig-paren">(</span><em>fixture</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCase.useFixture" title="Permalink to this definition">¶</a></dt> +<dd><p>Use fixture in a test case.</p> +<p>The fixture will be setUp, and self.addCleanup(fixture.cleanUp) called.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>fixture</strong> – The fixture to use.</td> +</tr> +<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">The fixture, after setting it up and scheduling a cleanup for +it.</td> +</tr> +</tbody> +</table> +</dd></dl> + +</dd></dl> + +<dl class="class"> +<dt id="testtools.TestCommand"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">TestCommand</code><span class="sig-paren">(</span><em>dist</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestCommand" title="Permalink to this definition">¶</a></dt> +<dd><p>Command to run unit tests with testtools</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.TestByTestResult"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">TestByTestResult</code><span class="sig-paren">(</span><em>on_test</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestByTestResult" title="Permalink to this definition">¶</a></dt> +<dd><p>Call something every time a test completes.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.TestResult"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">TestResult</code><span class="sig-paren">(</span><em>failfast=False</em>, <em>tb_locals=False</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestResult" title="Permalink to this definition">¶</a></dt> +<dd><p>Subclass of unittest.TestResult extending the protocol for flexability.</p> +<p>This test result supports an experimental protocol for providing additional +data to in test outcomes. All the outcome methods take an optional dict +‘details’. If supplied any other detail parameters like ‘err’ or ‘reason’ +should not be provided. The details dict is a mapping from names to +MIME content objects (see testtools.content). This permits attaching +tracebacks, log files, or even large objects like databases that were +part of the test fixture. Until this API is accepted into upstream +Python it is considered experimental: it may be replaced at any point +by a newer version more in line with upstream Python. Compatibility would +be aimed for in this case, but may not be possible.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Variables:</th><td class="field-body"><strong>skip_reasons</strong> – A dict of skip-reasons -> list of tests. See addSkip.</td> +</tr> +</tbody> +</table> +<dl class="method"> +<dt id="testtools.TestResult.addError"> +<code class="descname">addError</code><span class="sig-paren">(</span><em>test</em>, <em>err=None</em>, <em>details=None</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestResult.addError" title="Permalink to this definition">¶</a></dt> +<dd><p>Called when an error has occurred. ‘err’ is a tuple of values as +returned by sys.exc_info().</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>details</strong> – Alternative way to supply details about the outcome. +see the class docstring for more information.</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestResult.addExpectedFailure"> +<code class="descname">addExpectedFailure</code><span class="sig-paren">(</span><em>test</em>, <em>err=None</em>, <em>details=None</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestResult.addExpectedFailure" title="Permalink to this definition">¶</a></dt> +<dd><p>Called when a test has failed in an expected manner.</p> +<p>Like with addSuccess and addError, testStopped should still be called.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> +<li><strong>test</strong> – The test that has been skipped.</li> +<li><strong>err</strong> – The exc_info of the error that was raised.</li> +</ul> +</td> +</tr> +<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">None</p> +</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestResult.addFailure"> +<code class="descname">addFailure</code><span class="sig-paren">(</span><em>test</em>, <em>err=None</em>, <em>details=None</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestResult.addFailure" title="Permalink to this definition">¶</a></dt> +<dd><p>Called when an error has occurred. ‘err’ is a tuple of values as +returned by sys.exc_info().</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>details</strong> – Alternative way to supply details about the outcome. +see the class docstring for more information.</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestResult.addSkip"> +<code class="descname">addSkip</code><span class="sig-paren">(</span><em>test</em>, <em>reason=None</em>, <em>details=None</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestResult.addSkip" title="Permalink to this definition">¶</a></dt> +<dd><p>Called when a test has been skipped rather than running.</p> +<p>Like with addSuccess and addError, testStopped should still be called.</p> +<p>This must be called by the TestCase. ‘addError’ and ‘addFailure’ will +not call addSkip, since they have no assumptions about the kind of +errors that a test can raise.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> +<li><strong>test</strong> – The test that has been skipped.</li> +<li><strong>reason</strong> – The reason for the test being skipped. For instance, +u”pyGL is not available”.</li> +<li><strong>details</strong> – Alternative way to supply details about the outcome. +see the class docstring for more information.</li> +</ul> +</td> +</tr> +<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">None</p> +</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestResult.addSuccess"> +<code class="descname">addSuccess</code><span class="sig-paren">(</span><em>test</em>, <em>details=None</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestResult.addSuccess" title="Permalink to this definition">¶</a></dt> +<dd><p>Called when a test succeeded.</p> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestResult.addUnexpectedSuccess"> +<code class="descname">addUnexpectedSuccess</code><span class="sig-paren">(</span><em>test</em>, <em>details=None</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestResult.addUnexpectedSuccess" title="Permalink to this definition">¶</a></dt> +<dd><p>Called when a test was expected to fail, but succeed.</p> +</dd></dl> + +<dl class="attribute"> +<dt id="testtools.TestResult.current_tags"> +<code class="descname">current_tags</code><a class="headerlink" href="#testtools.TestResult.current_tags" title="Permalink to this definition">¶</a></dt> +<dd><p>The currently set tags.</p> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestResult.done"> +<code class="descname">done</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestResult.done" title="Permalink to this definition">¶</a></dt> +<dd><p>Called when the test runner is done.</p> +<p>deprecated in favour of stopTestRun.</p> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestResult.startTestRun"> +<code class="descname">startTestRun</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestResult.startTestRun" title="Permalink to this definition">¶</a></dt> +<dd><p>Called before a test run starts.</p> +<p>New in Python 2.7. The testtools version resets the result to a +pristine condition ready for use in another test run. Note that this +is different from Python 2.7’s startTestRun, which does nothing.</p> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestResult.stopTestRun"> +<code class="descname">stopTestRun</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestResult.stopTestRun" title="Permalink to this definition">¶</a></dt> +<dd><p>Called after a test run completes</p> +<p>New in python 2.7</p> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestResult.tags"> +<code class="descname">tags</code><span class="sig-paren">(</span><em>new_tags</em>, <em>gone_tags</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestResult.tags" title="Permalink to this definition">¶</a></dt> +<dd><p>Add and remove tags from the test.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> +<li><strong>new_tags</strong> – A set of tags to be added to the stream.</li> +<li><strong>gone_tags</strong> – A set of tags to be removed from the stream.</li> +</ul> +</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestResult.time"> +<code class="descname">time</code><span class="sig-paren">(</span><em>a_datetime</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestResult.time" title="Permalink to this definition">¶</a></dt> +<dd><p>Provide a timestamp to represent the current time.</p> +<p>This is useful when test activity is time delayed, or happening +concurrently and getting the system time between API calls will not +accurately represent the duration of tests (or the whole run).</p> +<p>Calling time() sets the datetime used by the TestResult object. +Time is permitted to go backwards when using this call.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>a_datetime</strong> – A datetime.datetime object with TZ information or +None to reset the TestResult to gathering time from the system.</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="method"> +<dt id="testtools.TestResult.wasSuccessful"> +<code class="descname">wasSuccessful</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestResult.wasSuccessful" title="Permalink to this definition">¶</a></dt> +<dd><p>Has this result been successful so far?</p> +<p>If there have been any errors, failures or unexpected successes, +return False. Otherwise, return True.</p> +<p>Note: This differs from standard unittest in that we consider +unexpected successes to be equivalent to failures, rather than +successes.</p> +</dd></dl> + +</dd></dl> + +<dl class="class"> +<dt id="testtools.TestResultDecorator"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">TestResultDecorator</code><span class="sig-paren">(</span><em>decorated</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestResultDecorator" title="Permalink to this definition">¶</a></dt> +<dd><p>General pass-through decorator.</p> +<p>This provides a base that other TestResults can inherit from to +gain basic forwarding functionality.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.TextTestResult"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">TextTestResult</code><span class="sig-paren">(</span><em>stream</em>, <em>failfast=False</em>, <em>tb_locals=False</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TextTestResult" title="Permalink to this definition">¶</a></dt> +<dd><p>A TestResult which outputs activity to a text stream.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.RunTest"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">RunTest</code><span class="sig-paren">(</span><em>case</em>, <em>handlers=None</em>, <em>last_resort=None</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.RunTest" title="Permalink to this definition">¶</a></dt> +<dd><p>An object to run a test.</p> +<p>RunTest objects are used to implement the internal logic involved in +running a test. TestCase.__init__ stores _RunTest as the class of RunTest +to execute. Passing the runTest= parameter to TestCase.__init__ allows a +different RunTest class to be used to execute the test.</p> +<p>Subclassing or replacing RunTest can be useful to add functionality to the +way that tests are run in a given project.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Variables:</th><td class="field-body"><ul class="first last simple"> +<li><strong>case</strong> – The test case that is to be run.</li> +<li><strong>result</strong> – The result object a case is reporting to.</li> +<li><strong>handlers</strong> – A list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of ‘Exception’ at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).</li> +<li><strong>exception_caught</strong> – An object returned when _run_user catches an +exception.</li> +<li><strong>_exceptions</strong> – A list of caught exceptions, used to do the single +reporting of error/failure/skip etc.</li> +</ul> +</td> +</tr> +</tbody> +</table> +<dl class="method"> +<dt id="testtools.RunTest.run"> +<code class="descname">run</code><span class="sig-paren">(</span><em>result=None</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.RunTest.run" title="Permalink to this definition">¶</a></dt> +<dd><p>Run self.case reporting activity to result.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>result</strong> – Optional testtools.TestResult to report activity to.</td> +</tr> +<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">The result object the test was run against.</td> +</tr> +</tbody> +</table> +</dd></dl> + +</dd></dl> + +<dl class="function"> +<dt id="testtools.skip"> +<code class="descclassname">testtools.</code><code class="descname">skip</code><span class="sig-paren">(</span><em>reason</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.skip" title="Permalink to this definition">¶</a></dt> +<dd><p>A decorator to skip unit tests.</p> +<p>This is just syntactic sugar so users don’t have to change any of their +unit tests in order to migrate to python 2.7, which provides the +@unittest.skip decorator.</p> +</dd></dl> + +<dl class="function"> +<dt id="testtools.skipIf"> +<code class="descclassname">testtools.</code><code class="descname">skipIf</code><span class="sig-paren">(</span><em>condition</em>, <em>reason</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.skipIf" title="Permalink to this definition">¶</a></dt> +<dd><p>A decorator to skip a test if the condition is true.</p> +</dd></dl> + +<dl class="function"> +<dt id="testtools.skipUnless"> +<code class="descclassname">testtools.</code><code class="descname">skipUnless</code><span class="sig-paren">(</span><em>condition</em>, <em>reason</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.skipUnless" title="Permalink to this definition">¶</a></dt> +<dd><p>A decorator to skip a test unless the condition is true.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.StreamFailFast"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">StreamFailFast</code><span class="sig-paren">(</span><em>on_error</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.StreamFailFast" title="Permalink to this definition">¶</a></dt> +<dd><p>Call the supplied callback if an error is seen in a stream.</p> +<p>An example callback:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">do_something</span><span class="p">():</span> + <span class="k">pass</span> +</pre></div> +</div> +</dd></dl> + +<dl class="class"> +<dt id="testtools.StreamResult"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">StreamResult</code><a class="headerlink" href="#testtools.StreamResult" title="Permalink to this definition">¶</a></dt> +<dd><p>A test result for reporting the activity of a test run.</p> +<p>Typical use</p> +<div class="highlight-python"><div class="highlight"><pre><span class="gp">>>> </span><span class="n">result</span> <span class="o">=</span> <span class="n">StreamResult</span><span class="p">()</span> +<span class="gp">>>> </span><span class="n">result</span><span class="o">.</span><span class="n">startTestRun</span><span class="p">()</span> +<span class="gp">>>> </span><span class="k">try</span><span class="p">:</span> +<span class="gp">... </span> <span class="n">case</span><span class="o">.</span><span class="n">run</span><span class="p">(</span><span class="n">result</span><span class="p">)</span> +<span class="gp">... </span><span class="k">finally</span><span class="p">:</span> +<span class="gp">... </span> <span class="n">result</span><span class="o">.</span><span class="n">stopTestRun</span><span class="p">()</span> +</pre></div> +</div> +<p>The case object will be either a TestCase or a TestSuite, and +generally make a sequence of calls like:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="gp">>>> </span><span class="n">result</span><span class="o">.</span><span class="n">status</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">id</span><span class="p">(),</span> <span class="s">'inprogress'</span><span class="p">)</span> +<span class="gp">>>> </span><span class="n">result</span><span class="o">.</span><span class="n">status</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">id</span><span class="p">(),</span> <span class="s">'success'</span><span class="p">)</span> +</pre></div> +</div> +<p>General concepts</p> +<p>StreamResult is built to process events that are emitted by tests during a +test run or test enumeration. The test run may be running concurrently, and +even be spread out across multiple machines.</p> +<p>All events are timestamped to prevent network buffering or scheduling +latency causing false timing reports. Timestamps are datetime objects in +the UTC timezone.</p> +<p>A route_code is a unicode string that identifies where a particular test +run. This is optional in the API but very useful when multiplexing multiple +streams together as it allows identification of interactions between tests +that were run on the same hardware or in the same test process. Generally +actual tests never need to bother with this - it is added and processed +by StreamResult’s that do multiplexing / run analysis. route_codes are +also used to route stdin back to pdb instances.</p> +<p>The StreamResult base class does no accounting or processing, rather it +just provides an empty implementation of every method, suitable for use +as a base class regardless of intent.</p> +<dl class="method"> +<dt id="testtools.StreamResult.startTestRun"> +<code class="descname">startTestRun</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#testtools.StreamResult.startTestRun" title="Permalink to this definition">¶</a></dt> +<dd><p>Start a test run.</p> +<p>This will prepare the test result to process results (which might imply +connecting to a database or remote machine).</p> +</dd></dl> + +<dl class="method"> +<dt id="testtools.StreamResult.status"> +<code class="descname">status</code><span class="sig-paren">(</span><em>test_id=None</em>, <em>test_status=None</em>, <em>test_tags=None</em>, <em>runnable=True</em>, <em>file_name=None</em>, <em>file_bytes=None</em>, <em>eof=False</em>, <em>mime_type=None</em>, <em>route_code=None</em>, <em>timestamp=None</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.StreamResult.status" title="Permalink to this definition">¶</a></dt> +<dd><p>Inform the result about a test status.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> +<li><strong>test_id</strong> – The test whose status is being reported. None to +report status about the test run as a whole.</li> +<li><strong>test_status</strong> – <p>The status for the test. There are two sorts of +status - interim and final status events. As many interim events +can be generated as desired, but only one final event. After a +final status event any further file or status events from the +same test_id+route_code may be discarded or associated with a new +test by the StreamResult. (But no exception will be thrown).</p> +<dl class="docutils"> +<dt>Interim states:</dt> +<dd><ul class="first last"> +<li>None - no particular status is being reported, or status being +reported is not associated with a test (e.g. when reporting on +stdout / stderr chatter).</li> +<li>inprogress - the test is currently running. Emitted by tests when +they start running and at any intermediary point they might +choose to indicate their continual operation.</li> +</ul> +</dd> +<dt>Final states:</dt> +<dd><ul class="first last"> +<li>exists - the test exists. This is used when a test is not being +executed. Typically this is when querying what tests could be run +in a test run (which is useful for selecting tests to run).</li> +<li>xfail - the test failed but that was expected. This is purely +informative - the test is not considered to be a failure.</li> +<li>uxsuccess - the test passed but was expected to fail. The test +will be considered a failure.</li> +<li>success - the test has finished without error.</li> +<li>fail - the test failed (or errored). The test will be considered +a failure.</li> +<li>skip - the test was selected to run but chose to be skipped. E.g. +a test dependency was missing. This is purely informative - the +test is not considered to be a failure.</li> +</ul> +</dd> +</dl> +</li> +<li><strong>test_tags</strong> – Optional set of tags to apply to the test. Tags +have no intrinsic meaning - that is up to the test author.</li> +<li><strong>runnable</strong> – Allows status reports to mark that they are for +tests which are not able to be explicitly run. For instance, +subtests will report themselves as non-runnable.</li> +<li><strong>file_name</strong> – The name for the file_bytes. Any unicode string may +be used. While there is no semantic value attached to the name +of any attachment, the names ‘stdout’ and ‘stderr’ and ‘traceback’ +are recommended for use only for output sent to stdout, stderr and +tracebacks of exceptions. When file_name is supplied, file_bytes +must be a bytes instance.</li> +<li><strong>file_bytes</strong> – A bytes object containing content for the named +file. This can just be a single chunk of the file - emitting +another file event with more later. Must be None unleses a +file_name is supplied.</li> +<li><strong>eof</strong> – True if this chunk is the last chunk of the file, any +additional chunks with the same name should be treated as an error +and discarded. Ignored unless file_name has been supplied.</li> +<li><strong>mime_type</strong> – An optional MIME type for the file. stdout and +stderr will generally be “text/plain; charset=utf8”. If None, +defaults to application/octet-stream. Ignored unless file_name +has been supplied.</li> +</ul> +</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="method"> +<dt id="testtools.StreamResult.stopTestRun"> +<code class="descname">stopTestRun</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#testtools.StreamResult.stopTestRun" title="Permalink to this definition">¶</a></dt> +<dd><p>Stop a test run.</p> +<p>This informs the result that no more test updates will be received. At +this point any test ids that have started and not completed can be +considered failed-or-hung.</p> +</dd></dl> + +</dd></dl> + +<dl class="class"> +<dt id="testtools.StreamResultRouter"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">StreamResultRouter</code><span class="sig-paren">(</span><em>fallback=None</em>, <em>do_start_stop_run=True</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.StreamResultRouter" title="Permalink to this definition">¶</a></dt> +<dd><p>A StreamResult that routes events.</p> +<p>StreamResultRouter forwards received events to another StreamResult object, +selected by a dynamic forwarding policy. Events where no destination is +found are forwarded to the fallback StreamResult, or an error is raised.</p> +<p>Typical use is to construct a router with a fallback and then either +create up front mapping rules, or create them as-needed from the fallback +handler:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="gp">>>> </span><span class="n">router</span> <span class="o">=</span> <span class="n">StreamResultRouter</span><span class="p">()</span> +<span class="gp">>>> </span><span class="n">sink</span> <span class="o">=</span> <span class="n">doubles</span><span class="o">.</span><span class="n">StreamResult</span><span class="p">()</span> +<span class="gp">>>> </span><span class="n">router</span><span class="o">.</span><span class="n">add_rule</span><span class="p">(</span><span class="n">sink</span><span class="p">,</span> <span class="s">'route_code_prefix'</span><span class="p">,</span> <span class="n">route_prefix</span><span class="o">=</span><span class="s">'0'</span><span class="p">,</span> +<span class="gp">... </span> <span class="n">consume_route</span><span class="o">=</span><span class="bp">True</span><span class="p">)</span> +<span class="gp">>>> </span><span class="n">router</span><span class="o">.</span><span class="n">status</span><span class="p">(</span><span class="n">test_id</span><span class="o">=</span><span class="s">'foo'</span><span class="p">,</span> <span class="n">route_code</span><span class="o">=</span><span class="s">'0/1'</span><span class="p">,</span> <span class="n">test_status</span><span class="o">=</span><span class="s">'uxsuccess'</span><span class="p">)</span> +</pre></div> +</div> +<p>StreamResultRouter has no buffering.</p> +<p>When adding routes (and for the fallback) whether to call startTestRun and +stopTestRun or to not call them is controllable by passing +‘do_start_stop_run’. The default is to call them for the fallback only. +If a route is added after startTestRun has been called, and +do_start_stop_run is True then startTestRun is called immediately on the +new route sink.</p> +<p>There is no a-priori defined lookup order for routes: if they are ambiguous +the behaviour is undefined. Only a single route is chosen for any event.</p> +<dl class="method"> +<dt id="testtools.StreamResultRouter.add_rule"> +<code class="descname">add_rule</code><span class="sig-paren">(</span><em>sink</em>, <em>policy</em>, <em>do_start_stop_run=False</em>, <em>**policy_args</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.StreamResultRouter.add_rule" title="Permalink to this definition">¶</a></dt> +<dd><p>Add a rule to route events to sink when they match a given policy.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> +<li><strong>sink</strong> – A StreamResult to receive events.</li> +<li><strong>policy</strong> – A routing policy. Valid policies are +‘route_code_prefix’ and ‘test_id’.</li> +<li><strong>do_start_stop_run</strong> – If True then startTestRun and stopTestRun +events will be passed onto this sink.</li> +</ul> +</td> +</tr> +<tr class="field-even field"><th class="field-name">Raises:</th><td class="field-body"><p class="first">ValueError if the policy is unknown</p> +</td> +</tr> +<tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><p class="first last">TypeError if the policy is given arguments it cannot handle.</p> +</td> +</tr> +</tbody> +</table> +<p><code class="docutils literal"><span class="pre">route_code_prefix</span></code> routes events based on a prefix of the route +code in the event. It takes a <code class="docutils literal"><span class="pre">route_prefix</span></code> argument to match on +(e.g. ‘0’) and a <code class="docutils literal"><span class="pre">consume_route</span></code> argument, which, if True, removes +the prefix from the <code class="docutils literal"><span class="pre">route_code</span></code> when forwarding events.</p> +<p><code class="docutils literal"><span class="pre">test_id</span></code> routes events based on the test id. It takes a single +argument, <code class="docutils literal"><span class="pre">test_id</span></code>. Use <code class="docutils literal"><span class="pre">None</span></code> to select non-test events.</p> +</dd></dl> + +</dd></dl> + +<dl class="class"> +<dt id="testtools.StreamSummary"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">StreamSummary</code><a class="headerlink" href="#testtools.StreamSummary" title="Permalink to this definition">¶</a></dt> +<dd><p>A specialised StreamResult that summarises a stream.</p> +<p>The summary uses the same representation as the original +unittest.TestResult contract, allowing it to be consumed by any test +runner.</p> +<dl class="method"> +<dt id="testtools.StreamSummary.wasSuccessful"> +<code class="descname">wasSuccessful</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#testtools.StreamSummary.wasSuccessful" title="Permalink to this definition">¶</a></dt> +<dd><p>Return False if any failure has occured.</p> +<p>Note that incomplete tests can only be detected when stopTestRun is +called, so that should be called before checking wasSuccessful.</p> +</dd></dl> + +</dd></dl> + +<dl class="class"> +<dt id="testtools.StreamTagger"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">StreamTagger</code><span class="sig-paren">(</span><em>targets</em>, <em>add=None</em>, <em>discard=None</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.StreamTagger" title="Permalink to this definition">¶</a></dt> +<dd><p>Adds or discards tags from StreamResult events.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.StreamToDict"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">StreamToDict</code><span class="sig-paren">(</span><em>on_test</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.StreamToDict" title="Permalink to this definition">¶</a></dt> +<dd><p>A specialised StreamResult that emits a callback as tests complete.</p> +<p>Top level file attachments are simply discarded. Hung tests are detected +by stopTestRun and notified there and then.</p> +<p>The callback is passed a dict with the following keys:</p> +<blockquote> +<div><ul class="simple"> +<li>id: the test id.</li> +<li>tags: The tags for the test. A set of unicode strings.</li> +<li>details: A dict of file attachments - <code class="docutils literal"><span class="pre">testtools.content.Content</span></code> +objects.</li> +<li>status: One of the StreamResult status codes (including inprogress) or +‘unknown’ (used if only file events for a test were received...)</li> +<li>timestamps: A pair of timestamps - the first one received with this +test id, and the one in the event that triggered the notification. +Hung tests have a None for the second end event. Timestamps are not +compared - their ordering is purely order received in the stream.</li> +</ul> +</div></blockquote> +<p>Only the most recent tags observed in the stream are reported.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.StreamToExtendedDecorator"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">StreamToExtendedDecorator</code><span class="sig-paren">(</span><em>decorated</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.StreamToExtendedDecorator" title="Permalink to this definition">¶</a></dt> +<dd><p>Convert StreamResult API calls into ExtendedTestResult calls.</p> +<p>This will buffer all calls for all concurrently active tests, and +then flush each test as they complete.</p> +<p>Incomplete tests will be flushed as errors when the test run stops.</p> +<p>Non test file attachments are accumulated into a test called +‘testtools.extradata’ flushed at the end of the run.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.StreamToQueue"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">StreamToQueue</code><span class="sig-paren">(</span><em>queue</em>, <em>routing_code</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.StreamToQueue" title="Permalink to this definition">¶</a></dt> +<dd><p>A StreamResult which enqueues events as a dict to a queue.Queue.</p> +<p>Events have their route code updated to include the route code +StreamToQueue was constructed with before they are submitted. If the event +route code is None, it is replaced with the StreamToQueue route code, +otherwise it is prefixed with the supplied code + a hyphen.</p> +<p>startTestRun and stopTestRun are forwarded to the queue. Implementors that +dequeue events back into StreamResult calls should take care not to call +startTestRun / stopTestRun on other StreamResult objects multiple times +(e.g. by filtering startTestRun and stopTestRun).</p> +<p><code class="docutils literal"><span class="pre">StreamToQueue</span></code> is typically used by +<code class="docutils literal"><span class="pre">ConcurrentStreamTestSuite</span></code>, which creates one <code class="docutils literal"><span class="pre">StreamToQueue</span></code> +per thread, forwards status events to the the StreamResult that +<code class="docutils literal"><span class="pre">ConcurrentStreamTestSuite.run()</span></code> was called with, and uses the +stopTestRun event to trigger calling join() on the each thread.</p> +<p>Unlike ThreadsafeForwardingResult which this supercedes, no buffering takes +place - any event supplied to a StreamToQueue will be inserted into the +queue immediately.</p> +<p>Events are forwarded as a dict with a key <code class="docutils literal"><span class="pre">event</span></code> which is one of +<code class="docutils literal"><span class="pre">startTestRun</span></code>, <code class="docutils literal"><span class="pre">stopTestRun</span></code> or <code class="docutils literal"><span class="pre">status</span></code>. When <code class="docutils literal"><span class="pre">event</span></code> is +<code class="docutils literal"><span class="pre">status</span></code> the dict also has keys matching the keyword arguments +of <code class="docutils literal"><span class="pre">StreamResult.status</span></code>, otherwise it has one other key <code class="docutils literal"><span class="pre">result</span></code> which +is the result that invoked <code class="docutils literal"><span class="pre">startTestRun</span></code>.</p> +<dl class="method"> +<dt id="testtools.StreamToQueue.route_code"> +<code class="descname">route_code</code><span class="sig-paren">(</span><em>route_code</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.StreamToQueue.route_code" title="Permalink to this definition">¶</a></dt> +<dd><p>Adjust route_code on the way through.</p> +</dd></dl> + +</dd></dl> + +<dl class="class"> +<dt id="testtools.TestControl"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">TestControl</code><a class="headerlink" href="#testtools.TestControl" title="Permalink to this definition">¶</a></dt> +<dd><p>Controls a running test run, allowing it to be interrupted.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Variables:</th><td class="field-body"><strong>shouldStop</strong> – If True, tests should not run and should instead +return immediately. Similarly a TestSuite should check this between +each test and if set stop dispatching any new tests and return.</td> +</tr> +</tbody> +</table> +<dl class="method"> +<dt id="testtools.TestControl.stop"> +<code class="descname">stop</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TestControl.stop" title="Permalink to this definition">¶</a></dt> +<dd><p>Indicate that tests should stop running.</p> +</dd></dl> + +</dd></dl> + +<dl class="class"> +<dt id="testtools.ThreadsafeForwardingResult"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">ThreadsafeForwardingResult</code><span class="sig-paren">(</span><em>target</em>, <em>semaphore</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.ThreadsafeForwardingResult" title="Permalink to this definition">¶</a></dt> +<dd><p>A TestResult which ensures the target does not receive mixed up calls.</p> +<p>Multiple <code class="docutils literal"><span class="pre">ThreadsafeForwardingResults</span></code> can forward to the same target +result, and that target result will only ever receive the complete set of +events for one test at a time.</p> +<p>This is enforced using a semaphore, which further guarantees that tests +will be sent atomically even if the <code class="docutils literal"><span class="pre">ThreadsafeForwardingResults</span></code> are in +different threads.</p> +<p><code class="docutils literal"><span class="pre">ThreadsafeForwardingResult</span></code> is typically used by +<code class="docutils literal"><span class="pre">ConcurrentTestSuite</span></code>, which creates one <code class="docutils literal"><span class="pre">ThreadsafeForwardingResult</span></code> +per thread, each of which wraps of the TestResult that +<code class="docutils literal"><span class="pre">ConcurrentTestSuite.run()</span></code> is called with.</p> +<p>target.startTestRun() and target.stopTestRun() are called once for each +ThreadsafeForwardingResult that forwards to the same target. If the target +takes special action on these events, it should take care to accommodate +this.</p> +<p>time() and tags() calls are batched to be adjacent to the test result and +in the case of tags() are coerced into test-local scope, avoiding the +opportunity for bugs around global state in the target.</p> +<dl class="method"> +<dt id="testtools.ThreadsafeForwardingResult.tags"> +<code class="descname">tags</code><span class="sig-paren">(</span><em>new_tags</em>, <em>gone_tags</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.ThreadsafeForwardingResult.tags" title="Permalink to this definition">¶</a></dt> +<dd><p>See <cite>TestResult</cite>.</p> +</dd></dl> + +</dd></dl> + +<dl class="class"> +<dt id="testtools.TimestampingStreamResult"> +<em class="property">class </em><code class="descclassname">testtools.</code><code class="descname">TimestampingStreamResult</code><span class="sig-paren">(</span><em>target</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.TimestampingStreamResult" title="Permalink to this definition">¶</a></dt> +<dd><p>A StreamResult decorator that assigns a timestamp when none is present.</p> +<p>This is convenient for ensuring events are timestamped.</p> +</dd></dl> + +<dl class="function"> +<dt id="testtools.try_import"> +<code class="descclassname">testtools.</code><code class="descname">try_import</code><span class="sig-paren">(</span><em>name</em>, <em>alternative=None</em>, <em>error_callback=None</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.try_import" title="Permalink to this definition">¶</a></dt> +<dd><p>Attempt to import <code class="docutils literal"><span class="pre">name</span></code>. If it fails, return <code class="docutils literal"><span class="pre">alternative</span></code>.</p> +<p>When supporting multiple versions of Python or optional dependencies, it +is useful to be able to try to import a module.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> +<li><strong>name</strong> – The name of the object to import, e.g. <code class="docutils literal"><span class="pre">os.path</span></code> or +<code class="docutils literal"><span class="pre">os.path.join</span></code>.</li> +<li><strong>alternative</strong> – The value to return if no module can be imported. +Defaults to None.</li> +<li><strong>error_callback</strong> – If non-None, a callable that is passed the ImportError +when the module cannot be loaded.</li> +</ul> +</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="function"> +<dt id="testtools.try_imports"> +<code class="descclassname">testtools.</code><code class="descname">try_imports</code><span class="sig-paren">(</span><em>module_names</em>, <em>alternative=<object object at 0x26e2180></em>, <em>error_callback=None</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.try_imports" title="Permalink to this definition">¶</a></dt> +<dd><p>Attempt to import modules.</p> +<p>Tries to import the first module in <code class="docutils literal"><span class="pre">module_names</span></code>. If it can be +imported, we return it. If not, we go on to the second module and try +that. The process continues until we run out of modules to try. If none +of the modules can be imported, either raise an exception or return the +provided <code class="docutils literal"><span class="pre">alternative</span></code> value.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> +<li><strong>module_names</strong> – A sequence of module names to try to import.</li> +<li><strong>alternative</strong> – The value to return if no module can be imported. +If unspecified, we raise an ImportError.</li> +<li><strong>error_callback</strong> – If None, called with the ImportError for <em>each</em> +module that fails to load.</li> +</ul> +</td> +</tr> +<tr class="field-even field"><th class="field-name" colspan="2">Raises ImportError:</th></tr> +<tr class="field-even field"><td> </td><td class="field-body"><p class="first last">If none of the modules can be imported and no +alternative value was specified.</p> +</td> +</tr> +</tbody> +</table> +</dd></dl> + +</div> +<div class="section" id="module-testtools.matchers"> +<span id="testtools-matchers"></span><h2>testtools.matchers<a class="headerlink" href="#module-testtools.matchers" title="Permalink to this headline">¶</a></h2> +<p>All the matchers.</p> +<p>Matchers, a way to express complex assertions outside the testcase.</p> +<p>Inspired by ‘hamcrest’.</p> +<p>Matcher provides the abstract API that all matchers need to implement.</p> +<p>Bundled matchers are listed in __all__: a list can be obtained by running +$ python -c ‘import testtools.matchers; print testtools.matchers.__all__’</p> +<dl class="class"> +<dt id="testtools.matchers.AfterPreprocessing"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">AfterPreprocessing</code><span class="sig-paren">(</span><em>preprocessor</em>, <em>matcher</em>, <em>annotate=True</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.AfterPreprocessing" title="Permalink to this definition">¶</a></dt> +<dd><p>Matches if the value matches after passing through a function.</p> +<p>This can be used to aid in creating trivial matchers as functions, for +example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">PathHasFileContent</span><span class="p">(</span><span class="n">content</span><span class="p">):</span> + <span class="k">def</span> <span class="nf">_read</span><span class="p">(</span><span class="n">path</span><span class="p">):</span> + <span class="k">return</span> <span class="nb">open</span><span class="p">(</span><span class="n">path</span><span class="p">)</span><span class="o">.</span><span class="n">read</span><span class="p">()</span> + <span class="k">return</span> <span class="n">AfterPreprocessing</span><span class="p">(</span><span class="n">_read</span><span class="p">,</span> <span class="n">Equals</span><span class="p">(</span><span class="n">content</span><span class="p">))</span> +</pre></div> +</div> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.AllMatch"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">AllMatch</code><span class="sig-paren">(</span><em>matcher</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.AllMatch" title="Permalink to this definition">¶</a></dt> +<dd><p>Matches if all provided values match the given matcher.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.Annotate"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">Annotate</code><span class="sig-paren">(</span><em>annotation</em>, <em>matcher</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.Annotate" title="Permalink to this definition">¶</a></dt> +<dd><p>Annotates a matcher with a descriptive string.</p> +<p>Mismatches are then described as ‘<mismatch>: <annotation>’.</p> +<dl class="classmethod"> +<dt id="testtools.matchers.Annotate.if_message"> +<em class="property">classmethod </em><code class="descname">if_message</code><span class="sig-paren">(</span><em>annotation</em>, <em>matcher</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.Annotate.if_message" title="Permalink to this definition">¶</a></dt> +<dd><p>Annotate <code class="docutils literal"><span class="pre">matcher</span></code> only if <code class="docutils literal"><span class="pre">annotation</span></code> is non-empty.</p> +</dd></dl> + +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.AnyMatch"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">AnyMatch</code><span class="sig-paren">(</span><em>matcher</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.AnyMatch" title="Permalink to this definition">¶</a></dt> +<dd><p>Matches if any of the provided values match the given matcher.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.Contains"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">Contains</code><span class="sig-paren">(</span><em>needle</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.Contains" title="Permalink to this definition">¶</a></dt> +<dd><p>Checks whether something is contained in another thing.</p> +</dd></dl> + +<dl class="function"> +<dt id="testtools.matchers.ContainsAll"> +<code class="descclassname">testtools.matchers.</code><code class="descname">ContainsAll</code><span class="sig-paren">(</span><em>items</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.ContainsAll" title="Permalink to this definition">¶</a></dt> +<dd><p>Make a matcher that checks whether a list of things is contained +in another thing.</p> +<p>The matcher effectively checks that the provided sequence is a subset of +the matchee.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.ContainedByDict"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">ContainedByDict</code><span class="sig-paren">(</span><em>expected</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.ContainedByDict" title="Permalink to this definition">¶</a></dt> +<dd><p>Match a dictionary for which this is a super-dictionary.</p> +<p>Specify a dictionary mapping keys (often strings) to matchers. This is +the ‘expected’ dict. Any dictionary that matches this must have <strong>only</strong> +these keys, and the values must match the corresponding matchers in the +expected dict. Dictionaries that have fewer keys can also match.</p> +<p>In other words, any matching dictionary must be contained by the +dictionary given to the constructor.</p> +<p>Does not check for strict super-dictionary. That is, equal dictionaries +match.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.ContainsDict"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">ContainsDict</code><span class="sig-paren">(</span><em>expected</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.ContainsDict" title="Permalink to this definition">¶</a></dt> +<dd><p>Match a dictionary for that contains a specified sub-dictionary.</p> +<p>Specify a dictionary mapping keys (often strings) to matchers. This is +the ‘expected’ dict. Any dictionary that matches this must have <strong>at +least</strong> these keys, and the values must match the corresponding matchers +in the expected dict. Dictionaries that have more keys will also match.</p> +<p>In other words, any matching dictionary must contain the dictionary given +to the constructor.</p> +<p>Does not check for strict sub-dictionary. That is, equal dictionaries +match.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.DirContains"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">DirContains</code><span class="sig-paren">(</span><em>filenames=None</em>, <em>matcher=None</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.DirContains" title="Permalink to this definition">¶</a></dt> +<dd><p>Matches if the given directory contains files with the given names.</p> +<p>That is, is the directory listing exactly equal to the given files?</p> +</dd></dl> + +<dl class="function"> +<dt id="testtools.matchers.DirExists"> +<code class="descclassname">testtools.matchers.</code><code class="descname">DirExists</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.DirExists" title="Permalink to this definition">¶</a></dt> +<dd><p>Matches if the path exists and is a directory.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.DocTestMatches"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">DocTestMatches</code><span class="sig-paren">(</span><em>example</em>, <em>flags=0</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.DocTestMatches" title="Permalink to this definition">¶</a></dt> +<dd><p>See if a string matches a doctest example.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.EndsWith"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">EndsWith</code><span class="sig-paren">(</span><em>expected</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.EndsWith" title="Permalink to this definition">¶</a></dt> +<dd><p>Checks whether one string ends with another.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.Equals"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">Equals</code><span class="sig-paren">(</span><em>expected</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.Equals" title="Permalink to this definition">¶</a></dt> +<dd><p>Matches if the items are equal.</p> +<dl class="method"> +<dt id="testtools.matchers.Equals.comparator"> +<code class="descname">comparator</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.Equals.comparator" title="Permalink to this definition">¶</a></dt> +<dd><p>eq(a, b) – Same as a==b.</p> +</dd></dl> + +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.FileContains"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">FileContains</code><span class="sig-paren">(</span><em>contents=None</em>, <em>matcher=None</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.FileContains" title="Permalink to this definition">¶</a></dt> +<dd><p>Matches if the given file has the specified contents.</p> +</dd></dl> + +<dl class="function"> +<dt id="testtools.matchers.FileExists"> +<code class="descclassname">testtools.matchers.</code><code class="descname">FileExists</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.FileExists" title="Permalink to this definition">¶</a></dt> +<dd><p>Matches if the given path exists and is a file.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.GreaterThan"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">GreaterThan</code><span class="sig-paren">(</span><em>expected</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.GreaterThan" title="Permalink to this definition">¶</a></dt> +<dd><p>Matches if the item is greater than the matchers reference object.</p> +<dl class="method"> +<dt id="testtools.matchers.GreaterThan.comparator"> +<code class="descname">comparator</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.GreaterThan.comparator" title="Permalink to this definition">¶</a></dt> +<dd><p>gt(a, b) – Same as a>b.</p> +</dd></dl> + +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.HasPermissions"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">HasPermissions</code><span class="sig-paren">(</span><em>octal_permissions</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.HasPermissions" title="Permalink to this definition">¶</a></dt> +<dd><p>Matches if a file has the given permissions.</p> +<p>Permissions are specified and matched as a four-digit octal string.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.Is"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">Is</code><span class="sig-paren">(</span><em>expected</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.Is" title="Permalink to this definition">¶</a></dt> +<dd><p>Matches if the items are identical.</p> +<dl class="method"> +<dt id="testtools.matchers.Is.comparator"> +<code class="descname">comparator</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.Is.comparator" title="Permalink to this definition">¶</a></dt> +<dd><p>is_(a, b) – Same as a is b.</p> +</dd></dl> + +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.IsInstance"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">IsInstance</code><span class="sig-paren">(</span><em>*types</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.IsInstance" title="Permalink to this definition">¶</a></dt> +<dd><p>Matcher that wraps isinstance.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.KeysEqual"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">KeysEqual</code><span class="sig-paren">(</span><em>*expected</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.KeysEqual" title="Permalink to this definition">¶</a></dt> +<dd><p>Checks whether a dict has particular keys.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.LessThan"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">LessThan</code><span class="sig-paren">(</span><em>expected</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.LessThan" title="Permalink to this definition">¶</a></dt> +<dd><p>Matches if the item is less than the matchers reference object.</p> +<dl class="method"> +<dt id="testtools.matchers.LessThan.comparator"> +<code class="descname">comparator</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.LessThan.comparator" title="Permalink to this definition">¶</a></dt> +<dd><p>lt(a, b) – Same as a<b.</p> +</dd></dl> + +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.MatchesAll"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">MatchesAll</code><span class="sig-paren">(</span><em>*matchers</em>, <em>**options</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.MatchesAll" title="Permalink to this definition">¶</a></dt> +<dd><p>Matches if all of the matchers it is created with match.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.MatchesAny"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">MatchesAny</code><span class="sig-paren">(</span><em>*matchers</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.MatchesAny" title="Permalink to this definition">¶</a></dt> +<dd><p>Matches if any of the matchers it is created with match.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.MatchesDict"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">MatchesDict</code><span class="sig-paren">(</span><em>expected</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.MatchesDict" title="Permalink to this definition">¶</a></dt> +<dd><p>Match a dictionary exactly, by its keys.</p> +<p>Specify a dictionary mapping keys (often strings) to matchers. This is +the ‘expected’ dict. Any dictionary that matches this must have exactly +the same keys, and the values must match the corresponding matchers in the +expected dict.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.MatchesException"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">MatchesException</code><span class="sig-paren">(</span><em>exception</em>, <em>value_re=None</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.MatchesException" title="Permalink to this definition">¶</a></dt> +<dd><p>Match an exc_info tuple against an exception instance or type.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.MatchesListwise"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">MatchesListwise</code><span class="sig-paren">(</span><em>matchers</em>, <em>first_only=False</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.MatchesListwise" title="Permalink to this definition">¶</a></dt> +<dd><p>Matches if each matcher matches the corresponding value.</p> +<p>More easily explained by example than in words:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="gp">>>> </span><span class="kn">from</span> <span class="nn">._basic</span> <span class="kn">import</span> <span class="n">Equals</span> +<span class="gp">>>> </span><span class="n">MatchesListwise</span><span class="p">([</span><span class="n">Equals</span><span class="p">(</span><span class="mi">1</span><span class="p">)])</span><span class="o">.</span><span class="n">match</span><span class="p">([</span><span class="mi">1</span><span class="p">])</span> +<span class="gp">>>> </span><span class="n">MatchesListwise</span><span class="p">([</span><span class="n">Equals</span><span class="p">(</span><span class="mi">1</span><span class="p">),</span> <span class="n">Equals</span><span class="p">(</span><span class="mi">2</span><span class="p">)])</span><span class="o">.</span><span class="n">match</span><span class="p">([</span><span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">])</span> +<span class="gp">>>> </span><span class="k">print</span> <span class="p">(</span><span class="n">MatchesListwise</span><span class="p">([</span><span class="n">Equals</span><span class="p">(</span><span class="mi">1</span><span class="p">),</span> <span class="n">Equals</span><span class="p">(</span><span class="mi">2</span><span class="p">)])</span><span class="o">.</span><span class="n">match</span><span class="p">([</span><span class="mi">2</span><span class="p">,</span> <span class="mi">1</span><span class="p">])</span><span class="o">.</span><span class="n">describe</span><span class="p">())</span> +<span class="go">Differences: [</span> +<span class="go">1 != 2</span> +<span class="go">2 != 1</span> +<span class="go">]</span> +<span class="gp">>>> </span><span class="n">matcher</span> <span class="o">=</span> <span class="n">MatchesListwise</span><span class="p">([</span><span class="n">Equals</span><span class="p">(</span><span class="mi">1</span><span class="p">),</span> <span class="n">Equals</span><span class="p">(</span><span class="mi">2</span><span class="p">)],</span> <span class="n">first_only</span><span class="o">=</span><span class="bp">True</span><span class="p">)</span> +<span class="gp">>>> </span><span class="k">print</span> <span class="p">(</span><span class="n">matcher</span><span class="o">.</span><span class="n">match</span><span class="p">([</span><span class="mi">3</span><span class="p">,</span> <span class="mi">4</span><span class="p">])</span><span class="o">.</span><span class="n">describe</span><span class="p">())</span> +<span class="go">1 != 3</span> +</pre></div> +</div> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.MatchesPredicate"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">MatchesPredicate</code><span class="sig-paren">(</span><em>predicate</em>, <em>message</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.MatchesPredicate" title="Permalink to this definition">¶</a></dt> +<dd><p>Match if a given function returns True.</p> +<p>It is reasonably common to want to make a very simple matcher based on a +function that you already have that returns True or False given a single +argument (i.e. a predicate function). This matcher makes it very easy to +do so. e.g.:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="n">IsEven</span> <span class="o">=</span> <span class="n">MatchesPredicate</span><span class="p">(</span><span class="k">lambda</span> <span class="n">x</span><span class="p">:</span> <span class="n">x</span> <span class="o">%</span> <span class="mi">2</span> <span class="o">==</span> <span class="mi">0</span><span class="p">,</span> <span class="s">'</span><span class="si">%s</span><span class="s"> is not even'</span><span class="p">)</span> +<span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="mi">4</span><span class="p">,</span> <span class="n">IsEven</span><span class="p">)</span> +</pre></div> +</div> +</dd></dl> + +<dl class="function"> +<dt id="testtools.matchers.MatchesPredicateWithParams"> +<code class="descclassname">testtools.matchers.</code><code class="descname">MatchesPredicateWithParams</code><span class="sig-paren">(</span><em>predicate</em>, <em>message</em>, <em>name=None</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.MatchesPredicateWithParams" title="Permalink to this definition">¶</a></dt> +<dd><p>Match if a given parameterised function returns True.</p> +<p>It is reasonably common to want to make a very simple matcher based on a +function that you already have that returns True or False given some +arguments. This matcher makes it very easy to do so. e.g.:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="n">HasLength</span> <span class="o">=</span> <span class="n">MatchesPredicate</span><span class="p">(</span> + <span class="k">lambda</span> <span class="n">x</span><span class="p">,</span> <span class="n">y</span><span class="p">:</span> <span class="nb">len</span><span class="p">(</span><span class="n">x</span><span class="p">)</span> <span class="o">==</span> <span class="n">y</span><span class="p">,</span> <span class="s">'len({0}) is not {1}'</span><span class="p">)</span> +<span class="c"># This assertion will fail, as 'len([1, 2]) == 3' is False.</span> +<span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">([</span><span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">],</span> <span class="n">HasLength</span><span class="p">(</span><span class="mi">3</span><span class="p">))</span> +</pre></div> +</div> +<p>Note that unlike MatchesPredicate MatchesPredicateWithParams returns a +factory which you then customise to use by constructing an actual matcher +from it.</p> +<p>The predicate function should take the object to match as its first +parameter. Any additional parameters supplied when constructing a matcher +are supplied to the predicate as additional parameters when checking for a +match.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> +<li><strong>predicate</strong> – The predicate function.</li> +<li><strong>message</strong> – A format string for describing mis-matches.</li> +<li><strong>name</strong> – Optional replacement name for the matcher.</li> +</ul> +</td> +</tr> +</tbody> +</table> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.MatchesRegex"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">MatchesRegex</code><span class="sig-paren">(</span><em>pattern</em>, <em>flags=0</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.MatchesRegex" title="Permalink to this definition">¶</a></dt> +<dd><p>Matches if the matchee is matched by a regular expression.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.MatchesSetwise"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">MatchesSetwise</code><span class="sig-paren">(</span><em>*matchers</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.MatchesSetwise" title="Permalink to this definition">¶</a></dt> +<dd><p>Matches if all the matchers match elements of the value being matched.</p> +<p>That is, each element in the ‘observed’ set must match exactly one matcher +from the set of matchers, with no matchers left over.</p> +<p>The difference compared to <cite>MatchesListwise</cite> is that the order of the +matchings does not matter.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.MatchesStructure"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">MatchesStructure</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.MatchesStructure" title="Permalink to this definition">¶</a></dt> +<dd><p>Matcher that matches an object structurally.</p> +<p>‘Structurally’ here means that attributes of the object being matched are +compared against given matchers.</p> +<p><cite>fromExample</cite> allows the creation of a matcher from a prototype object and +then modified versions can be created with <cite>update</cite>.</p> +<p><cite>byEquality</cite> creates a matcher in much the same way as the constructor, +except that the matcher for each of the attributes is assumed to be +<cite>Equals</cite>.</p> +<p><cite>byMatcher</cite> creates a similar matcher to <cite>byEquality</cite>, but you get to pick +the matcher, rather than just using <cite>Equals</cite>.</p> +<dl class="classmethod"> +<dt id="testtools.matchers.MatchesStructure.byEquality"> +<em class="property">classmethod </em><code class="descname">byEquality</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.MatchesStructure.byEquality" title="Permalink to this definition">¶</a></dt> +<dd><p>Matches an object where the attributes equal the keyword values.</p> +<p>Similar to the constructor, except that the matcher is assumed to be +Equals.</p> +</dd></dl> + +<dl class="classmethod"> +<dt id="testtools.matchers.MatchesStructure.byMatcher"> +<em class="property">classmethod </em><code class="descname">byMatcher</code><span class="sig-paren">(</span><em>matcher</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.MatchesStructure.byMatcher" title="Permalink to this definition">¶</a></dt> +<dd><p>Matches an object where the attributes match the keyword values.</p> +<p>Similar to the constructor, except that the provided matcher is used +to match all of the values.</p> +</dd></dl> + +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.NotEquals"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">NotEquals</code><span class="sig-paren">(</span><em>expected</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.NotEquals" title="Permalink to this definition">¶</a></dt> +<dd><p>Matches if the items are not equal.</p> +<p>In most cases, this is equivalent to <code class="docutils literal"><span class="pre">Not(Equals(foo))</span></code>. The difference +only matters when testing <code class="docutils literal"><span class="pre">__ne__</span></code> implementations.</p> +<dl class="method"> +<dt id="testtools.matchers.NotEquals.comparator"> +<code class="descname">comparator</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.NotEquals.comparator" title="Permalink to this definition">¶</a></dt> +<dd><p>ne(a, b) – Same as a!=b.</p> +</dd></dl> + +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.Not"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">Not</code><span class="sig-paren">(</span><em>matcher</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.Not" title="Permalink to this definition">¶</a></dt> +<dd><p>Inverts a matcher.</p> +</dd></dl> + +<dl class="function"> +<dt id="testtools.matchers.PathExists"> +<code class="descclassname">testtools.matchers.</code><code class="descname">PathExists</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.PathExists" title="Permalink to this definition">¶</a></dt> +<dd><p>Matches if the given path exists.</p> +<p>Use like this:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="n">assertThat</span><span class="p">(</span><span class="s">'/some/path'</span><span class="p">,</span> <span class="n">PathExists</span><span class="p">())</span> +</pre></div> +</div> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.Raises"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">Raises</code><span class="sig-paren">(</span><em>exception_matcher=None</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.Raises" title="Permalink to this definition">¶</a></dt> +<dd><p>Match if the matchee raises an exception when called.</p> +<p>Exceptions which are not subclasses of Exception propogate out of the +Raises.match call unless they are explicitly matched.</p> +</dd></dl> + +<dl class="function"> +<dt id="testtools.matchers.raises"> +<code class="descclassname">testtools.matchers.</code><code class="descname">raises</code><span class="sig-paren">(</span><em>exception</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.raises" title="Permalink to this definition">¶</a></dt> +<dd><p>Make a matcher that checks that a callable raises an exception.</p> +<p>This is a convenience function, exactly equivalent to:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">return</span> <span class="n">Raises</span><span class="p">(</span><span class="n">MatchesException</span><span class="p">(</span><span class="n">exception</span><span class="p">))</span> +</pre></div> +</div> +<p>See <cite>Raises</cite> and <cite>MatchesException</cite> for more information.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.SamePath"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">SamePath</code><span class="sig-paren">(</span><em>path</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.SamePath" title="Permalink to this definition">¶</a></dt> +<dd><p>Matches if two paths are the same.</p> +<p>That is, the paths are equal, or they point to the same file but in +different ways. The paths do not have to exist.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.StartsWith"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">StartsWith</code><span class="sig-paren">(</span><em>expected</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.StartsWith" title="Permalink to this definition">¶</a></dt> +<dd><p>Checks whether one string starts with another.</p> +</dd></dl> + +<dl class="class"> +<dt id="testtools.matchers.TarballContains"> +<em class="property">class </em><code class="descclassname">testtools.matchers.</code><code class="descname">TarballContains</code><span class="sig-paren">(</span><em>paths</em><span class="sig-paren">)</span><a class="headerlink" href="#testtools.matchers.TarballContains" title="Permalink to this definition">¶</a></dt> +<dd><p>Matches if the given tarball contains the given paths.</p> +<p>Uses TarFile.getnames() to get the paths out of the tarball.</p> +</dd></dl> + +</div> +</div> + + + </div> + </div> + </div> + <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> + <div class="sphinxsidebarwrapper"> + <h3><a href="index.html">Table Of Contents</a></h3> + <ul> +<li><a class="reference internal" href="#">testtools API documentation</a><ul> +<li><a class="reference internal" href="#module-testtools">testtools</a></li> +<li><a class="reference internal" href="#module-testtools.matchers">testtools.matchers</a></li> +</ul> +</li> +</ul> + + <h4>Previous topic</h4> + <p class="topless"><a href="news.html" + title="previous chapter">testtools NEWS</a></p> + <div role="note" aria-label="source link"> + <h3>This Page</h3> + <ul class="this-page-menu"> + <li><a href="_sources/api.txt" + rel="nofollow">Show Source</a></li> + </ul> + </div> +<div id="searchbox" style="display: none" role="search"> + <h3>Quick search</h3> + <form class="search" action="search.html" method="get"> + <input type="text" name="q" /> + <input type="submit" value="Go" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> + <p class="searchtip" style="font-size: 90%"> + Enter search terms or a module, class or function name. + </p> +</div> +<script type="text/javascript">$('#searchbox').show(0);</script> + </div> + </div> + <div class="clearer"></div> + </div> + <div class="related" role="navigation" aria-label="related navigation"> + <h3>Navigation</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="genindex.html" title="General Index" + >index</a></li> + <li class="right" > + <a href="py-modindex.html" title="Python Module Index" + >modules</a> |</li> + <li class="right" > + <a href="news.html" title="testtools NEWS" + >previous</a> |</li> + <li class="nav-item nav-item-0"><a href="index.html">testtools VERSION documentation</a> »</li> + </ul> + </div> + <div class="footer" role="contentinfo"> + © Copyright 2010, The testtools authors. + Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1. + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/apidocs.css b/apidocs/apidocs.css new file mode 100644 index 0000000..1a7a337 --- /dev/null +++ b/apidocs/apidocs.css @@ -0,0 +1,210 @@ +.navbar { + margin-bottom: 0px; +} + +.page-header { + margin-top: 22px; +} + + +ul { + margin-top: 10px; + padding-left: 10px; + list-style-type: none; +} + +li { + padding-top: 5px; + padding-bottom: 5px; +} + +li a { + text-decoration: none; +} + +ul { + margin-left: 10px; +} + +ul ul { + border-left-color: #e1f5fe; + border-left-width: 1px; + border-left-style: solid; +} + +ul ul ul { + border-left-color: #b3e5fc; +} + +ul ul ul ul { + border-left-color: #81d4fa; +} + +ul ul ul ul ul { + border-left-color: #4fc3f7; +} + +ul ul ul ul ul ul { + border-left-color: #29b6f6; +} + +ul ul ul ul ul ul ul { + border-left-color: #03a9f4; +} + +ul ul ul ul ul ul ul { + border-left-color: #039be5; +} + +.undocumented { + font-style: italic; + color: #9e9e9e; +} + +.functionBody p { + margin-top: 6px; + margin-bottom: 6px; +} + +#splitTables > p { + margin-bottom: 5px; +} + +#splitTables > table, .fieldTable { + margin-bottom: 20px; + width: 100%; + border: 0; +} + +#splitTables > table { + border: 1px solid #eee; +} + +#splitTables > table tr { + border-bottom-color: #eee; + border-bottom-width: 1px; + border-bottom-style: solid; +} + +#splitTables > table tr td, .fieldTable tr td { + padding: 5px; +} + +#splitTables > table tr td { + border-left-color: #eee; + border-left-width: 1px; + border-left-style: solid; +} + +#splitTables > table tr td:nth-child(1), .fieldTable tr td:nth-child(1) { + border-left: none; + width: 150px; +} + +#splitTables > table tr td:nth-child(2), .fieldTable tr td.fieldArg { + font-family: Menlo,Monaco,Consolas,"Courier New",monospace; + width: 200px; +} + +tr.package { + background-color: #fff3e0; +} + +tr.module { + background-color: #fff8e1; +} + +tr.class { + background-color: #fffde7; +} + +tr.instancevariable, tr.variable, tr.baseclassvariable, tr.attribute { + background-color: #f3e5f5; +} + +tr.interface { + background-color: #fbe9e7; +} + +tr.method, tr.function, tr.basemethod, tr.baseclassmethod, tr.classmethod { + background-color: #f1f8e9; +} + +tr.private { + background-color: #f1f1f1; +} + +.fieldTable { + margin-top: 10px; +} + + +#childList > div { + margin: 20px; + padding: 15px; + padding-bottom: 5px; +} + +.functionBody { + margin-left: 15px; +} + +.functionBody > #part { + font-style: italic; +} + +.functionBody > #part > a { + text-decoration: none; +} + +.functionBody .interfaceinfo { + font-style: italic; + margin-bottom: 3px; +} + +.functionBody > .undocumented { + + margin-top: 6px; + margin-bottom: 6px; +} + +.code { + font-family: Menlo,Monaco,Consolas,"Courier New",monospace; + padding:2px 4px; + font-size:90%; + color:#c7254e; + background-color:#f9f2f4; + border-radius:4px +} + +code > .code { + padding: 0px; +} + + +div.function { + border-left-color: #03a9f4; + border-left-width: 1px; + border-left-style: solid; +} + +div.function .functionHeader { + font-family: monospace; +} + +.moduleDocstring { + margin: 20px; +} + +#partOf { + margin-top: -13px; + margin-bottom: 19px; +} + +.fromInitPy { + font-style: italic; +} + +pre { + padding-left: 0px; +} diff --git a/apidocs/bootstrap.min.css b/apidocs/bootstrap.min.css new file mode 100644 index 0000000..cd1c616 --- /dev/null +++ b/apidocs/bootstrap.min.css @@ -0,0 +1,5 @@ +/*! + * Bootstrap v3.3.4 (http://getbootstrap.com) + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + *//*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{color:#000!important;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}select{background:#fff!important}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-btc:before{content:"\e227"}.glyphicon-xbt:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-jpy:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-rub:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{padding:.2em;background-color:#fcf8e3}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;margin-left:-5px;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=checkbox]:focus,input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date],input[type=time],input[type=datetime-local],input[type=month]{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=time],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],input[type=date].input-sm,input[type=time].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=time],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],input[type=date].input-lg,input[type=time].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox],.radio input[type=radio],.radio-inline input[type=radio]{position:absolute;margin-top:4px \9;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.checkbox-inline.disabled,.radio-inline.disabled,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio-inline{cursor:not-allowed}.checkbox.disabled label,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .radio label{cursor:not-allowed}.form-control-static{min-height:34px;padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.form-group-sm .form-control{height:30px;line-height:30px}select[multiple].form-group-sm .form-control,textarea.form-group-sm .form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:5px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.form-group-lg .form-control{height:46px;line-height:46px}select[multiple].form-group-lg .form-control,textarea.form-group-lg .form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:10px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.checkbox label,.has-success.checkbox-inline label,.has-success.radio label,.has-success.radio-inline label{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:14.33px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.active,.btn-default.focus,.btn-default:active,.btn-default:focus,.btn-default:hover,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled.focus,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled].focus,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.active,.btn-primary.focus,.btn-primary:active,.btn-primary:focus,.btn-primary:hover,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.active,.btn-success.focus,.btn-success:active,.btn-success:focus,.btn-success:hover,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success.disabled.active,.btn-success.disabled.focus,.btn-success.disabled:active,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled],.btn-success[disabled].active,.btn-success[disabled].focus,.btn-success[disabled]:active,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success,fieldset[disabled] .btn-success.active,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:active,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.active,.btn-info.focus,.btn-info:active,.btn-info:focus,.btn-info:hover,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info.disabled.active,.btn-info.disabled.focus,.btn-info.disabled:active,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled],.btn-info[disabled].active,.btn-info[disabled].focus,.btn-info[disabled]:active,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info,fieldset[disabled] .btn-info.active,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:active,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning.active,.btn-warning.focus,.btn-warning:active,.btn-warning:focus,.btn-warning:hover,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning.disabled.active,.btn-warning.disabled.focus,.btn-warning.disabled:active,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled],.btn-warning[disabled].active,.btn-warning[disabled].focus,.btn-warning[disabled]:active,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning,fieldset[disabled] .btn-warning.active,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:active,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.active,.btn-danger.focus,.btn-danger:active,.btn-danger:focus,.btn-danger:hover,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger.disabled.active,.btn-danger.disabled.focus,.btn-danger.disabled:active,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled],.btn-danger[disabled].active,.btn-danger[disabled].focus,.btn-danger[disabled]:active,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger,fieldset[disabled] .btn-danger.active,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:active,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#337ab7;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px solid}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group .form-control,.input-group-addon,.input-group-btn{display:table-cell}.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px)and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:focus,.label-success[href]:hover{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px 15px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron .h1,.jumbotron h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding:48px 0}.container .jumbotron,.container-fluid .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail a>img,.thumbnail>img{margin-right:auto;margin-left:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#337ab7}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{overflow:hidden;zoom:1}.media-body{width:10000px}.media-object{display:block}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-collapse>.table caption,.panel>.table caption,.panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{min-height:16.43px;padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:400;line-height:1.4;filter:alpha(opacity=0);opacity:0}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px;bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:400;line-height:1.42857143;text-align:left;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2)}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:"";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000;perspective:1000}.carousel-inner>.item.active.right,.carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{left:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;margin-top:-10px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-15px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-15px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-md,.visible-sm,.visible-xs{display:none!important}.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px)and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px)and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px)and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px)and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px)and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:992px)and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px)and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px)and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px)and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px)and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}}
\ No newline at end of file diff --git a/apidocs/classIndex.html b/apidocs/classIndex.html new file mode 100644 index 0000000..6967a63 --- /dev/null +++ b/apidocs/classIndex.html @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>Class Hierarchy</title> + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + <nav class="navbar navbar-default"> + <div class="container"> + + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + testtools API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1>Class Hierarchy</h1> + </div> + + <ul> + <li><code>AssertionError</code><ul><li><a name="testtools.matchers._impl.MismatchError"></a><a href="testtools.matchers._impl.MismatchError.html" class="code">testtools.matchers._impl.MismatchError</a> - <span>Raised when a mismatch occurs.</span></li></ul></li><li><code>datetime.tzinfo</code><ul><li><a name="testtools.testresult.real.UTC"></a><a href="testtools.testresult.real.UTC.html" class="code">testtools.testresult.real.UTC</a> - <span>UTC</span></li></ul></li><li><code>distutils.core.Command</code><ul><li><a name="testtools.TestCommand"></a><a href="testtools.TestCommand.html" class="code">testtools.TestCommand</a> - <span>Command to run unit tests with testtools</span></li></ul></li><li><code>doctest.OutputChecker</code><ul><li><a name="testtools.matchers._doctest._NonManglingOutputChecker"></a><a href="testtools.matchers._doctest._NonManglingOutputChecker.html" class="code">testtools.matchers._doctest._NonManglingOutputChecker</a> - <span>Doctest checker that works with unicode rather than mangling strings</span></li></ul></li><li><code>Exception</code><ul><li><a name="testtools._spinner.DeferredNotFired"></a><a href="testtools._spinner.DeferredNotFired.html" class="code">testtools._spinner.DeferredNotFired</a> - <span>Raised when we extract a result from a Deferred that's not fired yet.</span></li><li><a name="testtools._spinner.NoResultError"></a><a href="testtools._spinner.NoResultError.html" class="code">testtools._spinner.NoResultError</a> - <span>Raised when the reactor has stopped but we don't have any result.</span></li><li><a name="testtools._spinner.ReentryError"></a><a href="testtools._spinner.ReentryError.html" class="code">testtools._spinner.ReentryError</a> - <span>Raised when we try to re-enter a function that forbids it.</span></li><li><a name="testtools._spinner.StaleJunkError"></a><a href="testtools._spinner.StaleJunkError.html" class="code">testtools._spinner.StaleJunkError</a> - <span>Raised when there's junk in the spinner from a previous run.</span></li><li><a name="testtools._spinner.TimeoutError"></a><a href="testtools._spinner.TimeoutError.html" class="code">testtools._spinner.TimeoutError</a> - <span>Raised when run_in_reactor takes too long to run a function.</span></li><li><a name="testtools.deferredruntest.UncleanReactorError"></a><a href="testtools.deferredruntest.UncleanReactorError.html" class="code">testtools.deferredruntest.UncleanReactorError</a> - <span>Raised when the reactor has junk in it.</span></li><li><a name="testtools.runtest.MultipleExceptions"></a><a href="testtools.runtest.MultipleExceptions.html" class="code">testtools.runtest.MultipleExceptions</a> - <span>Represents many exceptions raised from some operation.</span></li><li><a name="testtools.testcase._ExpectedFailure"></a><a href="testtools.testcase._ExpectedFailure.html" class="code">testtools.testcase._ExpectedFailure</a> - <span>An expected failure occured.</span></li><li><a name="testtools.testcase._UnexpectedSuccess"></a><a href="testtools.testcase._UnexpectedSuccess.html" class="code">testtools.testcase._UnexpectedSuccess</a> - <span>An unexpected success was raised.</span></li><li><a name="testtools.testcase.TestSkipped"></a><a href="testtools.testcase.TestSkipped.html" class="code">testtools.testcase.TestSkipped</a> - <span>Raised within TestCase.run() when a test is skipped.</span></li><li><a name="testtools.testresult.real._StringException"></a><a href="testtools.testresult.real._StringException.html" class="code">testtools.testresult.real._StringException</a> - <span>An exception made from an arbitrary string.</span></li></ul></li><li><code>fixtures.Fixture</code><ul><li><a name="testtools.tests.test_distutilscmd.SampleTestFixture"></a><a href="testtools.tests.test_distutilscmd.SampleTestFixture.html" class="code">testtools.tests.test_distutilscmd.SampleTestFixture</a> - <span>Creates testtools.runexample temporarily.</span></li><li><a name="testtools.tests.test_run.SampleLoadTestsPackage"></a><a href="testtools.tests.test_run.SampleLoadTestsPackage.html" class="code">testtools.tests.test_run.SampleLoadTestsPackage</a> - <span>Creates a test suite package using load_tests.</span></li><li><a name="testtools.tests.test_run.SampleResourcedFixture"></a><a href="testtools.tests.test_run.SampleResourcedFixture.html" class="code">testtools.tests.test_run.SampleResourcedFixture</a> - <span>Creates a test suite that uses testresources.</span></li><li><a name="testtools.tests.test_run.SampleTestFixture"></a><a href="testtools.tests.test_run.SampleTestFixture.html" class="code">testtools.tests.test_run.SampleTestFixture</a> - <span>Creates testtools.runexample temporarily.</span></li></ul></li><li><code>object</code><ul><li><a name="testtools._spinner.Spinner"></a><a href="testtools._spinner.Spinner.html" class="code">testtools._spinner.Spinner</a> - <span>Spin the reactor until a function is done.</span></li><li><a name="testtools.content.Content"></a><a href="testtools.content.Content.html" class="code">testtools.content.Content</a> - <span>A MIME-like Content object.</span><ul><li><a name="testtools.content.StackLinesContent"></a><a href="testtools.content.StackLinesContent.html" class="code">testtools.content.StackLinesContent</a> - <span>Content object for stack lines.</span></li><li><a name="testtools.content.TracebackContent"></a><a href="testtools.content.TracebackContent.html" class="code">testtools.content.TracebackContent</a> - <span>Content object for tracebacks.</span></li></ul></li><li><a name="testtools.content_type.ContentType"></a><a href="testtools.content_type.ContentType.html" class="code">testtools.content_type.ContentType</a> - <span>A content type from <a href="http://www.iana.org/assignments/media-types/" class="rst-reference external" target="_top">http://www.iana.org/assignments/media-types/</a></span></li><li><a name="testtools.DecorateTestCaseResult"></a><a href="testtools.DecorateTestCaseResult.html" class="code">testtools.DecorateTestCaseResult</a> - <span>Decorate a TestCase and permit customisation of the result for runs.</span></li><li><a name="testtools.matchers._basic._BinaryComparison"></a><a href="testtools.matchers._basic._BinaryComparison.html" class="code">testtools.matchers._basic._BinaryComparison</a> - <span>Matcher that compares an object to another object.</span><ul><li><a name="testtools.matchers._basic.Equals"></a><a href="testtools.matchers._basic.Equals.html" class="code">testtools.matchers._basic.Equals</a> - <span>Matches if the items are equal.</span></li><li><a name="testtools.matchers._basic.GreaterThan"></a><a href="testtools.matchers._basic.GreaterThan.html" class="code">testtools.matchers._basic.GreaterThan</a> - <span>Matches if the item is greater than the matchers reference object.</span></li><li><a name="testtools.matchers._basic.Is"></a><a href="testtools.matchers._basic.Is.html" class="code">testtools.matchers._basic.Is</a> - <span>Matches if the items are identical.</span></li><li><a name="testtools.matchers._basic.LessThan"></a><a href="testtools.matchers._basic.LessThan.html" class="code">testtools.matchers._basic.LessThan</a> - <span>Matches if the item is less than the matchers reference object.</span></li><li><a name="testtools.matchers._basic.NotEquals"></a><a href="testtools.matchers._basic.NotEquals.html" class="code">testtools.matchers._basic.NotEquals</a> - <span>Matches if the items are not equal.</span></li></ul></li><li><a name="testtools.matchers._basic.IsInstance"></a><a href="testtools.matchers._basic.IsInstance.html" class="code">testtools.matchers._basic.IsInstance</a> - <span>Matcher that wraps isinstance.</span></li><li><a name="testtools.matchers._basic.MatchesRegex"></a><a href="testtools.matchers._basic.MatchesRegex.html" class="code">testtools.matchers._basic.MatchesRegex</a> - <span>Matches if the matchee is matched by a regular expression.</span></li><li><a name="testtools.matchers._datastructures.MatchesListwise"></a><a href="testtools.matchers._datastructures.MatchesListwise.html" class="code">testtools.matchers._datastructures.MatchesListwise</a> - <span>Matches if each matcher matches the corresponding value.</span></li><li><a name="testtools.matchers._datastructures.MatchesSetwise"></a><a href="testtools.matchers._datastructures.MatchesSetwise.html" class="code">testtools.matchers._datastructures.MatchesSetwise</a> - <span>Matches if all the matchers match elements of the value being matched.</span></li><li><a name="testtools.matchers._datastructures.MatchesStructure"></a><a href="testtools.matchers._datastructures.MatchesStructure.html" class="code">testtools.matchers._datastructures.MatchesStructure</a> - <span>Matcher that matches an object structurally.</span></li><li><a name="testtools.matchers._doctest.DocTestMatches"></a><a href="testtools.matchers._doctest.DocTestMatches.html" class="code">testtools.matchers._doctest.DocTestMatches</a> - <span>See if a string matches a doctest example.</span></li><li><a name="testtools.matchers._higherorder.AfterPreprocessing"></a><a href="testtools.matchers._higherorder.AfterPreprocessing.html" class="code">testtools.matchers._higherorder.AfterPreprocessing</a> - <span>Matches if the value matches after passing through a function.</span><ul><li><a name="testtools.tests.test_deferredruntest.AsText"></a><a href="testtools.tests.test_deferredruntest.AsText.html" class="code">testtools.tests.test_deferredruntest.AsText</a> - <span>Match the text of a Content instance.</span></li></ul></li><li><a name="testtools.matchers._higherorder.AllMatch"></a><a href="testtools.matchers._higherorder.AllMatch.html" class="code">testtools.matchers._higherorder.AllMatch</a> - <span>Matches if all provided values match the given matcher.</span></li><li><a name="testtools.matchers._higherorder.Annotate"></a><a href="testtools.matchers._higherorder.Annotate.html" class="code">testtools.matchers._higherorder.Annotate</a> - <span>Annotates a matcher with a descriptive string.</span></li><li><a name="testtools.matchers._higherorder.AnyMatch"></a><a href="testtools.matchers._higherorder.AnyMatch.html" class="code">testtools.matchers._higherorder.AnyMatch</a> - <span>Matches if any of the provided values match the given matcher.</span></li><li><a name="testtools.matchers._higherorder.MatchesAll"></a><a href="testtools.matchers._higherorder.MatchesAll.html" class="code">testtools.matchers._higherorder.MatchesAll</a> - <span>Matches if all of the matchers it is created with match.</span></li><li><a name="testtools.matchers._higherorder.MatchesAny"></a><a href="testtools.matchers._higherorder.MatchesAny.html" class="code">testtools.matchers._higherorder.MatchesAny</a> - <span>Matches if any of the matchers it is created with match.</span></li><li><a name="testtools.matchers._higherorder.Not"></a><a href="testtools.matchers._higherorder.Not.html" class="code">testtools.matchers._higherorder.Not</a> - <span>Inverts a matcher.</span></li><li><a name="testtools.matchers._impl.Matcher"></a><a href="testtools.matchers._impl.Matcher.html" class="code">testtools.matchers._impl.Matcher</a> - <span>A pattern matcher.</span><ul><li><a name="testtools.matchers._basic.Contains"></a><a href="testtools.matchers._basic.Contains.html" class="code">testtools.matchers._basic.Contains</a> - <span>Checks whether something is contained in another thing.</span></li><li><a name="testtools.matchers._basic.EndsWith"></a><a href="testtools.matchers._basic.EndsWith.html" class="code">testtools.matchers._basic.EndsWith</a> - <span>Checks whether one string ends with another.</span></li><li><a name="testtools.matchers._basic.SameMembers"></a><a href="testtools.matchers._basic.SameMembers.html" class="code">testtools.matchers._basic.SameMembers</a> - <span>Matches if two iterators have the same members.</span></li><li><a name="testtools.matchers._basic.StartsWith"></a><a href="testtools.matchers._basic.StartsWith.html" class="code">testtools.matchers._basic.StartsWith</a> - <span>Checks whether one string starts with another.</span></li><li><a name="testtools.matchers._dict._CombinedMatcher"></a><a href="testtools.matchers._dict._CombinedMatcher.html" class="code">testtools.matchers._dict._CombinedMatcher</a> - <span>Many matchers labelled and combined into one uber-matcher.</span><ul><li><a name="testtools.matchers.ContainedByDict"></a><a href="testtools.matchers.ContainedByDict.html" class="code">testtools.matchers.ContainedByDict</a> - <span>Match a dictionary for which this is a super-dictionary.</span></li><li><a name="testtools.matchers.ContainsDict"></a><a href="testtools.matchers.ContainsDict.html" class="code">testtools.matchers.ContainsDict</a> - <span>Match a dictionary for that contains a specified sub-dictionary.</span></li><li><a name="testtools.matchers.MatchesDict"></a><a href="testtools.matchers.MatchesDict.html" class="code">testtools.matchers.MatchesDict</a> - <span>Match a dictionary exactly, by its keys.</span></li></ul></li><li><a name="testtools.matchers._dict._MatchCommonKeys"></a><a href="testtools.matchers._dict._MatchCommonKeys.html" class="code">testtools.matchers._dict._MatchCommonKeys</a> - <span>Match on keys in a dictionary.</span></li><li><a name="testtools.matchers._dict._SubDictOf"></a><a href="testtools.matchers._dict._SubDictOf.html" class="code">testtools.matchers._dict._SubDictOf</a> - <span>Matches if the matched dict only has keys that are in given dict.</span></li><li><a name="testtools.matchers._dict._SuperDictOf"></a><a href="testtools.matchers._dict._SuperDictOf.html" class="code">testtools.matchers._dict._SuperDictOf</a> - <span>Matches if all of the keys in the given dict are in the matched dict.</span></li><li><a name="testtools.matchers._dict.KeysEqual"></a><a href="testtools.matchers._dict.KeysEqual.html" class="code">testtools.matchers._dict.KeysEqual</a> - <span>Checks whether a dict has particular keys.</span></li><li><a name="testtools.matchers._dict.MatchesAllDict"></a><a href="testtools.matchers._dict.MatchesAllDict.html" class="code">testtools.matchers._dict.MatchesAllDict</a> - <span>Matches if all of the matchers it is created with match.</span></li><li><a name="testtools.matchers._exception.MatchesException"></a><a href="testtools.matchers._exception.MatchesException.html" class="code">testtools.matchers._exception.MatchesException</a> - <span>Match an exc_info tuple against an exception instance or type.</span></li><li><a name="testtools.matchers._exception.Raises"></a><a href="testtools.matchers._exception.Raises.html" class="code">testtools.matchers._exception.Raises</a> - <span>Match if the matchee raises an exception when called.</span></li><li><a name="testtools.matchers._filesystem.FileContains"></a><a href="testtools.matchers._filesystem.FileContains.html" class="code">testtools.matchers._filesystem.FileContains</a> - <span>Matches if the given file has the specified contents.</span></li><li><a name="testtools.matchers._filesystem.HasPermissions"></a><a href="testtools.matchers._filesystem.HasPermissions.html" class="code">testtools.matchers._filesystem.HasPermissions</a> - <span>Matches if a file has the given permissions.</span></li><li><a name="testtools.matchers._filesystem.SamePath"></a><a href="testtools.matchers._filesystem.SamePath.html" class="code">testtools.matchers._filesystem.SamePath</a> - <span>Matches if two paths are the same.</span></li><li><a name="testtools.matchers._filesystem.TarballContains"></a><a href="testtools.matchers._filesystem.TarballContains.html" class="code">testtools.matchers._filesystem.TarballContains</a> - <span>Matches if the given tarball contains the given paths.</span></li><li><a name="testtools.matchers._higherorder._MatchesPredicateWithParams"></a><a href="testtools.matchers._higherorder._MatchesPredicateWithParams.html" class="code">testtools.matchers._higherorder._MatchesPredicateWithParams</a> - <span class="undocumented">No class docstring; 1/3 methods documented</span></li><li><a name="testtools.matchers.DirContains"></a><a href="testtools.matchers.DirContains.html" class="code">testtools.matchers.DirContains</a> - <span>Matches if the given directory contains files with the given names.</span></li><li><a name="testtools.matchers.MatchesPredicate"></a><a href="testtools.matchers.MatchesPredicate.html" class="code">testtools.matchers.MatchesPredicate</a> - <span>Match if a given function returns True.</span></li></ul></li><li><a name="testtools.matchers._impl.Mismatch"></a><a href="testtools.matchers._impl.Mismatch.html" class="code">testtools.matchers._impl.Mismatch</a> - <span>An object describing a mismatch detected by a Matcher.</span><ul><li><a name="testtools.matchers._basic._BinaryMismatch"></a><a href="testtools.matchers._basic._BinaryMismatch.html" class="code">testtools.matchers._basic._BinaryMismatch</a> - <span>Two things did not match.</span></li><li><a name="testtools.matchers._basic.DoesNotContain"></a><a href="testtools.matchers._basic.DoesNotContain.html" class="code">testtools.matchers._basic.DoesNotContain</a> - <span class="undocumented">No class docstring; 1/2 methods documented</span></li><li><a name="testtools.matchers._basic.DoesNotEndWith"></a><a href="testtools.matchers._basic.DoesNotEndWith.html" class="code">testtools.matchers._basic.DoesNotEndWith</a> - <span class="undocumented">No class docstring; 1/2 methods documented</span></li><li><a name="testtools.matchers._basic.DoesNotStartWith"></a><a href="testtools.matchers._basic.DoesNotStartWith.html" class="code">testtools.matchers._basic.DoesNotStartWith</a> - <span class="undocumented">No class docstring; 1/2 methods documented</span></li><li><a name="testtools.matchers._basic.NotAnInstance"></a><a href="testtools.matchers._basic.NotAnInstance.html" class="code">testtools.matchers._basic.NotAnInstance</a> - <span class="undocumented">No class docstring; 1/2 methods documented</span></li><li><a name="testtools.matchers._dict.DictMismatches"></a><a href="testtools.matchers._dict.DictMismatches.html" class="code">testtools.matchers._dict.DictMismatches</a> - <span>A mismatch with a dict of child mismatches.</span></li><li><a name="testtools.matchers._doctest.DocTestMismatch"></a><a href="testtools.matchers._doctest.DocTestMismatch.html" class="code">testtools.matchers._doctest.DocTestMismatch</a> - <span>Mismatch object for DocTestMatches.</span></li><li><a name="testtools.matchers._higherorder.MatchedUnexpectedly"></a><a href="testtools.matchers._higherorder.MatchedUnexpectedly.html" class="code">testtools.matchers._higherorder.MatchedUnexpectedly</a> - <span>A thing matched when it wasn't supposed to.</span></li><li><a name="testtools.matchers._higherorder.MismatchesAll"></a><a href="testtools.matchers._higherorder.MismatchesAll.html" class="code">testtools.matchers._higherorder.MismatchesAll</a> - <span>A mismatch with many child mismatches.</span></li></ul></li><li><a name="testtools.matchers._impl.MismatchDecorator"></a><a href="testtools.matchers._impl.MismatchDecorator.html" class="code">testtools.matchers._impl.MismatchDecorator</a> - <span>Decorate a <tt class="rst-docutils literal">Mismatch</tt>.</span><ul><li><a name="testtools.matchers._higherorder.PostfixedMismatch"></a><a href="testtools.matchers._higherorder.PostfixedMismatch.html" class="code">testtools.matchers._higherorder.PostfixedMismatch</a> - <span>A mismatch annotated with a descriptive string.</span></li><li><a name="testtools.matchers._higherorder.PrefixedMismatch"></a><a href="testtools.matchers._higherorder.PrefixedMismatch.html" class="code">testtools.matchers._higherorder.PrefixedMismatch</a> - <span class="undocumented">Undocumented</span></li></ul></li><li><a name="testtools.monkey.MonkeyPatcher"></a><a href="testtools.monkey.MonkeyPatcher.html" class="code">testtools.monkey.MonkeyPatcher</a> - <span>A set of monkey-patches that can be applied and removed all together.</span></li><li><a name="testtools.PlaceHolder"></a><a href="testtools.PlaceHolder.html" class="code">testtools.PlaceHolder</a> - <span>A placeholder test.</span></li><li><a name="testtools.run.TestToolsTestRunner"></a><a href="testtools.run.TestToolsTestRunner.html" class="code">testtools.run.TestToolsTestRunner</a> - <span>A thunk object to support unittest.TestProgram.</span></li><li><a name="testtools.runtest.RunTest"></a><a href="testtools.runtest.RunTest.html" class="code">testtools.runtest.RunTest</a> - <span>An object to run a test.</span><ul><li><a name="testtools.deferredruntest._DeferredRunTest"></a><a href="testtools.deferredruntest._DeferredRunTest.html" class="code">testtools.deferredruntest._DeferredRunTest</a> - <span>Base for tests that return Deferreds.</span><ul><li><a name="testtools.deferredruntest.AsynchronousDeferredRunTest"></a><a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html" class="code">testtools.deferredruntest.AsynchronousDeferredRunTest</a> - <span>Runner for tests that return Deferreds that fire asynchronously.</span><ul><li><a name="testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted"></a><a href="testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted.html" class="code">testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted</a> - <span>Test runner that works around Twisted brokenness re reactor junk.</span></li></ul></li><li><a name="testtools.deferredruntest.SynchronousDeferredRunTest"></a><a href="testtools.deferredruntest.SynchronousDeferredRunTest.html" class="code">testtools.deferredruntest.SynchronousDeferredRunTest</a> - <span>Runner for tests that return synchronous Deferreds.</span></li></ul></li><li><a name="testtools.tests.helpers.FullStackRunTest"></a><a href="testtools.tests.helpers.FullStackRunTest.html" class="code">testtools.tests.helpers.FullStackRunTest</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_runtest.CustomRunTest"></a><a href="testtools.tests.test_runtest.CustomRunTest.html" class="code">testtools.tests.test_runtest.CustomRunTest</a> - <span class="undocumented">Undocumented</span></li></ul></li><li><a name="testtools.tags.TagContext"></a><a href="testtools.tags.TagContext.html" class="code">testtools.tags.TagContext</a> - <span>A tag context.</span></li><li><a name="testtools.testcase.Nullary"></a><a href="testtools.testcase.Nullary.html" class="code">testtools.testcase.Nullary</a> - <span>Turn a callable into a nullary callable.</span></li><li><a name="testtools.testcase.WithAttributes"></a><a href="testtools.testcase.WithAttributes.html" class="code">testtools.testcase.WithAttributes</a> - <span>A mix-in class for modifying test id by attributes.</span><ul><li><a name="testtools.tests.test_testcase.Attributes"></a><a href="testtools.tests.test_testcase.Attributes.html" class="code">testtools.tests.test_testcase.Attributes</a> - <span class="undocumented">Undocumented</span></li></ul></li><li><a name="testtools.testresult.doubles.LoggingBase"></a><a href="testtools.testresult.doubles.LoggingBase.html" class="code">testtools.testresult.doubles.LoggingBase</a> - <span>Basic support for logging of results.</span><ul><li><a name="testtools.testresult.doubles.Python26TestResult"></a><a href="testtools.testresult.doubles.Python26TestResult.html" class="code">testtools.testresult.doubles.Python26TestResult</a> - <span>A precisely python 2.6 like test result, that logs.</span><ul><li><a name="testtools.testresult.doubles.Python27TestResult"></a><a href="testtools.testresult.doubles.Python27TestResult.html" class="code">testtools.testresult.doubles.Python27TestResult</a> - <span>A precisely python 2.7 like test result, that logs.</span><ul><li><a name="testtools.testresult.doubles.ExtendedTestResult"></a><a href="testtools.testresult.doubles.ExtendedTestResult.html" class="code">testtools.testresult.doubles.ExtendedTestResult</a> - <span>A test result like the proposed extended unittest result API.</span></li></ul></li></ul></li></ul></li><li><a name="testtools.testresult.doubles.StreamResult"></a><a href="testtools.testresult.doubles.StreamResult.html" class="code">testtools.testresult.doubles.StreamResult</a> - <span>A StreamResult implementation for testing.</span></li><li><a name="testtools.testresult.real.ExtendedToOriginalDecorator"></a><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html" class="code">testtools.testresult.real.ExtendedToOriginalDecorator</a> - <span>Permit new TestResult API code to degrade gracefully with old results.</span></li><li><a name="testtools.testresult.real.StreamResult"></a><a href="testtools.testresult.real.StreamResult.html" class="code">testtools.testresult.real.StreamResult</a> - <span>A test result for reporting the activity of a test run.</span><ul><li><a name="testtools.testresult.CopyStreamResult"></a><a href="testtools.testresult.CopyStreamResult.html" class="code">testtools.testresult.CopyStreamResult</a> - <span>Copies all event it receives to multiple results.</span><ul><li><a name="testtools.testresult.real.ExtendedToStreamDecorator"></a><a href="testtools.testresult.real.ExtendedToStreamDecorator.html" class="code">testtools.testresult.real.ExtendedToStreamDecorator</a> - <span>Permit using old TestResult API code with new StreamResult objects.</span></li><li><a name="testtools.testresult.real.StreamTagger"></a><a href="testtools.testresult.real.StreamTagger.html" class="code">testtools.testresult.real.StreamTagger</a> - <span>Adds or discards tags from StreamResult events.</span></li><li><a name="testtools.testresult.real.TimestampingStreamResult"></a><a href="testtools.testresult.real.TimestampingStreamResult.html" class="code">testtools.testresult.real.TimestampingStreamResult</a> - <span>A StreamResult decorator that assigns a timestamp when none is present.</span></li></ul></li><li><a name="testtools.testresult.real.StreamFailFast"></a><a href="testtools.testresult.real.StreamFailFast.html" class="code">testtools.testresult.real.StreamFailFast</a> - <span>Call the supplied callback if an error is seen in a stream.</span></li><li><a name="testtools.testresult.real.StreamToDict"></a><a href="testtools.testresult.real.StreamToDict.html" class="code">testtools.testresult.real.StreamToDict</a> - <span>A specialised StreamResult that emits a callback as tests complete.</span><ul><li><a name="testtools.testresult.real.StreamSummary"></a><a href="testtools.testresult.real.StreamSummary.html" class="code">testtools.testresult.real.StreamSummary</a> - <span>A specialised StreamResult that summarises a stream.</span><ul><li><a href="testtools.testresult.real.ExtendedToStreamDecorator.html" class="code">testtools.testresult.real.ExtendedToStreamDecorator</a> - <span>Permit using old TestResult API code with new StreamResult objects.</span></li></ul></li></ul></li><li><a name="testtools.testresult.real.StreamToExtendedDecorator"></a><a href="testtools.testresult.real.StreamToExtendedDecorator.html" class="code">testtools.testresult.real.StreamToExtendedDecorator</a> - <span>Convert StreamResult API calls into ExtendedTestResult calls.</span></li><li><a name="testtools.testresult.real.StreamToQueue"></a><a href="testtools.testresult.real.StreamToQueue.html" class="code">testtools.testresult.real.StreamToQueue</a> - <span>A StreamResult which enqueues events as a dict to a queue.Queue.</span></li><li><a name="testtools.testresult.StreamResultRouter"></a><a href="testtools.testresult.StreamResultRouter.html" class="code">testtools.testresult.StreamResultRouter</a> - <span>A StreamResult that routes events.</span></li></ul></li><li><a name="testtools.testresult.real.TestControl"></a><a href="testtools.testresult.real.TestControl.html" class="code">testtools.testresult.real.TestControl</a> - <span>Controls a running test run, allowing it to be interrupted.</span><ul><li><a href="testtools.testresult.real.ExtendedToStreamDecorator.html" class="code">testtools.testresult.real.ExtendedToStreamDecorator</a> - <span>Permit using old TestResult API code with new StreamResult objects.</span></li></ul></li><li><a name="testtools.testresult.real.TestResultDecorator"></a><a href="testtools.testresult.real.TestResultDecorator.html" class="code">testtools.testresult.real.TestResultDecorator</a> - <span>General pass-through decorator.</span><ul><li><a name="testtools.testresult.real.Tagger"></a><a href="testtools.testresult.real.Tagger.html" class="code">testtools.testresult.real.Tagger</a> - <span>Tag each test individually.</span></li></ul></li><li><a name="testtools.tests.matchers.helpers.TestMatchersInterface"></a><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">testtools.tests.matchers.helpers.TestMatchersInterface</a> - <span class="undocumented">Undocumented</span><ul><li><a name="testtools.tests.matchers.test_basic.TestContainsInterface"></a><a href="testtools.tests.matchers.test_basic.TestContainsInterface.html" class="code">testtools.tests.matchers.test_basic.TestContainsInterface</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_basic.TestEqualsInterface"></a><a href="testtools.tests.matchers.test_basic.TestEqualsInterface.html" class="code">testtools.tests.matchers.test_basic.TestEqualsInterface</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_basic.TestGreaterThanInterface"></a><a href="testtools.tests.matchers.test_basic.TestGreaterThanInterface.html" class="code">testtools.tests.matchers.test_basic.TestGreaterThanInterface</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_basic.TestHasLength"></a><a href="testtools.tests.matchers.test_basic.TestHasLength.html" class="code">testtools.tests.matchers.test_basic.TestHasLength</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_basic.TestIsInstanceInterface"></a><a href="testtools.tests.matchers.test_basic.TestIsInstanceInterface.html" class="code">testtools.tests.matchers.test_basic.TestIsInstanceInterface</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_basic.TestIsInterface"></a><a href="testtools.tests.matchers.test_basic.TestIsInterface.html" class="code">testtools.tests.matchers.test_basic.TestIsInterface</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_basic.TestLessThanInterface"></a><a href="testtools.tests.matchers.test_basic.TestLessThanInterface.html" class="code">testtools.tests.matchers.test_basic.TestLessThanInterface</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_basic.TestMatchesRegex"></a><a href="testtools.tests.matchers.test_basic.TestMatchesRegex.html" class="code">testtools.tests.matchers.test_basic.TestMatchesRegex</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_basic.TestNotEqualsInterface"></a><a href="testtools.tests.matchers.test_basic.TestNotEqualsInterface.html" class="code">testtools.tests.matchers.test_basic.TestNotEqualsInterface</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_basic.TestSameMembers"></a><a href="testtools.tests.matchers.test_basic.TestSameMembers.html" class="code">testtools.tests.matchers.test_basic.TestSameMembers</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_datastructures.TestContainsAllInterface"></a><a href="testtools.tests.matchers.test_datastructures.TestContainsAllInterface.html" class="code">testtools.tests.matchers.test_datastructures.TestContainsAllInterface</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_datastructures.TestMatchesStructure"></a><a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.html" class="code">testtools.tests.matchers.test_datastructures.TestMatchesStructure</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_dict.TestContainedByDict"></a><a href="testtools.tests.matchers.test_dict.TestContainedByDict.html" class="code">testtools.tests.matchers.test_dict.TestContainedByDict</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_dict.TestContainsDict"></a><a href="testtools.tests.matchers.test_dict.TestContainsDict.html" class="code">testtools.tests.matchers.test_dict.TestContainsDict</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_dict.TestKeysEqualWithList"></a><a href="testtools.tests.matchers.test_dict.TestKeysEqualWithList.html" class="code">testtools.tests.matchers.test_dict.TestKeysEqualWithList</a> - <span class="undocumented">Undocumented</span><ul><li><a name="testtools.tests.matchers.test_dict.TestKeysEqualWithDict"></a><a href="testtools.tests.matchers.test_dict.TestKeysEqualWithDict.html" class="code">testtools.tests.matchers.test_dict.TestKeysEqualWithDict</a> - <span class="undocumented">Undocumented</span></li></ul></li><li><a name="testtools.tests.matchers.test_dict.TestMatchesAllDictInterface"></a><a href="testtools.tests.matchers.test_dict.TestMatchesAllDictInterface.html" class="code">testtools.tests.matchers.test_dict.TestMatchesAllDictInterface</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_dict.TestMatchesDict"></a><a href="testtools.tests.matchers.test_dict.TestMatchesDict.html" class="code">testtools.tests.matchers.test_dict.TestMatchesDict</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_dict.TestSubDictOf"></a><a href="testtools.tests.matchers.test_dict.TestSubDictOf.html" class="code">testtools.tests.matchers.test_dict.TestSubDictOf</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface"></a><a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface.html" class="code">testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode"></a><a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode.html" class="code">testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface"></a><a href="testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface"></a><a href="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface"></a><a href="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface"></a><a href="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface"></a><a href="testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.html" class="code">testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_exception.TestRaisesInterface"></a><a href="testtools.tests.matchers.test_exception.TestRaisesInterface.html" class="code">testtools.tests.matchers.test_exception.TestRaisesInterface</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_higherorder.TestAfterPreprocessing"></a><a href="testtools.tests.matchers.test_higherorder.TestAfterPreprocessing.html" class="code">testtools.tests.matchers.test_higherorder.TestAfterPreprocessing</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_higherorder.TestAllMatch"></a><a href="testtools.tests.matchers.test_higherorder.TestAllMatch.html" class="code">testtools.tests.matchers.test_higherorder.TestAllMatch</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_higherorder.TestAnnotate"></a><a href="testtools.tests.matchers.test_higherorder.TestAnnotate.html" class="code">testtools.tests.matchers.test_higherorder.TestAnnotate</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_higherorder.TestAnyMatch"></a><a href="testtools.tests.matchers.test_higherorder.TestAnyMatch.html" class="code">testtools.tests.matchers.test_higherorder.TestAnyMatch</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface"></a><a href="testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_higherorder.TestMatchesAllInterface"></a><a href="testtools.tests.matchers.test_higherorder.TestMatchesAllInterface.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchesAllInterface</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_higherorder.TestMatchesPredicate"></a><a href="testtools.tests.matchers.test_higherorder.TestMatchesPredicate.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchesPredicate</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams"></a><a href="testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_higherorder.TestNotInterface"></a><a href="testtools.tests.matchers.test_higherorder.TestNotInterface.html" class="code">testtools.tests.matchers.test_higherorder.TestNotInterface</a> - <span class="undocumented">Undocumented</span></li></ul></li><li><a name="testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr"></a><a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr.html" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_filesystem.PathHelpers"></a><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">testtools.tests.matchers.test_filesystem.PathHelpers</a> - <span class="undocumented">Undocumented</span><ul><li><a name="testtools.tests.matchers.test_filesystem.TestDirContains"></a><a href="testtools.tests.matchers.test_filesystem.TestDirContains.html" class="code">testtools.tests.matchers.test_filesystem.TestDirContains</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_filesystem.TestDirExists"></a><a href="testtools.tests.matchers.test_filesystem.TestDirExists.html" class="code">testtools.tests.matchers.test_filesystem.TestDirExists</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_filesystem.TestFileContains"></a><a href="testtools.tests.matchers.test_filesystem.TestFileContains.html" class="code">testtools.tests.matchers.test_filesystem.TestFileContains</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_filesystem.TestFileExists"></a><a href="testtools.tests.matchers.test_filesystem.TestFileExists.html" class="code">testtools.tests.matchers.test_filesystem.TestFileExists</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_filesystem.TestHasPermissions"></a><a href="testtools.tests.matchers.test_filesystem.TestHasPermissions.html" class="code">testtools.tests.matchers.test_filesystem.TestHasPermissions</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_filesystem.TestPathExists"></a><a href="testtools.tests.matchers.test_filesystem.TestPathExists.html" class="code">testtools.tests.matchers.test_filesystem.TestPathExists</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_filesystem.TestSamePath"></a><a href="testtools.tests.matchers.test_filesystem.TestSamePath.html" class="code">testtools.tests.matchers.test_filesystem.TestSamePath</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_filesystem.TestTarballContains"></a><a href="testtools.tests.matchers.test_filesystem.TestTarballContains.html" class="code">testtools.tests.matchers.test_filesystem.TestTarballContains</a> - <span class="undocumented">Undocumented</span></li></ul></li><li><a name="testtools.tests.test_assert_that.AssertThatTests"></a><a href="testtools.tests.test_assert_that.AssertThatTests.html" class="code">testtools.tests.test_assert_that.AssertThatTests</a> - <span>A mixin containing shared tests for assertThat and assert_that.</span><ul><li><a name="testtools.tests.test_assert_that.TestAssertThatFunction"></a><a href="testtools.tests.test_assert_that.TestAssertThatFunction.html" class="code">testtools.tests.test_assert_that.TestAssertThatFunction</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_assert_that.TestAssertThatMethod"></a><a href="testtools.tests.test_assert_that.TestAssertThatMethod.html" class="code">testtools.tests.test_assert_that.TestAssertThatMethod</a> - <span class="undocumented">Undocumented</span></li></ul></li><li><a name="testtools.tests.test_compat._FakeOutputStream"></a><a href="testtools.tests.test_compat._FakeOutputStream.html" class="code">testtools.tests.test_compat._FakeOutputStream</a> - <span>A simple file-like object for testing</span></li><li><a name="testtools.tests.test_deferredruntest.MatchesEvents"></a><a href="testtools.tests.test_deferredruntest.MatchesEvents.html" class="code">testtools.tests.test_deferredruntest.MatchesEvents</a> - <span>Match a list of test result events.</span></li><li><a name="testtools.tests.test_deferredruntest.X"></a><a href="testtools.tests.test_deferredruntest.X.html" class="code">testtools.tests.test_deferredruntest.X</a> - <span>Tests that we run as part of our tests, nested to avoid discovery.</span></li><li><a name="testtools.tests.test_testresult.Python26Contract"></a><a href="testtools.tests.test_testresult.Python26Contract.html" class="code">testtools.tests.test_testresult.Python26Contract</a> - <span class="undocumented">Undocumented</span><ul><li><a name="testtools.tests.test_testresult.Python27Contract"></a><a href="testtools.tests.test_testresult.Python27Contract.html" class="code">testtools.tests.test_testresult.Python27Contract</a> - <span class="undocumented">Undocumented</span><ul><li><a name="testtools.tests.test_testresult.TagsContract"></a><a href="testtools.tests.test_testresult.TagsContract.html" class="code">testtools.tests.test_testresult.TagsContract</a> - <span>Tests to ensure correct tagging behaviour.</span><ul><li><a name="testtools.tests.test_testresult.DetailsContract"></a><a href="testtools.tests.test_testresult.DetailsContract.html" class="code">testtools.tests.test_testresult.DetailsContract</a> - <span>Tests for the details API of TestResults.</span><ul><li><a name="testtools.tests.test_testresult.FallbackContract"></a><a href="testtools.tests.test_testresult.FallbackContract.html" class="code">testtools.tests.test_testresult.FallbackContract</a> - <span>When we fallback we take our policy choice to map calls.</span><ul><li><a name="testtools.tests.test_testresult.StartTestRunContract"></a><a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">testtools.tests.test_testresult.StartTestRunContract</a> - <span>Defines the contract for testtools policy choices.</span><ul><li><a name="testtools.tests.test_testresult.TestExtendedTestResultContract"></a><a href="testtools.tests.test_testresult.TestExtendedTestResultContract.html" class="code">testtools.tests.test_testresult.TestExtendedTestResultContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestMultiTestResultContract"></a><a href="testtools.tests.test_testresult.TestMultiTestResultContract.html" class="code">testtools.tests.test_testresult.TestMultiTestResultContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestTestResultContract"></a><a href="testtools.tests.test_testresult.TestTestResultContract.html" class="code">testtools.tests.test_testresult.TestTestResultContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestTestResultDecoratorContract"></a><a href="testtools.tests.test_testresult.TestTestResultDecoratorContract.html" class="code">testtools.tests.test_testresult.TestTestResultDecoratorContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestTextTestResultContract"></a><a href="testtools.tests.test_testresult.TestTextTestResultContract.html" class="code">testtools.tests.test_testresult.TestTextTestResultContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestThreadSafeForwardingResultContract"></a><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResultContract.html" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResultContract</a> - <span class="undocumented">Undocumented</span></li></ul></li><li><a name="testtools.tests.test_testresult.TestAdaptedPython26TestResultContract"></a><a href="testtools.tests.test_testresult.TestAdaptedPython26TestResultContract.html" class="code">testtools.tests.test_testresult.TestAdaptedPython26TestResultContract</a> - <span class="undocumented">Undocumented</span></li></ul></li><li><a name="testtools.tests.test_testresult.TestAdaptedPython27TestResultContract"></a><a href="testtools.tests.test_testresult.TestAdaptedPython27TestResultContract.html" class="code">testtools.tests.test_testresult.TestAdaptedPython27TestResultContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestAdaptedStreamResult"></a><a href="testtools.tests.test_testresult.TestAdaptedStreamResult.html" class="code">testtools.tests.test_testresult.TestAdaptedStreamResult</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestStreamToExtendedContract"></a><a href="testtools.tests.test_testresult.TestStreamToExtendedContract.html" class="code">testtools.tests.test_testresult.TestStreamToExtendedContract</a> - <span class="undocumented">Undocumented</span></li></ul></li></ul></li><li><a name="testtools.tests.test_testresult.TestPython27TestResultContract"></a><a href="testtools.tests.test_testresult.TestPython27TestResultContract.html" class="code">testtools.tests.test_testresult.TestPython27TestResultContract</a> - <span class="undocumented">Undocumented</span></li></ul></li><li><a name="testtools.tests.test_testresult.TestPython26TestResultContract"></a><a href="testtools.tests.test_testresult.TestPython26TestResultContract.html" class="code">testtools.tests.test_testresult.TestPython26TestResultContract</a> - <span class="undocumented">Undocumented</span></li></ul></li><li><a name="testtools.tests.test_testresult.TestStreamResultContract"></a><a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">testtools.tests.test_testresult.TestStreamResultContract</a> - <span class="undocumented">No class docstring; 1/5 methods documented</span><ul><li><a name="testtools.tests.test_testresult.TestBaseStreamResultContract"></a><a href="testtools.tests.test_testresult.TestBaseStreamResultContract.html" class="code">testtools.tests.test_testresult.TestBaseStreamResultContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestCopyStreamResultContract"></a><a href="testtools.tests.test_testresult.TestCopyStreamResultContract.html" class="code">testtools.tests.test_testresult.TestCopyStreamResultContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestDoubleStreamResultContract"></a><a href="testtools.tests.test_testresult.TestDoubleStreamResultContract.html" class="code">testtools.tests.test_testresult.TestDoubleStreamResultContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract"></a><a href="testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract.html" class="code">testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestStreamFailFastContract"></a><a href="testtools.tests.test_testresult.TestStreamFailFastContract.html" class="code">testtools.tests.test_testresult.TestStreamFailFastContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestStreamResultRouterContract"></a><a href="testtools.tests.test_testresult.TestStreamResultRouterContract.html" class="code">testtools.tests.test_testresult.TestStreamResultRouterContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestStreamSummaryResultContract"></a><a href="testtools.tests.test_testresult.TestStreamSummaryResultContract.html" class="code">testtools.tests.test_testresult.TestStreamSummaryResultContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestStreamTaggerContract"></a><a href="testtools.tests.test_testresult.TestStreamTaggerContract.html" class="code">testtools.tests.test_testresult.TestStreamTaggerContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestStreamToDictContract"></a><a href="testtools.tests.test_testresult.TestStreamToDictContract.html" class="code">testtools.tests.test_testresult.TestStreamToDictContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract"></a><a href="testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract.html" class="code">testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestStreamToQueueContract"></a><a href="testtools.tests.test_testresult.TestStreamToQueueContract.html" class="code">testtools.tests.test_testresult.TestStreamToQueueContract</a> - <span class="undocumented">Undocumented</span></li></ul></li><li><a name="testtools.testsuite.ConcurrentStreamTestSuite"></a><a href="testtools.testsuite.ConcurrentStreamTestSuite.html" class="code">testtools.testsuite.ConcurrentStreamTestSuite</a> - <span>A TestSuite whose run() parallelises.</span></li></ul></li><li><a name="testtools.testcase.ExpectedException"></a><a href="testtools.testcase.ExpectedException.html" class="code">testtools.testcase.ExpectedException</a> - <span>A context manager to handle expected exceptions.</span></li><li><a name="testtools.tests.matchers.test_basic.TestIsInstanceInterface.Foo"></a><a href="testtools.tests.matchers.test_basic.TestIsInstanceInterface.Foo.html" class="code">testtools.tests.matchers.test_basic.TestIsInstanceInterface.Foo</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass"></a><a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass.html" class="code">testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_monkey.TestObj"></a><a href="testtools.tests.test_monkey.TestObj.html" class="code">testtools.tests.test_monkey.TestObj</a> - <span class="undocumented">Undocumented</span></li><li><code>unittest.TestCase</code><ul><li><a name="testtools.testcase.TestCase"></a><a href="testtools.testcase.TestCase.html" class="code">testtools.testcase.TestCase</a> - <span>Extensions to the basic TestCase.</span><ul><li><a name="testtools.tests.matchers.test_basic.DoesNotEndWithTests"></a><a href="testtools.tests.matchers.test_basic.DoesNotEndWithTests.html" class="code">testtools.tests.matchers.test_basic.DoesNotEndWithTests</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_basic.DoesNotStartWithTests"></a><a href="testtools.tests.matchers.test_basic.DoesNotStartWithTests.html" class="code">testtools.tests.matchers.test_basic.DoesNotStartWithTests</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_basic.EndsWithTests"></a><a href="testtools.tests.matchers.test_basic.EndsWithTests.html" class="code">testtools.tests.matchers.test_basic.EndsWithTests</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_basic.StartsWithTests"></a><a href="testtools.tests.matchers.test_basic.StartsWithTests.html" class="code">testtools.tests.matchers.test_basic.StartsWithTests</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_basic.Test_BinaryMismatch"></a><a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch</a> - <span>Mismatches from binary comparisons need useful describe output</span></li><li><a href="testtools.tests.matchers.test_basic.TestContainsInterface.html" class="code">testtools.tests.matchers.test_basic.TestContainsInterface</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_basic.TestEqualsInterface.html" class="code">testtools.tests.matchers.test_basic.TestEqualsInterface</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_basic.TestGreaterThanInterface.html" class="code">testtools.tests.matchers.test_basic.TestGreaterThanInterface</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_basic.TestHasLength.html" class="code">testtools.tests.matchers.test_basic.TestHasLength</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_basic.TestIsInstanceInterface.html" class="code">testtools.tests.matchers.test_basic.TestIsInstanceInterface</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_basic.TestIsInterface.html" class="code">testtools.tests.matchers.test_basic.TestIsInterface</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_basic.TestLessThanInterface.html" class="code">testtools.tests.matchers.test_basic.TestLessThanInterface</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_basic.TestMatchesRegex.html" class="code">testtools.tests.matchers.test_basic.TestMatchesRegex</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_basic.TestNotEqualsInterface.html" class="code">testtools.tests.matchers.test_basic.TestNotEqualsInterface</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_basic.TestSameMembers.html" class="code">testtools.tests.matchers.test_basic.TestSameMembers</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_datastructures.TestContainsAllInterface.html" class="code">testtools.tests.matchers.test_datastructures.TestContainsAllInterface</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_datastructures.TestMatchesListwise"></a><a href="testtools.tests.matchers.test_datastructures.TestMatchesListwise.html" class="code">testtools.tests.matchers.test_datastructures.TestMatchesListwise</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_datastructures.TestMatchesSetwise"></a><a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.html" class="code">testtools.tests.matchers.test_datastructures.TestMatchesStructure</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_dict.TestContainedByDict.html" class="code">testtools.tests.matchers.test_dict.TestContainedByDict</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_dict.TestContainsDict.html" class="code">testtools.tests.matchers.test_dict.TestContainsDict</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_dict.TestKeysEqualWithList.html" class="code">testtools.tests.matchers.test_dict.TestKeysEqualWithList</a> - <span class="undocumented">Undocumented</span><ul><li><a href="testtools.tests.matchers.test_dict.TestKeysEqualWithDict.html" class="code">testtools.tests.matchers.test_dict.TestKeysEqualWithDict</a> - <span class="undocumented">Undocumented</span></li></ul></li><li><a href="testtools.tests.matchers.test_dict.TestMatchesAllDictInterface.html" class="code">testtools.tests.matchers.test_dict.TestMatchesAllDictInterface</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_dict.TestMatchesDict.html" class="code">testtools.tests.matchers.test_dict.TestMatchesDict</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_dict.TestSubDictOf.html" class="code">testtools.tests.matchers.test_dict.TestSubDictOf</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface.html" class="code">testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode.html" class="code">testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific"></a><a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.html" class="code">testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific</a> - <span class="undocumented">No class docstring; 1/3 methods documented</span></li><li><a href="testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_exception.TestRaisesBaseTypes"></a><a href="testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html" class="code">testtools.tests.matchers.test_exception.TestRaisesBaseTypes</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_exception.TestRaisesConvenience"></a><a href="testtools.tests.matchers.test_exception.TestRaisesConvenience.html" class="code">testtools.tests.matchers.test_exception.TestRaisesConvenience</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.html" class="code">testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_exception.TestRaisesInterface.html" class="code">testtools.tests.matchers.test_exception.TestRaisesInterface</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_filesystem.TestDirContains.html" class="code">testtools.tests.matchers.test_filesystem.TestDirContains</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_filesystem.TestDirExists.html" class="code">testtools.tests.matchers.test_filesystem.TestDirExists</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_filesystem.TestFileContains.html" class="code">testtools.tests.matchers.test_filesystem.TestFileContains</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_filesystem.TestFileExists.html" class="code">testtools.tests.matchers.test_filesystem.TestFileExists</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_filesystem.TestHasPermissions.html" class="code">testtools.tests.matchers.test_filesystem.TestHasPermissions</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_filesystem.TestPathExists.html" class="code">testtools.tests.matchers.test_filesystem.TestPathExists</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_filesystem.TestSamePath.html" class="code">testtools.tests.matchers.test_filesystem.TestSamePath</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_filesystem.TestTarballContains.html" class="code">testtools.tests.matchers.test_filesystem.TestTarballContains</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_higherorder.TestAfterPreprocessing.html" class="code">testtools.tests.matchers.test_higherorder.TestAfterPreprocessing</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_higherorder.TestAllMatch.html" class="code">testtools.tests.matchers.test_higherorder.TestAllMatch</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_higherorder.TestAnnotate.html" class="code">testtools.tests.matchers.test_higherorder.TestAnnotate</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch"></a><a href="testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch.html" class="code">testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_higherorder.TestAnyMatch.html" class="code">testtools.tests.matchers.test_higherorder.TestAnyMatch</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_higherorder.TestMatchesAllInterface.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchesAllInterface</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_higherorder.TestMatchesPredicate.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchesPredicate</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_higherorder.TestNotInterface.html" class="code">testtools.tests.matchers.test_higherorder.TestNotInterface</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_impl.TestMismatch"></a><a href="testtools.tests.matchers.test_impl.TestMismatch.html" class="code">testtools.tests.matchers.test_impl.TestMismatch</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_impl.TestMismatchDecorator"></a><a href="testtools.tests.matchers.test_impl.TestMismatchDecorator.html" class="code">testtools.tests.matchers.test_impl.TestMismatchDecorator</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.matchers.test_impl.TestMismatchError"></a><a href="testtools.tests.matchers.test_impl.TestMismatchError.html" class="code">testtools.tests.matchers.test_impl.TestMismatchError</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_assert_that.TestAssertThatFunction.html" class="code">testtools.tests.test_assert_that.TestAssertThatFunction</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_assert_that.TestAssertThatMethod.html" class="code">testtools.tests.test_assert_that.TestAssertThatMethod</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_compat.TestReraise"></a><a href="testtools.tests.test_compat.TestReraise.html" class="code">testtools.tests.test_compat.TestReraise</a> - <span>Tests for trivial reraise wrapper needed for Python 2/3 changes</span></li><li><a name="testtools.tests.test_compat.TestTextRepr"></a><a href="testtools.tests.test_compat.TestTextRepr.html" class="code">testtools.tests.test_compat.TestTextRepr</a> - <span>Ensure in extending repr, basic behaviours are not being broken</span></li><li><a name="testtools.tests.test_compat.TestUnicodeOutputStream"></a><a href="testtools.tests.test_compat.TestUnicodeOutputStream.html" class="code">testtools.tests.test_compat.TestUnicodeOutputStream</a> - <span>Test wrapping output streams so they work with arbitrary unicode</span></li><li><a name="testtools.tests.test_content.TestAttachFile"></a><a href="testtools.tests.test_content.TestAttachFile.html" class="code">testtools.tests.test_content.TestAttachFile</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_content.TestContent"></a><a href="testtools.tests.test_content.TestContent.html" class="code">testtools.tests.test_content.TestContent</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_content.TestStackLinesContent"></a><a href="testtools.tests.test_content.TestStackLinesContent.html" class="code">testtools.tests.test_content.TestStackLinesContent</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_content.TestStacktraceContent"></a><a href="testtools.tests.test_content.TestStacktraceContent.html" class="code">testtools.tests.test_content.TestStacktraceContent</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_content.TestTracebackContent"></a><a href="testtools.tests.test_content.TestTracebackContent.html" class="code">testtools.tests.test_content.TestTracebackContent</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_content_type.TestBuiltinContentTypes"></a><a href="testtools.tests.test_content_type.TestBuiltinContentTypes.html" class="code">testtools.tests.test_content_type.TestBuiltinContentTypes</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_content_type.TestContentType"></a><a href="testtools.tests.test_content_type.TestContentType.html" class="code">testtools.tests.test_content_type.TestContentType</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_deferredruntest.X.Base"></a><a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">testtools.tests.test_deferredruntest.X.Base</a> - <span class="undocumented">Undocumented</span><ul><li><a name="testtools.tests.test_deferredruntest.X.BaseExceptionRaised"></a><a href="testtools.tests.test_deferredruntest.X.BaseExceptionRaised.html" class="code">testtools.tests.test_deferredruntest.X.BaseExceptionRaised</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_deferredruntest.X.ErrorInCleanup"></a><a href="testtools.tests.test_deferredruntest.X.ErrorInCleanup.html" class="code">testtools.tests.test_deferredruntest.X.ErrorInCleanup</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_deferredruntest.X.ErrorInSetup"></a><a href="testtools.tests.test_deferredruntest.X.ErrorInSetup.html" class="code">testtools.tests.test_deferredruntest.X.ErrorInSetup</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_deferredruntest.X.ErrorInTearDown"></a><a href="testtools.tests.test_deferredruntest.X.ErrorInTearDown.html" class="code">testtools.tests.test_deferredruntest.X.ErrorInTearDown</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_deferredruntest.X.ErrorInTest"></a><a href="testtools.tests.test_deferredruntest.X.ErrorInTest.html" class="code">testtools.tests.test_deferredruntest.X.ErrorInTest</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_deferredruntest.X.FailureInTest"></a><a href="testtools.tests.test_deferredruntest.X.FailureInTest.html" class="code">testtools.tests.test_deferredruntest.X.FailureInTest</a> - <span class="undocumented">Undocumented</span></li></ul></li><li><a name="testtools.tests.test_distutilscmd.TestCommandTest"></a><a href="testtools.tests.test_distutilscmd.TestCommandTest.html" class="code">testtools.tests.test_distutilscmd.TestCommandTest</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_fixturesupport.TestFixtureSupport"></a><a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html" class="code">testtools.tests.test_fixturesupport.TestFixtureSupport</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_helpers.TestStackHiding"></a><a href="testtools.tests.test_helpers.TestStackHiding.html" class="code">testtools.tests.test_helpers.TestStackHiding</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_monkey.MonkeyPatcherTest"></a><a href="testtools.tests.test_monkey.MonkeyPatcherTest.html" class="code">testtools.tests.test_monkey.MonkeyPatcherTest</a> - <span>Tests for 'MonkeyPatcher' monkey-patching class.</span></li><li><a name="testtools.tests.test_monkey.TestPatchHelper"></a><a href="testtools.tests.test_monkey.TestPatchHelper.html" class="code">testtools.tests.test_monkey.TestPatchHelper</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_run.TestRun"></a><a href="testtools.tests.test_run.TestRun.html" class="code">testtools.tests.test_run.TestRun</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_runtest.TestRunTest"></a><a href="testtools.tests.test_runtest.TestRunTest.html" class="code">testtools.tests.test_runtest.TestRunTest</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_runtest.TestTestCaseSupportForRunTest"></a><a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html" class="code">testtools.tests.test_runtest.TestTestCaseSupportForRunTest</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_spinner.NeedsTwistedTestCase"></a><a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">testtools.tests.test_spinner.NeedsTwistedTestCase</a> - <span class="undocumented">Undocumented</span><ul><li><a name="testtools.tests.test_deferredruntest.TestAssertFailsWith"></a><a href="testtools.tests.test_deferredruntest.TestAssertFailsWith.html" class="code">testtools.tests.test_deferredruntest.TestAssertFailsWith</a> - <span>Tests for <a href="testtools.deferredruntest.html#assert_fails_with"><code>assert_fails_with</code></a>.</span></li><li><a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest"></a><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_deferredruntest.TestRunWithLogObservers"></a><a href="testtools.tests.test_deferredruntest.TestRunWithLogObservers.html" class="code">testtools.tests.test_deferredruntest.TestRunWithLogObservers</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest"></a><a href="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html" class="code">testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_deferredruntest.X.TestIntegration"></a><a href="testtools.tests.test_deferredruntest.X.TestIntegration.html" class="code">testtools.tests.test_deferredruntest.X.TestIntegration</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_spinner.TestExtractResult"></a><a href="testtools.tests.test_spinner.TestExtractResult.html" class="code">testtools.tests.test_spinner.TestExtractResult</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_spinner.TestNotReentrant"></a><a href="testtools.tests.test_spinner.TestNotReentrant.html" class="code">testtools.tests.test_spinner.TestNotReentrant</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_spinner.TestRunInReactor"></a><a href="testtools.tests.test_spinner.TestRunInReactor.html" class="code">testtools.tests.test_spinner.TestRunInReactor</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_spinner.TestTrapUnhandledErrors"></a><a href="testtools.tests.test_spinner.TestTrapUnhandledErrors.html" class="code">testtools.tests.test_spinner.TestTrapUnhandledErrors</a> - <span class="undocumented">Undocumented</span></li></ul></li><li><a name="testtools.tests.test_tags.TestTags"></a><a href="testtools.tests.test_tags.TestTags.html" class="code">testtools.tests.test_tags.TestTags</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_testcase.Attributes.html" class="code">testtools.tests.test_testcase.Attributes</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testcase.TestAddCleanup"></a><a href="testtools.tests.test_testcase.TestAddCleanup.html" class="code">testtools.tests.test_testcase.TestAddCleanup</a> - <span>Tests for TestCase.addCleanup.</span></li><li><a name="testtools.tests.test_testcase.TestAddCleanup.LoggingTest"></a><a href="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html" class="code">testtools.tests.test_testcase.TestAddCleanup.LoggingTest</a> - <span>A test that logs calls to setUp, runTest and tearDown.</span></li><li><a name="testtools.tests.test_testcase.TestAssertions"></a><a href="testtools.tests.test_testcase.TestAssertions.html" class="code">testtools.tests.test_testcase.TestAssertions</a> - <span>Test assertions in TestCase.</span></li><li><a name="testtools.tests.test_testcase.TestAttributes"></a><a href="testtools.tests.test_testcase.TestAttributes.html" class="code">testtools.tests.test_testcase.TestAttributes</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testcase.TestCloneTestWithNewId"></a><a href="testtools.tests.test_testcase.TestCloneTestWithNewId.html" class="code">testtools.tests.test_testcase.TestCloneTestWithNewId</a> - <span>Tests for clone_test_with_new_id.</span></li><li><a name="testtools.tests.test_testcase.TestDecorateTestCaseResult"></a><a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html" class="code">testtools.tests.test_testcase.TestDecorateTestCaseResult</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testcase.TestEquality"></a><a href="testtools.tests.test_testcase.TestEquality.html" class="code">testtools.tests.test_testcase.TestEquality</a> - <span>Test <tt class="rst-docutils literal">TestCase</tt>'s equality implementation.</span></li><li><a name="testtools.tests.test_testcase.TestErrorHolder"></a><a href="testtools.tests.test_testcase.TestErrorHolder.html" class="code">testtools.tests.test_testcase.TestErrorHolder</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testcase.TestNullary"></a><a href="testtools.tests.test_testcase.TestNullary.html" class="code">testtools.tests.test_testcase.TestNullary</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testcase.TestOnException"></a><a href="testtools.tests.test_testcase.TestOnException.html" class="code">testtools.tests.test_testcase.TestOnException</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testcase.TestPatchSupport"></a><a href="testtools.tests.test_testcase.TestPatchSupport.html" class="code">testtools.tests.test_testcase.TestPatchSupport</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testcase.TestPatchSupport.Case"></a><a href="testtools.tests.test_testcase.TestPatchSupport.Case.html" class="code">testtools.tests.test_testcase.TestPatchSupport.Case</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testcase.TestPlaceHolder"></a><a href="testtools.tests.test_testcase.TestPlaceHolder.html" class="code">testtools.tests.test_testcase.TestPlaceHolder</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testcase.TestRunTestUsage"></a><a href="testtools.tests.test_testcase.TestRunTestUsage.html" class="code">testtools.tests.test_testcase.TestRunTestUsage</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testcase.TestSetupTearDown"></a><a href="testtools.tests.test_testcase.TestSetupTearDown.html" class="code">testtools.tests.test_testcase.TestSetupTearDown</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testcase.TestSkipping"></a><a href="testtools.tests.test_testcase.TestSkipping.html" class="code">testtools.tests.test_testcase.TestSkipping</a> - <span>Tests for skipping of tests functionality.</span></li><li><a name="testtools.tests.test_testcase.TestTestCaseSuper"></a><a href="testtools.tests.test_testcase.TestTestCaseSuper.html" class="code">testtools.tests.test_testcase.TestTestCaseSuper</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testcase.TestUniqueFactories"></a><a href="testtools.tests.test_testcase.TestUniqueFactories.html" class="code">testtools.tests.test_testcase.TestUniqueFactories</a> - <span>Tests for getUniqueString and getUniqueInteger.</span></li><li><a name="testtools.tests.test_testcase.TestWithDetails"></a><a href="testtools.tests.test_testcase.TestWithDetails.html" class="code">testtools.tests.test_testcase.TestWithDetails</a> - <span class="undocumented">No class docstring; 1/2 methods documented</span><ul><li><a name="testtools.tests.test_testcase.TestDetailsProvided"></a><a href="testtools.tests.test_testcase.TestDetailsProvided.html" class="code">testtools.tests.test_testcase.TestDetailsProvided</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testcase.TestExpectedFailure"></a><a href="testtools.tests.test_testcase.TestExpectedFailure.html" class="code">testtools.tests.test_testcase.TestExpectedFailure</a> - <span>Tests for expected failures and unexpected successess.</span></li></ul></li><li><a href="testtools.tests.test_testresult.TestAdaptedPython26TestResultContract.html" class="code">testtools.tests.test_testresult.TestAdaptedPython26TestResultContract</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_testresult.TestAdaptedPython27TestResultContract.html" class="code">testtools.tests.test_testresult.TestAdaptedPython27TestResultContract</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_testresult.TestAdaptedStreamResult.html" class="code">testtools.tests.test_testresult.TestAdaptedStreamResult</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_testresult.TestBaseStreamResultContract.html" class="code">testtools.tests.test_testresult.TestBaseStreamResultContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestByTestResultTests"></a><a href="testtools.tests.test_testresult.TestByTestResultTests.html" class="code">testtools.tests.test_testresult.TestByTestResultTests</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_testresult.TestCopyStreamResultContract.html" class="code">testtools.tests.test_testresult.TestCopyStreamResultContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestCopyStreamResultCopies"></a><a href="testtools.tests.test_testresult.TestCopyStreamResultCopies.html" class="code">testtools.tests.test_testresult.TestCopyStreamResultCopies</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestDetailsToStr"></a><a href="testtools.tests.test_testresult.TestDetailsToStr.html" class="code">testtools.tests.test_testresult.TestDetailsToStr</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_testresult.TestDoubleStreamResultContract.html" class="code">testtools.tests.test_testresult.TestDoubleStreamResultContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestDoubleStreamResultEvents"></a><a href="testtools.tests.test_testresult.TestDoubleStreamResultEvents.html" class="code">testtools.tests.test_testresult.TestDoubleStreamResultEvents</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_testresult.TestExtendedTestResultContract.html" class="code">testtools.tests.test_testresult.TestExtendedTestResultContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase"></a><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase</a> - <span class="undocumented">No class docstring; 11/15 methods documented</span><ul><li><a name="testtools.tests.test_testresult.TestExtendedToOriginalAddError"></a><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddError</a> - <span class="undocumented">Undocumented</span><ul><li><a name="testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure"></a><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestExtendedToOriginalAddFailure"></a><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddFailure.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddFailure</a> - <span class="undocumented">Undocumented</span></li></ul></li><li><a name="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip"></a><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSkip</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess"></a><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess"></a><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator"></a><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes"></a><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes</a> - <span class="undocumented">Undocumented</span></li></ul></li><li><a name="testtools.tests.test_testresult.TestExtendedToStreamDecorator"></a><a href="testtools.tests.test_testresult.TestExtendedToStreamDecorator.html" class="code">testtools.tests.test_testresult.TestExtendedToStreamDecorator</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract.html" class="code">testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestMergeTags"></a><a href="testtools.tests.test_testresult.TestMergeTags.html" class="code">testtools.tests.test_testresult.TestMergeTags</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestMultiTestResult"></a><a href="testtools.tests.test_testresult.TestMultiTestResult.html" class="code">testtools.tests.test_testresult.TestMultiTestResult</a> - <span>Tests for 'MultiTestResult'.</span></li><li><a href="testtools.tests.test_testresult.TestMultiTestResultContract.html" class="code">testtools.tests.test_testresult.TestMultiTestResultContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestNonAsciiResults"></a><a href="testtools.tests.test_testresult.TestNonAsciiResults.html" class="code">testtools.tests.test_testresult.TestNonAsciiResults</a> - <span>Test all kinds of tracebacks are cleanly interpreted as unicode</span><ul><li><a name="testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest"></a><a href="testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest.html" class="code">testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest</a> - <span>Test that running under unittest produces clean ascii strings</span></li></ul></li><li><a href="testtools.tests.test_testresult.TestPython26TestResultContract.html" class="code">testtools.tests.test_testresult.TestPython26TestResultContract</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_testresult.TestPython27TestResultContract.html" class="code">testtools.tests.test_testresult.TestPython27TestResultContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestStreamFailFast"></a><a href="testtools.tests.test_testresult.TestStreamFailFast.html" class="code">testtools.tests.test_testresult.TestStreamFailFast</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_testresult.TestStreamFailFastContract.html" class="code">testtools.tests.test_testresult.TestStreamFailFastContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestStreamResultRouter"></a><a href="testtools.tests.test_testresult.TestStreamResultRouter.html" class="code">testtools.tests.test_testresult.TestStreamResultRouter</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_testresult.TestStreamResultRouterContract.html" class="code">testtools.tests.test_testresult.TestStreamResultRouterContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestStreamSummary"></a><a href="testtools.tests.test_testresult.TestStreamSummary.html" class="code">testtools.tests.test_testresult.TestStreamSummary</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_testresult.TestStreamSummaryResultContract.html" class="code">testtools.tests.test_testresult.TestStreamSummaryResultContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestStreamTagger"></a><a href="testtools.tests.test_testresult.TestStreamTagger.html" class="code">testtools.tests.test_testresult.TestStreamTagger</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_testresult.TestStreamTaggerContract.html" class="code">testtools.tests.test_testresult.TestStreamTaggerContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestStreamToDict"></a><a href="testtools.tests.test_testresult.TestStreamToDict.html" class="code">testtools.tests.test_testresult.TestStreamToDict</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_testresult.TestStreamToDictContract.html" class="code">testtools.tests.test_testresult.TestStreamToDictContract</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_testresult.TestStreamToExtendedContract.html" class="code">testtools.tests.test_testresult.TestStreamToExtendedContract</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract.html" class="code">testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestStreamToQueue"></a><a href="testtools.tests.test_testresult.TestStreamToQueue.html" class="code">testtools.tests.test_testresult.TestStreamToQueue</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_testresult.TestStreamToQueueContract.html" class="code">testtools.tests.test_testresult.TestStreamToQueueContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestTagger"></a><a href="testtools.tests.test_testresult.TestTagger.html" class="code">testtools.tests.test_testresult.TestTagger</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestTestControl"></a><a href="testtools.tests.test_testresult.TestTestControl.html" class="code">testtools.tests.test_testresult.TestTestControl</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestTestResult"></a><a href="testtools.tests.test_testresult.TestTestResult.html" class="code">testtools.tests.test_testresult.TestTestResult</a> - <span>Tests for 'TestResult'.</span></li><li><a href="testtools.tests.test_testresult.TestTestResultContract.html" class="code">testtools.tests.test_testresult.TestTestResultContract</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_testresult.TestTestResultDecoratorContract.html" class="code">testtools.tests.test_testresult.TestTestResultDecoratorContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestTextTestResult"></a><a href="testtools.tests.test_testresult.TestTextTestResult.html" class="code">testtools.tests.test_testresult.TestTextTestResult</a> - <span>Tests for 'TextTestResult'.</span></li><li><a href="testtools.tests.test_testresult.TestTextTestResultContract.html" class="code">testtools.tests.test_testresult.TestTextTestResultContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestThreadSafeForwardingResult"></a><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult</a> - <span>Tests for <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html"><code>TestThreadSafeForwardingResult</code></a>.</span></li><li><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResultContract.html" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResultContract</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testresult.TestTimestampingStreamResult"></a><a href="testtools.tests.test_testresult.TestTimestampingStreamResult.html" class="code">testtools.tests.test_testresult.TestTimestampingStreamResult</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testsuite.Sample"></a><a href="testtools.tests.test_testsuite.Sample.html" class="code">testtools.tests.test_testsuite.Sample</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun"></a><a href="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html" class="code">testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testsuite.TestConcurrentTestSuiteRun"></a><a href="testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html" class="code">testtools.tests.test_testsuite.TestConcurrentTestSuiteRun</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testsuite.TestFixtureSuite"></a><a href="testtools.tests.test_testsuite.TestFixtureSuite.html" class="code">testtools.tests.test_testsuite.TestFixtureSuite</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_testsuite.TestSortedTests"></a><a href="testtools.tests.test_testsuite.TestSortedTests.html" class="code">testtools.tests.test_testsuite.TestSortedTests</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.tests.test_with_with.TestExpectedException"></a><a href="testtools.tests.test_with_with.TestExpectedException.html" class="code">testtools.tests.test_with_with.TestExpectedException</a> - <span>Test the ExpectedException context manager.</span></li></ul></li></ul></li><li><code>unittest.TestProgram</code><ul><li><a name="testtools.run.TestProgram"></a><a href="testtools.run.TestProgram.html" class="code">testtools.run.TestProgram</a> - <span>A command-line program that runs a set of tests; this is primarily for making test modules conveniently executable.</span></li></ul></li><li><code>unittest.TestResult</code><ul><li><a name="testtools.testresult.real.TestResult"></a><a href="testtools.testresult.real.TestResult.html" class="code">testtools.testresult.real.TestResult</a> - <span>Subclass of unittest.TestResult extending the protocol for flexability.</span><ul><li><a name="testtools.testresult.real.MultiTestResult"></a><a href="testtools.testresult.real.MultiTestResult.html" class="code">testtools.testresult.real.MultiTestResult</a> - <span>A test result that dispatches to many test results.</span></li><li><a name="testtools.testresult.real.ThreadsafeForwardingResult"></a><a href="testtools.testresult.real.ThreadsafeForwardingResult.html" class="code">testtools.testresult.real.ThreadsafeForwardingResult</a> - <span>A TestResult which ensures the target does not receive mixed up calls.</span></li><li><a name="testtools.testresult.TestByTestResult"></a><a href="testtools.testresult.TestByTestResult.html" class="code">testtools.testresult.TestByTestResult</a> - <span>Call something every time a test completes.</span></li><li><a name="testtools.testresult.TextTestResult"></a><a href="testtools.testresult.TextTestResult.html" class="code">testtools.testresult.TextTestResult</a> - <span>A TestResult which outputs activity to a text stream.</span></li><li><a name="testtools.tests.helpers.LoggingResult"></a><a href="testtools.tests.helpers.LoggingResult.html" class="code">testtools.tests.helpers.LoggingResult</a> - <span>TestResult that logs its event to a list.</span></li></ul></li></ul></li><li><code>unittest2.TestSuite</code><ul><li><a name="testtools.FixtureSuite"></a><a href="testtools.FixtureSuite.html" class="code">testtools.FixtureSuite</a> - <span class="undocumented">Undocumented</span></li><li><a name="testtools.testsuite.ConcurrentTestSuite"></a><a href="testtools.testsuite.ConcurrentTestSuite.html" class="code">testtools.testsuite.ConcurrentTestSuite</a> - <span>A TestSuite whose run() calls out to a concurrency strategy.</span></li></ul></li></ul> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/index.html b/apidocs/index.html new file mode 100644 index 0000000..cf4740f --- /dev/null +++ b/apidocs/index.html @@ -0,0 +1,61 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title> + API Documentation for + testtools + </title> + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + testtools API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + <h2> + Get Started + </h2> + <ul> + <li> + A listing of <a href="moduleIndex.html">all modules and + packages</a>, organized by package hierarchy. + </li> + <li> + A listing of <a href="classIndex.html">all classes</a>, + organized by inheritance hierarchy. + </li> + <li> + A listing of <a href="nameIndex.html">all functions, classes, + modules and packages</a>, ordered by name. + </li> + + + <li>Start at <a href="testtools.html" class="code">testtools</a>, the root package.</li> + + </ul> + <h2> + About + </h2> + <p> + This documentation was automatically generated by + <a href="https://github.com/twisted/pydoctor/">pydoctor</a> + at 2015-07-01 16:11:28. + </p> + + </div> + + </body> +</html>
\ No newline at end of file diff --git a/apidocs/moduleIndex.html b/apidocs/moduleIndex.html new file mode 100644 index 0000000..a295b87 --- /dev/null +++ b/apidocs/moduleIndex.html @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>Module Index</title> + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + <nav class="navbar navbar-default"> + <div class="container"> + + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + testtools API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1>Module Index</h1> + </div> + + <ul><li><a href="testtools.html" class="code">testtools</a> - <span>Extensions to the standard Python unittest library.</span><ul><li><a href="testtools._compat2x.html" class="code">testtools._compat2x</a> - <span>Compatibility helpers that are valid syntax in Python 2.x.</span></li><li><a href="testtools._compat3x.html" class="code">testtools._compat3x</a> - <span>Compatibility helpers that are valid syntax in Python 3.x.</span></li><li><a href="testtools._spinner.html" class="code">testtools._spinner</a> - <span>Evil reactor-spinning logic for running Twisted tests.</span></li><li><a href="testtools.assertions.html" class="code">testtools.assertions</a> - <span class="undocumented">No module docstring; 1/1 functions documented</span></li><li><a href="testtools.compat.html" class="code">testtools.compat</a> - <span>Compatibility support for python 2 and 3.</span></li><li><a href="testtools.content.html" class="code">testtools.content</a> - <span>Content - a MIME-like Content object.</span></li><li><a href="testtools.content_type.html" class="code">testtools.content_type</a> - <span>ContentType - a MIME Content Type.</span></li><li><a href="testtools.deferredruntest.html" class="code">testtools.deferredruntest</a> - <span>Individual test case execution for tests that return Deferreds.</span></li><li><a href="testtools.distutilscmd.html" class="code">testtools.distutilscmd</a> - <span>Extensions to the standard Python unittest library.</span></li><li><a href="testtools.helpers.html" class="code">testtools.helpers</a> - <span class="undocumented">No module docstring; 4/4 functions documented</span></li><li><a href="testtools.matchers.html" class="code">testtools.matchers</a> - <span>All the matchers.</span><ul><li><a href="testtools.matchers._basic.html" class="code">testtools.matchers._basic</a> - <span class="undocumented">No module docstring; 13/17 classes, 1/2 functions documented</span></li><li><a href="testtools.matchers._datastructures.html" class="code">testtools.matchers._datastructures</a> - <span class="undocumented">No module docstring; 3/3 classes, 1/1 functions documented</span></li><li><a href="testtools.matchers._dict.html" class="code">testtools.matchers._dict</a> - <span class="undocumented">No module docstring; 7/7 classes, 1/3 functions documented</span></li><li><a href="testtools.matchers._doctest.html" class="code">testtools.matchers._doctest</a> - <span class="undocumented">No module docstring; 3/3 classes documented</span></li><li><a href="testtools.matchers._exception.html" class="code">testtools.matchers._exception</a> - <span class="undocumented">No module docstring; 2/2 classes, 1/3 functions documented</span></li><li><a href="testtools.matchers._filesystem.html" class="code">testtools.matchers._filesystem</a> - <span>Matchers for things related to the filesystem.</span></li><li><a href="testtools.matchers._higherorder.html" class="code">testtools.matchers._higherorder</a> - <span class="undocumented">No module docstring; 10/12 classes documented</span></li><li><a href="testtools.matchers._impl.html" class="code">testtools.matchers._impl</a> - <span>Matchers, a way to express complex assertions outside the testcase.</span></li></ul></li><li><a href="testtools.monkey.html" class="code">testtools.monkey</a> - <span>Helpers for monkey-patching Python code.</span></li><li><a href="testtools.run.html" class="code">testtools.run</a> - <span>python -m testtools.run testspec [testspec...]</span></li><li><a href="testtools.runtest.html" class="code">testtools.runtest</a> - <span>Individual test case execution.</span></li><li><a href="testtools.tags.html" class="code">testtools.tags</a> - <span>Tag support.</span></li><li><a href="testtools.testcase.html" class="code">testtools.testcase</a> - <span>Test case related stuff.</span></li><li><a href="testtools.testresult.html" class="code">testtools.testresult</a> - <span>Test result objects.</span><ul><li><a href="testtools.testresult.doubles.html" class="code">testtools.testresult.doubles</a> - <span>Doubles of test result objects, useful for testing unittest code.</span></li><li><a href="testtools.testresult.real.html" class="code">testtools.testresult.real</a> - <span>Test results and related things.</span></li></ul></li><li><a href="testtools.tests.html" class="code">testtools.tests</a> - <span>Tests for testtools itself.</span><ul><li><a href="testtools.tests.helpers.html" class="code">testtools.tests.helpers</a> - <span>Helpers for tests.</span></li><li><a href="testtools.tests.matchers.html" class="code">testtools.tests.matchers</a> - <span class="undocumented">No package docstring; 1/9 modules documented</span><ul><li><a href="testtools.tests.matchers.helpers.html" class="code">testtools.tests.matchers.helpers</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_basic.html" class="code">testtools.tests.matchers.test_basic</a> - <span class="undocumented">No module docstring; 1/15 classes, 0/1 functions documented</span></li><li><a href="testtools.tests.matchers.test_datastructures.html" class="code">testtools.tests.matchers.test_datastructures</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_dict.html" class="code">testtools.tests.matchers.test_dict</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_doctest.html" class="code">testtools.tests.matchers.test_doctest</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_exception.html" class="code">testtools.tests.matchers.test_exception</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_filesystem.html" class="code">testtools.tests.matchers.test_filesystem</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_higherorder.html" class="code">testtools.tests.matchers.test_higherorder</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.matchers.test_impl.html" class="code">testtools.tests.matchers.test_impl</a> - <span>Tests for matchers.</span></li></ul></li><li><a href="testtools.tests.test_assert_that.html" class="code">testtools.tests.test_assert_that</a> - <span class="undocumented">No module docstring; 1/3 classes, 0/1 functions documented</span></li><li><a href="testtools.tests.test_compat.html" class="code">testtools.tests.test_compat</a> - <span>Tests for miscellaneous compatibility functions</span></li><li><a href="testtools.tests.test_content.html" class="code">testtools.tests.test_content</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_content_type.html" class="code">testtools.tests.test_content_type</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_deferredruntest.html" class="code">testtools.tests.test_deferredruntest</a> - <span>Tests for the DeferredRunTest single test execution logic.</span></li><li><a href="testtools.tests.test_distutilscmd.html" class="code">testtools.tests.test_distutilscmd</a> - <span>Tests for the distutils test command logic.</span></li><li><a href="testtools.tests.test_fixturesupport.html" class="code">testtools.tests.test_fixturesupport</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_helpers.html" class="code">testtools.tests.test_helpers</a> - <span class="undocumented">Undocumented</span></li><li><a href="testtools.tests.test_monkey.html" class="code">testtools.tests.test_monkey</a> - <span>Tests for testtools.monkey.</span></li><li><a href="testtools.tests.test_run.html" class="code">testtools.tests.test_run</a> - <span>Tests for the test runner logic.</span></li><li><a href="testtools.tests.test_runtest.html" class="code">testtools.tests.test_runtest</a> - <span>Tests for the RunTest single test execution logic.</span></li><li><a href="testtools.tests.test_spinner.html" class="code">testtools.tests.test_spinner</a> - <span>Tests for the evil Twisted reactor-spinning we do.</span></li><li><a href="testtools.tests.test_tags.html" class="code">testtools.tests.test_tags</a> - <span>Test tag support.</span></li><li><a href="testtools.tests.test_testcase.html" class="code">testtools.tests.test_testcase</a> - <span>Tests for extensions to the base test library.</span></li><li><a href="testtools.tests.test_testresult.html" class="code">testtools.tests.test_testresult</a> - <span>Test TestResults and related things.</span></li><li><a href="testtools.tests.test_testsuite.html" class="code">testtools.tests.test_testsuite</a> - <span>Test ConcurrentTestSuite and related things.</span></li><li><a href="testtools.tests.test_with_with.html" class="code">testtools.tests.test_with_with</a> - <span class="undocumented">No module docstring; 1/1 classes, 0/1 functions documented</span></li></ul></li><li><a href="testtools.testsuite.html" class="code">testtools.testsuite</a> - <span>Test suites and related things.</span></li><li><a href="testtools.utils.html" class="code">testtools.utils</a> - <span>Utilities for dealing with stuff in unittest.</span></li></ul></li></ul> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/nameIndex.html b/apidocs/nameIndex.html new file mode 100644 index 0000000..354cc9c --- /dev/null +++ b/apidocs/nameIndex.html @@ -0,0 +1,244 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>Index Of Names</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + testtools API Documentation + </a> + </div> + </div> + </nav> + + + <div class="container"> + + <div class="page-header"> + <h1>Index Of Names</h1> + </div> + + + <a name="A"> + + </a> + <h2>A</h2> + <p class="letterlinks">A - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#_">_</a></p> + <ul> + <li>add_patch - <a href="testtools.monkey.MonkeyPatcher.html#add_patch" class="code">testtools.monkey.MonkeyPatcher.add_patch</a></li><li>add_rule - <a href="testtools.testresult.StreamResultRouter.html#add_rule" class="code">testtools.testresult.StreamResultRouter.add_rule</a></li><li>addCleanup - <a href="testtools.testcase.TestCase.html#addCleanup" class="code">testtools.testcase.TestCase.addCleanup</a></li><li>addDetail - <a href="testtools.testcase.TestCase.html#addDetail" class="code">testtools.testcase.TestCase.addDetail</a></li><li>addDetailUniqueName - <a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">testtools.testcase.TestCase.addDetailUniqueName</a></li><li>addError<ul><li><a href="testtools.testresult.doubles.ExtendedTestResult.html#addError" class="code">testtools.testresult.doubles.ExtendedTestResult.addError</a></li><li><a href="testtools.testresult.doubles.Python26TestResult.html#addError" class="code">testtools.testresult.doubles.Python26TestResult.addError</a></li><li><a href="testtools.testresult.doubles.Python27TestResult.html#addError" class="code">testtools.testresult.doubles.Python27TestResult.addError</a></li><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#addError" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.addError</a></li><li><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#addError" class="code">testtools.testresult.real.ExtendedToStreamDecorator.addError</a></li><li><a href="testtools.testresult.real.MultiTestResult.html#addError" class="code">testtools.testresult.real.MultiTestResult.addError</a></li><li><a href="testtools.testresult.real.TestResult.html#addError" class="code">testtools.testresult.real.TestResult.addError</a></li><li><a href="testtools.testresult.real.TestResultDecorator.html#addError" class="code">testtools.testresult.real.TestResultDecorator.addError</a></li><li><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#addError" class="code">testtools.testresult.real.ThreadsafeForwardingResult.addError</a></li><li><a href="testtools.testresult.TestByTestResult.html#addError" class="code">testtools.testresult.TestByTestResult.addError</a></li><li><a href="testtools.tests.helpers.LoggingResult.html#addError" class="code">testtools.tests.helpers.LoggingResult.addError</a></li></ul></li><li>addExpectedFailure<ul><li><a href="testtools.testresult.doubles.ExtendedTestResult.html#addExpectedFailure" class="code">testtools.testresult.doubles.ExtendedTestResult.addExpectedFailure</a></li><li><a href="testtools.testresult.doubles.Python27TestResult.html#addExpectedFailure" class="code">testtools.testresult.doubles.Python27TestResult.addExpectedFailure</a></li><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#addExpectedFailure" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.addExpectedFailure</a></li><li><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#addExpectedFailure" class="code">testtools.testresult.real.ExtendedToStreamDecorator.addExpectedFailure</a></li><li><a href="testtools.testresult.real.MultiTestResult.html#addExpectedFailure" class="code">testtools.testresult.real.MultiTestResult.addExpectedFailure</a></li><li><a href="testtools.testresult.real.TestResult.html#addExpectedFailure" class="code">testtools.testresult.real.TestResult.addExpectedFailure</a></li><li><a href="testtools.testresult.real.TestResultDecorator.html#addExpectedFailure" class="code">testtools.testresult.real.TestResultDecorator.addExpectedFailure</a></li><li><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#addExpectedFailure" class="code">testtools.testresult.real.ThreadsafeForwardingResult.addExpectedFailure</a></li><li><a href="testtools.testresult.TestByTestResult.html#addExpectedFailure" class="code">testtools.testresult.TestByTestResult.addExpectedFailure</a></li></ul></li><li>addFailure<ul><li><a href="testtools.testresult.doubles.ExtendedTestResult.html#addFailure" class="code">testtools.testresult.doubles.ExtendedTestResult.addFailure</a></li><li><a href="testtools.testresult.doubles.Python26TestResult.html#addFailure" class="code">testtools.testresult.doubles.Python26TestResult.addFailure</a></li><li><a href="testtools.testresult.doubles.Python27TestResult.html#addFailure" class="code">testtools.testresult.doubles.Python27TestResult.addFailure</a></li><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#addFailure" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.addFailure</a></li><li><a href="testtools.testresult.real.MultiTestResult.html#addFailure" class="code">testtools.testresult.real.MultiTestResult.addFailure</a></li><li><a href="testtools.testresult.real.TestResult.html#addFailure" class="code">testtools.testresult.real.TestResult.addFailure</a></li><li><a href="testtools.testresult.real.TestResultDecorator.html#addFailure" class="code">testtools.testresult.real.TestResultDecorator.addFailure</a></li><li><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#addFailure" class="code">testtools.testresult.real.ThreadsafeForwardingResult.addFailure</a></li><li><a href="testtools.testresult.TestByTestResult.html#addFailure" class="code">testtools.testresult.TestByTestResult.addFailure</a></li><li><a href="testtools.tests.helpers.LoggingResult.html#addFailure" class="code">testtools.tests.helpers.LoggingResult.addFailure</a></li></ul></li><li>addOnException - <a href="testtools.testcase.TestCase.html#addOnException" class="code">testtools.testcase.TestCase.addOnException</a></li><li>addSkip<ul><li><a href="testtools.testresult.doubles.ExtendedTestResult.html#addSkip" class="code">testtools.testresult.doubles.ExtendedTestResult.addSkip</a></li><li><a href="testtools.testresult.doubles.Python27TestResult.html#addSkip" class="code">testtools.testresult.doubles.Python27TestResult.addSkip</a></li><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#addSkip" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.addSkip</a></li><li><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#addSkip" class="code">testtools.testresult.real.ExtendedToStreamDecorator.addSkip</a></li><li><a href="testtools.testresult.real.MultiTestResult.html#addSkip" class="code">testtools.testresult.real.MultiTestResult.addSkip</a></li><li><a href="testtools.testresult.real.TestResult.html#addSkip" class="code">testtools.testresult.real.TestResult.addSkip</a></li><li><a href="testtools.testresult.real.TestResultDecorator.html#addSkip" class="code">testtools.testresult.real.TestResultDecorator.addSkip</a></li><li><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#addSkip" class="code">testtools.testresult.real.ThreadsafeForwardingResult.addSkip</a></li><li><a href="testtools.testresult.TestByTestResult.html#addSkip" class="code">testtools.testresult.TestByTestResult.addSkip</a></li><li><a href="testtools.tests.helpers.LoggingResult.html#addSkip" class="code">testtools.tests.helpers.LoggingResult.addSkip</a></li></ul></li><li>addSuccess<ul><li><a href="testtools.testresult.doubles.ExtendedTestResult.html#addSuccess" class="code">testtools.testresult.doubles.ExtendedTestResult.addSuccess</a></li><li><a href="testtools.testresult.doubles.Python26TestResult.html#addSuccess" class="code">testtools.testresult.doubles.Python26TestResult.addSuccess</a></li><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#addSuccess" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.addSuccess</a></li><li><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#addSuccess" class="code">testtools.testresult.real.ExtendedToStreamDecorator.addSuccess</a></li><li><a href="testtools.testresult.real.MultiTestResult.html#addSuccess" class="code">testtools.testresult.real.MultiTestResult.addSuccess</a></li><li><a href="testtools.testresult.real.TestResult.html#addSuccess" class="code">testtools.testresult.real.TestResult.addSuccess</a></li><li><a href="testtools.testresult.real.TestResultDecorator.html#addSuccess" class="code">testtools.testresult.real.TestResultDecorator.addSuccess</a></li><li><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#addSuccess" class="code">testtools.testresult.real.ThreadsafeForwardingResult.addSuccess</a></li><li><a href="testtools.testresult.TestByTestResult.html#addSuccess" class="code">testtools.testresult.TestByTestResult.addSuccess</a></li><li><a href="testtools.tests.helpers.LoggingResult.html#addSuccess" class="code">testtools.tests.helpers.LoggingResult.addSuccess</a></li></ul></li><li>addUnexpectedSuccess<ul><li><a href="testtools.testresult.doubles.ExtendedTestResult.html#addUnexpectedSuccess" class="code">testtools.testresult.doubles.ExtendedTestResult.addUnexpectedSuccess</a></li><li><a href="testtools.testresult.doubles.Python27TestResult.html#addUnexpectedSuccess" class="code">testtools.testresult.doubles.Python27TestResult.addUnexpectedSuccess</a></li><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#addUnexpectedSuccess" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.addUnexpectedSuccess</a></li><li><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#addUnexpectedSuccess" class="code">testtools.testresult.real.ExtendedToStreamDecorator.addUnexpectedSuccess</a></li><li><a href="testtools.testresult.real.MultiTestResult.html#addUnexpectedSuccess" class="code">testtools.testresult.real.MultiTestResult.addUnexpectedSuccess</a></li><li><a href="testtools.testresult.real.TestResult.html#addUnexpectedSuccess" class="code">testtools.testresult.real.TestResult.addUnexpectedSuccess</a></li><li><a href="testtools.testresult.real.TestResultDecorator.html#addUnexpectedSuccess" class="code">testtools.testresult.real.TestResultDecorator.addUnexpectedSuccess</a></li><li><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#addUnexpectedSuccess" class="code">testtools.testresult.real.ThreadsafeForwardingResult.addUnexpectedSuccess</a></li><li><a href="testtools.testresult.TestByTestResult.html#addUnexpectedSuccess" class="code">testtools.testresult.TestByTestResult.addUnexpectedSuccess</a></li></ul></li><li>AfterPreprocessing - <a href="testtools.matchers._higherorder.AfterPreprocessing.html" class="code">testtools.matchers._higherorder.AfterPreprocessing</a></li><li>AllMatch - <a href="testtools.matchers._higherorder.AllMatch.html" class="code">testtools.matchers._higherorder.AllMatch</a></li><li>Annotate - <a href="testtools.matchers._higherorder.Annotate.html" class="code">testtools.matchers._higherorder.Annotate</a></li><li>AnyMatch - <a href="testtools.matchers._higherorder.AnyMatch.html" class="code">testtools.matchers._higherorder.AnyMatch</a></li><li>args - <a href="testtools.runtest.MultipleExceptions.html#args" class="code">testtools.runtest.MultipleExceptions.args</a></li><li>as_text - <a href="testtools.content.Content.html#as_text" class="code">testtools.content.Content.as_text</a></li><li>assert_fails_with - <a href="testtools.deferredruntest.html#assert_fails_with" class="code">testtools.deferredruntest.assert_fails_with</a></li><li>assert_that - <a href="testtools.assertions.html#assert_that" class="code">testtools.assertions.assert_that</a></li><li>assert_that_callable<ul><li><a href="testtools.tests.test_assert_that.AssertThatTests.html#assert_that_callable" class="code">testtools.tests.test_assert_that.AssertThatTests.assert_that_callable</a></li><li><a href="testtools.tests.test_assert_that.TestAssertThatFunction.html#assert_that_callable" class="code">testtools.tests.test_assert_that.TestAssertThatFunction.assert_that_callable</a></li><li><a href="testtools.tests.test_assert_that.TestAssertThatMethod.html#assert_that_callable" class="code">testtools.tests.test_assert_that.TestAssertThatMethod.assert_that_callable</a></li></ul></li><li>assertCalled - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#assertCalled" class="code">testtools.tests.test_testresult.TestByTestResultTests.assertCalled</a></li><li>assertDetailsProvided - <a href="testtools.tests.test_testcase.TestWithDetails.html#assertDetailsProvided" class="code">testtools.tests.test_testcase.TestWithDetails.assertDetailsProvided</a></li><li>assertEqual - <a href="testtools.testcase.TestCase.html#assertEqual" class="code">testtools.testcase.TestCase.assertEqual</a></li><li>assertErrorLogEqual - <a href="testtools.tests.test_testcase.TestAddCleanup.html#assertErrorLogEqual" class="code">testtools.tests.test_testcase.TestAddCleanup.assertErrorLogEqual</a></li><li>assertFails<ul><li><a href="testtools.tests.test_assert_that.AssertThatTests.html#assertFails" class="code">testtools.tests.test_assert_that.AssertThatTests.assertFails</a></li><li><a href="testtools.tests.test_testcase.TestAssertions.html#assertFails" class="code">testtools.tests.test_testcase.TestAssertions.assertFails</a></li></ul></li><li>assertIn - <a href="testtools.testcase.TestCase.html#assertIn" class="code">testtools.testcase.TestCase.assertIn</a></li><li>assertions - <a href="testtools.assertions.html" class="code">testtools.assertions</a></li><li>assertIs - <a href="testtools.testcase.TestCase.html#assertIs" class="code">testtools.testcase.TestCase.assertIs</a></li><li>assertIsInstance - <a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">testtools.testcase.TestCase.assertIsInstance</a></li><li>assertIsNone - <a href="testtools.testcase.TestCase.html#assertIsNone" class="code">testtools.testcase.TestCase.assertIsNone</a></li><li>assertIsNot - <a href="testtools.testcase.TestCase.html#assertIsNot" class="code">testtools.testcase.TestCase.assertIsNot</a></li><li>assertIsNotNone - <a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">testtools.testcase.TestCase.assertIsNotNone</a></li><li>assertMismatchWithDescriptionMatching - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#assertMismatchWithDescriptionMatching" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise.assertMismatchWithDescriptionMatching</a></li><li>assertNotIn - <a href="testtools.testcase.TestCase.html#assertNotIn" class="code">testtools.testcase.TestCase.assertNotIn</a></li><li>assertRaises - <a href="testtools.testcase.TestCase.html#assertRaises" class="code">testtools.testcase.TestCase.assertRaises</a></li><li>assertResultLogsEqual - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#assertResultLogsEqual" class="code">testtools.tests.test_testresult.TestMultiTestResult.assertResultLogsEqual</a></li><li>assertResultsMatch - <a href="testtools.tests.test_deferredruntest.X.TestIntegration.html#assertResultsMatch" class="code">testtools.tests.test_deferredruntest.X.TestIntegration.assertResultsMatch</a></li><li>assertTestLogEqual - <a href="testtools.tests.test_testcase.TestAddCleanup.html#assertTestLogEqual" class="code">testtools.tests.test_testcase.TestAddCleanup.assertTestLogEqual</a></li><li>assertThat - <a href="testtools.testcase.TestCase.html#assertThat" class="code">testtools.testcase.TestCase.assertThat</a></li><li>AssertThatTests - <a href="testtools.tests.test_assert_that.AssertThatTests.html" class="code">testtools.tests.test_assert_that.AssertThatTests</a></li><li>AsText - <a href="testtools.tests.test_deferredruntest.AsText.html" class="code">testtools.tests.test_deferredruntest.AsText</a></li><li>AsynchronousDeferredRunTest - <a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html" class="code">testtools.deferredruntest.AsynchronousDeferredRunTest</a></li><li>AsynchronousDeferredRunTestForBrokenTwisted - <a href="testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted.html" class="code">testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted</a></li><li>attach_file - <a href="testtools.content.html#attach_file" class="code">testtools.content.attach_file</a></li><li>attr - <a href="testtools.testcase.html#attr" class="code">testtools.testcase.attr</a></li><li>Attributes - <a href="testtools.tests.test_testcase.Attributes.html" class="code">testtools.tests.test_testcase.Attributes</a></li> + </ul> + + <a name="B"> + + </a> + <h2>B</h2> + <p class="letterlinks"><a href="#A">A</a> - B - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#_">_</a></p> + <ul> + <li>Base - <a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">testtools.tests.test_deferredruntest.X.Base</a></li><li>BaseExceptionRaised - <a href="testtools.tests.test_deferredruntest.X.BaseExceptionRaised.html" class="code">testtools.tests.test_deferredruntest.X.BaseExceptionRaised</a></li><li>between - <a href="testtools.tests.matchers.test_higherorder.html#between" class="code">testtools.tests.matchers.test_higherorder.between</a></li><li>boom - <a href="testtools.tests.matchers.test_exception.TestRaisesInterface.html#boom" class="code">testtools.tests.matchers.test_exception.TestRaisesInterface.boom</a></li><li>boom_bar - <a href="testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.html#boom_bar" class="code">testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.boom_bar</a></li><li>boom_foo - <a href="testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.html#boom_foo" class="code">testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.boom_foo</a></li><li>brokenSetUp - <a href="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html#brokenSetUp" class="code">testtools.tests.test_testcase.TestAddCleanup.LoggingTest.brokenSetUp</a></li><li>brokenTest - <a href="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html#brokenTest" class="code">testtools.tests.test_testcase.TestAddCleanup.LoggingTest.brokenTest</a></li><li>byEquality - <a href="testtools.matchers._datastructures.MatchesStructure.html#byEquality" class="code">testtools.matchers._datastructures.MatchesStructure.byEquality</a></li><li>byMatcher - <a href="testtools.matchers._datastructures.MatchesStructure.html#byMatcher" class="code">testtools.matchers._datastructures.MatchesStructure.byMatcher</a></li> + </ul> + + <a name="C"> + + </a> + <h2>C</h2> + <p class="letterlinks"><a href="#A">A</a> - <a href="#B">B</a> - C - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#_">_</a></p> + <ul> + <li>Case - <a href="testtools.tests.test_testcase.TestPatchSupport.Case.html" class="code">testtools.tests.test_testcase.TestPatchSupport.Case</a></li><li>case - <a href="testtools.runtest.RunTest.html#case" class="code">testtools.runtest.RunTest.case</a></li><li>change_tags - <a href="testtools.tags.TagContext.html#change_tags" class="code">testtools.tags.TagContext.change_tags</a></li><li>check_outcome_details - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#check_outcome_details" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.check_outcome_details</a></li><li>check_outcome_details_to_arg - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#check_outcome_details_to_arg" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.check_outcome_details_to_arg</a></li><li>check_outcome_details_to_exec_info - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#check_outcome_details_to_exec_info" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.check_outcome_details_to_exec_info</a></li><li>check_outcome_details_to_nothing - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#check_outcome_details_to_nothing" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.check_outcome_details_to_nothing</a></li><li>check_outcome_details_to_string - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#check_outcome_details_to_string" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.check_outcome_details_to_string</a></li><li>check_outcome_exc_info - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#check_outcome_exc_info" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.check_outcome_exc_info</a></li><li>check_outcome_exc_info_to_nothing - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#check_outcome_exc_info_to_nothing" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.check_outcome_exc_info_to_nothing</a></li><li>check_outcome_nothing - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#check_outcome_nothing" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.check_outcome_nothing</a></li><li>check_outcome_string - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#check_outcome_string" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.check_outcome_string</a></li><li>check_outcome_string_nothing - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#check_outcome_string_nothing" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.check_outcome_string_nothing</a></li><li>check_skip_decorator_does_not_run_setup - <a href="testtools.tests.test_testcase.TestSkipping.html#check_skip_decorator_does_not_run_setup" class="code">testtools.tests.test_testcase.TestSkipping.check_skip_decorator_does_not_run_setup</a></li><li>classtypes - <a href="testtools.compat.html#classtypes" class="code">testtools.compat.classtypes</a></li><li>classtypes 0 - <a href="testtools.compat.html#classtypes%200" class="code">testtools.compat.classtypes 0</a></li><li>clear_junk - <a href="testtools._spinner.Spinner.html#clear_junk" class="code">testtools._spinner.Spinner.clear_junk</a></li><li>clone_test_with_new_id - <a href="testtools.testcase.html#clone_test_with_new_id" class="code">testtools.testcase.clone_test_with_new_id</a></li><li>comparator - <a href="testtools.matchers._basic._BinaryComparison.html#comparator" class="code">testtools.matchers._basic._BinaryComparison.comparator</a></li><li>compat - <a href="testtools.compat.html" class="code">testtools.compat</a></li><li>ConcurrentStreamTestSuite - <a href="testtools.testsuite.ConcurrentStreamTestSuite.html" class="code">testtools.testsuite.ConcurrentStreamTestSuite</a></li><li>ConcurrentTestSuite - <a href="testtools.testsuite.ConcurrentTestSuite.html" class="code">testtools.testsuite.ConcurrentTestSuite</a></li><li>ContainedByDict - <a href="testtools.matchers.ContainedByDict.html" class="code">testtools.matchers.ContainedByDict</a></li><li>Contains - <a href="testtools.matchers._basic.Contains.html" class="code">testtools.matchers._basic.Contains</a></li><li>ContainsAll - <a href="testtools.matchers._datastructures.html#ContainsAll" class="code">testtools.matchers._datastructures.ContainsAll</a></li><li>ContainsDict - <a href="testtools.matchers.ContainsDict.html" class="code">testtools.matchers.ContainsDict</a></li><li>Content - <a href="testtools.content.Content.html" class="code">testtools.content.Content</a></li><li>content - <a href="testtools.content.html" class="code">testtools.content</a></li><li>content_from_file - <a href="testtools.content.html#content_from_file" class="code">testtools.content.content_from_file</a></li><li>content_from_reader - <a href="testtools.content.html#content_from_reader" class="code">testtools.content.content_from_reader</a></li><li>content_from_stream - <a href="testtools.content.html#content_from_stream" class="code">testtools.content.content_from_stream</a></li><li>content_type<ul><li><a href="testtools.content.Content.html#content_type" class="code">testtools.content.Content.content_type</a></li><li><a href="testtools.content_type.html" class="code">testtools.content_type</a></li></ul></li><li>ContentType - <a href="testtools.content_type.ContentType.html" class="code">testtools.content_type.ContentType</a></li><li>CopyStreamResult - <a href="testtools.testresult.CopyStreamResult.html" class="code">testtools.testresult.CopyStreamResult</a></li><li>countTestCases - <a href="testtools.PlaceHolder.html#countTestCases" class="code">testtools.PlaceHolder.countTestCases</a></li><li>create_file - <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#create_file" class="code">testtools.tests.matchers.test_filesystem.PathHelpers.create_file</a></li><li>current_tags<ul><li><a href="testtools.testresult.doubles.ExtendedTestResult.html#current_tags" class="code">testtools.testresult.doubles.ExtendedTestResult.current_tags</a></li><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#current_tags" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.current_tags</a></li><li><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#current_tags" class="code">testtools.testresult.real.ExtendedToStreamDecorator.current_tags</a></li><li><a href="testtools.testresult.real.TestResult.html#current_tags" class="code">testtools.testresult.real.TestResult.current_tags</a></li><li><a href="testtools.testresult.real.TestResultDecorator.html#current_tags" class="code">testtools.testresult.real.TestResultDecorator.current_tags</a></li></ul></li><li>CustomRepr - <a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr.html" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr</a></li><li>CustomRunTest - <a href="testtools.tests.test_runtest.CustomRunTest.html" class="code">testtools.tests.test_runtest.CustomRunTest</a></li> + </ul> + + <a name="D"> + + </a> + <h2>D</h2> + <p class="letterlinks"><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - D - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#_">_</a></p> + <ul> + <li>debug - <a href="testtools.PlaceHolder.html#debug" class="code">testtools.PlaceHolder.debug</a></li><li>decorated - <a href="testtools.tests.test_testcase.Attributes.html#decorated" class="code">testtools.tests.test_testcase.Attributes.decorated</a></li><li>DecorateTestCaseResult - <a href="testtools.DecorateTestCaseResult.html" class="code">testtools.DecorateTestCaseResult</a></li><li>defaultTestResult - <a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">testtools.testcase.TestCase.defaultTestResult</a></li><li>DeferredNotFired - <a href="testtools._spinner.DeferredNotFired.html" class="code">testtools._spinner.DeferredNotFired</a></li><li>deferredruntest - <a href="testtools.deferredruntest.html" class="code">testtools.deferredruntest</a></li><li>describe<ul><li><a href="testtools.matchers._basic._BinaryMismatch.html#describe" class="code">testtools.matchers._basic._BinaryMismatch.describe</a></li><li><a href="testtools.matchers._basic.DoesNotContain.html#describe" class="code">testtools.matchers._basic.DoesNotContain.describe</a></li><li><a href="testtools.matchers._basic.DoesNotEndWith.html#describe" class="code">testtools.matchers._basic.DoesNotEndWith.describe</a></li><li><a href="testtools.matchers._basic.DoesNotStartWith.html#describe" class="code">testtools.matchers._basic.DoesNotStartWith.describe</a></li><li><a href="testtools.matchers._basic.NotAnInstance.html#describe" class="code">testtools.matchers._basic.NotAnInstance.describe</a></li><li><a href="testtools.matchers._dict.DictMismatches.html#describe" class="code">testtools.matchers._dict.DictMismatches.describe</a></li><li><a href="testtools.matchers._doctest.DocTestMismatch.html#describe" class="code">testtools.matchers._doctest.DocTestMismatch.describe</a></li><li><a href="testtools.matchers._higherorder.MatchedUnexpectedly.html#describe" class="code">testtools.matchers._higherorder.MatchedUnexpectedly.describe</a></li><li><a href="testtools.matchers._higherorder.MismatchesAll.html#describe" class="code">testtools.matchers._higherorder.MismatchesAll.describe</a></li><li><a href="testtools.matchers._higherorder.PostfixedMismatch.html#describe" class="code">testtools.matchers._higherorder.PostfixedMismatch.describe</a></li><li><a href="testtools.matchers._higherorder.PrefixedMismatch.html#describe" class="code">testtools.matchers._higherorder.PrefixedMismatch.describe</a></li><li><a href="testtools.matchers._impl.Mismatch.html#describe" class="code">testtools.matchers._impl.Mismatch.describe</a></li><li><a href="testtools.matchers._impl.MismatchDecorator.html#describe" class="code">testtools.matchers._impl.MismatchDecorator.describe</a></li></ul></li><li>DetailsContract - <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">testtools.tests.test_testresult.DetailsContract</a></li><li>dict_subtract - <a href="testtools.helpers.html#dict_subtract" class="code">testtools.helpers.dict_subtract</a></li><li>DictMismatches - <a href="testtools.matchers._dict.DictMismatches.html" class="code">testtools.matchers._dict.DictMismatches</a></li><li>DirContains - <a href="testtools.matchers.DirContains.html" class="code">testtools.matchers.DirContains</a></li><li>DirExists - <a href="testtools.matchers._filesystem.html#DirExists" class="code">testtools.matchers._filesystem.DirExists</a></li><li>distutilscmd - <a href="testtools.distutilscmd.html" class="code">testtools.distutilscmd</a></li><li>DocTestMatches - <a href="testtools.matchers._doctest.DocTestMatches.html" class="code">testtools.matchers._doctest.DocTestMatches</a></li><li>DocTestMismatch - <a href="testtools.matchers._doctest.DocTestMismatch.html" class="code">testtools.matchers._doctest.DocTestMismatch</a></li><li>DoesNotContain - <a href="testtools.matchers._basic.DoesNotContain.html" class="code">testtools.matchers._basic.DoesNotContain</a></li><li>DoesNotEndWith - <a href="testtools.matchers._basic.DoesNotEndWith.html" class="code">testtools.matchers._basic.DoesNotEndWith</a></li><li>DoesNotEndWithTests - <a href="testtools.tests.matchers.test_basic.DoesNotEndWithTests.html" class="code">testtools.tests.matchers.test_basic.DoesNotEndWithTests</a></li><li>DoesNotStartWith - <a href="testtools.matchers._basic.DoesNotStartWith.html" class="code">testtools.matchers._basic.DoesNotStartWith</a></li><li>DoesNotStartWithTests - <a href="testtools.tests.matchers.test_basic.DoesNotStartWithTests.html" class="code">testtools.tests.matchers.test_basic.DoesNotStartWithTests</a></li><li>domap - <a href="testtools.testresult.real.html#domap" class="code">testtools.testresult.real.domap</a></li><li>done<ul><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#done" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.done</a></li><li><a href="testtools.testresult.real.MultiTestResult.html#done" class="code">testtools.testresult.real.MultiTestResult.done</a></li><li><a href="testtools.testresult.real.TestResult.html#done" class="code">testtools.testresult.real.TestResult.done</a></li><li><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#done" class="code">testtools.testresult.real.ThreadsafeForwardingResult.done</a></li><li><a href="testtools.tests.helpers.LoggingResult.html#done" class="code">testtools.tests.helpers.LoggingResult.done</a></li></ul></li><li>doubles - <a href="testtools.testresult.doubles.html" class="code">testtools.testresult.doubles</a></li><li>dst - <a href="testtools.testresult.real.UTC.html#dst" class="code">testtools.testresult.real.UTC.dst</a></li> + </ul> + + <a name="E"> + + </a> + <h2>E</h2> + <p class="letterlinks"><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - E - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#_">_</a></p> + <ul> + <li>EndsWith - <a href="testtools.matchers._basic.EndsWith.html" class="code">testtools.matchers._basic.EndsWith</a></li><li>EndsWithTests - <a href="testtools.tests.matchers.test_basic.EndsWithTests.html" class="code">testtools.tests.matchers.test_basic.EndsWithTests</a></li><li>Equals - <a href="testtools.matchers._basic.Equals.html" class="code">testtools.matchers._basic.Equals</a></li><li>ErrorHolder - <a href="testtools.html#ErrorHolder" class="code">testtools.ErrorHolder</a></li><li>ErrorInCleanup - <a href="testtools.tests.test_deferredruntest.X.ErrorInCleanup.html" class="code">testtools.tests.test_deferredruntest.X.ErrorInCleanup</a></li><li>ErrorInSetup - <a href="testtools.tests.test_deferredruntest.X.ErrorInSetup.html" class="code">testtools.tests.test_deferredruntest.X.ErrorInSetup</a></li><li>ErrorInTearDown - <a href="testtools.tests.test_deferredruntest.X.ErrorInTearDown.html" class="code">testtools.tests.test_deferredruntest.X.ErrorInTearDown</a></li><li>ErrorInTest - <a href="testtools.tests.test_deferredruntest.X.ErrorInTest.html" class="code">testtools.tests.test_deferredruntest.X.ErrorInTest</a></li><li>exception_caught - <a href="testtools.runtest.RunTest.html#exception_caught" class="code">testtools.runtest.RunTest.exception_caught</a></li><li>exception_handlers - <a href="testtools.testcase.TestCase.html#exception_handlers" class="code">testtools.testcase.TestCase.exception_handlers</a></li><li>ExpectedException - <a href="testtools.testcase.ExpectedException.html" class="code">testtools.testcase.ExpectedException</a></li><li>expectFailure - <a href="testtools.testcase.TestCase.html#expectFailure" class="code">testtools.testcase.TestCase.expectFailure</a></li><li>expectThat - <a href="testtools.testcase.TestCase.html#expectThat" class="code">testtools.testcase.TestCase.expectThat</a></li><li>ExtendedTestResult - <a href="testtools.testresult.doubles.ExtendedTestResult.html" class="code">testtools.testresult.doubles.ExtendedTestResult</a></li><li>ExtendedToOriginalDecorator - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html" class="code">testtools.testresult.real.ExtendedToOriginalDecorator</a></li><li>ExtendedToStreamDecorator - <a href="testtools.testresult.real.ExtendedToStreamDecorator.html" class="code">testtools.testresult.real.ExtendedToStreamDecorator</a></li><li>extract_result - <a href="testtools._spinner.html#extract_result" class="code">testtools._spinner.extract_result</a></li> + </ul> + + <a name="F"> + + </a> + <h2>F</h2> + <p class="letterlinks"><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - F - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#_">_</a></p> + <ul> + <li>FailureInTest - <a href="testtools.tests.test_deferredruntest.X.FailureInTest.html" class="code">testtools.tests.test_deferredruntest.X.FailureInTest</a></li><li>FallbackContract - <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">testtools.tests.test_testresult.FallbackContract</a></li><li>FileContains - <a href="testtools.matchers._filesystem.FileContains.html" class="code">testtools.matchers._filesystem.FileContains</a></li><li>FileExists - <a href="testtools.matchers._filesystem.html#FileExists" class="code">testtools.matchers._filesystem.FileExists</a></li><li>filter_by_ids - <a href="testtools.testsuite.html#filter_by_ids" class="code">testtools.testsuite.filter_by_ids</a></li><li>filter_values - <a href="testtools.helpers.html#filter_values" class="code">testtools.helpers.filter_values</a></li><li>finalize_options - <a href="testtools.TestCommand.html#finalize_options" class="code">testtools.TestCommand.finalize_options</a></li><li>FixtureSuite - <a href="testtools.FixtureSuite.html" class="code">testtools.FixtureSuite</a></li><li>flush_logged_errors - <a href="testtools.deferredruntest.html#flush_logged_errors" class="code">testtools.deferredruntest.flush_logged_errors</a></li><li>Foo - <a href="testtools.tests.matchers.test_basic.TestIsInstanceInterface.Foo.html" class="code">testtools.tests.matchers.test_basic.TestIsInstanceInterface.Foo</a></li><li>force_failure - <a href="testtools.testcase.TestCase.html#force_failure" class="code">testtools.testcase.TestCase.force_failure</a></li><li>format_expected - <a href="testtools.matchers._dict._CombinedMatcher.html#format_expected" class="code">testtools.matchers._dict._CombinedMatcher.format_expected</a></li><li>fromExample - <a href="testtools.matchers._datastructures.MatchesStructure.html#fromExample" class="code">testtools.matchers._datastructures.MatchesStructure.fromExample</a></li><li>FullStackRunTest - <a href="testtools.tests.helpers.FullStackRunTest.html" class="code">testtools.tests.helpers.FullStackRunTest</a></li> + </ul> + + <a name="G"> + + </a> + <h2>G</h2> + <p class="letterlinks"><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - G - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#_">_</a></p> + <ul> + <li>gather_details - <a href="testtools.testcase.html#gather_details" class="code">testtools.testcase.gather_details</a></li><li>get_content - <a href="testtools.tests.test_testcase.TestWithDetails.html#get_content" class="code">testtools.tests.test_testcase.TestWithDetails.get_content</a></li><li>get_current_tags - <a href="testtools.tags.TagContext.html#get_current_tags" class="code">testtools.tags.TagContext.get_current_tags</a></li><li>get_details<ul><li><a href="testtools.matchers._impl.Mismatch.html#get_details" class="code">testtools.matchers._impl.Mismatch.get_details</a></li><li><a href="testtools.matchers._impl.MismatchDecorator.html#get_details" class="code">testtools.matchers._impl.MismatchDecorator.get_details</a></li></ul></li><li>get_details_and_string - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#get_details_and_string" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.get_details_and_string</a></li><li>get_error_string<ul><li><a href="testtools.tests.test_assert_that.AssertThatTests.html#get_error_string" class="code">testtools.tests.test_assert_that.AssertThatTests.get_error_string</a></li><li><a href="testtools.tests.test_testcase.TestAssertions.html#get_error_string" class="code">testtools.tests.test_testcase.TestAssertions.get_error_string</a></li></ul></li><li>get_junk - <a href="testtools._spinner.Spinner.html#get_junk" class="code">testtools._spinner.Spinner.get_junk</a></li><li>getDetails - <a href="testtools.testcase.TestCase.html#getDetails" class="code">testtools.testcase.TestCase.getDetails</a></li><li>getUniqueInteger - <a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">testtools.testcase.TestCase.getUniqueInteger</a></li><li>getUniqueString - <a href="testtools.testcase.TestCase.html#getUniqueString" class="code">testtools.testcase.TestCase.getUniqueString</a></li><li>getvalue - <a href="testtools.tests.test_testresult.TestTextTestResult.html#getvalue" class="code">testtools.tests.test_testresult.TestTextTestResult.getvalue</a></li><li>GreaterThan - <a href="testtools.matchers._basic.GreaterThan.html" class="code">testtools.matchers._basic.GreaterThan</a></li> + </ul> + + <a name="H"> + + </a> + <h2>H</h2> + <p class="letterlinks"><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - H - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#_">_</a></p> + <ul> + <li>handlers - <a href="testtools.runtest.RunTest.html#handlers" class="code">testtools.runtest.RunTest.handlers</a></li><li>has_len - <a href="testtools.matchers._basic.html#has_len" class="code">testtools.matchers._basic.has_len</a></li><li>HasPermissions - <a href="testtools.matchers._filesystem.HasPermissions.html" class="code">testtools.matchers._filesystem.HasPermissions</a></li><li>helpers<ul><li><a href="testtools.helpers.html" class="code">testtools.helpers</a></li><li><a href="testtools.tests.helpers.html" class="code">testtools.tests.helpers</a></li><li><a href="testtools.tests.matchers.helpers.html" class="code">testtools.tests.matchers.helpers</a></li></ul></li><li>hide_testtools_stack - <a href="testtools.tests.helpers.html#hide_testtools_stack" class="code">testtools.tests.helpers.hide_testtools_stack</a></li> + </ul> + + <a name="I"> + + </a> + <h2>I</h2> + <p class="letterlinks"><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - I - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#_">_</a></p> + <ul> + <li>id<ul><li><a href="testtools.PlaceHolder.html#id" class="code">testtools.PlaceHolder.id</a></li><li><a href="testtools.testcase.WithAttributes.html#id" class="code">testtools.testcase.WithAttributes.id</a></li></ul></li><li>if_message - <a href="testtools.matchers._higherorder.Annotate.html#if_message" class="code">testtools.matchers._higherorder.Annotate.if_message</a></li><li>initialize_options - <a href="testtools.TestCommand.html#initialize_options" class="code">testtools.TestCommand.initialize_options</a></li><li>Is - <a href="testtools.matchers._basic.Is.html" class="code">testtools.matchers._basic.Is</a></li><li>is_even - <a href="testtools.tests.matchers.test_higherorder.html#is_even" class="code">testtools.tests.matchers.test_higherorder.is_even</a></li><li>is_stack_hidden - <a href="testtools.tests.helpers.html#is_stack_hidden" class="code">testtools.tests.helpers.is_stack_hidden</a></li><li>IsInstance - <a href="testtools.matchers._basic.IsInstance.html" class="code">testtools.matchers._basic.IsInstance</a></li><li>istext - <a href="testtools.compat.html#istext" class="code">testtools.compat.istext</a></li><li>istext 0 - <a href="testtools.compat.html#istext%200" class="code">testtools.compat.istext 0</a></li><li>iter_bytes - <a href="testtools.content.Content.html#iter_bytes" class="code">testtools.content.Content.iter_bytes</a></li><li>iter_text - <a href="testtools.content.Content.html#iter_text" class="code">testtools.content.Content.iter_text</a></li><li>iterate_tests - <a href="testtools.testsuite.html#iterate_tests" class="code">testtools.testsuite.iterate_tests</a></li> + </ul> + + <a name="J"> + + </a> + <h2>J</h2> + <p class="letterlinks"><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - J - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#_">_</a></p> + <ul> + <li>json_content - <a href="testtools.content.html#json_content" class="code">testtools.content.json_content</a></li> + </ul> + + <a name="K"> + + </a> + <h2>K</h2> + <p class="letterlinks"><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - K - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#_">_</a></p> + <ul> + <li>KeysEqual - <a href="testtools.matchers._dict.KeysEqual.html" class="code">testtools.matchers._dict.KeysEqual</a></li> + </ul> + + <a name="L"> + + </a> + <h2>L</h2> + <p class="letterlinks"><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - L - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#_">_</a></p> + <ul> + <li>LabelledMismatches - <a href="testtools.matchers._dict.html#LabelledMismatches" class="code">testtools.matchers._dict.LabelledMismatches</a></li><li>LessThan - <a href="testtools.matchers._basic.LessThan.html" class="code">testtools.matchers._basic.LessThan</a></li><li>list - <a href="testtools.run.TestToolsTestRunner.html#list" class="code">testtools.run.TestToolsTestRunner.list</a></li><li>list_subtract - <a href="testtools.helpers.html#list_subtract" class="code">testtools.helpers.list_subtract</a></li><li>list_test - <a href="testtools.run.html#list_test" class="code">testtools.run.list_test</a></li><li>load_tests - <a href="testtools.tests.test_deferredruntest.html#load_tests" class="code">testtools.tests.test_deferredruntest.load_tests</a></li><li>logAppender - <a href="testtools.tests.test_testcase.TestAddCleanup.html#logAppender" class="code">testtools.tests.test_testcase.TestAddCleanup.logAppender</a></li><li>LoggingBase - <a href="testtools.testresult.doubles.LoggingBase.html" class="code">testtools.testresult.doubles.LoggingBase</a></li><li>LoggingResult - <a href="testtools.tests.helpers.LoggingResult.html" class="code">testtools.tests.helpers.LoggingResult</a></li><li>LoggingTest - <a href="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html" class="code">testtools.tests.test_testcase.TestAddCleanup.LoggingTest</a></li> + </ul> + + <a name="M"> + + </a> + <h2>M</h2> + <p class="letterlinks"><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - M - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#_">_</a></p> + <ul> + <li>main - <a href="testtools.run.html#main" class="code">testtools.run.main</a></li><li>make_26_result - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#make_26_result" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.make_26_result</a></li><li>make_27_result - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#make_27_result" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.make_27_result</a></li><li>make_case - <a href="testtools.tests.test_runtest.TestRunTest.html#make_case" class="code">testtools.tests.test_runtest.TestRunTest.make_case</a></li><li>make_converter - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#make_converter" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.make_converter</a></li><li>make_error - <a href="testtools.tests.matchers.test_exception.html#make_error" class="code">testtools.tests.matchers.test_exception.make_error</a></li><li>make_erroring_test - <a href="testtools.tests.test_testresult.html#make_erroring_test" class="code">testtools.tests.test_testresult.make_erroring_test</a></li><li>make_exception_info - <a href="testtools.tests.test_testresult.html#make_exception_info" class="code">testtools.tests.test_testresult.make_exception_info</a></li><li>make_extended_result - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#make_extended_result" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.make_extended_result</a></li><li>make_factory - <a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html#make_factory" class="code">testtools.deferredruntest.AsynchronousDeferredRunTest.make_factory</a></li><li>make_failing_test - <a href="testtools.tests.test_testresult.html#make_failing_test" class="code">testtools.tests.test_testresult.make_failing_test</a></li><li>make_file - <a href="testtools.tests.test_content.TestAttachFile.html#make_file" class="code">testtools.tests.test_content.TestAttachFile.make_file</a></li><li>make_integration_tests - <a href="testtools.tests.test_deferredruntest.html#make_integration_tests" class="code">testtools.tests.test_deferredruntest.make_integration_tests</a></li><li>make_mismatching_test - <a href="testtools.tests.test_testresult.html#make_mismatching_test" class="code">testtools.tests.test_testresult.make_mismatching_test</a></li><li>make_reactor<ul><li><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#make_reactor" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.make_reactor</a></li><li><a href="testtools.tests.test_spinner.TestRunInReactor.html#make_reactor" class="code">testtools.tests.test_spinner.TestRunInReactor.make_reactor</a></li></ul></li><li>make_result<ul><li><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#make_result" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.make_result</a></li><li><a href="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html#make_result" class="code">testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.make_result</a></li><li><a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html#make_result" class="code">testtools.tests.test_testcase.TestDecorateTestCaseResult.make_result</a></li><li><a href="testtools.tests.test_testresult.TestStreamToQueue.html#make_result" class="code">testtools.tests.test_testresult.TestStreamToQueue.make_result</a></li></ul></li><li>make_results - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#make_results" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.make_results</a></li><li>make_runner<ul><li><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#make_runner" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.make_runner</a></li><li><a href="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html#make_runner" class="code">testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.make_runner</a></li></ul></li><li>make_spinner - <a href="testtools.tests.test_spinner.TestRunInReactor.html#make_spinner" class="code">testtools.tests.test_spinner.TestRunInReactor.make_spinner</a></li><li>make_test - <a href="testtools.tests.test_testresult.html#make_test" class="code">testtools.tests.test_testresult.make_test</a></li><li>make_timeout<ul><li><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#make_timeout" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.make_timeout</a></li><li><a href="testtools.tests.test_spinner.TestRunInReactor.html#make_timeout" class="code">testtools.tests.test_spinner.TestRunInReactor.make_timeout</a></li></ul></li><li>make_unexpected_case - <a href="testtools.tests.test_testcase.TestExpectedFailure.html#make_unexpected_case" class="code">testtools.tests.test_testcase.TestExpectedFailure.make_unexpected_case</a></li><li>make_unexpectedly_successful_test - <a href="testtools.tests.test_testresult.html#make_unexpectedly_successful_test" class="code">testtools.tests.test_testresult.make_unexpectedly_successful_test</a></li><li>make_xfail_case_succeeds - <a href="testtools.tests.test_testcase.TestExpectedFailure.html#make_xfail_case_succeeds" class="code">testtools.tests.test_testcase.TestExpectedFailure.make_xfail_case_succeeds</a></li><li>make_xfail_case_xfails - <a href="testtools.tests.test_testcase.TestExpectedFailure.html#make_xfail_case_xfails" class="code">testtools.tests.test_testcase.TestExpectedFailure.make_xfail_case_xfails</a></li><li>makeException - <a href="testtools.tests.test_testcase.TestErrorHolder.html#makeException" class="code">testtools.tests.test_testcase.TestErrorHolder.makeException</a></li><li>makePlaceHolder<ul><li><a href="testtools.tests.test_testcase.TestErrorHolder.html#makePlaceHolder" class="code">testtools.tests.test_testcase.TestErrorHolder.makePlaceHolder</a></li><li><a href="testtools.tests.test_testcase.TestPlaceHolder.html#makePlaceHolder" class="code">testtools.tests.test_testcase.TestPlaceHolder.makePlaceHolder</a></li></ul></li><li>makeResult<ul><li><a href="testtools.tests.test_testresult.TestAdaptedPython26TestResultContract.html#makeResult" class="code">testtools.tests.test_testresult.TestAdaptedPython26TestResultContract.makeResult</a></li><li><a href="testtools.tests.test_testresult.TestAdaptedPython27TestResultContract.html#makeResult" class="code">testtools.tests.test_testresult.TestAdaptedPython27TestResultContract.makeResult</a></li><li><a href="testtools.tests.test_testresult.TestAdaptedStreamResult.html#makeResult" class="code">testtools.tests.test_testresult.TestAdaptedStreamResult.makeResult</a></li><li><a href="testtools.tests.test_testresult.TestExtendedTestResultContract.html#makeResult" class="code">testtools.tests.test_testresult.TestExtendedTestResultContract.makeResult</a></li><li><a href="testtools.tests.test_testresult.TestMultiTestResultContract.html#makeResult" class="code">testtools.tests.test_testresult.TestMultiTestResultContract.makeResult</a></li><li><a href="testtools.tests.test_testresult.TestPython26TestResultContract.html#makeResult" class="code">testtools.tests.test_testresult.TestPython26TestResultContract.makeResult</a></li><li><a href="testtools.tests.test_testresult.TestPython27TestResultContract.html#makeResult" class="code">testtools.tests.test_testresult.TestPython27TestResultContract.makeResult</a></li><li><a href="testtools.tests.test_testresult.TestStreamToExtendedContract.html#makeResult" class="code">testtools.tests.test_testresult.TestStreamToExtendedContract.makeResult</a></li><li><a href="testtools.tests.test_testresult.TestTestResult.html#makeResult" class="code">testtools.tests.test_testresult.TestTestResult.makeResult</a></li><li><a href="testtools.tests.test_testresult.TestTestResultContract.html#makeResult" class="code">testtools.tests.test_testresult.TestTestResultContract.makeResult</a></li><li><a href="testtools.tests.test_testresult.TestTestResultDecoratorContract.html#makeResult" class="code">testtools.tests.test_testresult.TestTestResultDecoratorContract.makeResult</a></li><li><a href="testtools.tests.test_testresult.TestTextTestResultContract.html#makeResult" class="code">testtools.tests.test_testresult.TestTextTestResultContract.makeResult</a></li><li><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResultContract.html#makeResult" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResultContract.makeResult</a></li></ul></li><li>many - <a href="testtools.tests.test_testcase.Attributes.html#many" class="code">testtools.tests.test_testcase.Attributes.many</a></li><li>map_values - <a href="testtools.helpers.html#map_values" class="code">testtools.helpers.map_values</a></li><li>match<ul><li><a href="testtools.matchers._basic._BinaryComparison.html#match" class="code">testtools.matchers._basic._BinaryComparison.match</a></li><li><a href="testtools.matchers._basic.Contains.html#match" class="code">testtools.matchers._basic.Contains.match</a></li><li><a href="testtools.matchers._basic.EndsWith.html#match" class="code">testtools.matchers._basic.EndsWith.match</a></li><li><a href="testtools.matchers._basic.IsInstance.html#match" class="code">testtools.matchers._basic.IsInstance.match</a></li><li><a href="testtools.matchers._basic.MatchesRegex.html#match" class="code">testtools.matchers._basic.MatchesRegex.match</a></li><li><a href="testtools.matchers._basic.SameMembers.html#match" class="code">testtools.matchers._basic.SameMembers.match</a></li><li><a href="testtools.matchers._basic.StartsWith.html#match" class="code">testtools.matchers._basic.StartsWith.match</a></li><li><a href="testtools.matchers._datastructures.MatchesListwise.html#match" class="code">testtools.matchers._datastructures.MatchesListwise.match</a></li><li><a href="testtools.matchers._datastructures.MatchesSetwise.html#match" class="code">testtools.matchers._datastructures.MatchesSetwise.match</a></li><li><a href="testtools.matchers._datastructures.MatchesStructure.html#match" class="code">testtools.matchers._datastructures.MatchesStructure.match</a></li><li><a href="testtools.matchers._dict._CombinedMatcher.html#match" class="code">testtools.matchers._dict._CombinedMatcher.match</a></li><li><a href="testtools.matchers._dict._MatchCommonKeys.html#match" class="code">testtools.matchers._dict._MatchCommonKeys.match</a></li><li><a href="testtools.matchers._dict._SubDictOf.html#match" class="code">testtools.matchers._dict._SubDictOf.match</a></li><li><a href="testtools.matchers._dict._SuperDictOf.html#match" class="code">testtools.matchers._dict._SuperDictOf.match</a></li><li><a href="testtools.matchers._dict.KeysEqual.html#match" class="code">testtools.matchers._dict.KeysEqual.match</a></li><li><a href="testtools.matchers._dict.MatchesAllDict.html#match" class="code">testtools.matchers._dict.MatchesAllDict.match</a></li><li><a href="testtools.matchers._doctest.DocTestMatches.html#match" class="code">testtools.matchers._doctest.DocTestMatches.match</a></li><li><a href="testtools.matchers._exception.MatchesException.html#match" class="code">testtools.matchers._exception.MatchesException.match</a></li><li><a href="testtools.matchers._exception.Raises.html#match" class="code">testtools.matchers._exception.Raises.match</a></li><li><a href="testtools.matchers._filesystem.FileContains.html#match" class="code">testtools.matchers._filesystem.FileContains.match</a></li><li><a href="testtools.matchers._filesystem.HasPermissions.html#match" class="code">testtools.matchers._filesystem.HasPermissions.match</a></li><li><a href="testtools.matchers._filesystem.SamePath.html#match" class="code">testtools.matchers._filesystem.SamePath.match</a></li><li><a href="testtools.matchers._filesystem.TarballContains.html#match" class="code">testtools.matchers._filesystem.TarballContains.match</a></li><li><a href="testtools.matchers._higherorder._MatchesPredicateWithParams.html#match" class="code">testtools.matchers._higherorder._MatchesPredicateWithParams.match</a></li><li><a href="testtools.matchers._higherorder.AfterPreprocessing.html#match" class="code">testtools.matchers._higherorder.AfterPreprocessing.match</a></li><li><a href="testtools.matchers._higherorder.AllMatch.html#match" class="code">testtools.matchers._higherorder.AllMatch.match</a></li><li><a href="testtools.matchers._higherorder.Annotate.html#match" class="code">testtools.matchers._higherorder.Annotate.match</a></li><li><a href="testtools.matchers._higherorder.AnyMatch.html#match" class="code">testtools.matchers._higherorder.AnyMatch.match</a></li><li><a href="testtools.matchers._higherorder.MatchesAll.html#match" class="code">testtools.matchers._higherorder.MatchesAll.match</a></li><li><a href="testtools.matchers._higherorder.MatchesAny.html#match" class="code">testtools.matchers._higherorder.MatchesAny.match</a></li><li><a href="testtools.matchers._higherorder.Not.html#match" class="code">testtools.matchers._higherorder.Not.match</a></li><li><a href="testtools.matchers._impl.Matcher.html#match" class="code">testtools.matchers._impl.Matcher.match</a></li><li><a href="testtools.matchers.DirContains.html#match" class="code">testtools.matchers.DirContains.match</a></li><li><a href="testtools.matchers.MatchesPredicate.html#match" class="code">testtools.matchers.MatchesPredicate.match</a></li><li><a href="testtools.tests.test_deferredruntest.MatchesEvents.html#match" class="code">testtools.tests.test_deferredruntest.MatchesEvents.match</a></li></ul></li><li>MatchedUnexpectedly - <a href="testtools.matchers._higherorder.MatchedUnexpectedly.html" class="code">testtools.matchers._higherorder.MatchedUnexpectedly</a></li><li>Matcher - <a href="testtools.matchers._impl.Matcher.html" class="code">testtools.matchers._impl.Matcher</a></li><li>matchers<ul><li><a href="testtools.matchers.html" class="code">testtools.matchers</a></li><li><a href="testtools.tests.matchers.html" class="code">testtools.tests.matchers</a></li></ul></li><li>MatchesAll - <a href="testtools.matchers._higherorder.MatchesAll.html" class="code">testtools.matchers._higherorder.MatchesAll</a></li><li>MatchesAllDict - <a href="testtools.matchers._dict.MatchesAllDict.html" class="code">testtools.matchers._dict.MatchesAllDict</a></li><li>MatchesAny - <a href="testtools.matchers._higherorder.MatchesAny.html" class="code">testtools.matchers._higherorder.MatchesAny</a></li><li>MatchesDict - <a href="testtools.matchers.MatchesDict.html" class="code">testtools.matchers.MatchesDict</a></li><li>MatchesEvents - <a href="testtools.tests.test_deferredruntest.MatchesEvents.html" class="code">testtools.tests.test_deferredruntest.MatchesEvents</a></li><li>MatchesException - <a href="testtools.matchers._exception.MatchesException.html" class="code">testtools.matchers._exception.MatchesException</a></li><li>MatchesListwise - <a href="testtools.matchers._datastructures.MatchesListwise.html" class="code">testtools.matchers._datastructures.MatchesListwise</a></li><li>MatchesPredicate - <a href="testtools.matchers.MatchesPredicate.html" class="code">testtools.matchers.MatchesPredicate</a></li><li>MatchesPredicateWithParams - <a href="testtools.matchers.html#MatchesPredicateWithParams" class="code">testtools.matchers.MatchesPredicateWithParams</a></li><li>MatchesRegex - <a href="testtools.matchers._basic.MatchesRegex.html" class="code">testtools.matchers._basic.MatchesRegex</a></li><li>MatchesSetwise - <a href="testtools.matchers._datastructures.MatchesSetwise.html" class="code">testtools.matchers._datastructures.MatchesSetwise</a></li><li>MatchesStructure - <a href="testtools.matchers._datastructures.MatchesStructure.html" class="code">testtools.matchers._datastructures.MatchesStructure</a></li><li>maybe_wrap - <a href="testtools.content.html#maybe_wrap" class="code">testtools.content.maybe_wrap</a></li><li>Mismatch - <a href="testtools.matchers._impl.Mismatch.html" class="code">testtools.matchers._impl.Mismatch</a></li><li>MismatchDecorator - <a href="testtools.matchers._impl.MismatchDecorator.html" class="code">testtools.matchers._impl.MismatchDecorator</a></li><li>MismatchError - <a href="testtools.matchers._impl.MismatchError.html" class="code">testtools.matchers._impl.MismatchError</a></li><li>MismatchesAll - <a href="testtools.matchers._higherorder.MismatchesAll.html" class="code">testtools.matchers._higherorder.MismatchesAll</a></li><li>mkdtemp - <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#mkdtemp" class="code">testtools.tests.matchers.test_filesystem.PathHelpers.mkdtemp</a></li><li>monkey - <a href="testtools.monkey.html" class="code">testtools.monkey</a></li><li>MonkeyPatcher - <a href="testtools.monkey.MonkeyPatcher.html" class="code">testtools.monkey.MonkeyPatcher</a></li><li>MonkeyPatcherTest - <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html" class="code">testtools.tests.test_monkey.MonkeyPatcherTest</a></li><li>MultipleExceptions - <a href="testtools.runtest.MultipleExceptions.html" class="code">testtools.runtest.MultipleExceptions</a></li><li>MultiTestResult - <a href="testtools.testresult.real.MultiTestResult.html" class="code">testtools.testresult.real.MultiTestResult</a></li> + </ul> + + <a name="N"> + + </a> + <h2>N</h2> + <p class="letterlinks"><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - N - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#_">_</a></p> + <ul> + <li>NeedsTwistedTestCase - <a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">testtools.tests.test_spinner.NeedsTwistedTestCase</a></li><li>NoResultError - <a href="testtools._spinner.NoResultError.html" class="code">testtools._spinner.NoResultError</a></li><li>Not - <a href="testtools.matchers._higherorder.Not.html" class="code">testtools.matchers._higherorder.Not</a></li><li>not_reentrant - <a href="testtools._spinner.html#not_reentrant" class="code">testtools._spinner.not_reentrant</a></li><li>NotAnInstance - <a href="testtools.matchers._basic.NotAnInstance.html" class="code">testtools.matchers._basic.NotAnInstance</a></li><li>NotEquals - <a href="testtools.matchers._basic.NotEquals.html" class="code">testtools.matchers._basic.NotEquals</a></li><li>Nullary - <a href="testtools.testcase.Nullary.html" class="code">testtools.testcase.Nullary</a></li> + </ul> + + <a name="O"> + + </a> + <h2>O</h2> + <p class="letterlinks"><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - O - <a href="#P">P</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#_">_</a></p> + <ul> + <li>on_test - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#on_test" class="code">testtools.tests.test_testresult.TestByTestResultTests.on_test</a></li><li>onException - <a href="testtools.testcase.TestCase.html#onException" class="code">testtools.testcase.TestCase.onException</a></li> + </ul> + + <a name="P"> + + </a> + <h2>P</h2> + <p class="letterlinks"><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - P - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#_">_</a></p> + <ul> + <li>parameters - <a href="testtools.content_type.ContentType.html#parameters" class="code">testtools.content_type.ContentType.parameters</a></li><li>parity - <a href="testtools.tests.matchers.test_higherorder.TestAfterPreprocessing.html#parity" class="code">testtools.tests.matchers.test_higherorder.TestAfterPreprocessing.parity</a></li><li>patch<ul><li><a href="testtools.monkey.MonkeyPatcher.html#patch" class="code">testtools.monkey.MonkeyPatcher.patch</a></li><li><a href="testtools.monkey.html#patch" class="code">testtools.monkey.patch</a></li><li><a href="testtools.testcase.TestCase.html#patch" class="code">testtools.testcase.TestCase.patch</a></li></ul></li><li>PathExists - <a href="testtools.matchers._filesystem.html#PathExists" class="code">testtools.matchers._filesystem.PathExists</a></li><li>PathHelpers - <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">testtools.tests.matchers.test_filesystem.PathHelpers</a></li><li>PlaceHolder - <a href="testtools.PlaceHolder.html" class="code">testtools.PlaceHolder</a></li><li>PostfixedMismatch - <a href="testtools.matchers._higherorder.PostfixedMismatch.html" class="code">testtools.matchers._higherorder.PostfixedMismatch</a></li><li>PrefixedMismatch - <a href="testtools.matchers._higherorder.PrefixedMismatch.html" class="code">testtools.matchers._higherorder.PrefixedMismatch</a></li><li>progress<ul><li><a href="testtools.testresult.doubles.ExtendedTestResult.html#progress" class="code">testtools.testresult.doubles.ExtendedTestResult.progress</a></li><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#progress" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.progress</a></li><li><a href="testtools.testresult.real.TestResultDecorator.html#progress" class="code">testtools.testresult.real.TestResultDecorator.progress</a></li><li><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#progress" class="code">testtools.testresult.real.ThreadsafeForwardingResult.progress</a></li></ul></li><li>Python26Contract - <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">testtools.tests.test_testresult.Python26Contract</a></li><li>Python26TestResult - <a href="testtools.testresult.doubles.Python26TestResult.html" class="code">testtools.testresult.doubles.Python26TestResult</a></li><li>Python27Contract - <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">testtools.tests.test_testresult.Python27Contract</a></li><li>Python27TestResult - <a href="testtools.testresult.doubles.Python27TestResult.html" class="code">testtools.testresult.doubles.Python27TestResult</a></li> + </ul> + + <a name="R"> + + </a> + <h2>R</h2> + <p class="letterlinks"><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - R - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#_">_</a></p> + <ul> + <li>raiseError - <a href="testtools.tests.test_testcase.TestAssertions.html#raiseError" class="code">testtools.tests.test_testcase.TestAssertions.raiseError</a></li><li>raiser - <a href="testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html#raiser" class="code">testtools.tests.matchers.test_exception.TestRaisesBaseTypes.raiser</a></li><li>Raises - <a href="testtools.matchers._exception.Raises.html" class="code">testtools.matchers._exception.Raises</a></li><li>raises - <a href="testtools.matchers._exception.html#raises" class="code">testtools.matchers._exception.raises</a></li><li>real - <a href="testtools.testresult.real.html" class="code">testtools.testresult.real</a></li><li>ReentryError - <a href="testtools._spinner.ReentryError.html" class="code">testtools._spinner.ReentryError</a></li><li>reraise<ul><li><a href="testtools._compat2x.html#reraise" class="code">testtools._compat2x.reraise</a></li><li><a href="testtools._compat3x.html#reraise" class="code">testtools._compat3x.reraise</a></li></ul></li><li>reset_output - <a href="testtools.tests.test_testresult.TestTextTestResult.html#reset_output" class="code">testtools.tests.test_testresult.TestTextTestResult.reset_output</a></li><li>restore - <a href="testtools.monkey.MonkeyPatcher.html#restore" class="code">testtools.monkey.MonkeyPatcher.restore</a></li><li>result - <a href="testtools.runtest.RunTest.html#result" class="code">testtools.runtest.RunTest.result</a></li><li>route_code - <a href="testtools.testresult.real.StreamToQueue.html#route_code" class="code">testtools.testresult.real.StreamToQueue.route_code</a></li><li>run<ul><li><a href="testtools._spinner.Spinner.html#run" class="code">testtools._spinner.Spinner.run</a></li><li><a href="testtools.DecorateTestCaseResult.html#run" class="code">testtools.DecorateTestCaseResult.run</a></li><li><a href="testtools.FixtureSuite.html#run" class="code">testtools.FixtureSuite.run</a></li><li><a href="testtools.PlaceHolder.html#run" class="code">testtools.PlaceHolder.run</a></li><li><a href="testtools.run.html" class="code">testtools.run</a></li><li><a href="testtools.run.TestToolsTestRunner.html#run" class="code">testtools.run.TestToolsTestRunner.run</a></li><li><a href="testtools.runtest.RunTest.html#run" class="code">testtools.runtest.RunTest.run</a></li><li><a href="testtools.testcase.TestCase.html#run" class="code">testtools.testcase.TestCase.run</a></li><li><a href="testtools.TestCommand.html#run" class="code">testtools.TestCommand.run</a></li><li><a href="testtools.tests.test_runtest.CustomRunTest.html#run" class="code">testtools.tests.test_runtest.CustomRunTest.run</a></li><li><a href="testtools.testsuite.ConcurrentStreamTestSuite.html#run" class="code">testtools.testsuite.ConcurrentStreamTestSuite.run</a></li><li><a href="testtools.testsuite.ConcurrentTestSuite.html#run" class="code">testtools.testsuite.ConcurrentTestSuite.run</a></li></ul></li><li>run_doctest - <a href="testtools.tests.matchers.test_datastructures.html#run_doctest" class="code">testtools.tests.matchers.test_datastructures.run_doctest</a></li><li>run_test_with - <a href="testtools.testcase.html#run_test_with" class="code">testtools.testcase.run_test_with</a></li><li>run_tests_with - <a href="testtools.testcase.TestCase.html#run_tests_with" class="code">testtools.testcase.TestCase.run_tests_with</a></li><li>run_with_log_observers - <a href="testtools.deferredruntest.html#run_with_log_observers" class="code">testtools.deferredruntest.run_with_log_observers</a></li><li>run_with_patches - <a href="testtools.monkey.MonkeyPatcher.html#run_with_patches" class="code">testtools.monkey.MonkeyPatcher.run_with_patches</a></li><li>run_with_stack_hidden - <a href="testtools.tests.helpers.html#run_with_stack_hidden" class="code">testtools.tests.helpers.run_with_stack_hidden</a></li><li>RunTest - <a href="testtools.runtest.RunTest.html" class="code">testtools.runtest.RunTest</a></li><li>runTest - <a href="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html#runTest" class="code">testtools.tests.test_testcase.TestAddCleanup.LoggingTest.runTest</a></li><li>runtest - <a href="testtools.runtest.html" class="code">testtools.runtest</a></li><li>runTests - <a href="testtools.run.TestProgram.html#runTests" class="code">testtools.run.TestProgram.runTests</a></li> + </ul> + + <a name="S"> + + </a> + <h2>S</h2> + <p class="letterlinks"><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#R">R</a> - S - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#_">_</a></p> + <ul> + <li>SameMembers - <a href="testtools.matchers._basic.SameMembers.html" class="code">testtools.matchers._basic.SameMembers</a></li><li>SamePath - <a href="testtools.matchers._filesystem.SamePath.html" class="code">testtools.matchers._filesystem.SamePath</a></li><li>Sample - <a href="testtools.tests.test_testsuite.Sample.html" class="code">testtools.tests.test_testsuite.Sample</a></li><li>SampleLoadTestsPackage - <a href="testtools.tests.test_run.SampleLoadTestsPackage.html" class="code">testtools.tests.test_run.SampleLoadTestsPackage</a></li><li>SampleResourcedFixture - <a href="testtools.tests.test_run.SampleResourcedFixture.html" class="code">testtools.tests.test_run.SampleResourcedFixture</a></li><li>SampleTestFixture<ul><li><a href="testtools.tests.test_distutilscmd.SampleTestFixture.html" class="code">testtools.tests.test_distutilscmd.SampleTestFixture</a></li><li><a href="testtools.tests.test_run.SampleTestFixture.html" class="code">testtools.tests.test_run.SampleTestFixture</a></li></ul></li><li>setUp<ul><li><a href="testtools.testcase.TestCase.html#setUp" class="code">testtools.testcase.TestCase.setUp</a></li><li><a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#setUp" class="code">testtools.tests.test_compat.TestUnicodeOutputStream.setUp</a></li><li><a href="testtools.tests.test_deferredruntest.X.Base.html#setUp" class="code">testtools.tests.test_deferredruntest.X.Base.setUp</a></li><li><a href="testtools.tests.test_deferredruntest.X.ErrorInSetup.html#setUp" class="code">testtools.tests.test_deferredruntest.X.ErrorInSetup.setUp</a></li><li><a href="testtools.tests.test_distutilscmd.SampleTestFixture.html#setUp" class="code">testtools.tests.test_distutilscmd.SampleTestFixture.setUp</a></li><li><a href="testtools.tests.test_distutilscmd.TestCommandTest.html#setUp" class="code">testtools.tests.test_distutilscmd.TestCommandTest.setUp</a></li><li><a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html#setUp" class="code">testtools.tests.test_fixturesupport.TestFixtureSupport.setUp</a></li><li><a href="testtools.tests.test_helpers.TestStackHiding.html#setUp" class="code">testtools.tests.test_helpers.TestStackHiding.setUp</a></li><li><a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#setUp" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.setUp</a></li><li><a href="testtools.tests.test_run.SampleLoadTestsPackage.html#setUp" class="code">testtools.tests.test_run.SampleLoadTestsPackage.setUp</a></li><li><a href="testtools.tests.test_run.SampleResourcedFixture.html#setUp" class="code">testtools.tests.test_run.SampleResourcedFixture.setUp</a></li><li><a href="testtools.tests.test_run.SampleTestFixture.html#setUp" class="code">testtools.tests.test_run.SampleTestFixture.setUp</a></li><li><a href="testtools.tests.test_run.TestRun.html#setUp" class="code">testtools.tests.test_run.TestRun.setUp</a></li><li><a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html#setUp" class="code">testtools.tests.test_spinner.NeedsTwistedTestCase.setUp</a></li><li><a href="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html#setUp" class="code">testtools.tests.test_testcase.TestAddCleanup.LoggingTest.setUp</a></li><li><a href="testtools.tests.test_testcase.TestAddCleanup.html#setUp" class="code">testtools.tests.test_testcase.TestAddCleanup.setUp</a></li><li><a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html#setUp" class="code">testtools.tests.test_testcase.TestDecorateTestCaseResult.setUp</a></li><li><a href="testtools.tests.test_testresult.TestByTestResultTests.html#setUp" class="code">testtools.tests.test_testresult.TestByTestResultTests.setUp</a></li><li><a href="testtools.tests.test_testresult.TestCopyStreamResultCopies.html#setUp" class="code">testtools.tests.test_testresult.TestCopyStreamResultCopies.setUp</a></li><li><a href="testtools.tests.test_testresult.TestMultiTestResult.html#setUp" class="code">testtools.tests.test_testresult.TestMultiTestResult.setUp</a></li><li><a href="testtools.tests.test_testresult.TestTextTestResult.html#setUp" class="code">testtools.tests.test_testresult.TestTextTestResult.setUp</a></li><li><a href="testtools.tests.test_testsuite.TestFixtureSuite.html#setUp" class="code">testtools.tests.test_testsuite.TestFixtureSuite.setUp</a></li></ul></li><li>shortDescription<ul><li><a href="testtools.PlaceHolder.html#shortDescription" class="code">testtools.PlaceHolder.shortDescription</a></li><li><a href="testtools.testcase.TestCase.html#shortDescription" class="code">testtools.testcase.TestCase.shortDescription</a></li></ul></li><li>shouldStop<ul><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#shouldStop" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.shouldStop</a></li><li><a href="testtools.testresult.real.TestControl.html#shouldStop" class="code">testtools.testresult.real.TestControl.shouldStop</a></li><li><a href="testtools.testresult.real.TestResultDecorator.html#shouldStop" class="code">testtools.testresult.real.TestResultDecorator.shouldStop</a></li></ul></li><li>simple - <a href="testtools.tests.test_testcase.Attributes.html#simple" class="code">testtools.tests.test_testcase.Attributes.simple</a></li><li>SimpleClass - <a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass.html" class="code">testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass</a></li><li>skip - <a href="testtools.testcase.html#skip" class="code">testtools.testcase.skip</a></li><li>skip_reasons - <a href="testtools.testresult.real.TestResult.html#skip_reasons" class="code">testtools.testresult.real.TestResult.skip_reasons</a></li><li>skipIf - <a href="testtools.testcase.html#skipIf" class="code">testtools.testcase.skipIf</a></li><li>skipTest - <a href="testtools.testcase.TestCase.html#skipTest" class="code">testtools.testcase.TestCase.skipTest</a></li><li>skipUnless - <a href="testtools.testcase.html#skipUnless" class="code">testtools.testcase.skipUnless</a></li><li>sort_tests - <a href="testtools.FixtureSuite.html#sort_tests" class="code">testtools.FixtureSuite.sort_tests</a></li><li>sorted_tests - <a href="testtools.testsuite.html#sorted_tests" class="code">testtools.testsuite.sorted_tests</a></li><li>Spinner - <a href="testtools._spinner.Spinner.html" class="code">testtools._spinner.Spinner</a></li><li>split_suite<ul><li><a href="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html#split_suite" class="code">testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.split_suite</a></li><li><a href="testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html#split_suite" class="code">testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.split_suite</a></li></ul></li><li>StackLinesContent - <a href="testtools.content.StackLinesContent.html" class="code">testtools.content.StackLinesContent</a></li><li>StacktraceContent - <a href="testtools.content.html#StacktraceContent" class="code">testtools.content.StacktraceContent</a></li><li>StaleJunkError - <a href="testtools._spinner.StaleJunkError.html" class="code">testtools._spinner.StaleJunkError</a></li><li>StartsWith - <a href="testtools.matchers._basic.StartsWith.html" class="code">testtools.matchers._basic.StartsWith</a></li><li>StartsWithTests - <a href="testtools.tests.matchers.test_basic.StartsWithTests.html" class="code">testtools.tests.matchers.test_basic.StartsWithTests</a></li><li>startTest<ul><li><a href="testtools.testresult.doubles.ExtendedTestResult.html#startTest" class="code">testtools.testresult.doubles.ExtendedTestResult.startTest</a></li><li><a href="testtools.testresult.doubles.Python26TestResult.html#startTest" class="code">testtools.testresult.doubles.Python26TestResult.startTest</a></li><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#startTest" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.startTest</a></li><li><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#startTest" class="code">testtools.testresult.real.ExtendedToStreamDecorator.startTest</a></li><li><a href="testtools.testresult.real.MultiTestResult.html#startTest" class="code">testtools.testresult.real.MultiTestResult.startTest</a></li><li><a href="testtools.testresult.real.Tagger.html#startTest" class="code">testtools.testresult.real.Tagger.startTest</a></li><li><a href="testtools.testresult.real.TestResult.html#startTest" class="code">testtools.testresult.real.TestResult.startTest</a></li><li><a href="testtools.testresult.real.TestResultDecorator.html#startTest" class="code">testtools.testresult.real.TestResultDecorator.startTest</a></li><li><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#startTest" class="code">testtools.testresult.real.ThreadsafeForwardingResult.startTest</a></li><li><a href="testtools.testresult.TestByTestResult.html#startTest" class="code">testtools.testresult.TestByTestResult.startTest</a></li><li><a href="testtools.tests.helpers.LoggingResult.html#startTest" class="code">testtools.tests.helpers.LoggingResult.startTest</a></li></ul></li><li>startTestRun<ul><li><a href="testtools.testresult.CopyStreamResult.html#startTestRun" class="code">testtools.testresult.CopyStreamResult.startTestRun</a></li><li><a href="testtools.testresult.doubles.ExtendedTestResult.html#startTestRun" class="code">testtools.testresult.doubles.ExtendedTestResult.startTestRun</a></li><li><a href="testtools.testresult.doubles.Python27TestResult.html#startTestRun" class="code">testtools.testresult.doubles.Python27TestResult.startTestRun</a></li><li><a href="testtools.testresult.doubles.StreamResult.html#startTestRun" class="code">testtools.testresult.doubles.StreamResult.startTestRun</a></li><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#startTestRun" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.startTestRun</a></li><li><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#startTestRun" class="code">testtools.testresult.real.ExtendedToStreamDecorator.startTestRun</a></li><li><a href="testtools.testresult.real.MultiTestResult.html#startTestRun" class="code">testtools.testresult.real.MultiTestResult.startTestRun</a></li><li><a href="testtools.testresult.real.StreamResult.html#startTestRun" class="code">testtools.testresult.real.StreamResult.startTestRun</a></li><li><a href="testtools.testresult.real.StreamSummary.html#startTestRun" class="code">testtools.testresult.real.StreamSummary.startTestRun</a></li><li><a href="testtools.testresult.real.StreamToDict.html#startTestRun" class="code">testtools.testresult.real.StreamToDict.startTestRun</a></li><li><a href="testtools.testresult.real.StreamToExtendedDecorator.html#startTestRun" class="code">testtools.testresult.real.StreamToExtendedDecorator.startTestRun</a></li><li><a href="testtools.testresult.real.StreamToQueue.html#startTestRun" class="code">testtools.testresult.real.StreamToQueue.startTestRun</a></li><li><a href="testtools.testresult.real.TestResult.html#startTestRun" class="code">testtools.testresult.real.TestResult.startTestRun</a></li><li><a href="testtools.testresult.real.TestResultDecorator.html#startTestRun" class="code">testtools.testresult.real.TestResultDecorator.startTestRun</a></li><li><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#startTestRun" class="code">testtools.testresult.real.ThreadsafeForwardingResult.startTestRun</a></li><li><a href="testtools.testresult.StreamResultRouter.html#startTestRun" class="code">testtools.testresult.StreamResultRouter.startTestRun</a></li><li><a href="testtools.testresult.TextTestResult.html#startTestRun" class="code">testtools.testresult.TextTestResult.startTestRun</a></li><li><a href="testtools.tests.helpers.LoggingResult.html#startTestRun" class="code">testtools.tests.helpers.LoggingResult.startTestRun</a></li></ul></li><li>StartTestRunContract - <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">testtools.tests.test_testresult.StartTestRunContract</a></li><li>status<ul><li><a href="testtools.testresult.CopyStreamResult.html#status" class="code">testtools.testresult.CopyStreamResult.status</a></li><li><a href="testtools.testresult.doubles.StreamResult.html#status" class="code">testtools.testresult.doubles.StreamResult.status</a></li><li><a href="testtools.testresult.real.StreamFailFast.html#status" class="code">testtools.testresult.real.StreamFailFast.status</a></li><li><a href="testtools.testresult.real.StreamResult.html#status" class="code">testtools.testresult.real.StreamResult.status</a></li><li><a href="testtools.testresult.real.StreamTagger.html#status" class="code">testtools.testresult.real.StreamTagger.status</a></li><li><a href="testtools.testresult.real.StreamToDict.html#status" class="code">testtools.testresult.real.StreamToDict.status</a></li><li><a href="testtools.testresult.real.StreamToExtendedDecorator.html#status" class="code">testtools.testresult.real.StreamToExtendedDecorator.status</a></li><li><a href="testtools.testresult.real.StreamToQueue.html#status" class="code">testtools.testresult.real.StreamToQueue.status</a></li><li><a href="testtools.testresult.real.TimestampingStreamResult.html#status" class="code">testtools.testresult.real.TimestampingStreamResult.status</a></li><li><a href="testtools.testresult.StreamResultRouter.html#status" class="code">testtools.testresult.StreamResultRouter.status</a></li></ul></li><li>stop<ul><li><a href="testtools.testresult.doubles.Python26TestResult.html#stop" class="code">testtools.testresult.doubles.Python26TestResult.stop</a></li><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#stop" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.stop</a></li><li><a href="testtools.testresult.real.MultiTestResult.html#stop" class="code">testtools.testresult.real.MultiTestResult.stop</a></li><li><a href="testtools.testresult.real.TestControl.html#stop" class="code">testtools.testresult.real.TestControl.stop</a></li><li><a href="testtools.testresult.real.TestResultDecorator.html#stop" class="code">testtools.testresult.real.TestResultDecorator.stop</a></li><li><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#stop" class="code">testtools.testresult.real.ThreadsafeForwardingResult.stop</a></li><li><a href="testtools.tests.helpers.LoggingResult.html#stop" class="code">testtools.tests.helpers.LoggingResult.stop</a></li></ul></li><li>stopTest<ul><li><a href="testtools.testresult.doubles.ExtendedTestResult.html#stopTest" class="code">testtools.testresult.doubles.ExtendedTestResult.stopTest</a></li><li><a href="testtools.testresult.doubles.Python26TestResult.html#stopTest" class="code">testtools.testresult.doubles.Python26TestResult.stopTest</a></li><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#stopTest" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.stopTest</a></li><li><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#stopTest" class="code">testtools.testresult.real.ExtendedToStreamDecorator.stopTest</a></li><li><a href="testtools.testresult.real.MultiTestResult.html#stopTest" class="code">testtools.testresult.real.MultiTestResult.stopTest</a></li><li><a href="testtools.testresult.real.TestResult.html#stopTest" class="code">testtools.testresult.real.TestResult.stopTest</a></li><li><a href="testtools.testresult.real.TestResultDecorator.html#stopTest" class="code">testtools.testresult.real.TestResultDecorator.stopTest</a></li><li><a href="testtools.testresult.TestByTestResult.html#stopTest" class="code">testtools.testresult.TestByTestResult.stopTest</a></li><li><a href="testtools.tests.helpers.LoggingResult.html#stopTest" class="code">testtools.tests.helpers.LoggingResult.stopTest</a></li></ul></li><li>stopTest 0 - <a href="testtools.testresult.real.ExtendedToStreamDecorator.html#stopTest%200" class="code">testtools.testresult.real.ExtendedToStreamDecorator.stopTest 0</a></li><li>stopTestRun<ul><li><a href="testtools.testresult.CopyStreamResult.html#stopTestRun" class="code">testtools.testresult.CopyStreamResult.stopTestRun</a></li><li><a href="testtools.testresult.doubles.Python27TestResult.html#stopTestRun" class="code">testtools.testresult.doubles.Python27TestResult.stopTestRun</a></li><li><a href="testtools.testresult.doubles.StreamResult.html#stopTestRun" class="code">testtools.testresult.doubles.StreamResult.stopTestRun</a></li><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#stopTestRun" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.stopTestRun</a></li><li><a href="testtools.testresult.real.MultiTestResult.html#stopTestRun" class="code">testtools.testresult.real.MultiTestResult.stopTestRun</a></li><li><a href="testtools.testresult.real.StreamResult.html#stopTestRun" class="code">testtools.testresult.real.StreamResult.stopTestRun</a></li><li><a href="testtools.testresult.real.StreamToDict.html#stopTestRun" class="code">testtools.testresult.real.StreamToDict.stopTestRun</a></li><li><a href="testtools.testresult.real.StreamToExtendedDecorator.html#stopTestRun" class="code">testtools.testresult.real.StreamToExtendedDecorator.stopTestRun</a></li><li><a href="testtools.testresult.real.StreamToQueue.html#stopTestRun" class="code">testtools.testresult.real.StreamToQueue.stopTestRun</a></li><li><a href="testtools.testresult.real.TestResult.html#stopTestRun" class="code">testtools.testresult.real.TestResult.stopTestRun</a></li><li><a href="testtools.testresult.real.TestResultDecorator.html#stopTestRun" class="code">testtools.testresult.real.TestResultDecorator.stopTestRun</a></li><li><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#stopTestRun" class="code">testtools.testresult.real.ThreadsafeForwardingResult.stopTestRun</a></li><li><a href="testtools.testresult.StreamResultRouter.html#stopTestRun" class="code">testtools.testresult.StreamResultRouter.stopTestRun</a></li><li><a href="testtools.testresult.TextTestResult.html#stopTestRun" class="code">testtools.testresult.TextTestResult.stopTestRun</a></li><li><a href="testtools.tests.helpers.LoggingResult.html#stopTestRun" class="code">testtools.tests.helpers.LoggingResult.stopTestRun</a></li></ul></li><li>StreamFailFast - <a href="testtools.testresult.real.StreamFailFast.html" class="code">testtools.testresult.real.StreamFailFast</a></li><li>StreamResult<ul><li><a href="testtools.testresult.doubles.StreamResult.html" class="code">testtools.testresult.doubles.StreamResult</a></li><li><a href="testtools.testresult.real.StreamResult.html" class="code">testtools.testresult.real.StreamResult</a></li></ul></li><li>StreamResultRouter - <a href="testtools.testresult.StreamResultRouter.html" class="code">testtools.testresult.StreamResultRouter</a></li><li>StreamSummary - <a href="testtools.testresult.real.StreamSummary.html" class="code">testtools.testresult.real.StreamSummary</a></li><li>StreamTagger - <a href="testtools.testresult.real.StreamTagger.html" class="code">testtools.testresult.real.StreamTagger</a></li><li>StreamToDict - <a href="testtools.testresult.real.StreamToDict.html" class="code">testtools.testresult.real.StreamToDict</a></li><li>StreamToExtendedDecorator - <a href="testtools.testresult.real.StreamToExtendedDecorator.html" class="code">testtools.testresult.real.StreamToExtendedDecorator</a></li><li>StreamToQueue - <a href="testtools.testresult.real.StreamToQueue.html" class="code">testtools.testresult.real.StreamToQueue</a></li><li>subtype - <a href="testtools.content_type.ContentType.html#subtype" class="code">testtools.content_type.ContentType.subtype</a></li><li>SynchronousDeferredRunTest - <a href="testtools.deferredruntest.SynchronousDeferredRunTest.html" class="code">testtools.deferredruntest.SynchronousDeferredRunTest</a></li> + </ul> + + <a name="T"> + + </a> + <h2>T</h2> + <p class="letterlinks"><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#R">R</a> - <a href="#S">S</a> - T - <a href="#U">U</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#_">_</a></p> + <ul> + <li>TagContext - <a href="testtools.tags.TagContext.html" class="code">testtools.tags.TagContext</a></li><li>Tagger - <a href="testtools.testresult.real.Tagger.html" class="code">testtools.testresult.real.Tagger</a></li><li>tags<ul><li><a href="testtools.tags.html" class="code">testtools.tags</a></li><li><a href="testtools.testresult.doubles.ExtendedTestResult.html#tags" class="code">testtools.testresult.doubles.ExtendedTestResult.tags</a></li><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#tags" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.tags</a></li><li><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#tags" class="code">testtools.testresult.real.ExtendedToStreamDecorator.tags</a></li><li><a href="testtools.testresult.real.MultiTestResult.html#tags" class="code">testtools.testresult.real.MultiTestResult.tags</a></li><li><a href="testtools.testresult.real.TestResult.html#tags" class="code">testtools.testresult.real.TestResult.tags</a></li><li><a href="testtools.testresult.real.TestResultDecorator.html#tags" class="code">testtools.testresult.real.TestResultDecorator.tags</a></li><li><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#tags" class="code">testtools.testresult.real.ThreadsafeForwardingResult.tags</a></li><li><a href="testtools.tests.helpers.LoggingResult.html#tags" class="code">testtools.tests.helpers.LoggingResult.tags</a></li></ul></li><li>TagsContract - <a href="testtools.tests.test_testresult.TagsContract.html" class="code">testtools.tests.test_testresult.TagsContract</a></li><li>TarballContains - <a href="testtools.matchers._filesystem.TarballContains.html" class="code">testtools.matchers._filesystem.TarballContains</a></li><li>tearDown<ul><li><a href="testtools.testcase.TestCase.html#tearDown" class="code">testtools.testcase.TestCase.tearDown</a></li><li><a href="testtools.tests.test_deferredruntest.X.Base.html#tearDown" class="code">testtools.tests.test_deferredruntest.X.Base.tearDown</a></li><li><a href="testtools.tests.test_deferredruntest.X.ErrorInTearDown.html#tearDown" class="code">testtools.tests.test_deferredruntest.X.ErrorInTearDown.tearDown</a></li><li><a href="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html#tearDown" class="code">testtools.tests.test_testcase.TestAddCleanup.LoggingTest.tearDown</a></li></ul></li><li>test - <a href="testtools.tests.test_testcase.TestPatchSupport.Case.html#test" class="code">testtools.tests.test_testcase.TestPatchSupport.Case.test</a></li><li>test___call__ - <a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html#test___call__" class="code">testtools.tests.test_testcase.TestDecorateTestCaseResult.test___call__</a></li><li>test___eq__<ul><li><a href="testtools.tests.test_content.TestContent.html#test___eq__" class="code">testtools.tests.test_content.TestContent.test___eq__</a></li><li><a href="testtools.tests.test_content_type.TestContentType.html#test___eq__" class="code">testtools.tests.test_content_type.TestContentType.test___eq__</a></li></ul></li><li>test___init___None_errors<ul><li><a href="testtools.tests.test_content.TestContent.html#test___init___None_errors" class="code">testtools.tests.test_content.TestContent.test___init___None_errors</a></li><li><a href="testtools.tests.test_content.TestTracebackContent.html#test___init___None_errors" class="code">testtools.tests.test_content.TestTracebackContent.test___init___None_errors</a></li><li><a href="testtools.tests.test_content_type.TestContentType.html#test___init___None_errors" class="code">testtools.tests.test_content_type.TestContentType.test___init___None_errors</a></li></ul></li><li>test___init___sets_content_type - <a href="testtools.tests.test_content.TestStackLinesContent.html#test___init___sets_content_type" class="code">testtools.tests.test_content.TestStackLinesContent.test___init___sets_content_type</a></li><li>test___init___sets_ivars<ul><li><a href="testtools.tests.test_content.TestContent.html#test___init___sets_ivars" class="code">testtools.tests.test_content.TestContent.test___init___sets_ivars</a></li><li><a href="testtools.tests.test_content.TestStacktraceContent.html#test___init___sets_ivars" class="code">testtools.tests.test_content.TestStacktraceContent.test___init___sets_ivars</a></li><li><a href="testtools.tests.test_content.TestTracebackContent.html#test___init___sets_ivars" class="code">testtools.tests.test_content.TestTracebackContent.test___init___sets_ivars</a></li><li><a href="testtools.tests.test_content_type.TestContentType.html#test___init___sets_ivars" class="code">testtools.tests.test_content_type.TestContentType.test___init___sets_ivars</a></li></ul></li><li>test___init___short - <a href="testtools.tests.test_runtest.TestRunTest.html#test___init___short" class="code">testtools.tests.test_runtest.TestRunTest.test___init___short</a></li><li>test___init___with_parameters - <a href="testtools.tests.test_content_type.TestContentType.html#test___init___with_parameters" class="code">testtools.tests.test_content_type.TestContentType.test___init___with_parameters</a></li><li>test___init__flags - <a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.html#test___init__flags" class="code">testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.test___init__flags</a></li><li>test___init__simple - <a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.html#test___init__simple" class="code">testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.test___init__simple</a></li><li>test___repr__ - <a href="testtools.tests.test_content.TestContent.html#test___repr__" class="code">testtools.tests.test_content.TestContent.test___repr__</a></li><li>test__force_failure_fails_test - <a href="testtools.tests.test_testcase.TestAssertions.html#test__force_failure_fails_test" class="code">testtools.tests.test_testcase.TestAssertions.test__force_failure_fails_test</a></li><li>test__init____handlers - <a href="testtools.tests.test_runtest.TestRunTest.html#test__init____handlers" class="code">testtools.tests.test_runtest.TestRunTest.test__init____handlers</a></li><li>test__init____handlers_last_resort - <a href="testtools.tests.test_runtest.TestRunTest.html#test__init____handlers_last_resort" class="code">testtools.tests.test_runtest.TestRunTest.test__init____handlers_last_resort</a></li><li>test__init_sets_stream - <a href="testtools.tests.test_testresult.TestTextTestResult.html#test__init_sets_stream" class="code">testtools.tests.test_testresult.TestTextTestResult.test__init_sets_stream</a></li><li>test__run_core_called - <a href="testtools.tests.test_runtest.TestRunTest.html#test__run_core_called" class="code">testtools.tests.test_runtest.TestRunTest.test__run_core_called</a></li><li>test__run_one_decorates_result - <a href="testtools.tests.test_runtest.TestRunTest.html#test__run_one_decorates_result" class="code">testtools.tests.test_runtest.TestRunTest.test__run_one_decorates_result</a></li><li>test__run_prepared_result_calls_start_and_stop_test - <a href="testtools.tests.test_runtest.TestRunTest.html#test__run_prepared_result_calls_start_and_stop_test" class="code">testtools.tests.test_runtest.TestRunTest.test__run_prepared_result_calls_start_and_stop_test</a></li><li>test__run_prepared_result_calls_stop_test_always - <a href="testtools.tests.test_runtest.TestRunTest.html#test__run_prepared_result_calls_stop_test_always" class="code">testtools.tests.test_runtest.TestRunTest.test__run_prepared_result_calls_stop_test_always</a></li><li>test__run_prepared_result_does_not_mask_keyboard - <a href="testtools.tests.test_runtest.TestRunTest.html#test__run_prepared_result_does_not_mask_keyboard" class="code">testtools.tests.test_runtest.TestRunTest.test__run_prepared_result_does_not_mask_keyboard</a></li><li>test__run_prepared_result_uncaught_Exception_raised - <a href="testtools.tests.test_runtest.TestRunTest.html#test__run_prepared_result_uncaught_Exception_raised" class="code">testtools.tests.test_runtest.TestRunTest.test__run_prepared_result_uncaught_Exception_raised</a></li><li>test__run_prepared_result_uncaught_Exception_triggers_error - <a href="testtools.tests.test_runtest.TestRunTest.html#test__run_prepared_result_uncaught_Exception_triggers_error" class="code">testtools.tests.test_runtest.TestRunTest.test__run_prepared_result_uncaught_Exception_triggers_error</a></li><li>test__run_user_calls_onException - <a href="testtools.tests.test_runtest.TestRunTest.html#test__run_user_calls_onException" class="code">testtools.tests.test_runtest.TestRunTest.test__run_user_calls_onException</a></li><li>test__run_user_can_catch_Exception - <a href="testtools.tests.test_runtest.TestRunTest.html#test__run_user_can_catch_Exception" class="code">testtools.tests.test_runtest.TestRunTest.test__run_user_can_catch_Exception</a></li><li>test__run_user_returns_result - <a href="testtools.tests.test_runtest.TestRunTest.html#test__run_user_returns_result" class="code">testtools.tests.test_runtest.TestRunTest.test__run_user_returns_result</a></li><li>test__run_user_uncaught_Exception_from_exception_handler_raised - <a href="testtools.tests.test_runtest.TestRunTest.html#test__run_user_uncaught_Exception_from_exception_handler_raised" class="code">testtools.tests.test_runtest.TestRunTest.test__run_user_uncaught_Exception_from_exception_handler_raised</a></li><li>test__str__ - <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">testtools.tests.matchers.helpers.TestMatchersInterface.test__str__</a></li><li>test_add_cleanup_called_if_setUp_fails - <a href="testtools.tests.test_testcase.TestAddCleanup.html#test_add_cleanup_called_if_setUp_fails" class="code">testtools.tests.test_testcase.TestAddCleanup.test_add_cleanup_called_if_setUp_fails</a></li><li>test_add_error - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_error" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_add_error</a></li><li>test_add_error_details - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_error_details" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_add_error_details</a></li><li>test_add_failure - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_failure" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_add_failure</a></li><li>test_add_failure_details - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_failure_details" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_add_failure_details</a></li><li>test_add_rule_bad_policy - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_bad_policy" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_bad_policy</a></li><li>test_add_rule_do_start_stop_run - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_do_start_stop_run" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_do_start_stop_run</a></li><li>test_add_rule_do_start_stop_run_after_startTestRun - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_do_start_stop_run_after_startTestRun" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_do_start_stop_run_after_startTestRun</a></li><li>test_add_rule_extra_policy_arg - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_extra_policy_arg" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_extra_policy_arg</a></li><li>test_add_rule_missing_prefix - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_missing_prefix" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_missing_prefix</a></li><li>test_add_rule_route_code_consume_False - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_route_code_consume_False" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_route_code_consume_False</a></li><li>test_add_rule_route_code_consume_True - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_route_code_consume_True" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_route_code_consume_True</a></li><li>test_add_rule_slash_in_prefix - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_slash_in_prefix" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_slash_in_prefix</a></li><li>test_add_rule_test_id - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_test_id" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_test_id</a></li><li>test_add_skip_details - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_skip_details" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_add_skip_details</a></li><li>test_add_skip_reason - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_skip_reason" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_add_skip_reason</a></li><li>test_add_success - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_success" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_add_success</a></li><li>test_add_success_details - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_success_details" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_add_success_details</a></li><li>test_add_tag - <a href="testtools.tests.test_tags.TestTags.html#test_add_tag" class="code">testtools.tests.test_tags.TestTags.test_add_tag</a></li><li>test_add_tag_twice - <a href="testtools.tests.test_tags.TestTags.html#test_add_tag_twice" class="code">testtools.tests.test_tags.TestTags.test_add_tag_twice</a></li><li>test_add_tags_within_test - <a href="testtools.tests.test_testresult.TagsContract.html#test_add_tags_within_test" class="code">testtools.tests.test_testresult.TagsContract.test_add_tags_within_test</a></li><li>test_add_to_child - <a href="testtools.tests.test_tags.TestTags.html#test_add_to_child" class="code">testtools.tests.test_tags.TestTags.test_add_to_child</a></li><li>test_add_unexpected_success - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_unexpected_success" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_add_unexpected_success</a></li><li>test_add_xfail - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_xfail" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_add_xfail</a></li><li>test_add_xfail_details - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_xfail_details" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_add_xfail_details</a></li><li>test_addCleanup_called_in_reverse_order - <a href="testtools.tests.test_testcase.TestAddCleanup.html#test_addCleanup_called_in_reverse_order" class="code">testtools.tests.test_testcase.TestAddCleanup.test_addCleanup_called_in_reverse_order</a></li><li>test_addDetail - <a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addDetail" class="code">testtools.tests.test_testcase.TestDetailsProvided.test_addDetail</a></li><li>test_addDetails_from_Mismatch - <a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addDetails_from_Mismatch" class="code">testtools.tests.test_testcase.TestDetailsProvided.test_addDetails_from_Mismatch</a></li><li>test_addDetails_with_same_name_as_key_from_get_details - <a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addDetails_with_same_name_as_key_from_get_details" class="code">testtools.tests.test_testcase.TestDetailsProvided.test_addDetails_with_same_name_as_key_from_get_details</a></li><li>test_addDetailUniqueName_works - <a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addDetailUniqueName_works" class="code">testtools.tests.test_testcase.TestDetailsProvided.test_addDetailUniqueName_works</a></li><li>test_added_handler_works - <a href="testtools.tests.test_testcase.TestOnException.html#test_added_handler_works" class="code">testtools.tests.test_testcase.TestOnException.test_added_handler_works</a></li><li>test_addError<ul><li><a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addError" class="code">testtools.tests.test_testcase.TestDetailsProvided.test_addError</a></li><li><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_addError" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_addError</a></li></ul></li><li>test_addError_details - <a href="testtools.tests.test_testresult.DetailsContract.html#test_addError_details" class="code">testtools.tests.test_testresult.DetailsContract.test_addError_details</a></li><li>test_addError_is_failure - <a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">testtools.tests.test_testresult.Python26Contract.test_addError_is_failure</a></li><li>test_addExpectedFailure - <a href="testtools.tests.test_testresult.Python27Contract.html#test_addExpectedFailure" class="code">testtools.tests.test_testresult.Python27Contract.test_addExpectedFailure</a></li><li>test_addExpectedFailure_details - <a href="testtools.tests.test_testresult.DetailsContract.html#test_addExpectedFailure_details" class="code">testtools.tests.test_testresult.DetailsContract.test_addExpectedFailure_details</a></li><li>test_addExpectedFailure_is_success - <a href="testtools.tests.test_testresult.Python27Contract.html#test_addExpectedFailure_is_success" class="code">testtools.tests.test_testresult.Python27Contract.test_addExpectedFailure_is_success</a></li><li>test_addFailure<ul><li><a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addFailure" class="code">testtools.tests.test_testcase.TestDetailsProvided.test_addFailure</a></li><li><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_addFailure" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_addFailure</a></li></ul></li><li>test_addFailure_details - <a href="testtools.tests.test_testresult.DetailsContract.html#test_addFailure_details" class="code">testtools.tests.test_testresult.DetailsContract.test_addFailure_details</a></li><li>test_addFailure_is_failure - <a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">testtools.tests.test_testresult.Python26Contract.test_addFailure_is_failure</a></li><li>test_adding - <a href="testtools.tests.test_testresult.TestStreamTagger.html#test_adding" class="code">testtools.tests.test_testresult.TestStreamTagger.test_adding</a></li><li>test_adding_tags - <a href="testtools.tests.test_testresult.TagsContract.html#test_adding_tags" class="code">testtools.tests.test_testresult.TagsContract.test_adding_tags</a></li><li>test_addSkip - <a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addSkip" class="code">testtools.tests.test_testcase.TestDetailsProvided.test_addSkip</a></li><li>test_addSkip_is_success - <a href="testtools.tests.test_testresult.Python27Contract.html#test_addSkip_is_success" class="code">testtools.tests.test_testresult.Python27Contract.test_addSkip_is_success</a></li><li>test_addSkipped<ul><li><a href="testtools.tests.test_testresult.Python27Contract.html#test_addSkipped" class="code">testtools.tests.test_testresult.Python27Contract.test_addSkipped</a></li><li><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_addSkipped" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_addSkipped</a></li><li><a href="testtools.tests.test_testresult.TestTestResult.html#test_addSkipped" class="code">testtools.tests.test_testresult.TestTestResult.test_addSkipped</a></li></ul></li><li>test_addSkipped_details - <a href="testtools.tests.test_testresult.DetailsContract.html#test_addSkipped_details" class="code">testtools.tests.test_testresult.DetailsContract.test_addSkipped_details</a></li><li>test_addSucccess - <a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addSucccess" class="code">testtools.tests.test_testcase.TestDetailsProvided.test_addSucccess</a></li><li>test_addSuccess - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_addSuccess" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_addSuccess</a></li><li>test_addSuccess_details - <a href="testtools.tests.test_testresult.DetailsContract.html#test_addSuccess_details" class="code">testtools.tests.test_testresult.DetailsContract.test_addSuccess_details</a></li><li>test_addSuccess_is_success - <a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">testtools.tests.test_testresult.Python26Contract.test_addSuccess_is_success</a></li><li>test_addUnexpectedSuccess<ul><li><a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addUnexpectedSuccess" class="code">testtools.tests.test_testcase.TestDetailsProvided.test_addUnexpectedSuccess</a></li><li><a href="testtools.tests.test_testresult.Python27Contract.html#test_addUnexpectedSuccess" class="code">testtools.tests.test_testresult.Python27Contract.test_addUnexpectedSuccess</a></li></ul></li><li>test_addUnexpectedSuccess_details - <a href="testtools.tests.test_testresult.DetailsContract.html#test_addUnexpectedSuccess_details" class="code">testtools.tests.test_testresult.DetailsContract.test_addUnexpectedSuccess_details</a></li><li>test_addUnexpectedSuccess_was_successful<ul><li><a href="testtools.tests.test_testresult.FallbackContract.html#test_addUnexpectedSuccess_was_successful" class="code">testtools.tests.test_testresult.FallbackContract.test_addUnexpectedSuccess_was_successful</a></li><li><a href="testtools.tests.test_testresult.Python27Contract.html#test_addUnexpectedSuccess_was_successful" class="code">testtools.tests.test_testresult.Python27Contract.test_addUnexpectedSuccess_was_successful</a></li></ul></li><li>test_all_errors_from_MultipleExceptions_reported - <a href="testtools.tests.test_testcase.TestAddCleanup.html#test_all_errors_from_MultipleExceptions_reported" class="code">testtools.tests.test_testcase.TestAddCleanup.test_all_errors_from_MultipleExceptions_reported</a></li><li>test_all_terminal_states_reported - <a href="testtools.tests.test_testresult.TestStreamToDict.html#test_all_terminal_states_reported" class="code">testtools.tests.test_testresult.TestStreamToDict.test_all_terminal_states_reported</a></li><li>test_annotate - <a href="testtools.tests.test_with_with.TestExpectedException.html#test_annotate" class="code">testtools.tests.test_with_with.TestExpectedException.test_annotate</a></li><li>test_annotated_matcher - <a href="testtools.tests.test_with_with.TestExpectedException.html#test_annotated_matcher" class="code">testtools.tests.test_with_with.TestExpectedException.test_annotated_matcher</a></li><li>test_as_text - <a href="testtools.tests.test_content.TestContent.html#test_as_text" class="code">testtools.tests.test_content.TestContent.test_as_text</a></li><li>test_ascii_examples_defaultline_bytes - <a href="testtools.tests.test_compat.TestTextRepr.html#test_ascii_examples_defaultline_bytes" class="code">testtools.tests.test_compat.TestTextRepr.test_ascii_examples_defaultline_bytes</a></li><li>test_ascii_examples_defaultline_unicode - <a href="testtools.tests.test_compat.TestTextRepr.html#test_ascii_examples_defaultline_unicode" class="code">testtools.tests.test_compat.TestTextRepr.test_ascii_examples_defaultline_unicode</a></li><li>test_ascii_examples_multiline_bytes - <a href="testtools.tests.test_compat.TestTextRepr.html#test_ascii_examples_multiline_bytes" class="code">testtools.tests.test_compat.TestTextRepr.test_ascii_examples_multiline_bytes</a></li><li>test_ascii_examples_multiline_unicode - <a href="testtools.tests.test_compat.TestTextRepr.html#test_ascii_examples_multiline_unicode" class="code">testtools.tests.test_compat.TestTextRepr.test_ascii_examples_multiline_unicode</a></li><li>test_ascii_examples_oneline_bytes - <a href="testtools.tests.test_compat.TestTextRepr.html#test_ascii_examples_oneline_bytes" class="code">testtools.tests.test_compat.TestTextRepr.test_ascii_examples_oneline_bytes</a></li><li>test_ascii_examples_oneline_unicode - <a href="testtools.tests.test_compat.TestTextRepr.html#test_ascii_examples_oneline_unicode" class="code">testtools.tests.test_compat.TestTextRepr.test_ascii_examples_oneline_unicode</a></li><li>test_assert_fails_with_expected_exception - <a href="testtools.tests.test_deferredruntest.TestAssertFailsWith.html#test_assert_fails_with_expected_exception" class="code">testtools.tests.test_deferredruntest.TestAssertFailsWith.test_assert_fails_with_expected_exception</a></li><li>test_assert_fails_with_success - <a href="testtools.tests.test_deferredruntest.TestAssertFailsWith.html#test_assert_fails_with_success" class="code">testtools.tests.test_deferredruntest.TestAssertFailsWith.test_assert_fails_with_success</a></li><li>test_assert_fails_with_success_multiple_types - <a href="testtools.tests.test_deferredruntest.TestAssertFailsWith.html#test_assert_fails_with_success_multiple_types" class="code">testtools.tests.test_deferredruntest.TestAssertFailsWith.test_assert_fails_with_success_multiple_types</a></li><li>test_assert_fails_with_wrong_exception - <a href="testtools.tests.test_deferredruntest.TestAssertFailsWith.html#test_assert_fails_with_wrong_exception" class="code">testtools.tests.test_deferredruntest.TestAssertFailsWith.test_assert_fails_with_wrong_exception</a></li><li>test_assert_that - <a href="testtools.tests.test_assert_that.html" class="code">testtools.tests.test_assert_that</a></li><li>test_assertEqual_formatting_no_message - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertEqual_formatting_no_message" class="code">testtools.tests.test_testcase.TestAssertions.test_assertEqual_formatting_no_message</a></li><li>test_assertEqual_nice_formatting - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertEqual_nice_formatting" class="code">testtools.tests.test_testcase.TestAssertions.test_assertEqual_nice_formatting</a></li><li>test_assertEqual_non_ascii_str_with_newlines - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertEqual_non_ascii_str_with_newlines" class="code">testtools.tests.test_testcase.TestAssertions.test_assertEqual_non_ascii_str_with_newlines</a></li><li>test_assertIn_failure - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIn_failure" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIn_failure</a></li><li>test_assertIn_failure_with_message - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIn_failure_with_message" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIn_failure_with_message</a></li><li>test_assertIn_success - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIn_success" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIn_success</a></li><li>test_assertion_text_shift_jis - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_assertion_text_shift_jis" class="code">testtools.tests.test_testresult.TestNonAsciiResults.test_assertion_text_shift_jis</a></li><li>test_assertIs - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIs" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIs</a></li><li>test_assertIs_fails - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIs_fails" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIs_fails</a></li><li>test_assertIs_fails_with_message - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIs_fails_with_message" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIs_fails_with_message</a></li><li>test_assertIsInstance - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsInstance" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIsInstance</a></li><li>test_assertIsInstance_failure - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsInstance_failure" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIsInstance_failure</a></li><li>test_assertIsInstance_failure_multiple_classes - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsInstance_failure_multiple_classes" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIsInstance_failure_multiple_classes</a></li><li>test_assertIsInstance_multiple_classes - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsInstance_multiple_classes" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIsInstance_multiple_classes</a></li><li>test_assertIsInstance_overridden_message - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsInstance_overridden_message" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIsInstance_overridden_message</a></li><li>test_assertIsNone - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsNone" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIsNone</a></li><li>test_assertIsNot - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsNot" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIsNot</a></li><li>test_assertIsNot_fails - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsNot_fails" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIsNot_fails</a></li><li>test_assertIsNot_fails_with_message - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsNot_fails_with_message" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIsNot_fails_with_message</a></li><li>test_assertIsNotNone - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsNotNone" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIsNotNone</a></li><li>test_assertNotIn_failure - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertNotIn_failure" class="code">testtools.tests.test_testcase.TestAssertions.test_assertNotIn_failure</a></li><li>test_assertNotIn_failure_with_message - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertNotIn_failure_with_message" class="code">testtools.tests.test_testcase.TestAssertions.test_assertNotIn_failure_with_message</a></li><li>test_assertNotIn_success - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertNotIn_success" class="code">testtools.tests.test_testcase.TestAssertions.test_assertNotIn_success</a></li><li>test_assertRaises - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises" class="code">testtools.tests.test_testcase.TestAssertions.test_assertRaises</a></li><li>test_assertRaises_exception_w_metaclass - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises_exception_w_metaclass" class="code">testtools.tests.test_testcase.TestAssertions.test_assertRaises_exception_w_metaclass</a></li><li>test_assertRaises_fails_when_different_error_raised - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises_fails_when_different_error_raised" class="code">testtools.tests.test_testcase.TestAssertions.test_assertRaises_fails_when_different_error_raised</a></li><li>test_assertRaises_fails_when_no_error_raised - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises_fails_when_no_error_raised" class="code">testtools.tests.test_testcase.TestAssertions.test_assertRaises_fails_when_no_error_raised</a></li><li>test_assertRaises_function_repr_in_exception - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises_function_repr_in_exception" class="code">testtools.tests.test_testcase.TestAssertions.test_assertRaises_function_repr_in_exception</a></li><li>test_assertRaises_returns_the_raised_exception - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises_returns_the_raised_exception" class="code">testtools.tests.test_testcase.TestAssertions.test_assertRaises_returns_the_raised_exception</a></li><li>test_assertRaises_with_multiple_exceptions - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises_with_multiple_exceptions" class="code">testtools.tests.test_testcase.TestAssertions.test_assertRaises_with_multiple_exceptions</a></li><li>test_assertRaises_with_multiple_exceptions_failure_mode - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises_with_multiple_exceptions_failure_mode" class="code">testtools.tests.test_testcase.TestAssertions.test_assertRaises_with_multiple_exceptions_failure_mode</a></li><li>test_assertThat_matches_clean<ul><li><a href="testtools.tests.test_assert_that.AssertThatTests.html#test_assertThat_matches_clean" class="code">testtools.tests.test_assert_that.AssertThatTests.test_assertThat_matches_clean</a></li><li><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertThat_matches_clean" class="code">testtools.tests.test_testcase.TestAssertions.test_assertThat_matches_clean</a></li></ul></li><li>test_assertThat_message_is_annotated<ul><li><a href="testtools.tests.test_assert_that.AssertThatTests.html#test_assertThat_message_is_annotated" class="code">testtools.tests.test_assert_that.AssertThatTests.test_assertThat_message_is_annotated</a></li><li><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertThat_message_is_annotated" class="code">testtools.tests.test_testcase.TestAssertions.test_assertThat_message_is_annotated</a></li></ul></li><li>test_assertThat_mismatch_raises_description<ul><li><a href="testtools.tests.test_assert_that.AssertThatTests.html#test_assertThat_mismatch_raises_description" class="code">testtools.tests.test_assert_that.AssertThatTests.test_assertThat_mismatch_raises_description</a></li><li><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertThat_mismatch_raises_description" class="code">testtools.tests.test_testcase.TestAssertions.test_assertThat_mismatch_raises_description</a></li></ul></li><li>test_assertThat_output<ul><li><a href="testtools.tests.test_assert_that.AssertThatTests.html#test_assertThat_output" class="code">testtools.tests.test_assert_that.AssertThatTests.test_assertThat_output</a></li><li><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertThat_output" class="code">testtools.tests.test_testcase.TestAssertions.test_assertThat_output</a></li></ul></li><li>test_assertThat_verbose_output<ul><li><a href="testtools.tests.test_assert_that.AssertThatTests.html#test_assertThat_verbose_output" class="code">testtools.tests.test_assert_that.AssertThatTests.test_assertThat_verbose_output</a></li><li><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertThat_verbose_output" class="code">testtools.tests.test_testcase.TestAssertions.test_assertThat_verbose_output</a></li></ul></li><li>test_assertThat_verbose_unicode<ul><li><a href="testtools.tests.test_assert_that.AssertThatTests.html#test_assertThat_verbose_unicode" class="code">testtools.tests.test_assert_that.AssertThatTests.test_assertThat_verbose_unicode</a></li><li><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertThat_verbose_unicode" class="code">testtools.tests.test_testcase.TestAssertions.test_assertThat_verbose_unicode</a></li></ul></li><li>test_async_cleanups - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_async_cleanups" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_async_cleanups</a></li><li>test_attributes - <a href="testtools.tests.test_testresult.TestStreamSummary.html#test_attributes" class="code">testtools.tests.test_testresult.TestStreamSummary.test_attributes</a></li><li>test_bad_mime - <a href="testtools.tests.test_testresult.TestStreamToDict.html#test_bad_mime" class="code">testtools.tests.test_testresult.TestStreamToDict.test_bad_mime</a></li><li>test_basic - <a href="testtools.tests.matchers.test_basic.html" class="code">testtools.tests.matchers.test_basic</a></li><li>test_basic_repr - <a href="testtools.tests.test_content_type.TestContentType.html#test_basic_repr" class="code">testtools.tests.test_content_type.TestContentType.test_basic_repr</a></li><li>test_before_after_hooks - <a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html#test_before_after_hooks" class="code">testtools.tests.test_testcase.TestDecorateTestCaseResult.test_before_after_hooks</a></li><li>test_binary_content - <a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_binary_content" class="code">testtools.tests.test_testresult.TestDetailsToStr.test_binary_content</a></li><li>Test_BinaryMismatch - <a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch</a></li><li>test_bogus_encoding_becomes_ascii - <a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_bogus_encoding_becomes_ascii" class="code">testtools.tests.test_compat.TestUnicodeOutputStream.test_bogus_encoding_becomes_ascii</a></li><li>test_both_specified<ul><li><a href="testtools.tests.matchers.test_filesystem.TestDirContains.html#test_both_specified" class="code">testtools.tests.matchers.test_filesystem.TestDirContains.test_both_specified</a></li><li><a href="testtools.tests.matchers.test_filesystem.TestFileContains.html#test_both_specified" class="code">testtools.tests.matchers.test_filesystem.TestFileContains.test_both_specified</a></li></ul></li><li>test_broken_runner - <a href="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html#test_broken_runner" class="code">testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.test_broken_runner</a></li><li>test_broken_test - <a href="testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html#test_broken_test" class="code">testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.test_broken_test</a></li><li>test_byEquality - <a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.html#test_byEquality" class="code">testtools.tests.matchers.test_datastructures.TestMatchesStructure.test_byEquality</a></li><li>test_bytes_examples_multiline - <a href="testtools.tests.test_compat.TestTextRepr.html#test_bytes_examples_multiline" class="code">testtools.tests.test_compat.TestTextRepr.test_bytes_examples_multiline</a></li><li>test_bytes_examples_oneline - <a href="testtools.tests.test_compat.TestTextRepr.html#test_bytes_examples_oneline" class="code">testtools.tests.test_compat.TestTextRepr.test_bytes_examples_oneline</a></li><li>test_call_is_run<ul><li><a href="testtools.tests.test_testcase.TestErrorHolder.html#test_call_is_run" class="code">testtools.tests.test_testcase.TestErrorHolder.test_call_is_run</a></li><li><a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_call_is_run" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_call_is_run</a></li></ul></li><li>test_called_with_arguments - <a href="testtools.tests.test_testcase.TestNullary.html#test_called_with_arguments" class="code">testtools.tests.test_testcase.TestNullary.test_called_with_arguments</a></li><li>test_calls_setUp_test_tearDown_in_sequence - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_calls_setUp_test_tearDown_in_sequence" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_calls_setUp_test_tearDown_in_sequence</a></li><li>test_can_use_skipTest - <a href="testtools.tests.test_testcase.TestSkipping.html#test_can_use_skipTest" class="code">testtools.tests.test_testcase.TestSkipping.test_can_use_skipTest</a></li><li>test_change_tags_returns_tags - <a href="testtools.tests.test_tags.TestTags.html#test_change_tags_returns_tags" class="code">testtools.tests.test_tags.TestTags.test_change_tags_returns_tags</a></li><li>test_child_context - <a href="testtools.tests.test_tags.TestTags.html#test_child_context" class="code">testtools.tests.test_tags.TestTags.test_child_context</a></li><li>test_clean_delayed_call - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_clean_delayed_call" class="code">testtools.tests.test_spinner.TestRunInReactor.test_clean_delayed_call</a></li><li>test_clean_delayed_call_cancelled - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_clean_delayed_call_cancelled" class="code">testtools.tests.test_spinner.TestRunInReactor.test_clean_delayed_call_cancelled</a></li><li>test_clean_do_nothing - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_clean_do_nothing" class="code">testtools.tests.test_spinner.TestRunInReactor.test_clean_do_nothing</a></li><li>test_clean_reactor - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_clean_reactor" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_clean_reactor</a></li><li>test_clean_running_threads - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_clean_running_threads" class="code">testtools.tests.test_spinner.TestRunInReactor.test_clean_running_threads</a></li><li>test_clean_selectables - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_clean_selectables" class="code">testtools.tests.test_spinner.TestRunInReactor.test_clean_selectables</a></li><li>test_cleanup_run_before_tearDown - <a href="testtools.tests.test_testcase.TestAddCleanup.html#test_cleanup_run_before_tearDown" class="code">testtools.tests.test_testcase.TestAddCleanup.test_cleanup_run_before_tearDown</a></li><li>test_cleanups_continue_running_after_error - <a href="testtools.tests.test_testcase.TestAddCleanup.html#test_cleanups_continue_running_after_error" class="code">testtools.tests.test_testcase.TestAddCleanup.test_cleanups_continue_running_after_error</a></li><li>test_clear_junk_clears_previous_junk - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_clear_junk_clears_previous_junk" class="code">testtools.tests.test_spinner.TestRunInReactor.test_clear_junk_clears_previous_junk</a></li><li>test_clone_test_with_new_id - <a href="testtools.tests.test_testcase.TestCloneTestWithNewId.html#test_clone_test_with_new_id" class="code">testtools.tests.test_testcase.TestCloneTestWithNewId.test_clone_test_with_new_id</a></li><li>test_cloned_testcase_does_not_share_details - <a href="testtools.tests.test_testcase.TestCloneTestWithNewId.html#test_cloned_testcase_does_not_share_details" class="code">testtools.tests.test_testcase.TestCloneTestWithNewId.test_cloned_testcase_does_not_share_details</a></li><li>test_compat - <a href="testtools.tests.test_compat.html" class="code">testtools.tests.test_compat</a></li><li>test_construct_with_patches - <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_construct_with_patches" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.test_construct_with_patches</a></li><li>test_constructor_argument_overrides_class_variable - <a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html#test_constructor_argument_overrides_class_variable" class="code">testtools.tests.test_runtest.TestTestCaseSupportForRunTest.test_constructor_argument_overrides_class_variable</a></li><li>test_constructor_arguments - <a href="testtools.tests.matchers.test_impl.TestMismatch.html#test_constructor_arguments" class="code">testtools.tests.matchers.test_impl.TestMismatch.test_constructor_arguments</a></li><li>test_constructor_no_arguments - <a href="testtools.tests.matchers.test_impl.TestMismatch.html#test_constructor_no_arguments" class="code">testtools.tests.matchers.test_impl.TestMismatch.test_constructor_no_arguments</a></li><li>test_constructor_overrides_decorator - <a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html#test_constructor_overrides_decorator" class="code">testtools.tests.test_runtest.TestTestCaseSupportForRunTest.test_constructor_overrides_decorator</a></li><li>test_contains - <a href="testtools.tests.matchers.test_filesystem.TestFileContains.html#test_contains" class="code">testtools.tests.matchers.test_filesystem.TestFileContains.test_contains</a></li><li>test_contains_files - <a href="testtools.tests.matchers.test_filesystem.TestDirContains.html#test_contains_files" class="code">testtools.tests.matchers.test_filesystem.TestDirContains.test_contains_files</a></li><li>test_content - <a href="testtools.tests.test_content.html" class="code">testtools.tests.test_content</a></li><li>test_content_type - <a href="testtools.tests.test_content_type.html" class="code">testtools.tests.test_content_type</a></li><li>test_control_characters_in_failure_string - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_control_characters_in_failure_string" class="code">testtools.tests.test_testresult.TestNonAsciiResults.test_control_characters_in_failure_string</a></li><li>test_convenient_construction - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_convenient_construction" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_convenient_construction</a></li><li>test_convenient_construction_default_debugging - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_convenient_construction_default_debugging" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_convenient_construction_default_debugging</a></li><li>test_convenient_construction_default_reactor - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_convenient_construction_default_reactor" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_convenient_construction_default_reactor</a></li><li>test_convenient_construction_default_timeout - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_convenient_construction_default_timeout" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_convenient_construction_default_timeout</a></li><li>test_counts_as_one_test<ul><li><a href="testtools.tests.test_testcase.TestErrorHolder.html#test_counts_as_one_test" class="code">testtools.tests.test_testcase.TestErrorHolder.test_counts_as_one_test</a></li><li><a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_counts_as_one_test" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_counts_as_one_test</a></li></ul></li><li>test_custom_exception_no_args - <a href="testtools.tests.test_compat.TestReraise.html#test_custom_exception_no_args" class="code">testtools.tests.test_compat.TestReraise.test_custom_exception_no_args</a></li><li>test_custom_failure_exception - <a href="testtools.tests.test_deferredruntest.TestAssertFailsWith.html#test_custom_failure_exception" class="code">testtools.tests.test_deferredruntest.TestAssertFailsWith.test_custom_failure_exception</a></li><li>test_custom_suite_without_sort_tests_works - <a href="testtools.tests.test_testsuite.TestSortedTests.html#test_custom_suite_without_sort_tests_works" class="code">testtools.tests.test_testsuite.TestSortedTests.test_custom_suite_without_sort_tests_works</a></li><li>test_datastructures - <a href="testtools.tests.matchers.test_datastructures.html" class="code">testtools.tests.matchers.test_datastructures</a></li><li>test_debug<ul><li><a href="testtools.tests.test_testcase.TestErrorHolder.html#test_debug" class="code">testtools.tests.test_testcase.TestErrorHolder.test_debug</a></li><li><a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_debug" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_debug</a></li></ul></li><li>test_debugging_enabled_during_test_with_debug_flag - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_debugging_enabled_during_test_with_debug_flag" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_debugging_enabled_during_test_with_debug_flag</a></li><li>test_debugging_unchanged_during_test_by_default - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_debugging_unchanged_during_test_by_default" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_debugging_unchanged_during_test_by_default</a></li><li>test_decorator_for_run_test - <a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html#test_decorator_for_run_test" class="code">testtools.tests.test_runtest.TestTestCaseSupportForRunTest.test_decorator_for_run_test</a></li><li>test_deeper_stack - <a href="testtools.tests.test_spinner.TestNotReentrant.html#test_deeper_stack" class="code">testtools.tests.test_spinner.TestNotReentrant.test_deeper_stack</a></li><li>test_default - <a href="testtools.tests.test_testresult.TestTestControl.html#test_default" class="code">testtools.tests.test_testresult.TestTestControl.test_default</a></li><li>test_default_description_is_mismatch - <a href="testtools.tests.matchers.test_impl.TestMismatchError.html#test_default_description_is_mismatch" class="code">testtools.tests.matchers.test_impl.TestMismatchError.test_default_description_is_mismatch</a></li><li>test_default_description_unicode - <a href="testtools.tests.matchers.test_impl.TestMismatchError.html#test_default_description_unicode" class="code">testtools.tests.matchers.test_impl.TestMismatchError.test_default_description_unicode</a></li><li>test_default_is_runTest_class_variable - <a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html#test_default_is_runTest_class_variable" class="code">testtools.tests.test_runtest.TestTestCaseSupportForRunTest.test_default_is_runTest_class_variable</a></li><li>test_default_works - <a href="testtools.tests.test_testcase.TestOnException.html#test_default_works" class="code">testtools.tests.test_testcase.TestOnException.test_default_works</a></li><li>test_deferred_error - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_deferred_error" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_deferred_error</a></li><li>test_deferred_value_returned - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_deferred_value_returned" class="code">testtools.tests.test_spinner.TestRunInReactor.test_deferred_value_returned</a></li><li>test_deferredruntest - <a href="testtools.tests.test_deferredruntest.html" class="code">testtools.tests.test_deferredruntest</a></li><li>test_describe<ul><li><a href="testtools.tests.matchers.test_basic.DoesNotEndWithTests.html#test_describe" class="code">testtools.tests.matchers.test_basic.DoesNotEndWithTests.test_describe</a></li><li><a href="testtools.tests.matchers.test_basic.DoesNotStartWithTests.html#test_describe" class="code">testtools.tests.matchers.test_basic.DoesNotStartWithTests.test_describe</a></li></ul></li><li>test_describe_difference - <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">testtools.tests.matchers.helpers.TestMatchersInterface.test_describe_difference</a></li><li>test_describe_non_ascii_bytes<ul><li><a href="testtools.tests.matchers.test_basic.DoesNotEndWithTests.html#test_describe_non_ascii_bytes" class="code">testtools.tests.matchers.test_basic.DoesNotEndWithTests.test_describe_non_ascii_bytes</a></li><li><a href="testtools.tests.matchers.test_basic.DoesNotStartWithTests.html#test_describe_non_ascii_bytes" class="code">testtools.tests.matchers.test_basic.DoesNotStartWithTests.test_describe_non_ascii_bytes</a></li><li><a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.html#test_describe_non_ascii_bytes" class="code">testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.test_describe_non_ascii_bytes</a></li></ul></li><li>test_describe_non_ascii_unicode<ul><li><a href="testtools.tests.matchers.test_basic.DoesNotEndWithTests.html#test_describe_non_ascii_unicode" class="code">testtools.tests.matchers.test_basic.DoesNotEndWithTests.test_describe_non_ascii_unicode</a></li><li><a href="testtools.tests.matchers.test_basic.DoesNotStartWithTests.html#test_describe_non_ascii_unicode" class="code">testtools.tests.matchers.test_basic.DoesNotStartWithTests.test_describe_non_ascii_unicode</a></li></ul></li><li>test_description - <a href="testtools.tests.matchers.test_dict.TestKeysEqualWithList.html#test_description" class="code">testtools.tests.matchers.test_dict.TestKeysEqualWithList.test_description</a></li><li>test_dict - <a href="testtools.tests.matchers.test_dict.html" class="code">testtools.tests.matchers.test_dict</a></li><li>test_dict_to_case - <a href="testtools.testresult.real.html#test_dict_to_case" class="code">testtools.testresult.real.test_dict_to_case</a></li><li>test_discarding - <a href="testtools.tests.test_testresult.TestStreamTagger.html#test_discarding" class="code">testtools.tests.test_testresult.TestStreamTagger.test_discarding</a></li><li>test_distutilscmd - <a href="testtools.tests.test_distutilscmd.html" class="code">testtools.tests.test_distutilscmd</a></li><li>test_docstring - <a href="testtools.tests.matchers.test_datastructures.TestMatchesListwise.html#test_docstring" class="code">testtools.tests.matchers.test_datastructures.TestMatchesListwise.test_docstring</a></li><li>test_doctest - <a href="testtools.tests.matchers.test_doctest.html" class="code">testtools.tests.matchers.test_doctest</a></li><li>test_does_not_contain - <a href="testtools.tests.matchers.test_filesystem.TestFileContains.html#test_does_not_contain" class="code">testtools.tests.matchers.test_filesystem.TestFileContains.test_does_not_contain</a></li><li>test_does_not_contain_files - <a href="testtools.tests.matchers.test_filesystem.TestDirContains.html#test_does_not_contain_files" class="code">testtools.tests.matchers.test_filesystem.TestDirContains.test_does_not_contain_files</a></li><li>test_done - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_done" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_done</a></li><li>test_duplicate_simple_suites - <a href="testtools.tests.test_testsuite.TestSortedTests.html#test_duplicate_simple_suites" class="code">testtools.tests.test_testsuite.TestSortedTests.test_duplicate_simple_suites</a></li><li>test_eager_read_by_default - <a href="testtools.tests.test_content.TestAttachFile.html#test_eager_read_by_default" class="code">testtools.tests.test_content.TestAttachFile.test_eager_read_by_default</a></li><li>test_empty<ul><li><a href="testtools.tests.matchers.test_filesystem.TestDirContains.html#test_empty" class="code">testtools.tests.matchers.test_filesystem.TestDirContains.test_empty</a></li><li><a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_empty" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.test_empty</a></li><li><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_empty" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_empty</a></li></ul></li><li>test_empty_attachment - <a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_empty_attachment" class="code">testtools.tests.test_testresult.TestDetailsToStr.test_empty_attachment</a></li><li>test_empty_detail_status_correct - <a href="testtools.tests.test_testresult.TestExtendedToStreamDecorator.html#test_empty_detail_status_correct" class="code">testtools.tests.test_testresult.TestExtendedToStreamDecorator.test_empty_detail_status_correct</a></li><li>test_encoding_as_none_becomes_ascii - <a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_encoding_as_none_becomes_ascii" class="code">testtools.tests.test_compat.TestUnicodeOutputStream.test_encoding_as_none_becomes_ascii</a></li><li>test_error_in_cleanups_are_captured - <a href="testtools.tests.test_testcase.TestAddCleanup.html#test_error_in_cleanups_are_captured" class="code">testtools.tests.test_testcase.TestAddCleanup.test_error_in_cleanups_are_captured</a></li><li>test_exc_info - <a href="testtools.tests.test_compat.TestReraise.html#test_exc_info" class="code">testtools.tests.test_compat.TestReraise.test_exc_info</a></li><li>test_exc_info_to_unicode - <a href="testtools.tests.test_testresult.TestTestResult.html#test_exc_info_to_unicode" class="code">testtools.tests.test_testresult.TestTestResult.test_exc_info_to_unicode</a></li><li>test_exc_type - <a href="testtools.tests.matchers.test_exception.TestRaisesConvenience.html#test_exc_type" class="code">testtools.tests.matchers.test_exception.TestRaisesConvenience.test_exc_type</a></li><li>test_exc_value - <a href="testtools.tests.matchers.test_exception.TestRaisesConvenience.html#test_exc_value" class="code">testtools.tests.matchers.test_exception.TestRaisesConvenience.test_exc_value</a></li><li>test_exception - <a href="testtools.tests.matchers.test_exception.html" class="code">testtools.tests.matchers.test_exception</a></li><li>test_exception_reraised - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_exception_reraised" class="code">testtools.tests.test_spinner.TestRunInReactor.test_exception_reraised</a></li><li>test_exists<ul><li><a href="testtools.tests.matchers.test_filesystem.TestDirExists.html#test_exists" class="code">testtools.tests.matchers.test_filesystem.TestDirExists.test_exists</a></li><li><a href="testtools.tests.matchers.test_filesystem.TestFileExists.html#test_exists" class="code">testtools.tests.matchers.test_filesystem.TestFileExists.test_exists</a></li><li><a href="testtools.tests.matchers.test_filesystem.TestPathExists.html#test_exists" class="code">testtools.tests.matchers.test_filesystem.TestPathExists.test_exists</a></li><li><a href="testtools.tests.test_testresult.TestStreamFailFast.html#test_exists" class="code">testtools.tests.test_testresult.TestStreamFailFast.test_exists</a></li></ul></li><li>test_expectFailure_KnownFailure_extended - <a href="testtools.tests.test_testcase.TestExpectedFailure.html#test_expectFailure_KnownFailure_extended" class="code">testtools.tests.test_testcase.TestExpectedFailure.test_expectFailure_KnownFailure_extended</a></li><li>test_expectFailure_KnownFailure_unexpected_success - <a href="testtools.tests.test_testcase.TestExpectedFailure.html#test_expectFailure_KnownFailure_unexpected_success" class="code">testtools.tests.test_testcase.TestExpectedFailure.test_expectFailure_KnownFailure_unexpected_success</a></li><li>test_expectThat_adds_detail - <a href="testtools.tests.test_testcase.TestAssertions.html#test_expectThat_adds_detail" class="code">testtools.tests.test_testcase.TestAssertions.test_expectThat_adds_detail</a></li><li>test_expectThat_does_not_exit_test - <a href="testtools.tests.test_testcase.TestAssertions.html#test_expectThat_does_not_exit_test" class="code">testtools.tests.test_testcase.TestAssertions.test_expectThat_does_not_exit_test</a></li><li>test_expectThat_matches_clean - <a href="testtools.tests.test_testcase.TestAssertions.html#test_expectThat_matches_clean" class="code">testtools.tests.test_testcase.TestAssertions.test_expectThat_matches_clean</a></li><li>test_expectThat_mismatch_fails_test - <a href="testtools.tests.test_testcase.TestAssertions.html#test_expectThat_mismatch_fails_test" class="code">testtools.tests.test_testcase.TestAssertions.test_expectThat_mismatch_fails_test</a></li><li>test_explicit_time - <a href="testtools.tests.test_testresult.TestExtendedToStreamDecorator.html#test_explicit_time" class="code">testtools.tests.test_testresult.TestExtendedToStreamDecorator.test_explicit_time</a></li><li>test_exports_reactor - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_exports_reactor" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_exports_reactor</a></li><li>test_extended_decorator_for_run_test - <a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html#test_extended_decorator_for_run_test" class="code">testtools.tests.test_runtest.TestTestCaseSupportForRunTest.test_extended_decorator_for_run_test</a></li><li>test_extended_repr - <a href="testtools.tests.test_content_type.TestContentType.html#test_extended_repr" class="code">testtools.tests.test_content_type.TestContentType.test_extended_repr</a></li><li>test_fail - <a href="testtools.tests.test_testresult.TestStreamFailFast.html#test_fail" class="code">testtools.tests.test_testresult.TestStreamFailFast.test_fail</a></li><li>test_fail_preserves_traceback_detail - <a href="testtools.tests.test_testcase.TestAssertions.html#test_fail_preserves_traceback_detail" class="code">testtools.tests.test_testcase.TestAssertions.test_fail_preserves_traceback_detail</a></li><li>test_failfast - <a href="testtools.tests.test_testresult.Python27Contract.html#test_failfast" class="code">testtools.tests.test_testresult.Python27Contract.test_failfast</a></li><li>test_failfast_get - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_failfast_get" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_failfast_get</a></li><li>test_failfast_py26 - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_failfast_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_failfast_py26</a></li><li>test_failfast_py27 - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_failfast_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_failfast_py27</a></li><li>test_failfast_set - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_failfast_set" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_failfast_set</a></li><li>test_failure<ul><li><a href="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html#test_failure" class="code">testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.test_failure</a></li><li><a href="testtools.tests.test_spinner.TestExtractResult.html#test_failure" class="code">testtools.tests.test_spinner.TestExtractResult.test_failure</a></li></ul></li><li>test_fallback_calls - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_fallback_calls" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_fallback_calls</a></li><li>test_fallback_no_do_start_stop_run - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_fallback_no_do_start_stop_run" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_fallback_no_do_start_stop_run</a></li><li>test_fast_keyboard_interrupt_stops_test_run - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_fast_keyboard_interrupt_stops_test_run" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_fast_keyboard_interrupt_stops_test_run</a></li><li>test_fast_sigint_raises_no_result_error - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_fast_sigint_raises_no_result_error" class="code">testtools.tests.test_spinner.TestRunInReactor.test_fast_sigint_raises_no_result_error</a></li><li>test_fast_sigint_raises_no_result_error_second_time - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_fast_sigint_raises_no_result_error_second_time" class="code">testtools.tests.test_spinner.TestRunInReactor.test_fast_sigint_raises_no_result_error_second_time</a></li><li>test_file - <a href="testtools.tests.test_testresult.TestDoubleStreamResultEvents.html#test_file" class="code">testtools.tests.test_testresult.TestDoubleStreamResultEvents.test_file</a></li><li>test_file_comment_iso2022_jp - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_file_comment_iso2022_jp" class="code">testtools.tests.test_testresult.TestNonAsciiResults.test_file_comment_iso2022_jp</a></li><li>test_files - <a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">testtools.tests.test_testresult.TestStreamResultContract.test_files</a></li><li>test_files_reported - <a href="testtools.tests.test_testresult.TestStreamToDict.html#test_files_reported" class="code">testtools.tests.test_testresult.TestStreamToDict.test_files_reported</a></li><li>test_filesystem - <a href="testtools.tests.matchers.test_filesystem.html" class="code">testtools.tests.matchers.test_filesystem</a></li><li>test_fixture - <a href="testtools.tests.test_testcase.TestAddCleanup.html#test_fixture" class="code">testtools.tests.test_testcase.TestAddCleanup.test_fixture</a></li><li>test_fixture_suite - <a href="testtools.tests.test_testsuite.TestFixtureSuite.html#test_fixture_suite" class="code">testtools.tests.test_testsuite.TestFixtureSuite.test_fixture_suite</a></li><li>test_fixture_suite_sort - <a href="testtools.tests.test_testsuite.TestFixtureSuite.html#test_fixture_suite_sort" class="code">testtools.tests.test_testsuite.TestFixtureSuite.test_fixture_suite_sort</a></li><li>test_fixturesupport - <a href="testtools.tests.test_fixturesupport.html" class="code">testtools.tests.test_fixturesupport</a></li><li>test_formatTypes_multiple - <a href="testtools.tests.test_testcase.TestAssertions.html#test_formatTypes_multiple" class="code">testtools.tests.test_testcase.TestAssertions.test_formatTypes_multiple</a></li><li>test_formatTypes_single - <a href="testtools.tests.test_testcase.TestAssertions.html#test_formatTypes_single" class="code">testtools.tests.test_testcase.TestAssertions.test_formatTypes_single</a></li><li>test_forward_addError - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_forward_addError" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_forward_addError</a></li><li>test_forward_addFailure - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_forward_addFailure" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_forward_addFailure</a></li><li>test_forward_addSkip - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_forward_addSkip" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_forward_addSkip</a></li><li>test_forward_addSuccess - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_forward_addSuccess" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_forward_addSuccess</a></li><li>test_forwards_description - <a href="testtools.tests.matchers.test_impl.TestMismatchDecorator.html#test_forwards_description" class="code">testtools.tests.matchers.test_impl.TestMismatchDecorator.test_forwards_description</a></li><li>test_forwards_details<ul><li><a href="testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch.html#test_forwards_details" class="code">testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch.test_forwards_details</a></li><li><a href="testtools.tests.matchers.test_impl.TestMismatchDecorator.html#test_forwards_details" class="code">testtools.tests.matchers.test_impl.TestMismatchDecorator.test_forwards_details</a></li></ul></li><li>test_fresh_result_is_successful - <a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">testtools.tests.test_testresult.Python26Contract.test_fresh_result_is_successful</a></li><li>test_from_file - <a href="testtools.tests.test_content.TestContent.html#test_from_file" class="code">testtools.tests.test_content.TestContent.test_from_file</a></li><li>test_from_file_default_type - <a href="testtools.tests.test_content.TestContent.html#test_from_file_default_type" class="code">testtools.tests.test_content.TestContent.test_from_file_default_type</a></li><li>test_from_file_eager_loading - <a href="testtools.tests.test_content.TestContent.html#test_from_file_eager_loading" class="code">testtools.tests.test_content.TestContent.test_from_file_eager_loading</a></li><li>test_from_file_with_simple_seek - <a href="testtools.tests.test_content.TestContent.html#test_from_file_with_simple_seek" class="code">testtools.tests.test_content.TestContent.test_from_file_with_simple_seek</a></li><li>test_from_file_with_whence_seek - <a href="testtools.tests.test_content.TestContent.html#test_from_file_with_whence_seek" class="code">testtools.tests.test_content.TestContent.test_from_file_with_whence_seek</a></li><li>test_from_nonexistent_file - <a href="testtools.tests.test_content.TestContent.html#test_from_nonexistent_file" class="code">testtools.tests.test_content.TestContent.test_from_nonexistent_file</a></li><li>test_from_stream - <a href="testtools.tests.test_content.TestContent.html#test_from_stream" class="code">testtools.tests.test_content.TestContent.test_from_stream</a></li><li>test_from_stream_default_type - <a href="testtools.tests.test_content.TestContent.html#test_from_stream_default_type" class="code">testtools.tests.test_content.TestContent.test_from_stream_default_type</a></li><li>test_from_stream_eager_loading - <a href="testtools.tests.test_content.TestContent.html#test_from_stream_eager_loading" class="code">testtools.tests.test_content.TestContent.test_from_stream_eager_loading</a></li><li>test_from_stream_with_simple_seek - <a href="testtools.tests.test_content.TestContent.html#test_from_stream_with_simple_seek" class="code">testtools.tests.test_content.TestContent.test_from_stream_with_simple_seek</a></li><li>test_from_stream_with_whence_seek - <a href="testtools.tests.test_content.TestContent.html#test_from_stream_with_whence_seek" class="code">testtools.tests.test_content.TestContent.test_from_stream_with_whence_seek</a></li><li>test_from_text - <a href="testtools.tests.test_content.TestContent.html#test_from_text" class="code">testtools.tests.test_content.TestContent.test_from_text</a></li><li>test_fromExample - <a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.html#test_fromExample" class="code">testtools.tests.matchers.test_datastructures.TestMatchesStructure.test_fromExample</a></li><li>test_function_called - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_function_called" class="code">testtools.tests.test_spinner.TestRunInReactor.test_function_called</a></li><li>test_getUniqueInteger - <a href="testtools.tests.test_testcase.TestUniqueFactories.html#test_getUniqueInteger" class="code">testtools.tests.test_testcase.TestUniqueFactories.test_getUniqueInteger</a></li><li>test_getUniqueString - <a href="testtools.tests.test_testcase.TestUniqueFactories.html#test_getUniqueString" class="code">testtools.tests.test_testcase.TestUniqueFactories.test_getUniqueString</a></li><li>test_getUniqueString_prefix - <a href="testtools.tests.test_testcase.TestUniqueFactories.html#test_getUniqueString_prefix" class="code">testtools.tests.test_testcase.TestUniqueFactories.test_getUniqueString_prefix</a></li><li>test_global_tags - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_global_tags" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_global_tags</a></li><li>test_global_tags_complex - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_global_tags_complex" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_global_tags_complex</a></li><li>test_global_tags_simple - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_global_tags_simple" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_global_tags_simple</a></li><li>test_handler_that_raises_is_not_caught - <a href="testtools.tests.test_testcase.TestOnException.html#test_handler_that_raises_is_not_caught" class="code">testtools.tests.test_testcase.TestOnException.test_handler_that_raises_is_not_caught</a></li><li>test_helpers - <a href="testtools.tests.test_helpers.html" class="code">testtools.tests.test_helpers</a></li><li>test_higherorder - <a href="testtools.tests.matchers.test_higherorder.html" class="code">testtools.tests.matchers.test_higherorder</a></li><li>test_hung_test - <a href="testtools.tests.test_testresult.TestStreamToDict.html#test_hung_test" class="code">testtools.tests.test_testresult.TestStreamToDict.test_hung_test</a></li><li>test_id_comes_from_constructor<ul><li><a href="testtools.tests.test_testcase.TestErrorHolder.html#test_id_comes_from_constructor" class="code">testtools.tests.test_testcase.TestErrorHolder.test_id_comes_from_constructor</a></li><li><a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_id_comes_from_constructor" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_id_comes_from_constructor</a></li></ul></li><li>test_identicalIsEqual - <a href="testtools.tests.test_testcase.TestEquality.html#test_identicalIsEqual" class="code">testtools.tests.test_testcase.TestEquality.test_identicalIsEqual</a></li><li>test_if_message_given_message - <a href="testtools.tests.matchers.test_higherorder.TestAnnotate.html#test_if_message_given_message" class="code">testtools.tests.matchers.test_higherorder.TestAnnotate.test_if_message_given_message</a></li><li>test_if_message_no_message - <a href="testtools.tests.matchers.test_higherorder.TestAnnotate.html#test_if_message_no_message" class="code">testtools.tests.matchers.test_higherorder.TestAnnotate.test_if_message_no_message</a></li><li>test_impl - <a href="testtools.tests.matchers.test_impl.html" class="code">testtools.tests.matchers.test_impl</a></li><li>test_inprogress - <a href="testtools.tests.test_testresult.TestStreamFailFast.html#test_inprogress" class="code">testtools.tests.test_testresult.TestStreamFailFast.test_inprogress</a></li><li>test_io_bytesio - <a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_io_bytesio" class="code">testtools.tests.test_compat.TestUnicodeOutputStream.test_io_bytesio</a></li><li>test_io_stringio - <a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_io_stringio" class="code">testtools.tests.test_compat.TestUnicodeOutputStream.test_io_stringio</a></li><li>test_io_textwrapper - <a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_io_textwrapper" class="code">testtools.tests.test_compat.TestUnicodeOutputStream.test_io_textwrapper</a></li><li>test_is_assertion_error - <a href="testtools.tests.matchers.test_impl.TestMismatchError.html#test_is_assertion_error" class="code">testtools.tests.matchers.test_impl.TestMismatchError.test_is_assertion_error</a></li><li>test_is_stack_hidden_consistent_false - <a href="testtools.tests.test_helpers.TestStackHiding.html#test_is_stack_hidden_consistent_false" class="code">testtools.tests.test_helpers.TestStackHiding.test_is_stack_hidden_consistent_false</a></li><li>test_is_stack_hidden_consistent_true - <a href="testtools.tests.test_helpers.TestStackHiding.html#test_is_stack_hidden_consistent_true" class="code">testtools.tests.test_helpers.TestStackHiding.test_is_stack_hidden_consistent_true</a></li><li>test_issue_16662 - <a href="testtools.tests.test_run.TestRun.html#test_issue_16662" class="code">testtools.tests.test_run.TestRun.test_issue_16662</a></li><li>test_iter_text_decodes - <a href="testtools.tests.test_content.TestContent.html#test_iter_text_decodes" class="code">testtools.tests.test_content.TestContent.test_iter_text_decodes</a></li><li>test_iter_text_default_charset_iso_8859_1 - <a href="testtools.tests.test_content.TestContent.html#test_iter_text_default_charset_iso_8859_1" class="code">testtools.tests.test_content.TestContent.test_iter_text_default_charset_iso_8859_1</a></li><li>test_iter_text_not_text_errors - <a href="testtools.tests.test_content.TestContent.html#test_iter_text_not_text_errors" class="code">testtools.tests.test_content.TestContent.test_iter_text_not_text_errors</a></li><li>test_json_content<ul><li><a href="testtools.tests.test_content.TestContent.html#test_json_content" class="code">testtools.tests.test_content.TestContent.test_json_content</a></li><li><a href="testtools.tests.test_content_type.TestBuiltinContentTypes.html#test_json_content" class="code">testtools.tests.test_content_type.TestBuiltinContentTypes.test_json_content</a></li></ul></li><li>test_keyboard_interrupt_not_caught - <a href="testtools.tests.test_testcase.TestAddCleanup.html#test_keyboard_interrupt_not_caught" class="code">testtools.tests.test_testcase.TestAddCleanup.test_keyboard_interrupt_not_caught</a></li><li>test_keyboard_interrupt_stops_test_run - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_keyboard_interrupt_stops_test_run" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_keyboard_interrupt_stops_test_run</a></li><li>test_KeyboardInterrupt_match_Exception_propogates - <a href="testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html#test_KeyboardInterrupt_match_Exception_propogates" class="code">testtools.tests.matchers.test_exception.TestRaisesBaseTypes.test_KeyboardInterrupt_match_Exception_propogates</a></li><li>test_KeyboardInterrupt_matched - <a href="testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html#test_KeyboardInterrupt_matched" class="code">testtools.tests.matchers.test_exception.TestRaisesBaseTypes.test_KeyboardInterrupt_matched</a></li><li>test_KeyboardInterrupt_propogates - <a href="testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html#test_KeyboardInterrupt_propogates" class="code">testtools.tests.matchers.test_exception.TestRaisesBaseTypes.test_KeyboardInterrupt_propogates</a></li><li>test_keyword_arguments - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_keyword_arguments" class="code">testtools.tests.test_spinner.TestRunInReactor.test_keyword_arguments</a></li><li>test_last_resort_in_place - <a href="testtools.tests.test_testcase.TestRunTestUsage.html#test_last_resort_in_place" class="code">testtools.tests.test_testcase.TestRunTestUsage.test_last_resort_in_place</a></li><li>test_lazy_read - <a href="testtools.tests.test_content.TestAttachFile.html#test_lazy_read" class="code">testtools.tests.test_content.TestAttachFile.test_lazy_read</a></li><li>test_leftover_junk_available - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_leftover_junk_available" class="code">testtools.tests.test_spinner.TestRunInReactor.test_leftover_junk_available</a></li><li>test_load_list_preserves_custom_suites - <a href="testtools.tests.test_run.TestRun.html#test_load_list_preserves_custom_suites" class="code">testtools.tests.test_run.TestRun.test_load_list_preserves_custom_suites</a></li><li>test_local_tags<ul><li><a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_local_tags" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_local_tags</a></li><li><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_local_tags" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_local_tags</a></li></ul></li><li>test_local_tags_dont_leak - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_local_tags_dont_leak" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_local_tags_dont_leak</a></li><li>test_log_err_flushed_is_success - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_log_err_flushed_is_success" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_log_err_flushed_is_success</a></li><li>test_log_err_is_error - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_log_err_is_error" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_log_err_is_error</a></li><li>test_log_in_details - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_log_in_details" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_log_in_details</a></li><li>test_long_bytes - <a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html#test_long_bytes" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch.test_long_bytes</a></li><li>test_long_bytes_and_object - <a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html#test_long_bytes_and_object" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch.test_long_bytes_and_object</a></li><li>test_long_mixed_strings - <a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html#test_long_mixed_strings" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch.test_long_mixed_strings</a></li><li>test_long_unicode - <a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html#test_long_unicode" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch.test_long_unicode</a></li><li>test_long_unicode_and_object - <a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html#test_long_unicode_and_object" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch.test_long_unicode_and_object</a></li><li>test_lots_of_different_attachments - <a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_lots_of_different_attachments" class="code">testtools.tests.test_testresult.TestDetailsToStr.test_lots_of_different_attachments</a></li><li>test_match<ul><li><a href="testtools.tests.matchers.test_basic.EndsWithTests.html#test_match" class="code">testtools.tests.matchers.test_basic.EndsWithTests.test_match</a></li><li><a href="testtools.tests.matchers.test_basic.StartsWithTests.html#test_match" class="code">testtools.tests.matchers.test_basic.StartsWithTests.test_match</a></li><li><a href="testtools.tests.matchers.test_filesystem.TestHasPermissions.html#test_match" class="code">testtools.tests.matchers.test_filesystem.TestHasPermissions.test_match</a></li><li><a href="testtools.tests.matchers.test_filesystem.TestTarballContains.html#test_match" class="code">testtools.tests.matchers.test_filesystem.TestTarballContains.test_match</a></li></ul></li><li>test_matcher<ul><li><a href="testtools.tests.matchers.test_filesystem.TestDirContains.html#test_matcher" class="code">testtools.tests.matchers.test_filesystem.TestDirContains.test_matcher</a></li><li><a href="testtools.tests.matchers.test_filesystem.TestFileContains.html#test_matcher" class="code">testtools.tests.matchers.test_filesystem.TestFileContains.test_matcher</a></li></ul></li><li>test_matches - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_matches" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_matches</a></li><li>test_matches_match - <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">testtools.tests.matchers.helpers.TestMatchersInterface.test_matches_match</a></li><li>test_merge_incoming_gone_tag_with_current_new_tag - <a href="testtools.tests.test_testresult.TestMergeTags.html#test_merge_incoming_gone_tag_with_current_new_tag" class="code">testtools.tests.test_testresult.TestMergeTags.test_merge_incoming_gone_tag_with_current_new_tag</a></li><li>test_merge_incoming_new_tag_with_current_gone_tag - <a href="testtools.tests.test_testresult.TestMergeTags.html#test_merge_incoming_new_tag_with_current_gone_tag" class="code">testtools.tests.test_testresult.TestMergeTags.test_merge_incoming_new_tag_with_current_gone_tag</a></li><li>test_merge_unseen_gone_tag - <a href="testtools.tests.test_testresult.TestMergeTags.html#test_merge_unseen_gone_tag" class="code">testtools.tests.test_testresult.TestMergeTags.test_merge_unseen_gone_tag</a></li><li>test_merge_unseen_new_tag - <a href="testtools.tests.test_testresult.TestMergeTags.html#test_merge_unseen_new_tag" class="code">testtools.tests.test_testresult.TestMergeTags.test_merge_unseen_new_tag</a></li><li>test_method1 - <a href="testtools.tests.test_testsuite.Sample.html#test_method1" class="code">testtools.tests.test_testsuite.Sample.test_method1</a></li><li>test_method2 - <a href="testtools.tests.test_testsuite.Sample.html#test_method2" class="code">testtools.tests.test_testsuite.Sample.test_method2</a></li><li>test_mismatch - <a href="testtools.tests.matchers.test_filesystem.TestTarballContains.html#test_mismatch" class="code">testtools.tests.matchers.test_filesystem.TestTarballContains.test_mismatch</a></li><li>test_mismatch_and_too_many_matchers - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_mismatch_and_too_many_matchers" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_mismatch_and_too_many_matchers</a></li><li>test_mismatch_and_too_many_values - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_mismatch_and_too_many_values" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_mismatch_and_too_many_values</a></li><li>test_mismatch_and_two_too_many_matchers - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_mismatch_and_two_too_many_matchers" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_mismatch_and_two_too_many_matchers</a></li><li>test_mismatch_and_two_too_many_values - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_mismatch_and_two_too_many_values" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_mismatch_and_two_too_many_values</a></li><li>test_mismatch_details - <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">testtools.tests.matchers.helpers.TestMatchersInterface.test_mismatch_details</a></li><li>test_mismatch_returns_does_not_end_with - <a href="testtools.tests.matchers.test_basic.EndsWithTests.html#test_mismatch_returns_does_not_end_with" class="code">testtools.tests.matchers.test_basic.EndsWithTests.test_mismatch_returns_does_not_end_with</a></li><li>test_mismatch_returns_does_not_start_with - <a href="testtools.tests.matchers.test_basic.StartsWithTests.html#test_mismatch_returns_does_not_start_with" class="code">testtools.tests.matchers.test_basic.StartsWithTests.test_mismatch_returns_does_not_start_with</a></li><li>test_mismatch_sets_expected<ul><li><a href="testtools.tests.matchers.test_basic.EndsWithTests.html#test_mismatch_sets_expected" class="code">testtools.tests.matchers.test_basic.EndsWithTests.test_mismatch_sets_expected</a></li><li><a href="testtools.tests.matchers.test_basic.StartsWithTests.html#test_mismatch_sets_expected" class="code">testtools.tests.matchers.test_basic.StartsWithTests.test_mismatch_sets_expected</a></li></ul></li><li>test_mismatch_sets_matchee<ul><li><a href="testtools.tests.matchers.test_basic.EndsWithTests.html#test_mismatch_sets_matchee" class="code">testtools.tests.matchers.test_basic.EndsWithTests.test_mismatch_sets_matchee</a></li><li><a href="testtools.tests.matchers.test_basic.StartsWithTests.html#test_mismatch_sets_matchee" class="code">testtools.tests.matchers.test_basic.StartsWithTests.test_mismatch_sets_matchee</a></li></ul></li><li>test_mismatches - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_mismatches" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_mismatches</a></li><li>test_monkey - <a href="testtools.tests.test_monkey.html" class="code">testtools.tests.test_monkey</a></li><li>test_multi_line_text_content - <a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_multi_line_text_content" class="code">testtools.tests.test_testresult.TestDetailsToStr.test_multi_line_text_content</a></li><li>test_multiple_addDetails_from_Mismatch - <a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_multiple_addDetails_from_Mismatch" class="code">testtools.tests.test_testcase.TestDetailsProvided.test_multiple_addDetails_from_Mismatch</a></li><li>test_multiple_attr_decorators - <a href="testtools.tests.test_testcase.TestAttributes.html#test_multiple_attr_decorators" class="code">testtools.tests.test_testcase.TestAttributes.test_multiple_attr_decorators</a></li><li>test_multiple_attributes - <a href="testtools.tests.test_testcase.TestAttributes.html#test_multiple_attributes" class="code">testtools.tests.test_testcase.TestAttributes.test_multiple_attributes</a></li><li>test_multiple_text_content - <a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_multiple_text_content" class="code">testtools.tests.test_testresult.TestDetailsToStr.test_multiple_text_content</a></li><li>test_multipleCleanupErrorsReported - <a href="testtools.tests.test_testcase.TestAddCleanup.html#test_multipleCleanupErrorsReported" class="code">testtools.tests.test_testcase.TestAddCleanup.test_multipleCleanupErrorsReported</a></li><li>test_multipleErrorsCoreAndCleanupReported - <a href="testtools.tests.test_testcase.TestAddCleanup.html#test_multipleErrorsCoreAndCleanupReported" class="code">testtools.tests.test_testcase.TestAddCleanup.test_multipleErrorsCoreAndCleanupReported</a></li><li>test_neither_specified<ul><li><a href="testtools.tests.matchers.test_filesystem.TestDirContains.html#test_neither_specified" class="code">testtools.tests.matchers.test_filesystem.TestDirContains.test_neither_specified</a></li><li><a href="testtools.tests.matchers.test_filesystem.TestFileContains.html#test_neither_specified" class="code">testtools.tests.matchers.test_filesystem.TestFileContains.test_neither_specified</a></li></ul></li><li>test_no_deferreds - <a href="testtools.tests.test_spinner.TestTrapUnhandledErrors.html#test_no_deferreds" class="code">testtools.tests.test_spinner.TestTrapUnhandledErrors.test_no_deferreds</a></li><li>test_no_details - <a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_no_details" class="code">testtools.tests.test_testresult.TestDetailsToStr.test_no_details</a></li><li>test_no_encoding_becomes_ascii - <a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_no_encoding_becomes_ascii" class="code">testtools.tests.test_compat.TestUnicodeOutputStream.test_no_encoding_becomes_ascii</a></li><li>test_no_fallback_errors - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_no_fallback_errors" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_no_fallback_errors</a></li><li>test_no_junk_by_default - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_no_junk_by_default" class="code">testtools.tests.test_spinner.TestRunInReactor.test_no_junk_by_default</a></li><li>test_no_tags - <a href="testtools.tests.test_tags.TestTags.html#test_no_tags" class="code">testtools.tests.test_tags.TestTags.test_no_tags</a></li><li>test_no_tags_by_default - <a href="testtools.tests.test_testresult.TagsContract.html#test_no_tags_by_default" class="code">testtools.tests.test_testresult.TagsContract.test_no_tags_by_default</a></li><li>test_no_tests_nothing_reported - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_no_tests_nothing_reported" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_no_tests_nothing_reported</a></li><li>test_non_ascii_dirname - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_non_ascii_dirname" class="code">testtools.tests.test_testresult.TestNonAsciiResults.test_non_ascii_dirname</a></li><li>test_non_ascii_failure_string - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_non_ascii_failure_string" class="code">testtools.tests.test_testresult.TestNonAsciiResults.test_non_ascii_failure_string</a></li><li>test_non_ascii_failure_string_via_exec - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_non_ascii_failure_string_via_exec" class="code">testtools.tests.test_testresult.TestNonAsciiResults.test_non_ascii_failure_string_via_exec</a></li><li>test_nonforwarding_methods - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_nonforwarding_methods" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_nonforwarding_methods</a></li><li>test_nonIdenticalInUnequal - <a href="testtools.tests.test_testcase.TestEquality.html#test_nonIdenticalInUnequal" class="code">testtools.tests.test_testcase.TestEquality.test_nonIdenticalInUnequal</a></li><li>test_not_a_directory - <a href="testtools.tests.matchers.test_filesystem.TestDirExists.html#test_not_a_directory" class="code">testtools.tests.matchers.test_filesystem.TestDirExists.test_not_a_directory</a></li><li>test_not_a_file - <a href="testtools.tests.matchers.test_filesystem.TestFileExists.html#test_not_a_file" class="code">testtools.tests.matchers.test_filesystem.TestFileExists.test_not_a_file</a></li><li>test_not_exists<ul><li><a href="testtools.tests.matchers.test_filesystem.TestDirContains.html#test_not_exists" class="code">testtools.tests.matchers.test_filesystem.TestDirContains.test_not_exists</a></li><li><a href="testtools.tests.matchers.test_filesystem.TestDirExists.html#test_not_exists" class="code">testtools.tests.matchers.test_filesystem.TestDirExists.test_not_exists</a></li><li><a href="testtools.tests.matchers.test_filesystem.TestFileContains.html#test_not_exists" class="code">testtools.tests.matchers.test_filesystem.TestFileContains.test_not_exists</a></li><li><a href="testtools.tests.matchers.test_filesystem.TestFileExists.html#test_not_exists" class="code">testtools.tests.matchers.test_filesystem.TestFileExists.test_not_exists</a></li><li><a href="testtools.tests.matchers.test_filesystem.TestPathExists.html#test_not_exists" class="code">testtools.tests.matchers.test_filesystem.TestPathExists.test_not_exists</a></li></ul></li><li>test_not_fired - <a href="testtools.tests.test_spinner.TestExtractResult.html#test_not_fired" class="code">testtools.tests.test_spinner.TestExtractResult.test_not_fired</a></li><li>test_not_reentrant<ul><li><a href="testtools.tests.test_spinner.TestNotReentrant.html#test_not_reentrant" class="code">testtools.tests.test_spinner.TestNotReentrant.test_not_reentrant</a></li><li><a href="testtools.tests.test_spinner.TestRunInReactor.html#test_not_reentrant" class="code">testtools.tests.test_spinner.TestRunInReactor.test_not_reentrant</a></li></ul></li><li>test_now_datetime_now - <a href="testtools.tests.test_testresult.TestTestResult.html#test_now_datetime_now" class="code">testtools.tests.test_testresult.TestTestResult.test_now_datetime_now</a></li><li>test_now_datetime_time - <a href="testtools.tests.test_testresult.TestTestResult.html#test_now_datetime_time" class="code">testtools.tests.test_testresult.TestTestResult.test_now_datetime_time</a></li><li>test_only_addError_once - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_only_addError_once" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_only_addError_once</a></li><li>test_only_one_test_at_a_time - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_only_one_test_at_a_time" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_only_one_test_at_a_time</a></li><li>test_optional_name - <a href="testtools.tests.test_content.TestAttachFile.html#test_optional_name" class="code">testtools.tests.test_content.TestAttachFile.test_optional_name</a></li><li>test_os_error - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_os_error" class="code">testtools.tests.test_testresult.TestNonAsciiResults.test_os_error</a></li><li>test_other_attribute<ul><li><a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html#test_other_attribute" class="code">testtools.tests.test_testcase.TestDecorateTestCaseResult.test_other_attribute</a></li><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes.html#test_other_attribute" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes.test_other_attribute</a></li></ul></li><li>test_outcome__no_details<ul><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html#test_outcome__no_details" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddError.test_outcome__no_details</a></li><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome__no_details" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome__no_details</a></li></ul></li><li>test_outcome_Extended_py26<ul><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html#test_outcome_Extended_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddError.test_outcome_Extended_py26</a></li><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.html#test_outcome_Extended_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.test_outcome_Extended_py26</a></li><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome_Extended_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome_Extended_py26</a></li><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html#test_outcome_Extended_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.test_outcome_Extended_py26</a></li><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html#test_outcome_Extended_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.test_outcome_Extended_py26</a></li></ul></li><li>test_outcome_Extended_py27<ul><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html#test_outcome_Extended_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddError.test_outcome_Extended_py27</a></li><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html#test_outcome_Extended_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.test_outcome_Extended_py27</a></li><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html#test_outcome_Extended_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.test_outcome_Extended_py27</a></li></ul></li><li>test_outcome_Extended_py27_no_reason - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome_Extended_py27_no_reason" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome_Extended_py27_no_reason</a></li><li>test_outcome_Extended_py27_reason - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome_Extended_py27_reason" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome_Extended_py27_reason</a></li><li>test_outcome_Extended_pyextended<ul><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html#test_outcome_Extended_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddError.test_outcome_Extended_pyextended</a></li><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome_Extended_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome_Extended_pyextended</a></li><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html#test_outcome_Extended_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.test_outcome_Extended_pyextended</a></li><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html#test_outcome_Extended_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.test_outcome_Extended_pyextended</a></li></ul></li><li>test_outcome_Original_py26<ul><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html#test_outcome_Original_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddError.test_outcome_Original_py26</a></li><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.html#test_outcome_Original_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.test_outcome_Original_py26</a></li><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome_Original_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome_Original_py26</a></li><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html#test_outcome_Original_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.test_outcome_Original_py26</a></li><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html#test_outcome_Original_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.test_outcome_Original_py26</a></li></ul></li><li>test_outcome_Original_py27<ul><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html#test_outcome_Original_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddError.test_outcome_Original_py27</a></li><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome_Original_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome_Original_py27</a></li><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html#test_outcome_Original_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.test_outcome_Original_py27</a></li><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html#test_outcome_Original_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.test_outcome_Original_py27</a></li></ul></li><li>test_outcome_Original_pyextended<ul><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html#test_outcome_Original_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddError.test_outcome_Original_pyextended</a></li><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome_Original_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome_Original_pyextended</a></li><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html#test_outcome_Original_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.test_outcome_Original_pyextended</a></li><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html#test_outcome_Original_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.test_outcome_Original_pyextended</a></li></ul></li><li>test_parent - <a href="testtools.tests.test_tags.TestTags.html#test_parent" class="code">testtools.tests.test_tags.TestTags.test_parent</a></li><li>test_partial_encoding_replace - <a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_partial_encoding_replace" class="code">testtools.tests.test_compat.TestUnicodeOutputStream.test_partial_encoding_replace</a></li><li>test_pass_custom_run_test - <a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html#test_pass_custom_run_test" class="code">testtools.tests.test_runtest.TestTestCaseSupportForRunTest.test_pass_custom_run_test</a></li><li>test_pass_on_raise - <a href="testtools.tests.test_with_with.TestExpectedException.html#test_pass_on_raise" class="code">testtools.tests.test_with_with.TestExpectedException.test_pass_on_raise</a></li><li>test_pass_on_raise_any_message - <a href="testtools.tests.test_with_with.TestExpectedException.html#test_pass_on_raise_any_message" class="code">testtools.tests.test_with_with.TestExpectedException.test_pass_on_raise_any_message</a></li><li>test_pass_on_raise_matcher - <a href="testtools.tests.test_with_with.TestExpectedException.html#test_pass_on_raise_matcher" class="code">testtools.tests.test_with_with.TestExpectedException.test_pass_on_raise_matcher</a></li><li>test_patch - <a href="testtools.tests.test_testcase.TestPatchSupport.html#test_patch" class="code">testtools.tests.test_testcase.TestPatchSupport.test_patch</a></li><li>test_patch_already_patched - <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_patch_already_patched" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.test_patch_already_patched</a></li><li>test_patch_existing - <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_patch_existing" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.test_patch_existing</a></li><li>test_patch_non_existing - <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_patch_non_existing" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.test_patch_non_existing</a></li><li>test_patch_nonexistent_attribute - <a href="testtools.tests.test_testcase.TestPatchSupport.html#test_patch_nonexistent_attribute" class="code">testtools.tests.test_testcase.TestPatchSupport.test_patch_nonexistent_attribute</a></li><li>test_patch_patches - <a href="testtools.tests.test_monkey.TestPatchHelper.html#test_patch_patches" class="code">testtools.tests.test_monkey.TestPatchHelper.test_patch_patches</a></li><li>test_patch_restored_after_run - <a href="testtools.tests.test_testcase.TestPatchSupport.html#test_patch_restored_after_run" class="code">testtools.tests.test_testcase.TestPatchSupport.test_patch_restored_after_run</a></li><li>test_patch_returns_cleanup - <a href="testtools.tests.test_monkey.TestPatchHelper.html#test_patch_returns_cleanup" class="code">testtools.tests.test_monkey.TestPatchHelper.test_patch_returns_cleanup</a></li><li>test_plain_text - <a href="testtools.tests.test_content_type.TestBuiltinContentTypes.html#test_plain_text" class="code">testtools.tests.test_content_type.TestBuiltinContentTypes.test_plain_text</a></li><li>test_postfix_content - <a href="testtools.tests.test_content.TestStackLinesContent.html#test_postfix_content" class="code">testtools.tests.test_content.TestStackLinesContent.test_postfix_content</a></li><li>test_postfix_is_used - <a href="testtools.tests.test_content.TestStacktraceContent.html#test_postfix_is_used" class="code">testtools.tests.test_content.TestStacktraceContent.test_postfix_is_used</a></li><li>test_prefix_content - <a href="testtools.tests.test_content.TestStackLinesContent.html#test_prefix_content" class="code">testtools.tests.test_content.TestStackLinesContent.test_prefix_content</a></li><li>test_prefix_is_used - <a href="testtools.tests.test_content.TestStacktraceContent.html#test_prefix_is_used" class="code">testtools.tests.test_content.TestStacktraceContent.test_prefix_is_used</a></li><li>test_preserve_signal_handler - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_preserve_signal_handler" class="code">testtools.tests.test_spinner.TestRunInReactor.test_preserve_signal_handler</a></li><li>test_progress_py26 - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_progress_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_progress_py26</a></li><li>test_progress_py27 - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_progress_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_progress_py27</a></li><li>test_progress_pyextended - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_progress_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_progress_pyextended</a></li><li>test_raise_if_no_exception - <a href="testtools.tests.test_with_with.TestExpectedException.html#test_raise_if_no_exception" class="code">testtools.tests.test_with_with.TestExpectedException.test_raise_if_no_exception</a></li><li>test_raise_on_error_mismatch - <a href="testtools.tests.test_with_with.TestExpectedException.html#test_raise_on_error_mismatch" class="code">testtools.tests.test_with_with.TestExpectedException.test_raise_on_error_mismatch</a></li><li>test_raise_on_general_mismatch - <a href="testtools.tests.test_with_with.TestExpectedException.html#test_raise_on_general_mismatch" class="code">testtools.tests.test_with_with.TestExpectedException.test_raise_on_general_mismatch</a></li><li>test_raise_on_text_mismatch - <a href="testtools.tests.test_with_with.TestExpectedException.html#test_raise_on_text_mismatch" class="code">testtools.tests.test_with_with.TestExpectedException.test_raise_on_text_mismatch</a></li><li>test_raises - <a href="testtools.tests.test_testcase.TestNullary.html#test_raises" class="code">testtools.tests.test_testcase.TestNullary.test_raises</a></li><li>test_raising__UnexpectedSuccess_extended - <a href="testtools.tests.test_testcase.TestExpectedFailure.html#test_raising__UnexpectedSuccess_extended" class="code">testtools.tests.test_testcase.TestExpectedFailure.test_raising__UnexpectedSuccess_extended</a></li><li>test_raising__UnexpectedSuccess_py27 - <a href="testtools.tests.test_testcase.TestExpectedFailure.html#test_raising__UnexpectedSuccess_py27" class="code">testtools.tests.test_testcase.TestExpectedFailure.test_raising__UnexpectedSuccess_py27</a></li><li>test_real_path - <a href="testtools.tests.matchers.test_filesystem.TestSamePath.html#test_real_path" class="code">testtools.tests.matchers.test_filesystem.TestSamePath.test_real_path</a></li><li>test_relative_and_absolute - <a href="testtools.tests.matchers.test_filesystem.TestSamePath.html#test_relative_and_absolute" class="code">testtools.tests.matchers.test_filesystem.TestSamePath.test_relative_and_absolute</a></li><li>test_remove_in_child - <a href="testtools.tests.test_tags.TestTags.html#test_remove_in_child" class="code">testtools.tests.test_tags.TestTags.test_remove_in_child</a></li><li>test_remove_tag - <a href="testtools.tests.test_tags.TestTags.html#test_remove_tag" class="code">testtools.tests.test_tags.TestTags.test_remove_tag</a></li><li>test_removing_tags - <a href="testtools.tests.test_testresult.TagsContract.html#test_removing_tags" class="code">testtools.tests.test_testresult.TagsContract.test_removing_tags</a></li><li>test_repeated_run_with_patches - <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_repeated_run_with_patches" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.test_repeated_run_with_patches</a></li><li>test_repr<ul><li><a href="testtools.tests.matchers.test_impl.TestMismatchDecorator.html#test_repr" class="code">testtools.tests.matchers.test_impl.TestMismatchDecorator.test_repr</a></li><li><a href="testtools.tests.test_testcase.TestNullary.html#test_repr" class="code">testtools.tests.test_testcase.TestNullary.test_repr</a></li><li><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_repr" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_repr</a></li></ul></li><li>test_repr_custom_outcome - <a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_repr_custom_outcome" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_repr_custom_outcome</a></li><li>test_repr_just_id - <a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_repr_just_id" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_repr_just_id</a></li><li>test_repr_with_description - <a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_repr_with_description" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_repr_with_description</a></li><li>test_restore_non_existing - <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_restore_non_existing" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.test_restore_non_existing</a></li><li>test_restore_nonexistent_attribute - <a href="testtools.tests.test_testcase.TestPatchSupport.html#test_restore_nonexistent_attribute" class="code">testtools.tests.test_testcase.TestPatchSupport.test_restore_nonexistent_attribute</a></li><li>test_restore_twice_is_a_no_op - <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_restore_twice_is_a_no_op" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.test_restore_twice_is_a_no_op</a></li><li>test_restores_observers - <a href="testtools.tests.test_deferredruntest.TestRunWithLogObservers.html#test_restores_observers" class="code">testtools.tests.test_deferredruntest.TestRunWithLogObservers.test_restores_observers</a></li><li>test_return_value_returned - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_return_value_returned" class="code">testtools.tests.test_spinner.TestRunInReactor.test_return_value_returned</a></li><li>test_returns_wrapped - <a href="testtools.tests.test_testcase.TestNullary.html#test_returns_wrapped" class="code">testtools.tests.test_testcase.TestNullary.test_returns_wrapped</a></li><li>test_run<ul><li><a href="testtools.tests.test_run.html" class="code">testtools.tests.test_run</a></li><li><a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html#test_run" class="code">testtools.tests.test_testcase.TestDecorateTestCaseResult.test_run</a></li></ul></li><li>test_run_custom_list - <a href="testtools.tests.test_run.TestRun.html#test_run_custom_list" class="code">testtools.tests.test_run.TestRun.test_run_custom_list</a></li><li>test_run_failfast - <a href="testtools.tests.test_run.TestRun.html#test_run_failfast" class="code">testtools.tests.test_run.TestRun.test_run_failfast</a></li><li>test_run_list - <a href="testtools.tests.test_run.TestRun.html#test_run_list" class="code">testtools.tests.test_run.TestRun.test_run_list</a></li><li>test_run_list_failed_import - <a href="testtools.tests.test_run.TestRun.html#test_run_list_failed_import" class="code">testtools.tests.test_run.TestRun.test_run_list_failed_import</a></li><li>test_run_list_with_loader - <a href="testtools.tests.test_run.TestRun.html#test_run_list_with_loader" class="code">testtools.tests.test_run.TestRun.test_run_list_with_loader</a></li><li>test_run_load_list - <a href="testtools.tests.test_run.TestRun.html#test_run_load_list" class="code">testtools.tests.test_run.TestRun.test_run_load_list</a></li><li>test_run_locals - <a href="testtools.tests.test_run.TestRun.html#test_run_locals" class="code">testtools.tests.test_run.TestRun.test_run_locals</a></li><li>test_run_no_result_manages_new_result - <a href="testtools.tests.test_runtest.TestRunTest.html#test_run_no_result_manages_new_result" class="code">testtools.tests.test_runtest.TestRunTest.test_run_no_result_manages_new_result</a></li><li>test_run_orders_tests - <a href="testtools.tests.test_run.TestRun.html#test_run_orders_tests" class="code">testtools.tests.test_run.TestRun.test_run_orders_tests</a></li><li>test_run_with_patches_decoration - <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_run_with_patches_decoration" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.test_run_with_patches_decoration</a></li><li>test_run_with_patches_restores - <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_run_with_patches_restores" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.test_run_with_patches_restores</a></li><li>test_run_with_patches_restores_on_exception - <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_run_with_patches_restores_on_exception" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.test_run_with_patches_restores_on_exception</a></li><li>test_run_with_result - <a href="testtools.tests.test_runtest.TestRunTest.html#test_run_with_result" class="code">testtools.tests.test_runtest.TestRunTest.test_run_with_result</a></li><li>test_runner - <a href="testtools.tests.test_deferredruntest.X.TestIntegration.html#test_runner" class="code">testtools.tests.test_deferredruntest.X.TestIntegration.test_runner</a></li><li>test_runs_as_error - <a href="testtools.tests.test_testcase.TestErrorHolder.html#test_runs_as_error" class="code">testtools.tests.test_testcase.TestErrorHolder.test_runs_as_error</a></li><li>test_runs_as_success - <a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_runs_as_success" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_runs_as_success</a></li><li>test_runs_without_result<ul><li><a href="testtools.tests.test_testcase.TestErrorHolder.html#test_runs_without_result" class="code">testtools.tests.test_testcase.TestErrorHolder.test_runs_without_result</a></li><li><a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_runs_without_result" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_runs_without_result</a></li></ul></li><li>test_runtest - <a href="testtools.tests.test_runtest.html" class="code">testtools.tests.test_runtest</a></li><li>test_same_string - <a href="testtools.tests.matchers.test_filesystem.TestSamePath.html#test_same_string" class="code">testtools.tests.matchers.test_filesystem.TestSamePath.test_same_string</a></li><li>test_setUp_followed_by_test - <a href="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html#test_setUp_followed_by_test" class="code">testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.test_setUp_followed_by_test</a></li><li>test_setUp_returns_deferred_that_fires_later - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_setUp_returns_deferred_that_fires_later" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_setUp_returns_deferred_that_fires_later</a></li><li>test_setup_uses_super - <a href="testtools.tests.test_testcase.TestTestCaseSuper.html#test_setup_uses_super" class="code">testtools.tests.test_testcase.TestTestCaseSuper.test_setup_uses_super</a></li><li>test_setUpCalledTwice - <a href="testtools.tests.test_testcase.TestSetupTearDown.html#test_setUpCalledTwice" class="code">testtools.tests.test_testcase.TestSetupTearDown.test_setUpCalledTwice</a></li><li>test_setupclass_skip - <a href="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html#test_setupclass_skip" class="code">testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.test_setupclass_skip</a></li><li>test_setupclass_upcall - <a href="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html#test_setupclass_upcall" class="code">testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.test_setupclass_upcall</a></li><li>test_setUpNotCalled - <a href="testtools.tests.test_testcase.TestSetupTearDown.html#test_setUpNotCalled" class="code">testtools.tests.test_testcase.TestSetupTearDown.test_setUpNotCalled</a></li><li>test_short_mixed_strings - <a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html#test_short_mixed_strings" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch.test_short_mixed_strings</a></li><li>test_short_objects - <a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html#test_short_objects" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch.test_short_objects</a></li><li>test_shortDescription_is_id<ul><li><a href="testtools.tests.test_testcase.TestErrorHolder.html#test_shortDescription_is_id" class="code">testtools.tests.test_testcase.TestErrorHolder.test_shortDescription_is_id</a></li><li><a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_shortDescription_is_id" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_shortDescription_is_id</a></li></ul></li><li>test_shortDescription_specified<ul><li><a href="testtools.tests.test_testcase.TestErrorHolder.html#test_shortDescription_specified" class="code">testtools.tests.test_testcase.TestErrorHolder.test_shortDescription_specified</a></li><li><a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_shortDescription_specified" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_shortDescription_specified</a></li></ul></li><li>test_shouldStop<ul><li><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_shouldStop" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_shouldStop</a></li><li><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_shouldStop" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_shouldStop</a></li></ul></li><li>test_sigint_raises_no_result_error - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_sigint_raises_no_result_error" class="code">testtools.tests.test_spinner.TestRunInReactor.test_sigint_raises_no_result_error</a></li><li>test_sigint_raises_no_result_error_second_time - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_sigint_raises_no_result_error_second_time" class="code">testtools.tests.test_spinner.TestRunInReactor.test_sigint_raises_no_result_error_second_time</a></li><li>test_simple - <a href="testtools.tests.test_content.TestAttachFile.html#test_simple" class="code">testtools.tests.test_content.TestAttachFile.test_simple</a></li><li>test_simple_attr - <a href="testtools.tests.test_testcase.TestAttributes.html#test_simple_attr" class="code">testtools.tests.test_testcase.TestAttributes.test_simple_attr</a></li><li>test_single_line_content - <a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_single_line_content" class="code">testtools.tests.test_testresult.TestDetailsToStr.test_single_line_content</a></li><li>test_single_stack_line - <a href="testtools.tests.test_content.TestStackLinesContent.html#test_single_stack_line" class="code">testtools.tests.test_content.TestStackLinesContent.test_single_stack_line</a></li><li>test_skip - <a href="testtools.tests.test_testresult.TestStreamFailFast.html#test_skip" class="code">testtools.tests.test_testresult.TestStreamFailFast.test_skip</a></li><li>test_skip__in_setup_with_old_result_object_calls_addSuccess - <a href="testtools.tests.test_testcase.TestSkipping.html#test_skip__in_setup_with_old_result_object_calls_addSuccess" class="code">testtools.tests.test_testcase.TestSkipping.test_skip__in_setup_with_old_result_object_calls_addSuccess</a></li><li>test_skip_causes_skipException - <a href="testtools.tests.test_testcase.TestSkipping.html#test_skip_causes_skipException" class="code">testtools.tests.test_testcase.TestSkipping.test_skip_causes_skipException</a></li><li>test_skip_decorator - <a href="testtools.tests.test_testcase.TestSkipping.html#test_skip_decorator" class="code">testtools.tests.test_testcase.TestSkipping.test_skip_decorator</a></li><li>test_skip_with_old_result_object_calls_addError - <a href="testtools.tests.test_testcase.TestSkipping.html#test_skip_with_old_result_object_calls_addError" class="code">testtools.tests.test_testcase.TestSkipping.test_skip_with_old_result_object_calls_addError</a></li><li>test_skip_without_reason_works - <a href="testtools.tests.test_testcase.TestSkipping.html#test_skip_without_reason_works" class="code">testtools.tests.test_testcase.TestSkipping.test_skip_without_reason_works</a></li><li>test_skipException_in_setup_calls_result_addSkip - <a href="testtools.tests.test_testcase.TestSkipping.html#test_skipException_in_setup_calls_result_addSkip" class="code">testtools.tests.test_testcase.TestSkipping.test_skipException_in_setup_calls_result_addSkip</a></li><li>test_skipException_in_test_method_calls_result_addSkip - <a href="testtools.tests.test_testcase.TestSkipping.html#test_skipException_in_test_method_calls_result_addSkip" class="code">testtools.tests.test_testcase.TestSkipping.test_skipException_in_test_method_calls_result_addSkip</a></li><li>test_skipIf_decorator - <a href="testtools.tests.test_testcase.TestSkipping.html#test_skipIf_decorator" class="code">testtools.tests.test_testcase.TestSkipping.test_skipIf_decorator</a></li><li>test_skipUnless_decorator - <a href="testtools.tests.test_testcase.TestSkipping.html#test_skipUnless_decorator" class="code">testtools.tests.test_testcase.TestSkipping.test_skipUnless_decorator</a></li><li>test_something<ul><li><a href="testtools.tests.test_deferredruntest.X.Base.html#test_something" class="code">testtools.tests.test_deferredruntest.X.Base.test_something</a></li><li><a href="testtools.tests.test_deferredruntest.X.BaseExceptionRaised.html#test_something" class="code">testtools.tests.test_deferredruntest.X.BaseExceptionRaised.test_something</a></li><li><a href="testtools.tests.test_deferredruntest.X.ErrorInCleanup.html#test_something" class="code">testtools.tests.test_deferredruntest.X.ErrorInCleanup.test_something</a></li><li><a href="testtools.tests.test_deferredruntest.X.ErrorInTest.html#test_something" class="code">testtools.tests.test_deferredruntest.X.ErrorInTest.test_something</a></li><li><a href="testtools.tests.test_deferredruntest.X.FailureInTest.html#test_something" class="code">testtools.tests.test_deferredruntest.X.FailureInTest.test_something</a></li></ul></li><li>test_sorts_custom_suites - <a href="testtools.tests.test_testsuite.TestSortedTests.html#test_sorts_custom_suites" class="code">testtools.tests.test_testsuite.TestSortedTests.test_sorts_custom_suites</a></li><li>test_sorts_simple_suites - <a href="testtools.tests.test_testsuite.TestSortedTests.html#test_sorts_simple_suites" class="code">testtools.tests.test_testsuite.TestSortedTests.test_sorts_simple_suites</a></li><li>test_special_text_content - <a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_special_text_content" class="code">testtools.tests.test_testresult.TestDetailsToStr.test_special_text_content</a></li><li>test_spinner - <a href="testtools.tests.test_spinner.html" class="code">testtools.tests.test_spinner</a></li><li>test_start_stop_test_run_no_fallback - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_start_stop_test_run_no_fallback" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_start_stop_test_run_no_fallback</a></li><li>test_startStopTestRun - <a href="testtools.tests.test_testresult.Python27Contract.html#test_startStopTestRun" class="code">testtools.tests.test_testresult.Python27Contract.test_startStopTestRun</a></li><li>test_startTest - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_startTest" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_startTest</a></li><li>test_startTest_py26 - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_startTest_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_startTest_py26</a></li><li>test_startTest_py27 - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_startTest_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_startTest_py27</a></li><li>test_startTest_pyextended - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_startTest_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_startTest_pyextended</a></li><li>test_startTestRun<ul><li><a href="testtools.tests.test_testresult.TestCopyStreamResultCopies.html#test_startTestRun" class="code">testtools.tests.test_testresult.TestCopyStreamResultCopies.test_startTestRun</a></li><li><a href="testtools.tests.test_testresult.TestDoubleStreamResultEvents.html#test_startTestRun" class="code">testtools.tests.test_testresult.TestDoubleStreamResultEvents.test_startTestRun</a></li><li><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_startTestRun" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_startTestRun</a></li><li><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">testtools.tests.test_testresult.TestStreamResultContract.test_startTestRun</a></li><li><a href="testtools.tests.test_testresult.TestStreamSummary.html#test_startTestRun" class="code">testtools.tests.test_testresult.TestStreamSummary.test_startTestRun</a></li><li><a href="testtools.tests.test_testresult.TestTextTestResult.html#test_startTestRun" class="code">testtools.tests.test_testresult.TestTextTestResult.test_startTestRun</a></li><li><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_startTestRun" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_startTestRun</a></li><li><a href="testtools.tests.test_testresult.TestTimestampingStreamResult.html#test_startTestRun" class="code">testtools.tests.test_testresult.TestTimestampingStreamResult.test_startTestRun</a></li></ul></li><li>test_startTestRun_py26 - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_startTestRun_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_startTestRun_py26</a></li><li>test_startTestRun_py27 - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_startTestRun_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_startTestRun_py27</a></li><li>test_startTestRun_pyextended - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_startTestRun_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_startTestRun_pyextended</a></li><li>test_startTestRun_resets_errors - <a href="testtools.tests.test_testresult.StartTestRunContract.html#test_startTestRun_resets_errors" class="code">testtools.tests.test_testresult.StartTestRunContract.test_startTestRun_resets_errors</a></li><li>test_startTestRun_resets_failure - <a href="testtools.tests.test_testresult.StartTestRunContract.html#test_startTestRun_resets_failure" class="code">testtools.tests.test_testresult.StartTestRunContract.test_startTestRun_resets_failure</a></li><li>test_startTestRun_resets_tags - <a href="testtools.tests.test_testresult.TagsContract.html#test_startTestRun_resets_tags" class="code">testtools.tests.test_testresult.TagsContract.test_startTestRun_resets_tags</a></li><li>test_startTestRun_resets_unexpected_success - <a href="testtools.tests.test_testresult.StartTestRunContract.html#test_startTestRun_resets_unexpected_success" class="code">testtools.tests.test_testresult.StartTestRunContract.test_startTestRun_resets_unexpected_success</a></li><li>test_status<ul><li><a href="testtools.tests.test_testresult.TestCopyStreamResultCopies.html#test_status" class="code">testtools.tests.test_testresult.TestCopyStreamResultCopies.test_status</a></li><li><a href="testtools.tests.test_testresult.TestDoubleStreamResultEvents.html#test_status" class="code">testtools.tests.test_testresult.TestDoubleStreamResultEvents.test_status</a></li><li><a href="testtools.tests.test_testresult.TestStreamToQueue.html#test_status" class="code">testtools.tests.test_testresult.TestStreamToQueue.test_status</a></li></ul></li><li>test_status_fail - <a href="testtools.tests.test_testresult.TestStreamSummary.html#test_status_fail" class="code">testtools.tests.test_testresult.TestStreamSummary.test_status_fail</a></li><li>test_status_no_timestamp - <a href="testtools.tests.test_testresult.TestTimestampingStreamResult.html#test_status_no_timestamp" class="code">testtools.tests.test_testresult.TestTimestampingStreamResult.test_status_no_timestamp</a></li><li>test_status_skip - <a href="testtools.tests.test_testresult.TestStreamSummary.html#test_status_skip" class="code">testtools.tests.test_testresult.TestStreamSummary.test_status_skip</a></li><li>test_status_timestamp - <a href="testtools.tests.test_testresult.TestTimestampingStreamResult.html#test_status_timestamp" class="code">testtools.tests.test_testresult.TestTimestampingStreamResult.test_status_timestamp</a></li><li>test_status_uxsuccess - <a href="testtools.tests.test_testresult.TestStreamSummary.html#test_status_uxsuccess" class="code">testtools.tests.test_testresult.TestStreamSummary.test_status_uxsuccess</a></li><li>test_status_xfail - <a href="testtools.tests.test_testresult.TestStreamSummary.html#test_status_xfail" class="code">testtools.tests.test_testresult.TestStreamSummary.test_status_xfail</a></li><li>test_stdout_honoured - <a href="testtools.tests.test_run.TestRun.html#test_stdout_honoured" class="code">testtools.tests.test_run.TestRun.test_stdout_honoured</a></li><li>test_stop<ul><li><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_stop" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_stop</a></li><li><a href="testtools.tests.test_testresult.TestTestControl.html#test_stop" class="code">testtools.tests.test_testresult.TestTestControl.test_stop</a></li></ul></li><li>test_stop_sets_shouldStop - <a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">testtools.tests.test_testresult.Python26Contract.test_stop_sets_shouldStop</a></li><li>test_stopTest - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_stopTest" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_stopTest</a></li><li>test_stopTest_py26 - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_stopTest_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_stopTest_py26</a></li><li>test_stopTest_py27 - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_stopTest_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_stopTest_py27</a></li><li>test_stopTest_pyextended - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_stopTest_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_stopTest_pyextended</a></li><li>test_stopTestRun<ul><li><a href="testtools.tests.test_testresult.TestCopyStreamResultCopies.html#test_stopTestRun" class="code">testtools.tests.test_testresult.TestCopyStreamResultCopies.test_stopTestRun</a></li><li><a href="testtools.tests.test_testresult.TestDoubleStreamResultEvents.html#test_stopTestRun" class="code">testtools.tests.test_testresult.TestDoubleStreamResultEvents.test_stopTestRun</a></li><li><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_stopTestRun" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_stopTestRun</a></li><li><a href="testtools.tests.test_testresult.TestStreamSummary.html#test_stopTestRun" class="code">testtools.tests.test_testresult.TestStreamSummary.test_stopTestRun</a></li><li><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_stopTestRun" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_stopTestRun</a></li><li><a href="testtools.tests.test_testresult.TestTimestampingStreamResult.html#test_stopTestRun" class="code">testtools.tests.test_testresult.TestTimestampingStreamResult.test_stopTestRun</a></li></ul></li><li>test_stopTestRun_count_many - <a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_count_many" class="code">testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_count_many</a></li><li>test_stopTestRun_count_single - <a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_count_single" class="code">testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_count_single</a></li><li>test_stopTestRun_count_zero - <a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_count_zero" class="code">testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_count_zero</a></li><li>test_stopTestRun_current_time - <a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_current_time" class="code">testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_current_time</a></li><li>test_stopTestRun_inprogress_test_fails - <a href="testtools.tests.test_testresult.TestStreamSummary.html#test_stopTestRun_inprogress_test_fails" class="code">testtools.tests.test_testresult.TestStreamSummary.test_stopTestRun_inprogress_test_fails</a></li><li>test_stopTestRun_not_successful_error - <a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_not_successful_error" class="code">testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_not_successful_error</a></li><li>test_stopTestRun_not_successful_failure - <a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_not_successful_failure" class="code">testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_not_successful_failure</a></li><li>test_stopTestRun_not_successful_unexpected_success - <a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_not_successful_unexpected_success" class="code">testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_not_successful_unexpected_success</a></li><li>test_stopTestRun_py26 - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_stopTestRun_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_stopTestRun_py26</a></li><li>test_stopTestRun_py27 - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_stopTestRun_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_stopTestRun_py27</a></li><li>test_stopTestRun_pyextended - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_stopTestRun_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_stopTestRun_pyextended</a></li><li>test_stopTestRun_returns_results - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_stopTestRun_returns_results" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_stopTestRun_returns_results</a></li><li>test_stopTestRun_shows_details - <a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_shows_details" class="code">testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_shows_details</a></li><li>test_stopTestRun_successful - <a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_successful" class="code">testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_successful</a></li><li>test_str<ul><li><a href="testtools.tests.matchers.test_basic.EndsWithTests.html#test_str" class="code">testtools.tests.matchers.test_basic.EndsWithTests.test_str</a></li><li><a href="testtools.tests.matchers.test_basic.StartsWithTests.html#test_str" class="code">testtools.tests.matchers.test_basic.StartsWithTests.test_str</a></li></ul></li><li>test_str_is_id<ul><li><a href="testtools.tests.test_testcase.TestErrorHolder.html#test_str_is_id" class="code">testtools.tests.test_testcase.TestErrorHolder.test_str_is_id</a></li><li><a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_str_is_id" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_str_is_id</a></li></ul></li><li>test_str_with_bytes<ul><li><a href="testtools.tests.matchers.test_basic.EndsWithTests.html#test_str_with_bytes" class="code">testtools.tests.matchers.test_basic.EndsWithTests.test_str_with_bytes</a></li><li><a href="testtools.tests.matchers.test_basic.StartsWithTests.html#test_str_with_bytes" class="code">testtools.tests.matchers.test_basic.StartsWithTests.test_str_with_bytes</a></li></ul></li><li>test_str_with_unicode<ul><li><a href="testtools.tests.matchers.test_basic.EndsWithTests.html#test_str_with_unicode" class="code">testtools.tests.matchers.test_basic.EndsWithTests.test_str_with_unicode</a></li><li><a href="testtools.tests.matchers.test_basic.StartsWithTests.html#test_str_with_unicode" class="code">testtools.tests.matchers.test_basic.StartsWithTests.test_str_with_unicode</a></li></ul></li><li>test_stringio - <a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_stringio" class="code">testtools.tests.test_compat.TestUnicodeOutputStream.test_stringio</a></li><li>test_success<ul><li><a href="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html#test_success" class="code">testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.test_success</a></li><li><a href="testtools.tests.test_spinner.TestExtractResult.html#test_success" class="code">testtools.tests.test_spinner.TestExtractResult.test_success</a></li><li><a href="testtools.tests.test_testresult.TestStreamFailFast.html#test_success" class="code">testtools.tests.test_testresult.TestStreamFailFast.test_success</a></li></ul></li><li>test_successive_patches_apply - <a href="testtools.tests.test_testcase.TestPatchSupport.html#test_successive_patches_apply" class="code">testtools.tests.test_testcase.TestPatchSupport.test_successive_patches_apply</a></li><li>test_successive_patches_restored_after_run - <a href="testtools.tests.test_testcase.TestPatchSupport.html#test_successive_patches_restored_after_run" class="code">testtools.tests.test_testcase.TestPatchSupport.test_successive_patches_restored_after_run</a></li><li>test_suite<ul><li><a href="testtools.tests.matchers.test_basic.html#test_suite" class="code">testtools.tests.matchers.test_basic.test_suite</a></li><li><a href="testtools.tests.matchers.test_datastructures.html#test_suite" class="code">testtools.tests.matchers.test_datastructures.test_suite</a></li><li><a href="testtools.tests.matchers.test_dict.html#test_suite" class="code">testtools.tests.matchers.test_dict.test_suite</a></li><li><a href="testtools.tests.matchers.test_doctest.html#test_suite" class="code">testtools.tests.matchers.test_doctest.test_suite</a></li><li><a href="testtools.tests.matchers.test_exception.html#test_suite" class="code">testtools.tests.matchers.test_exception.test_suite</a></li><li><a href="testtools.tests.matchers.test_filesystem.html#test_suite" class="code">testtools.tests.matchers.test_filesystem.test_suite</a></li><li><a href="testtools.tests.matchers.test_higherorder.html#test_suite" class="code">testtools.tests.matchers.test_higherorder.test_suite</a></li><li><a href="testtools.tests.matchers.test_impl.html#test_suite" class="code">testtools.tests.matchers.test_impl.test_suite</a></li><li><a href="testtools.tests.matchers.html#test_suite" class="code">testtools.tests.matchers.test_suite</a></li><li><a href="testtools.tests.test_assert_that.html#test_suite" class="code">testtools.tests.test_assert_that.test_suite</a></li><li><a href="testtools.tests.test_compat.html#test_suite" class="code">testtools.tests.test_compat.test_suite</a></li><li><a href="testtools.tests.test_content.html#test_suite" class="code">testtools.tests.test_content.test_suite</a></li><li><a href="testtools.tests.test_content_type.html#test_suite" class="code">testtools.tests.test_content_type.test_suite</a></li><li><a href="testtools.tests.test_deferredruntest.html#test_suite" class="code">testtools.tests.test_deferredruntest.test_suite</a></li><li><a href="testtools.tests.test_distutilscmd.html#test_suite" class="code">testtools.tests.test_distutilscmd.test_suite</a></li><li><a href="testtools.tests.test_fixturesupport.html#test_suite" class="code">testtools.tests.test_fixturesupport.test_suite</a></li><li><a href="testtools.tests.test_helpers.html#test_suite" class="code">testtools.tests.test_helpers.test_suite</a></li><li><a href="testtools.tests.test_monkey.html#test_suite" class="code">testtools.tests.test_monkey.test_suite</a></li><li><a href="testtools.tests.test_run.html#test_suite" class="code">testtools.tests.test_run.test_suite</a></li><li><a href="testtools.tests.test_runtest.html#test_suite" class="code">testtools.tests.test_runtest.test_suite</a></li><li><a href="testtools.tests.test_spinner.html#test_suite" class="code">testtools.tests.test_spinner.test_suite</a></li><li><a href="testtools.tests.html#test_suite" class="code">testtools.tests.test_suite</a></li><li><a href="testtools.tests.test_tags.html#test_suite" class="code">testtools.tests.test_tags.test_suite</a></li><li><a href="testtools.tests.test_testcase.html#test_suite" class="code">testtools.tests.test_testcase.test_suite</a></li><li><a href="testtools.tests.test_testresult.html#test_suite" class="code">testtools.tests.test_testresult.test_suite</a></li><li><a href="testtools.tests.test_testsuite.html#test_suite" class="code">testtools.tests.test_testsuite.test_suite</a></li><li><a href="testtools.tests.test_with_with.html#test_suite" class="code">testtools.tests.test_with_with.test_suite</a></li></ul></li><li>test_supplies_details - <a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_supplies_details" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_supplies_details</a></li><li>test_supplies_timestamps - <a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_supplies_timestamps" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_supplies_timestamps</a></li><li>test_supports_tags - <a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_supports_tags" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_supports_tags</a></li><li>test_syntax_error - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_syntax_error" class="code">testtools.tests.test_testresult.TestNonAsciiResults.test_syntax_error</a></li><li>test_syntax_error_line_euc_jp - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_syntax_error_line_euc_jp" class="code">testtools.tests.test_testresult.TestNonAsciiResults.test_syntax_error_line_euc_jp</a></li><li>test_syntax_error_line_iso_8859_1 - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_syntax_error_line_iso_8859_1" class="code">testtools.tests.test_testresult.TestNonAsciiResults.test_syntax_error_line_iso_8859_1</a></li><li>test_syntax_error_line_iso_8859_5 - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_syntax_error_line_iso_8859_5" class="code">testtools.tests.test_testresult.TestNonAsciiResults.test_syntax_error_line_iso_8859_5</a></li><li>test_syntax_error_line_utf_8 - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_syntax_error_line_utf_8" class="code">testtools.tests.test_testresult.TestNonAsciiResults.test_syntax_error_line_utf_8</a></li><li>test_syntax_error_malformed - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_syntax_error_malformed" class="code">testtools.tests.test_testresult.TestNonAsciiResults.test_syntax_error_malformed</a></li><li>test_tags<ul><li><a href="testtools.tests.test_tags.html" class="code">testtools.tests.test_tags</a></li><li><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_tags" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_tags</a></li></ul></li><li>test_tags_added_in_test_are_reverted - <a href="testtools.tests.test_testresult.TagsContract.html#test_tags_added_in_test_are_reverted" class="code">testtools.tests.test_testresult.TagsContract.test_tags_added_in_test_are_reverted</a></li><li>test_tags_not_forwarded - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_tags_not_forwarded" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_tags_not_forwarded</a></li><li>test_tags_py26 - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_tags_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_tags_py26</a></li><li>test_tags_py27 - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_tags_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_tags_py27</a></li><li>test_tags_pyextended - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_tags_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_tags_pyextended</a></li><li>test_tags_removed_in_test - <a href="testtools.tests.test_testresult.TagsContract.html#test_tags_removed_in_test" class="code">testtools.tests.test_testresult.TagsContract.test_tags_removed_in_test</a></li><li>test_tags_removed_in_test_are_restored - <a href="testtools.tests.test_testresult.TagsContract.html#test_tags_removed_in_test_are_restored" class="code">testtools.tests.test_testresult.TagsContract.test_tags_removed_in_test_are_restored</a></li><li>test_tags_tests - <a href="testtools.tests.test_testresult.TestTagger.html#test_tags_tests" class="code">testtools.tests.test_testresult.TestTagger.test_tags_tests</a></li><li>test_tearDown_runs_after_cleanup_failure - <a href="testtools.tests.test_testcase.TestAddCleanup.html#test_tearDown_runs_after_cleanup_failure" class="code">testtools.tests.test_testcase.TestAddCleanup.test_tearDown_runs_after_cleanup_failure</a></li><li>test_teardown_uses_super - <a href="testtools.tests.test_testcase.TestTestCaseSuper.html#test_teardown_uses_super" class="code">testtools.tests.test_testcase.TestTestCaseSuper.test_teardown_uses_super</a></li><li>test_tearDownCalledTwice - <a href="testtools.tests.test_testcase.TestSetupTearDown.html#test_tearDownCalledTwice" class="code">testtools.tests.test_testcase.TestSetupTearDown.test_tearDownCalledTwice</a></li><li>test_tearDownNotCalled - <a href="testtools.tests.test_testcase.TestSetupTearDown.html#test_tearDownNotCalled" class="code">testtools.tests.test_testcase.TestSetupTearDown.test_tearDownNotCalled</a></li><li>test_test_module - <a href="testtools.tests.test_distutilscmd.TestCommandTest.html#test_test_module" class="code">testtools.tests.test_distutilscmd.TestCommandTest.test_test_module</a></li><li>test_test_status - <a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">testtools.tests.test_testresult.TestStreamResultContract.test_test_status</a></li><li>test_test_suite - <a href="testtools.tests.test_distutilscmd.TestCommandTest.html#test_test_suite" class="code">testtools.tests.test_distutilscmd.TestCommandTest.test_test_suite</a></li><li>test_testcase - <a href="testtools.tests.test_testcase.html" class="code">testtools.tests.test_testcase</a></li><li>test_testresult - <a href="testtools.tests.test_testresult.html" class="code">testtools.tests.test_testresult</a></li><li>test_testsuite - <a href="testtools.tests.test_testsuite.html" class="code">testtools.tests.test_testsuite</a></li><li>test_testtools_skip_decorator_does_not_run_setUp - <a href="testtools.tests.test_testcase.TestSkipping.html#test_testtools_skip_decorator_does_not_run_setUp" class="code">testtools.tests.test_testcase.TestSkipping.test_testtools_skip_decorator_does_not_run_setUp</a></li><li>test_testtools_skipIf_decorator_does_not_run_setUp - <a href="testtools.tests.test_testcase.TestSkipping.html#test_testtools_skipIf_decorator_does_not_run_setUp" class="code">testtools.tests.test_testcase.TestSkipping.test_testtools_skipIf_decorator_does_not_run_setUp</a></li><li>test_testtools_skipUnless_decorator_does_not_run_setUp - <a href="testtools.tests.test_testcase.TestSkipping.html#test_testtools_skipUnless_decorator_does_not_run_setUp" class="code">testtools.tests.test_testcase.TestSkipping.test_testtools_skipUnless_decorator_does_not_run_setUp</a></li><li>test_text_content_raises_TypeError_when_passed_bytes - <a href="testtools.tests.test_content.TestContent.html#test_text_content_raises_TypeError_when_passed_bytes" class="code">testtools.tests.test_content.TestContent.test_text_content_raises_TypeError_when_passed_bytes</a></li><li>test_text_content_raises_TypeError_when_passed_non_text - <a href="testtools.tests.test_content.TestContent.html#test_text_content_raises_TypeError_when_passed_non_text" class="code">testtools.tests.test_content.TestContent.test_text_content_raises_TypeError_when_passed_non_text</a></li><li>test_time - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_time" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_time</a></li><li>test_time_py26 - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_time_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_time_py26</a></li><li>test_time_py27 - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_time_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_time_py27</a></li><li>test_time_pyextended - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_time_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_time_pyextended</a></li><li>test_timeout - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_timeout" class="code">testtools.tests.test_spinner.TestRunInReactor.test_timeout</a></li><li>test_timeout_causes_test_error - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_timeout_causes_test_error" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_timeout_causes_test_error</a></li><li>test_timestamps - <a href="testtools.tests.test_testresult.TestStreamToDict.html#test_timestamps" class="code">testtools.tests.test_testresult.TestStreamToDict.test_timestamps</a></li><li>test_too_many_matchers - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_too_many_matchers" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_too_many_matchers</a></li><li>test_too_many_values - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_too_many_values" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_too_many_values</a></li><li>test_top_frame_is_skipped_when_no_stack_is_specified - <a href="testtools.tests.test_content.TestStacktraceContent.html#test_top_frame_is_skipped_when_no_stack_is_specified" class="code">testtools.tests.test_content.TestStacktraceContent.test_top_frame_is_skipped_when_no_stack_is_specified</a></li><li>test_traceback_formatting_with_stack_hidden - <a href="testtools.tests.test_testresult.TestTestResult.html#test_traceback_formatting_with_stack_hidden" class="code">testtools.tests.test_testresult.TestTestResult.test_traceback_formatting_with_stack_hidden</a></li><li>test_traceback_formatting_with_stack_hidden_mismatch - <a href="testtools.tests.test_testresult.TestTestResult.html#test_traceback_formatting_with_stack_hidden_mismatch" class="code">testtools.tests.test_testresult.TestTestResult.test_traceback_formatting_with_stack_hidden_mismatch</a></li><li>test_traceback_formatting_without_stack_hidden - <a href="testtools.tests.test_testresult.TestTestResult.html#test_traceback_formatting_without_stack_hidden" class="code">testtools.tests.test_testresult.TestTestResult.test_traceback_formatting_without_stack_hidden</a></li><li>test_traceback_with_locals - <a href="testtools.tests.test_testresult.TestTestResult.html#test_traceback_with_locals" class="code">testtools.tests.test_testresult.TestTestResult.test_traceback_with_locals</a></li><li>test_trivial<ul><li><a href="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html#test_trivial" class="code">testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.test_trivial</a></li><li><a href="testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html#test_trivial" class="code">testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.test_trivial</a></li></ul></li><li>test_twice - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_twice" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_twice</a></li><li>test_two_too_many_matchers - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_two_too_many_matchers" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_two_too_many_matchers</a></li><li>test_two_too_many_values - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_two_too_many_values" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_two_too_many_values</a></li><li>test_unhandled_error - <a href="testtools.tests.test_spinner.TestTrapUnhandledErrors.html#test_unhandled_error" class="code">testtools.tests.test_spinner.TestTrapUnhandledErrors.test_unhandled_error</a></li><li>test_unhandled_error_from_deferred - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_unhandled_error_from_deferred" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_unhandled_error_from_deferred</a></li><li>test_unhandled_error_from_deferred_combined_with_error - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_unhandled_error_from_deferred_combined_with_error" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_unhandled_error_from_deferred_combined_with_error</a></li><li>test_unicode_encodings_not_wrapped_when_str_is_unicode - <a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_unicode_encodings_not_wrapped_when_str_is_unicode" class="code">testtools.tests.test_compat.TestUnicodeOutputStream.test_unicode_encodings_not_wrapped_when_str_is_unicode</a></li><li>test_unicode_encodings_wrapped_when_str_is_not_unicode - <a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_unicode_encodings_wrapped_when_str_is_not_unicode" class="code">testtools.tests.test_compat.TestUnicodeOutputStream.test_unicode_encodings_wrapped_when_str_is_not_unicode</a></li><li>test_unicode_examples_multiline - <a href="testtools.tests.test_compat.TestTextRepr.html#test_unicode_examples_multiline" class="code">testtools.tests.test_compat.TestTextRepr.test_unicode_examples_multiline</a></li><li>test_unicode_examples_oneline - <a href="testtools.tests.test_compat.TestTextRepr.html#test_unicode_examples_oneline" class="code">testtools.tests.test_compat.TestTextRepr.test_unicode_examples_oneline</a></li><li>test_unicode_exception - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_unicode_exception" class="code">testtools.tests.test_testresult.TestNonAsciiResults.test_unicode_exception</a></li><li>test_unittest_expectedFailure_decorator_works_with_failure - <a href="testtools.tests.test_testcase.TestExpectedFailure.html#test_unittest_expectedFailure_decorator_works_with_failure" class="code">testtools.tests.test_testcase.TestExpectedFailure.test_unittest_expectedFailure_decorator_works_with_failure</a></li><li>test_unittest_expectedFailure_decorator_works_with_success - <a href="testtools.tests.test_testcase.TestExpectedFailure.html#test_unittest_expectedFailure_decorator_works_with_success" class="code">testtools.tests.test_testcase.TestExpectedFailure.test_unittest_expectedFailure_decorator_works_with_success</a></li><li>test_unittest_skip_decorator_does_not_run_setUp - <a href="testtools.tests.test_testcase.TestSkipping.html#test_unittest_skip_decorator_does_not_run_setUp" class="code">testtools.tests.test_testcase.TestSkipping.test_unittest_skip_decorator_does_not_run_setUp</a></li><li>test_unittest_skipIf_decorator_does_not_run_setUp - <a href="testtools.tests.test_testcase.TestSkipping.html#test_unittest_skipIf_decorator_does_not_run_setUp" class="code">testtools.tests.test_testcase.TestSkipping.test_unittest_skipIf_decorator_does_not_run_setUp</a></li><li>test_unittest_skipUnless_decorator_does_not_run_setUp - <a href="testtools.tests.test_testcase.TestSkipping.html#test_unittest_skipUnless_decorator_does_not_run_setUp" class="code">testtools.tests.test_testcase.TestSkipping.test_unittest_skipUnless_decorator_does_not_run_setUp</a></li><li>test_unprintable_exception - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_unprintable_exception" class="code">testtools.tests.test_testresult.TestNonAsciiResults.test_unprintable_exception</a></li><li>test_update - <a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.html#test_update" class="code">testtools.tests.matchers.test_datastructures.TestMatchesStructure.test_update</a></li><li>test_update_none - <a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.html#test_update_none" class="code">testtools.tests.matchers.test_datastructures.TestMatchesStructure.test_update_none</a></li><li>test_use_convenient_factory - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_use_convenient_factory" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_use_convenient_factory</a></li><li>test_useFixture - <a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html#test_useFixture" class="code">testtools.tests.test_fixturesupport.TestFixtureSupport.test_useFixture</a></li><li>test_useFixture_cleanups_raise_caught - <a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html#test_useFixture_cleanups_raise_caught" class="code">testtools.tests.test_fixturesupport.TestFixtureSupport.test_useFixture_cleanups_raise_caught</a></li><li>test_useFixture_details_captured - <a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html#test_useFixture_details_captured" class="code">testtools.tests.test_fixturesupport.TestFixtureSupport.test_useFixture_details_captured</a></li><li>test_useFixture_details_captured_from_setUp - <a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html#test_useFixture_details_captured_from_setUp" class="code">testtools.tests.test_fixturesupport.TestFixtureSupport.test_useFixture_details_captured_from_setUp</a></li><li>test_useFixture_multiple_details_captured - <a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html#test_useFixture_multiple_details_captured" class="code">testtools.tests.test_fixturesupport.TestFixtureSupport.test_useFixture_multiple_details_captured</a></li><li>test_useFixture_original_exception_raised_if_gather_details_fails - <a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html#test_useFixture_original_exception_raised_if_gather_details_fails" class="code">testtools.tests.test_fixturesupport.TestFixtureSupport.test_useFixture_original_exception_raised_if_gather_details_fails</a></li><li>test_uxsuccess - <a href="testtools.tests.test_testresult.TestStreamFailFast.html#test_uxsuccess" class="code">testtools.tests.test_testresult.TestStreamFailFast.test_uxsuccess</a></li><li>test_verbose_description - <a href="testtools.tests.matchers.test_impl.TestMismatchError.html#test_verbose_description" class="code">testtools.tests.matchers.test_impl.TestMismatchError.test_verbose_description</a></li><li>test_verbose_unicode - <a href="testtools.tests.matchers.test_impl.TestMismatchError.html#test_verbose_unicode" class="code">testtools.tests.matchers.test_impl.TestMismatchError.test_verbose_unicode</a></li><li>test_wasSuccessful - <a href="testtools.tests.test_testresult.TestStreamSummary.html#test_wasSuccessful" class="code">testtools.tests.test_testresult.TestStreamSummary.test_wasSuccessful</a></li><li>test_wasSuccessful_after_stopTestRun - <a href="testtools.tests.test_testresult.TestExtendedToStreamDecorator.html#test_wasSuccessful_after_stopTestRun" class="code">testtools.tests.test_testresult.TestExtendedToStreamDecorator.test_wasSuccessful_after_stopTestRun</a></li><li>test_will_not_run_with_previous_junk - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_will_not_run_with_previous_junk" class="code">testtools.tests.test_spinner.TestRunInReactor.test_will_not_run_with_previous_junk</a></li><li>test_with_with - <a href="testtools.tests.test_with_with.html" class="code">testtools.tests.test_with_with</a></li><li>test_withStructure - <a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.html#test_withStructure" class="code">testtools.tests.matchers.test_datastructures.TestMatchesStructure.test_withStructure</a></li><li>test_works_as_inner_decorator - <a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html#test_works_as_inner_decorator" class="code">testtools.tests.test_runtest.TestTestCaseSupportForRunTest.test_works_as_inner_decorator</a></li><li>test_wrap_result - <a href="testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html#test_wrap_result" class="code">testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.test_wrap_result</a></li><li>test_xfail - <a href="testtools.tests.test_testresult.TestStreamFailFast.html#test_xfail" class="code">testtools.tests.test_testresult.TestStreamFailFast.test_xfail</a></li><li>TestAdaptedPython26TestResultContract - <a href="testtools.tests.test_testresult.TestAdaptedPython26TestResultContract.html" class="code">testtools.tests.test_testresult.TestAdaptedPython26TestResultContract</a></li><li>TestAdaptedPython27TestResultContract - <a href="testtools.tests.test_testresult.TestAdaptedPython27TestResultContract.html" class="code">testtools.tests.test_testresult.TestAdaptedPython27TestResultContract</a></li><li>TestAdaptedStreamResult - <a href="testtools.tests.test_testresult.TestAdaptedStreamResult.html" class="code">testtools.tests.test_testresult.TestAdaptedStreamResult</a></li><li>TestAddCleanup - <a href="testtools.tests.test_testcase.TestAddCleanup.html" class="code">testtools.tests.test_testcase.TestAddCleanup</a></li><li>TestAfterPreprocessing - <a href="testtools.tests.matchers.test_higherorder.TestAfterPreprocessing.html" class="code">testtools.tests.matchers.test_higherorder.TestAfterPreprocessing</a></li><li>TestAllMatch - <a href="testtools.tests.matchers.test_higherorder.TestAllMatch.html" class="code">testtools.tests.matchers.test_higherorder.TestAllMatch</a></li><li>TestAnnotate - <a href="testtools.tests.matchers.test_higherorder.TestAnnotate.html" class="code">testtools.tests.matchers.test_higherorder.TestAnnotate</a></li><li>TestAnnotatedMismatch - <a href="testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch.html" class="code">testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch</a></li><li>TestAnyMatch - <a href="testtools.tests.matchers.test_higherorder.TestAnyMatch.html" class="code">testtools.tests.matchers.test_higherorder.TestAnyMatch</a></li><li>TestAssertFailsWith - <a href="testtools.tests.test_deferredruntest.TestAssertFailsWith.html" class="code">testtools.tests.test_deferredruntest.TestAssertFailsWith</a></li><li>TestAssertions - <a href="testtools.tests.test_testcase.TestAssertions.html" class="code">testtools.tests.test_testcase.TestAssertions</a></li><li>TestAssertThatFunction - <a href="testtools.tests.test_assert_that.TestAssertThatFunction.html" class="code">testtools.tests.test_assert_that.TestAssertThatFunction</a></li><li>TestAssertThatMethod - <a href="testtools.tests.test_assert_that.TestAssertThatMethod.html" class="code">testtools.tests.test_assert_that.TestAssertThatMethod</a></li><li>TestAsynchronousDeferredRunTest - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest</a></li><li>TestAttachFile - <a href="testtools.tests.test_content.TestAttachFile.html" class="code">testtools.tests.test_content.TestAttachFile</a></li><li>TestAttributes - <a href="testtools.tests.test_testcase.TestAttributes.html" class="code">testtools.tests.test_testcase.TestAttributes</a></li><li>TestBaseStreamResultContract - <a href="testtools.tests.test_testresult.TestBaseStreamResultContract.html" class="code">testtools.tests.test_testresult.TestBaseStreamResultContract</a></li><li>TestBuiltinContentTypes - <a href="testtools.tests.test_content_type.TestBuiltinContentTypes.html" class="code">testtools.tests.test_content_type.TestBuiltinContentTypes</a></li><li>TestByTestResult - <a href="testtools.testresult.TestByTestResult.html" class="code">testtools.testresult.TestByTestResult</a></li><li>TestByTestResultTests - <a href="testtools.tests.test_testresult.TestByTestResultTests.html" class="code">testtools.tests.test_testresult.TestByTestResultTests</a></li><li>TestCase - <a href="testtools.testcase.TestCase.html" class="code">testtools.testcase.TestCase</a></li><li>testcase - <a href="testtools.testcase.html" class="code">testtools.testcase</a></li><li>TestCloneTestWithNewId - <a href="testtools.tests.test_testcase.TestCloneTestWithNewId.html" class="code">testtools.tests.test_testcase.TestCloneTestWithNewId</a></li><li>TestCommand - <a href="testtools.TestCommand.html" class="code">testtools.TestCommand</a></li><li>TestCommandTest - <a href="testtools.tests.test_distutilscmd.TestCommandTest.html" class="code">testtools.tests.test_distutilscmd.TestCommandTest</a></li><li>TestConcurrentStreamTestSuiteRun - <a href="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html" class="code">testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun</a></li><li>TestConcurrentTestSuiteRun - <a href="testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html" class="code">testtools.tests.test_testsuite.TestConcurrentTestSuiteRun</a></li><li>TestContainedByDict - <a href="testtools.tests.matchers.test_dict.TestContainedByDict.html" class="code">testtools.tests.matchers.test_dict.TestContainedByDict</a></li><li>TestContainsAllInterface - <a href="testtools.tests.matchers.test_datastructures.TestContainsAllInterface.html" class="code">testtools.tests.matchers.test_datastructures.TestContainsAllInterface</a></li><li>TestContainsDict - <a href="testtools.tests.matchers.test_dict.TestContainsDict.html" class="code">testtools.tests.matchers.test_dict.TestContainsDict</a></li><li>TestContainsInterface - <a href="testtools.tests.matchers.test_basic.TestContainsInterface.html" class="code">testtools.tests.matchers.test_basic.TestContainsInterface</a></li><li>TestContent - <a href="testtools.tests.test_content.TestContent.html" class="code">testtools.tests.test_content.TestContent</a></li><li>TestContentType - <a href="testtools.tests.test_content_type.TestContentType.html" class="code">testtools.tests.test_content_type.TestContentType</a></li><li>TestControl - <a href="testtools.testresult.real.TestControl.html" class="code">testtools.testresult.real.TestControl</a></li><li>TestCopyStreamResultContract - <a href="testtools.tests.test_testresult.TestCopyStreamResultContract.html" class="code">testtools.tests.test_testresult.TestCopyStreamResultContract</a></li><li>TestCopyStreamResultCopies - <a href="testtools.tests.test_testresult.TestCopyStreamResultCopies.html" class="code">testtools.tests.test_testresult.TestCopyStreamResultCopies</a></li><li>TestDecorateTestCaseResult - <a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html" class="code">testtools.tests.test_testcase.TestDecorateTestCaseResult</a></li><li>TestDetailsProvided - <a href="testtools.tests.test_testcase.TestDetailsProvided.html" class="code">testtools.tests.test_testcase.TestDetailsProvided</a></li><li>TestDetailsToStr - <a href="testtools.tests.test_testresult.TestDetailsToStr.html" class="code">testtools.tests.test_testresult.TestDetailsToStr</a></li><li>TestDirContains - <a href="testtools.tests.matchers.test_filesystem.TestDirContains.html" class="code">testtools.tests.matchers.test_filesystem.TestDirContains</a></li><li>TestDirExists - <a href="testtools.tests.matchers.test_filesystem.TestDirExists.html" class="code">testtools.tests.matchers.test_filesystem.TestDirExists</a></li><li>TestDocTestMatchesInterface - <a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface.html" class="code">testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface</a></li><li>TestDocTestMatchesInterfaceUnicode - <a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode.html" class="code">testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode</a></li><li>TestDocTestMatchesSpecific - <a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.html" class="code">testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific</a></li><li>TestDoubleStreamResultContract - <a href="testtools.tests.test_testresult.TestDoubleStreamResultContract.html" class="code">testtools.tests.test_testresult.TestDoubleStreamResultContract</a></li><li>TestDoubleStreamResultEvents - <a href="testtools.tests.test_testresult.TestDoubleStreamResultEvents.html" class="code">testtools.tests.test_testresult.TestDoubleStreamResultEvents</a></li><li>TestEquality - <a href="testtools.tests.test_testcase.TestEquality.html" class="code">testtools.tests.test_testcase.TestEquality</a></li><li>TestEqualsInterface - <a href="testtools.tests.matchers.test_basic.TestEqualsInterface.html" class="code">testtools.tests.matchers.test_basic.TestEqualsInterface</a></li><li>TestErrorHolder - <a href="testtools.tests.test_testcase.TestErrorHolder.html" class="code">testtools.tests.test_testcase.TestErrorHolder</a></li><li>TestExpectedException - <a href="testtools.tests.test_with_with.TestExpectedException.html" class="code">testtools.tests.test_with_with.TestExpectedException</a></li><li>TestExpectedFailure - <a href="testtools.tests.test_testcase.TestExpectedFailure.html" class="code">testtools.tests.test_testcase.TestExpectedFailure</a></li><li>TestExtendedTestResultContract - <a href="testtools.tests.test_testresult.TestExtendedTestResultContract.html" class="code">testtools.tests.test_testresult.TestExtendedTestResultContract</a></li><li>TestExtendedToOriginalAddError - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddError</a></li><li>TestExtendedToOriginalAddExpectedFailure - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure</a></li><li>TestExtendedToOriginalAddFailure - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddFailure.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddFailure</a></li><li>TestExtendedToOriginalAddSkip - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSkip</a></li><li>TestExtendedToOriginalAddSuccess - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess</a></li><li>TestExtendedToOriginalAddUnexpectedSuccess - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess</a></li><li>TestExtendedToOriginalResultDecorator - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator</a></li><li>TestExtendedToOriginalResultDecoratorBase - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase</a></li><li>TestExtendedToOriginalResultOtherAttributes - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes</a></li><li>TestExtendedToStreamDecorator - <a href="testtools.tests.test_testresult.TestExtendedToStreamDecorator.html" class="code">testtools.tests.test_testresult.TestExtendedToStreamDecorator</a></li><li>TestExtendedToStreamDecoratorContract - <a href="testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract.html" class="code">testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract</a></li><li>TestExtractResult - <a href="testtools.tests.test_spinner.TestExtractResult.html" class="code">testtools.tests.test_spinner.TestExtractResult</a></li><li>TestFileContains - <a href="testtools.tests.matchers.test_filesystem.TestFileContains.html" class="code">testtools.tests.matchers.test_filesystem.TestFileContains</a></li><li>TestFileExists - <a href="testtools.tests.matchers.test_filesystem.TestFileExists.html" class="code">testtools.tests.matchers.test_filesystem.TestFileExists</a></li><li>TestFixtureSuite - <a href="testtools.tests.test_testsuite.TestFixtureSuite.html" class="code">testtools.tests.test_testsuite.TestFixtureSuite</a></li><li>TestFixtureSupport - <a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html" class="code">testtools.tests.test_fixturesupport.TestFixtureSupport</a></li><li>TestGreaterThanInterface - <a href="testtools.tests.matchers.test_basic.TestGreaterThanInterface.html" class="code">testtools.tests.matchers.test_basic.TestGreaterThanInterface</a></li><li>TestHasLength - <a href="testtools.tests.matchers.test_basic.TestHasLength.html" class="code">testtools.tests.matchers.test_basic.TestHasLength</a></li><li>TestHasPermissions - <a href="testtools.tests.matchers.test_filesystem.TestHasPermissions.html" class="code">testtools.tests.matchers.test_filesystem.TestHasPermissions</a></li><li>TestIntegration - <a href="testtools.tests.test_deferredruntest.X.TestIntegration.html" class="code">testtools.tests.test_deferredruntest.X.TestIntegration</a></li><li>TestIsInstanceInterface - <a href="testtools.tests.matchers.test_basic.TestIsInstanceInterface.html" class="code">testtools.tests.matchers.test_basic.TestIsInstanceInterface</a></li><li>TestIsInterface - <a href="testtools.tests.matchers.test_basic.TestIsInterface.html" class="code">testtools.tests.matchers.test_basic.TestIsInterface</a></li><li>TestKeysEqualWithDict - <a href="testtools.tests.matchers.test_dict.TestKeysEqualWithDict.html" class="code">testtools.tests.matchers.test_dict.TestKeysEqualWithDict</a></li><li>TestKeysEqualWithList - <a href="testtools.tests.matchers.test_dict.TestKeysEqualWithList.html" class="code">testtools.tests.matchers.test_dict.TestKeysEqualWithList</a></li><li>TestLessThanInterface - <a href="testtools.tests.matchers.test_basic.TestLessThanInterface.html" class="code">testtools.tests.matchers.test_basic.TestLessThanInterface</a></li><li>TestMatchersAnyInterface - <a href="testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface</a></li><li>TestMatchersInterface - <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">testtools.tests.matchers.helpers.TestMatchersInterface</a></li><li>TestMatchesAllDictInterface - <a href="testtools.tests.matchers.test_dict.TestMatchesAllDictInterface.html" class="code">testtools.tests.matchers.test_dict.TestMatchesAllDictInterface</a></li><li>TestMatchesAllInterface - <a href="testtools.tests.matchers.test_higherorder.TestMatchesAllInterface.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchesAllInterface</a></li><li>TestMatchesDict - <a href="testtools.tests.matchers.test_dict.TestMatchesDict.html" class="code">testtools.tests.matchers.test_dict.TestMatchesDict</a></li><li>TestMatchesExceptionInstanceInterface - <a href="testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface</a></li><li>TestMatchesExceptionTypeInterface - <a href="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface</a></li><li>TestMatchesExceptionTypeMatcherInterface - <a href="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface</a></li><li>TestMatchesExceptionTypeReInterface - <a href="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface</a></li><li>TestMatchesListwise - <a href="testtools.tests.matchers.test_datastructures.TestMatchesListwise.html" class="code">testtools.tests.matchers.test_datastructures.TestMatchesListwise</a></li><li>TestMatchesPredicate - <a href="testtools.tests.matchers.test_higherorder.TestMatchesPredicate.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchesPredicate</a></li><li>TestMatchesPredicateWithParams - <a href="testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams</a></li><li>TestMatchesRegex - <a href="testtools.tests.matchers.test_basic.TestMatchesRegex.html" class="code">testtools.tests.matchers.test_basic.TestMatchesRegex</a></li><li>TestMatchesSetwise - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise</a></li><li>TestMatchesStructure - <a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.html" class="code">testtools.tests.matchers.test_datastructures.TestMatchesStructure</a></li><li>TestMergeTags - <a href="testtools.tests.test_testresult.TestMergeTags.html" class="code">testtools.tests.test_testresult.TestMergeTags</a></li><li>TestMismatch - <a href="testtools.tests.matchers.test_impl.TestMismatch.html" class="code">testtools.tests.matchers.test_impl.TestMismatch</a></li><li>TestMismatchDecorator - <a href="testtools.tests.matchers.test_impl.TestMismatchDecorator.html" class="code">testtools.tests.matchers.test_impl.TestMismatchDecorator</a></li><li>TestMismatchError - <a href="testtools.tests.matchers.test_impl.TestMismatchError.html" class="code">testtools.tests.matchers.test_impl.TestMismatchError</a></li><li>TestMultiTestResult - <a href="testtools.tests.test_testresult.TestMultiTestResult.html" class="code">testtools.tests.test_testresult.TestMultiTestResult</a></li><li>TestMultiTestResultContract - <a href="testtools.tests.test_testresult.TestMultiTestResultContract.html" class="code">testtools.tests.test_testresult.TestMultiTestResultContract</a></li><li>TestNonAsciiResults - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html" class="code">testtools.tests.test_testresult.TestNonAsciiResults</a></li><li>TestNonAsciiResultsWithUnittest - <a href="testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest.html" class="code">testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest</a></li><li>TestNotEqualsInterface - <a href="testtools.tests.matchers.test_basic.TestNotEqualsInterface.html" class="code">testtools.tests.matchers.test_basic.TestNotEqualsInterface</a></li><li>TestNotInterface - <a href="testtools.tests.matchers.test_higherorder.TestNotInterface.html" class="code">testtools.tests.matchers.test_higherorder.TestNotInterface</a></li><li>TestNotReentrant - <a href="testtools.tests.test_spinner.TestNotReentrant.html" class="code">testtools.tests.test_spinner.TestNotReentrant</a></li><li>TestNullary - <a href="testtools.tests.test_testcase.TestNullary.html" class="code">testtools.tests.test_testcase.TestNullary</a></li><li>TestObj - <a href="testtools.tests.test_monkey.TestObj.html" class="code">testtools.tests.test_monkey.TestObj</a></li><li>TestOnException - <a href="testtools.tests.test_testcase.TestOnException.html" class="code">testtools.tests.test_testcase.TestOnException</a></li><li>TestPatchHelper - <a href="testtools.tests.test_monkey.TestPatchHelper.html" class="code">testtools.tests.test_monkey.TestPatchHelper</a></li><li>TestPatchSupport - <a href="testtools.tests.test_testcase.TestPatchSupport.html" class="code">testtools.tests.test_testcase.TestPatchSupport</a></li><li>TestPathExists - <a href="testtools.tests.matchers.test_filesystem.TestPathExists.html" class="code">testtools.tests.matchers.test_filesystem.TestPathExists</a></li><li>TestPlaceHolder - <a href="testtools.tests.test_testcase.TestPlaceHolder.html" class="code">testtools.tests.test_testcase.TestPlaceHolder</a></li><li>TestProgram - <a href="testtools.run.TestProgram.html" class="code">testtools.run.TestProgram</a></li><li>TestPython26TestResultContract - <a href="testtools.tests.test_testresult.TestPython26TestResultContract.html" class="code">testtools.tests.test_testresult.TestPython26TestResultContract</a></li><li>TestPython27TestResultContract - <a href="testtools.tests.test_testresult.TestPython27TestResultContract.html" class="code">testtools.tests.test_testresult.TestPython27TestResultContract</a></li><li>TestRaisesBaseTypes - <a href="testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html" class="code">testtools.tests.matchers.test_exception.TestRaisesBaseTypes</a></li><li>TestRaisesConvenience - <a href="testtools.tests.matchers.test_exception.TestRaisesConvenience.html" class="code">testtools.tests.matchers.test_exception.TestRaisesConvenience</a></li><li>TestRaisesExceptionMatcherInterface - <a href="testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.html" class="code">testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface</a></li><li>TestRaisesInterface - <a href="testtools.tests.matchers.test_exception.TestRaisesInterface.html" class="code">testtools.tests.matchers.test_exception.TestRaisesInterface</a></li><li>TestReraise - <a href="testtools.tests.test_compat.TestReraise.html" class="code">testtools.tests.test_compat.TestReraise</a></li><li>TestResult - <a href="testtools.testresult.real.TestResult.html" class="code">testtools.testresult.real.TestResult</a></li><li>testresult - <a href="testtools.testresult.html" class="code">testtools.testresult</a></li><li>TestResultDecorator - <a href="testtools.testresult.real.TestResultDecorator.html" class="code">testtools.testresult.real.TestResultDecorator</a></li><li>TestRun - <a href="testtools.tests.test_run.TestRun.html" class="code">testtools.tests.test_run.TestRun</a></li><li>TestRunInReactor - <a href="testtools.tests.test_spinner.TestRunInReactor.html" class="code">testtools.tests.test_spinner.TestRunInReactor</a></li><li>TestRunTest - <a href="testtools.tests.test_runtest.TestRunTest.html" class="code">testtools.tests.test_runtest.TestRunTest</a></li><li>TestRunTestUsage - <a href="testtools.tests.test_testcase.TestRunTestUsage.html" class="code">testtools.tests.test_testcase.TestRunTestUsage</a></li><li>TestRunWithLogObservers - <a href="testtools.tests.test_deferredruntest.TestRunWithLogObservers.html" class="code">testtools.tests.test_deferredruntest.TestRunWithLogObservers</a></li><li>tests - <a href="testtools.tests.html" class="code">testtools.tests</a></li><li>TestSameMembers - <a href="testtools.tests.matchers.test_basic.TestSameMembers.html" class="code">testtools.tests.matchers.test_basic.TestSameMembers</a></li><li>TestSamePath - <a href="testtools.tests.matchers.test_filesystem.TestSamePath.html" class="code">testtools.tests.matchers.test_filesystem.TestSamePath</a></li><li>TestSetupTearDown - <a href="testtools.tests.test_testcase.TestSetupTearDown.html" class="code">testtools.tests.test_testcase.TestSetupTearDown</a></li><li>TestSkipped - <a href="testtools.testcase.TestSkipped.html" class="code">testtools.testcase.TestSkipped</a></li><li>TestSkipping - <a href="testtools.tests.test_testcase.TestSkipping.html" class="code">testtools.tests.test_testcase.TestSkipping</a></li><li>TestSortedTests - <a href="testtools.tests.test_testsuite.TestSortedTests.html" class="code">testtools.tests.test_testsuite.TestSortedTests</a></li><li>testsRun - <a href="testtools.testresult.real.TestResultDecorator.html#testsRun" class="code">testtools.testresult.real.TestResultDecorator.testsRun</a></li><li>TestStackHiding - <a href="testtools.tests.test_helpers.TestStackHiding.html" class="code">testtools.tests.test_helpers.TestStackHiding</a></li><li>TestStackLinesContent - <a href="testtools.tests.test_content.TestStackLinesContent.html" class="code">testtools.tests.test_content.TestStackLinesContent</a></li><li>TestStacktraceContent - <a href="testtools.tests.test_content.TestStacktraceContent.html" class="code">testtools.tests.test_content.TestStacktraceContent</a></li><li>testStartTestRun - <a href="testtools.tests.test_testresult.TestStreamToQueue.html#testStartTestRun" class="code">testtools.tests.test_testresult.TestStreamToQueue.testStartTestRun</a></li><li>testStopTestRun - <a href="testtools.tests.test_testresult.TestStreamToQueue.html#testStopTestRun" class="code">testtools.tests.test_testresult.TestStreamToQueue.testStopTestRun</a></li><li>TestStreamFailFast - <a href="testtools.tests.test_testresult.TestStreamFailFast.html" class="code">testtools.tests.test_testresult.TestStreamFailFast</a></li><li>TestStreamFailFastContract - <a href="testtools.tests.test_testresult.TestStreamFailFastContract.html" class="code">testtools.tests.test_testresult.TestStreamFailFastContract</a></li><li>TestStreamResultContract - <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">testtools.tests.test_testresult.TestStreamResultContract</a></li><li>TestStreamResultRouter - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html" class="code">testtools.tests.test_testresult.TestStreamResultRouter</a></li><li>TestStreamResultRouterContract - <a href="testtools.tests.test_testresult.TestStreamResultRouterContract.html" class="code">testtools.tests.test_testresult.TestStreamResultRouterContract</a></li><li>TestStreamSummary - <a href="testtools.tests.test_testresult.TestStreamSummary.html" class="code">testtools.tests.test_testresult.TestStreamSummary</a></li><li>TestStreamSummaryResultContract - <a href="testtools.tests.test_testresult.TestStreamSummaryResultContract.html" class="code">testtools.tests.test_testresult.TestStreamSummaryResultContract</a></li><li>TestStreamTagger - <a href="testtools.tests.test_testresult.TestStreamTagger.html" class="code">testtools.tests.test_testresult.TestStreamTagger</a></li><li>TestStreamTaggerContract - <a href="testtools.tests.test_testresult.TestStreamTaggerContract.html" class="code">testtools.tests.test_testresult.TestStreamTaggerContract</a></li><li>TestStreamToDict - <a href="testtools.tests.test_testresult.TestStreamToDict.html" class="code">testtools.tests.test_testresult.TestStreamToDict</a></li><li>TestStreamToDictContract - <a href="testtools.tests.test_testresult.TestStreamToDictContract.html" class="code">testtools.tests.test_testresult.TestStreamToDictContract</a></li><li>TestStreamToExtendedContract - <a href="testtools.tests.test_testresult.TestStreamToExtendedContract.html" class="code">testtools.tests.test_testresult.TestStreamToExtendedContract</a></li><li>TestStreamToExtendedDecoratorContract - <a href="testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract.html" class="code">testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract</a></li><li>TestStreamToQueue - <a href="testtools.tests.test_testresult.TestStreamToQueue.html" class="code">testtools.tests.test_testresult.TestStreamToQueue</a></li><li>TestStreamToQueueContract - <a href="testtools.tests.test_testresult.TestStreamToQueueContract.html" class="code">testtools.tests.test_testresult.TestStreamToQueueContract</a></li><li>TestSubDictOf - <a href="testtools.tests.matchers.test_dict.TestSubDictOf.html" class="code">testtools.tests.matchers.test_dict.TestSubDictOf</a></li><li>testsuite - <a href="testtools.testsuite.html" class="code">testtools.testsuite</a></li><li>TestSynchronousDeferredRunTest - <a href="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html" class="code">testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest</a></li><li>TestTagger - <a href="testtools.tests.test_testresult.TestTagger.html" class="code">testtools.tests.test_testresult.TestTagger</a></li><li>TestTags - <a href="testtools.tests.test_tags.TestTags.html" class="code">testtools.tests.test_tags.TestTags</a></li><li>TestTarballContains - <a href="testtools.tests.matchers.test_filesystem.TestTarballContains.html" class="code">testtools.tests.matchers.test_filesystem.TestTarballContains</a></li><li>TestTestCaseSuper - <a href="testtools.tests.test_testcase.TestTestCaseSuper.html" class="code">testtools.tests.test_testcase.TestTestCaseSuper</a></li><li>TestTestCaseSupportForRunTest - <a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html" class="code">testtools.tests.test_runtest.TestTestCaseSupportForRunTest</a></li><li>TestTestControl - <a href="testtools.tests.test_testresult.TestTestControl.html" class="code">testtools.tests.test_testresult.TestTestControl</a></li><li>TestTestResult - <a href="testtools.tests.test_testresult.TestTestResult.html" class="code">testtools.tests.test_testresult.TestTestResult</a></li><li>TestTestResultContract - <a href="testtools.tests.test_testresult.TestTestResultContract.html" class="code">testtools.tests.test_testresult.TestTestResultContract</a></li><li>TestTestResultDecoratorContract - <a href="testtools.tests.test_testresult.TestTestResultDecoratorContract.html" class="code">testtools.tests.test_testresult.TestTestResultDecoratorContract</a></li><li>TestTextRepr - <a href="testtools.tests.test_compat.TestTextRepr.html" class="code">testtools.tests.test_compat.TestTextRepr</a></li><li>TestTextTestResult - <a href="testtools.tests.test_testresult.TestTextTestResult.html" class="code">testtools.tests.test_testresult.TestTextTestResult</a></li><li>TestTextTestResultContract - <a href="testtools.tests.test_testresult.TestTextTestResultContract.html" class="code">testtools.tests.test_testresult.TestTextTestResultContract</a></li><li>TestThreadSafeForwardingResult - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult</a></li><li>TestThreadSafeForwardingResultContract - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResultContract.html" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResultContract</a></li><li>TestTimestampingStreamResult - <a href="testtools.tests.test_testresult.TestTimestampingStreamResult.html" class="code">testtools.tests.test_testresult.TestTimestampingStreamResult</a></li><li>testtools - <a href="testtools.html" class="code">testtools</a></li><li>TestToolsTestRunner - <a href="testtools.run.TestToolsTestRunner.html" class="code">testtools.run.TestToolsTestRunner</a></li><li>TestTracebackContent - <a href="testtools.tests.test_content.TestTracebackContent.html" class="code">testtools.tests.test_content.TestTracebackContent</a></li><li>TestTrapUnhandledErrors - <a href="testtools.tests.test_spinner.TestTrapUnhandledErrors.html" class="code">testtools.tests.test_spinner.TestTrapUnhandledErrors</a></li><li>TestUnicodeOutputStream - <a href="testtools.tests.test_compat.TestUnicodeOutputStream.html" class="code">testtools.tests.test_compat.TestUnicodeOutputStream</a></li><li>TestUniqueFactories - <a href="testtools.tests.test_testcase.TestUniqueFactories.html" class="code">testtools.tests.test_testcase.TestUniqueFactories</a></li><li>TestWithDetails - <a href="testtools.tests.test_testcase.TestWithDetails.html" class="code">testtools.tests.test_testcase.TestWithDetails</a></li><li>text_content - <a href="testtools.content.html#text_content" class="code">testtools.content.text_content</a></li><li>text_repr - <a href="testtools.compat.html#text_repr" class="code">testtools.compat.text_repr</a></li><li>TextTestResult - <a href="testtools.testresult.TextTestResult.html" class="code">testtools.testresult.TextTestResult</a></li><li>ThreadsafeForwardingResult - <a href="testtools.testresult.real.ThreadsafeForwardingResult.html" class="code">testtools.testresult.real.ThreadsafeForwardingResult</a></li><li>time<ul><li><a href="testtools.testresult.doubles.ExtendedTestResult.html#time" class="code">testtools.testresult.doubles.ExtendedTestResult.time</a></li><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#time" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.time</a></li><li><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#time" class="code">testtools.testresult.real.ExtendedToStreamDecorator.time</a></li><li><a href="testtools.testresult.real.MultiTestResult.html#time" class="code">testtools.testresult.real.MultiTestResult.time</a></li><li><a href="testtools.testresult.real.TestResult.html#time" class="code">testtools.testresult.real.TestResult.time</a></li><li><a href="testtools.testresult.real.TestResultDecorator.html#time" class="code">testtools.testresult.real.TestResultDecorator.time</a></li><li><a href="testtools.tests.helpers.LoggingResult.html#time" class="code">testtools.tests.helpers.LoggingResult.time</a></li></ul></li><li>TimeoutError - <a href="testtools._spinner.TimeoutError.html" class="code">testtools._spinner.TimeoutError</a></li><li>TimestampingStreamResult - <a href="testtools.testresult.real.TimestampingStreamResult.html" class="code">testtools.testresult.real.TimestampingStreamResult</a></li><li>touch - <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#touch" class="code">testtools.tests.matchers.test_filesystem.PathHelpers.touch</a></li><li>TracebackContent - <a href="testtools.content.TracebackContent.html" class="code">testtools.content.TracebackContent</a></li><li>trap_unhandled_errors - <a href="testtools._spinner.html#trap_unhandled_errors" class="code">testtools._spinner.trap_unhandled_errors</a></li><li>type - <a href="testtools.content_type.ContentType.html#type" class="code">testtools.content_type.ContentType.type</a></li><li>tzname - <a href="testtools.testresult.real.UTC.html#tzname" class="code">testtools.testresult.real.UTC.tzname</a></li> + </ul> + + <a name="U"> + + </a> + <h2>U</h2> + <p class="letterlinks"><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - U - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#_">_</a></p> + <ul> + <li>UncleanReactorError - <a href="testtools.deferredruntest.UncleanReactorError.html" class="code">testtools.deferredruntest.UncleanReactorError</a></li><li>unicode_output_stream - <a href="testtools.compat.html#unicode_output_stream" class="code">testtools.compat.unicode_output_stream</a></li><li>update - <a href="testtools.matchers._datastructures.MatchesStructure.html#update" class="code">testtools.matchers._datastructures.MatchesStructure.update</a></li><li>useFixture - <a href="testtools.testcase.TestCase.html#useFixture" class="code">testtools.testcase.TestCase.useFixture</a></li><li>UTC - <a href="testtools.testresult.real.UTC.html" class="code">testtools.testresult.real.UTC</a></li><li>utcoffset - <a href="testtools.testresult.real.UTC.html#utcoffset" class="code">testtools.testresult.real.UTC.utcoffset</a></li><li>utils - <a href="testtools.utils.html" class="code">testtools.utils</a></li> + </ul> + + <a name="W"> + + </a> + <h2>W</h2> + <p class="letterlinks"><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - W - <a href="#X">X</a> - <a href="#_">_</a></p> + <ul> + <li>wasSuccessful<ul><li><a href="testtools.testresult.doubles.ExtendedTestResult.html#wasSuccessful" class="code">testtools.testresult.doubles.ExtendedTestResult.wasSuccessful</a></li><li><a href="testtools.testresult.doubles.Python26TestResult.html#wasSuccessful" class="code">testtools.testresult.doubles.Python26TestResult.wasSuccessful</a></li><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#wasSuccessful" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.wasSuccessful</a></li><li><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#wasSuccessful" class="code">testtools.testresult.real.ExtendedToStreamDecorator.wasSuccessful</a></li><li><a href="testtools.testresult.real.MultiTestResult.html#wasSuccessful" class="code">testtools.testresult.real.MultiTestResult.wasSuccessful</a></li><li><a href="testtools.testresult.real.StreamSummary.html#wasSuccessful" class="code">testtools.testresult.real.StreamSummary.wasSuccessful</a></li><li><a href="testtools.testresult.real.TestResult.html#wasSuccessful" class="code">testtools.testresult.real.TestResult.wasSuccessful</a></li><li><a href="testtools.testresult.real.TestResultDecorator.html#wasSuccessful" class="code">testtools.testresult.real.TestResultDecorator.wasSuccessful</a></li><li><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#wasSuccessful" class="code">testtools.testresult.real.ThreadsafeForwardingResult.wasSuccessful</a></li></ul></li><li>WithAttributes - <a href="testtools.testcase.WithAttributes.html" class="code">testtools.testcase.WithAttributes</a></li><li>write - <a href="testtools.tests.test_compat._FakeOutputStream.html#write" class="code">testtools.tests.test_compat._FakeOutputStream.write</a></li> + </ul> + + <a name="X"> + + </a> + <h2>X</h2> + <p class="letterlinks"><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#W">W</a> - X - <a href="#_">_</a></p> + <ul> + <li>X - <a href="testtools.tests.test_deferredruntest.X.html" class="code">testtools.tests.test_deferredruntest.X</a></li> + </ul> + + <a name="_"> + + </a> + <h2>_</h2> + <p class="letterlinks"><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#W">W</a> - <a href="#X">X</a> - _</p> + <ul> + <li>__call__<ul><li><a href="testtools.DecorateTestCaseResult.html#__call__" class="code">testtools.DecorateTestCaseResult.__call__</a></li><li><a href="testtools.PlaceHolder.html#__call__" class="code">testtools.PlaceHolder.__call__</a></li><li><a href="testtools.testcase.Nullary.html#__call__" class="code">testtools.testcase.Nullary.__call__</a></li></ul></li><li>__delattr__ - <a href="testtools.DecorateTestCaseResult.html#__delattr__" class="code">testtools.DecorateTestCaseResult.__delattr__</a></li><li>__enter__ - <a href="testtools.testcase.ExpectedException.html#__enter__" class="code">testtools.testcase.ExpectedException.__enter__</a></li><li>__eq__<ul><li><a href="testtools.content.Content.html#__eq__" class="code">testtools.content.Content.__eq__</a></li><li><a href="testtools.content_type.ContentType.html#__eq__" class="code">testtools.content_type.ContentType.__eq__</a></li><li><a href="testtools.testcase.TestCase.html#__eq__" class="code">testtools.testcase.TestCase.__eq__</a></li><li><a href="testtools.testresult.real._StringException.html#__eq__" class="code">testtools.testresult.real._StringException.__eq__</a></li></ul></li><li>__exit__ - <a href="testtools.testcase.ExpectedException.html#__exit__" class="code">testtools.testcase.ExpectedException.__exit__</a></li><li>__getattr__<ul><li><a href="testtools.DecorateTestCaseResult.html#__getattr__" class="code">testtools.DecorateTestCaseResult.__getattr__</a></li><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#__getattr__" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.__getattr__</a></li></ul></li><li>__hash__<ul><li><a href="testtools.testresult.real._StringException.html#__hash__" class="code">testtools.testresult.real._StringException.__hash__</a></li><li><a href="testtools.tests.test_testsuite.Sample.html#__hash__" class="code">testtools.tests.test_testsuite.Sample.__hash__</a></li></ul></li><li>__init__<ul><li><a href="testtools.__init__.html" class="code">testtools.__init__</a></li><li><a href="testtools._spinner.NoResultError.html#__init__" class="code">testtools._spinner.NoResultError.__init__</a></li><li><a href="testtools._spinner.ReentryError.html#__init__" class="code">testtools._spinner.ReentryError.__init__</a></li><li><a href="testtools._spinner.Spinner.html#__init__" class="code">testtools._spinner.Spinner.__init__</a></li><li><a href="testtools._spinner.StaleJunkError.html#__init__" class="code">testtools._spinner.StaleJunkError.__init__</a></li><li><a href="testtools._spinner.TimeoutError.html#__init__" class="code">testtools._spinner.TimeoutError.__init__</a></li><li><a href="testtools.content.Content.html#__init__" class="code">testtools.content.Content.__init__</a></li><li><a href="testtools.content.StackLinesContent.html#__init__" class="code">testtools.content.StackLinesContent.__init__</a></li><li><a href="testtools.content.TracebackContent.html#__init__" class="code">testtools.content.TracebackContent.__init__</a></li><li><a href="testtools.content_type.ContentType.html#__init__" class="code">testtools.content_type.ContentType.__init__</a></li><li><a href="testtools.DecorateTestCaseResult.html#__init__" class="code">testtools.DecorateTestCaseResult.__init__</a></li><li><a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html#__init__" class="code">testtools.deferredruntest.AsynchronousDeferredRunTest.__init__</a></li><li><a href="testtools.deferredruntest.UncleanReactorError.html#__init__" class="code">testtools.deferredruntest.UncleanReactorError.__init__</a></li><li><a href="testtools.FixtureSuite.html#__init__" class="code">testtools.FixtureSuite.__init__</a></li><li><a href="testtools.matchers.__init__.html" class="code">testtools.matchers.__init__</a></li><li><a href="testtools.matchers._basic._BinaryComparison.html#__init__" class="code">testtools.matchers._basic._BinaryComparison.__init__</a></li><li><a href="testtools.matchers._basic._BinaryMismatch.html#__init__" class="code">testtools.matchers._basic._BinaryMismatch.__init__</a></li><li><a href="testtools.matchers._basic.Contains.html#__init__" class="code">testtools.matchers._basic.Contains.__init__</a></li><li><a href="testtools.matchers._basic.DoesNotContain.html#__init__" class="code">testtools.matchers._basic.DoesNotContain.__init__</a></li><li><a href="testtools.matchers._basic.DoesNotEndWith.html#__init__" class="code">testtools.matchers._basic.DoesNotEndWith.__init__</a></li><li><a href="testtools.matchers._basic.DoesNotStartWith.html#__init__" class="code">testtools.matchers._basic.DoesNotStartWith.__init__</a></li><li><a href="testtools.matchers._basic.EndsWith.html#__init__" class="code">testtools.matchers._basic.EndsWith.__init__</a></li><li><a href="testtools.matchers._basic.IsInstance.html#__init__" class="code">testtools.matchers._basic.IsInstance.__init__</a></li><li><a href="testtools.matchers._basic.MatchesRegex.html#__init__" class="code">testtools.matchers._basic.MatchesRegex.__init__</a></li><li><a href="testtools.matchers._basic.NotAnInstance.html#__init__" class="code">testtools.matchers._basic.NotAnInstance.__init__</a></li><li><a href="testtools.matchers._basic.SameMembers.html#__init__" class="code">testtools.matchers._basic.SameMembers.__init__</a></li><li><a href="testtools.matchers._basic.StartsWith.html#__init__" class="code">testtools.matchers._basic.StartsWith.__init__</a></li><li><a href="testtools.matchers._datastructures.MatchesListwise.html#__init__" class="code">testtools.matchers._datastructures.MatchesListwise.__init__</a></li><li><a href="testtools.matchers._datastructures.MatchesSetwise.html#__init__" class="code">testtools.matchers._datastructures.MatchesSetwise.__init__</a></li><li><a href="testtools.matchers._datastructures.MatchesStructure.html#__init__" class="code">testtools.matchers._datastructures.MatchesStructure.__init__</a></li><li><a href="testtools.matchers._dict._CombinedMatcher.html#__init__" class="code">testtools.matchers._dict._CombinedMatcher.__init__</a></li><li><a href="testtools.matchers._dict._MatchCommonKeys.html#__init__" class="code">testtools.matchers._dict._MatchCommonKeys.__init__</a></li><li><a href="testtools.matchers._dict._SubDictOf.html#__init__" class="code">testtools.matchers._dict._SubDictOf.__init__</a></li><li><a href="testtools.matchers._dict._SuperDictOf.html#__init__" class="code">testtools.matchers._dict._SuperDictOf.__init__</a></li><li><a href="testtools.matchers._dict.DictMismatches.html#__init__" class="code">testtools.matchers._dict.DictMismatches.__init__</a></li><li><a href="testtools.matchers._dict.KeysEqual.html#__init__" class="code">testtools.matchers._dict.KeysEqual.__init__</a></li><li><a href="testtools.matchers._dict.MatchesAllDict.html#__init__" class="code">testtools.matchers._dict.MatchesAllDict.__init__</a></li><li><a href="testtools.matchers._doctest.DocTestMatches.html#__init__" class="code">testtools.matchers._doctest.DocTestMatches.__init__</a></li><li><a href="testtools.matchers._doctest.DocTestMismatch.html#__init__" class="code">testtools.matchers._doctest.DocTestMismatch.__init__</a></li><li><a href="testtools.matchers._exception.MatchesException.html#__init__" class="code">testtools.matchers._exception.MatchesException.__init__</a></li><li><a href="testtools.matchers._exception.Raises.html#__init__" class="code">testtools.matchers._exception.Raises.__init__</a></li><li><a href="testtools.matchers._filesystem.FileContains.html#__init__" class="code">testtools.matchers._filesystem.FileContains.__init__</a></li><li><a href="testtools.matchers._filesystem.HasPermissions.html#__init__" class="code">testtools.matchers._filesystem.HasPermissions.__init__</a></li><li><a href="testtools.matchers._filesystem.SamePath.html#__init__" class="code">testtools.matchers._filesystem.SamePath.__init__</a></li><li><a href="testtools.matchers._filesystem.TarballContains.html#__init__" class="code">testtools.matchers._filesystem.TarballContains.__init__</a></li><li><a href="testtools.matchers._higherorder._MatchesPredicateWithParams.html#__init__" class="code">testtools.matchers._higherorder._MatchesPredicateWithParams.__init__</a></li><li><a href="testtools.matchers._higherorder.AfterPreprocessing.html#__init__" class="code">testtools.matchers._higherorder.AfterPreprocessing.__init__</a></li><li><a href="testtools.matchers._higherorder.AllMatch.html#__init__" class="code">testtools.matchers._higherorder.AllMatch.__init__</a></li><li><a href="testtools.matchers._higherorder.Annotate.html#__init__" class="code">testtools.matchers._higherorder.Annotate.__init__</a></li><li><a href="testtools.matchers._higherorder.AnyMatch.html#__init__" class="code">testtools.matchers._higherorder.AnyMatch.__init__</a></li><li><a href="testtools.matchers._higherorder.MatchedUnexpectedly.html#__init__" class="code">testtools.matchers._higherorder.MatchedUnexpectedly.__init__</a></li><li><a href="testtools.matchers._higherorder.MatchesAll.html#__init__" class="code">testtools.matchers._higherorder.MatchesAll.__init__</a></li><li><a href="testtools.matchers._higherorder.MatchesAny.html#__init__" class="code">testtools.matchers._higherorder.MatchesAny.__init__</a></li><li><a href="testtools.matchers._higherorder.MismatchesAll.html#__init__" class="code">testtools.matchers._higherorder.MismatchesAll.__init__</a></li><li><a href="testtools.matchers._higherorder.Not.html#__init__" class="code">testtools.matchers._higherorder.Not.__init__</a></li><li><a href="testtools.matchers._higherorder.PostfixedMismatch.html#__init__" class="code">testtools.matchers._higherorder.PostfixedMismatch.__init__</a></li><li><a href="testtools.matchers._higherorder.PrefixedMismatch.html#__init__" class="code">testtools.matchers._higherorder.PrefixedMismatch.__init__</a></li><li><a href="testtools.matchers._impl.Mismatch.html#__init__" class="code">testtools.matchers._impl.Mismatch.__init__</a></li><li><a href="testtools.matchers._impl.MismatchDecorator.html#__init__" class="code">testtools.matchers._impl.MismatchDecorator.__init__</a></li><li><a href="testtools.matchers._impl.MismatchError.html#__init__" class="code">testtools.matchers._impl.MismatchError.__init__</a></li><li><a href="testtools.matchers.DirContains.html#__init__" class="code">testtools.matchers.DirContains.__init__</a></li><li><a href="testtools.matchers.MatchesPredicate.html#__init__" class="code">testtools.matchers.MatchesPredicate.__init__</a></li><li><a href="testtools.monkey.MonkeyPatcher.html#__init__" class="code">testtools.monkey.MonkeyPatcher.__init__</a></li><li><a href="testtools.PlaceHolder.html#__init__" class="code">testtools.PlaceHolder.__init__</a></li><li><a href="testtools.run.TestProgram.html#__init__" class="code">testtools.run.TestProgram.__init__</a></li><li><a href="testtools.run.TestToolsTestRunner.html#__init__" class="code">testtools.run.TestToolsTestRunner.__init__</a></li><li><a href="testtools.runtest.RunTest.html#__init__" class="code">testtools.runtest.RunTest.__init__</a></li><li><a href="testtools.tags.TagContext.html#__init__" class="code">testtools.tags.TagContext.__init__</a></li><li><a href="testtools.testcase.ExpectedException.html#__init__" class="code">testtools.testcase.ExpectedException.__init__</a></li><li><a href="testtools.testcase.Nullary.html#__init__" class="code">testtools.testcase.Nullary.__init__</a></li><li><a href="testtools.testcase.TestCase.html#__init__" class="code">testtools.testcase.TestCase.__init__</a></li><li><a href="testtools.TestCommand.html#__init__" class="code">testtools.TestCommand.__init__</a></li><li><a href="testtools.testresult.__init__.html" class="code">testtools.testresult.__init__</a></li><li><a href="testtools.testresult.CopyStreamResult.html#__init__" class="code">testtools.testresult.CopyStreamResult.__init__</a></li><li><a href="testtools.testresult.doubles.ExtendedTestResult.html#__init__" class="code">testtools.testresult.doubles.ExtendedTestResult.__init__</a></li><li><a href="testtools.testresult.doubles.LoggingBase.html#__init__" class="code">testtools.testresult.doubles.LoggingBase.__init__</a></li><li><a href="testtools.testresult.doubles.Python27TestResult.html#__init__" class="code">testtools.testresult.doubles.Python27TestResult.__init__</a></li><li><a href="testtools.testresult.doubles.StreamResult.html#__init__" class="code">testtools.testresult.doubles.StreamResult.__init__</a></li><li><a href="testtools.testresult.real._StringException.html#__init__" class="code">testtools.testresult.real._StringException.__init__</a></li><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#__init__" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.__init__</a></li><li><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#__init__" class="code">testtools.testresult.real.ExtendedToStreamDecorator.__init__</a></li><li><a href="testtools.testresult.real.MultiTestResult.html#__init__" class="code">testtools.testresult.real.MultiTestResult.__init__</a></li><li><a href="testtools.testresult.real.StreamFailFast.html#__init__" class="code">testtools.testresult.real.StreamFailFast.__init__</a></li><li><a href="testtools.testresult.real.StreamSummary.html#__init__" class="code">testtools.testresult.real.StreamSummary.__init__</a></li><li><a href="testtools.testresult.real.StreamTagger.html#__init__" class="code">testtools.testresult.real.StreamTagger.__init__</a></li><li><a href="testtools.testresult.real.StreamToDict.html#__init__" class="code">testtools.testresult.real.StreamToDict.__init__</a></li><li><a href="testtools.testresult.real.StreamToExtendedDecorator.html#__init__" class="code">testtools.testresult.real.StreamToExtendedDecorator.__init__</a></li><li><a href="testtools.testresult.real.StreamToQueue.html#__init__" class="code">testtools.testresult.real.StreamToQueue.__init__</a></li><li><a href="testtools.testresult.real.Tagger.html#__init__" class="code">testtools.testresult.real.Tagger.__init__</a></li><li><a href="testtools.testresult.real.TestControl.html#__init__" class="code">testtools.testresult.real.TestControl.__init__</a></li><li><a href="testtools.testresult.real.TestResult.html#__init__" class="code">testtools.testresult.real.TestResult.__init__</a></li><li><a href="testtools.testresult.real.TestResultDecorator.html#__init__" class="code">testtools.testresult.real.TestResultDecorator.__init__</a></li><li><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#__init__" class="code">testtools.testresult.real.ThreadsafeForwardingResult.__init__</a></li><li><a href="testtools.testresult.real.TimestampingStreamResult.html#__init__" class="code">testtools.testresult.real.TimestampingStreamResult.__init__</a></li><li><a href="testtools.testresult.StreamResultRouter.html#__init__" class="code">testtools.testresult.StreamResultRouter.__init__</a></li><li><a href="testtools.testresult.TestByTestResult.html#__init__" class="code">testtools.testresult.TestByTestResult.__init__</a></li><li><a href="testtools.testresult.TextTestResult.html#__init__" class="code">testtools.testresult.TextTestResult.__init__</a></li><li><a href="testtools.tests.__init__.html" class="code">testtools.tests.__init__</a></li><li><a href="testtools.tests.helpers.LoggingResult.html#__init__" class="code">testtools.tests.helpers.LoggingResult.__init__</a></li><li><a href="testtools.tests.matchers.__init__.html" class="code">testtools.tests.matchers.__init__</a></li><li><a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr.html#__init__" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr.__init__</a></li><li><a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass.html#__init__" class="code">testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass.__init__</a></li><li><a href="testtools.tests.test_compat._FakeOutputStream.html#__init__" class="code">testtools.tests.test_compat._FakeOutputStream.__init__</a></li><li><a href="testtools.tests.test_deferredruntest.AsText.html#__init__" class="code">testtools.tests.test_deferredruntest.AsText.__init__</a></li><li><a href="testtools.tests.test_deferredruntest.MatchesEvents.html#__init__" class="code">testtools.tests.test_deferredruntest.MatchesEvents.__init__</a></li><li><a href="testtools.tests.test_distutilscmd.SampleTestFixture.html#__init__" class="code">testtools.tests.test_distutilscmd.SampleTestFixture.__init__</a></li><li><a href="testtools.tests.test_monkey.TestObj.html#__init__" class="code">testtools.tests.test_monkey.TestObj.__init__</a></li><li><a href="testtools.tests.test_run.SampleLoadTestsPackage.html#__init__" class="code">testtools.tests.test_run.SampleLoadTestsPackage.__init__</a></li><li><a href="testtools.tests.test_run.SampleResourcedFixture.html#__init__" class="code">testtools.tests.test_run.SampleResourcedFixture.__init__</a></li><li><a href="testtools.tests.test_run.SampleTestFixture.html#__init__" class="code">testtools.tests.test_run.SampleTestFixture.__init__</a></li><li><a href="testtools.testsuite.ConcurrentStreamTestSuite.html#__init__" class="code">testtools.testsuite.ConcurrentStreamTestSuite.__init__</a></li><li><a href="testtools.testsuite.ConcurrentTestSuite.html#__init__" class="code">testtools.testsuite.ConcurrentTestSuite.__init__</a></li></ul></li><li>__repr__<ul><li><a href="testtools.content.Content.html#__repr__" class="code">testtools.content.Content.__repr__</a></li><li><a href="testtools.content_type.ContentType.html#__repr__" class="code">testtools.content_type.ContentType.__repr__</a></li><li><a href="testtools.matchers._impl.Mismatch.html#__repr__" class="code">testtools.matchers._impl.Mismatch.__repr__</a></li><li><a href="testtools.matchers._impl.MismatchDecorator.html#__repr__" class="code">testtools.matchers._impl.MismatchDecorator.__repr__</a></li><li><a href="testtools.PlaceHolder.html#__repr__" class="code">testtools.PlaceHolder.__repr__</a></li><li><a href="testtools.testcase.Nullary.html#__repr__" class="code">testtools.testcase.Nullary.__repr__</a></li><li><a href="testtools.testcase.TestCase.html#__repr__" class="code">testtools.testcase.TestCase.__repr__</a></li><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#__repr__" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.__repr__</a></li><li><a href="testtools.testresult.real.MultiTestResult.html#__repr__" class="code">testtools.testresult.real.MultiTestResult.__repr__</a></li><li><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#__repr__" class="code">testtools.testresult.real.ThreadsafeForwardingResult.__repr__</a></li><li><a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr.html#__repr__" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr.__repr__</a></li></ul></li><li>__setattr__ - <a href="testtools.DecorateTestCaseResult.html#__setattr__" class="code">testtools.DecorateTestCaseResult.__setattr__</a></li><li>__str__<ul><li><a href="testtools.matchers._basic._BinaryComparison.html#__str__" class="code">testtools.matchers._basic._BinaryComparison.__str__</a></li><li><a href="testtools.matchers._basic.Contains.html#__str__" class="code">testtools.matchers._basic.Contains.__str__</a></li><li><a href="testtools.matchers._basic.EndsWith.html#__str__" class="code">testtools.matchers._basic.EndsWith.__str__</a></li><li><a href="testtools.matchers._basic.IsInstance.html#__str__" class="code">testtools.matchers._basic.IsInstance.__str__</a></li><li><a href="testtools.matchers._basic.MatchesRegex.html#__str__" class="code">testtools.matchers._basic.MatchesRegex.__str__</a></li><li><a href="testtools.matchers._basic.SameMembers.html#__str__" class="code">testtools.matchers._basic.SameMembers.__str__</a></li><li><a href="testtools.matchers._basic.StartsWith.html#__str__" class="code">testtools.matchers._basic.StartsWith.__str__</a></li><li><a href="testtools.matchers._datastructures.MatchesStructure.html#__str__" class="code">testtools.matchers._datastructures.MatchesStructure.__str__</a></li><li><a href="testtools.matchers._dict._CombinedMatcher.html#__str__" class="code">testtools.matchers._dict._CombinedMatcher.__str__</a></li><li><a href="testtools.matchers._dict.KeysEqual.html#__str__" class="code">testtools.matchers._dict.KeysEqual.__str__</a></li><li><a href="testtools.matchers._dict.MatchesAllDict.html#__str__" class="code">testtools.matchers._dict.MatchesAllDict.__str__</a></li><li><a href="testtools.matchers._doctest.DocTestMatches.html#__str__" class="code">testtools.matchers._doctest.DocTestMatches.__str__</a></li><li><a href="testtools.matchers._exception.MatchesException.html#__str__" class="code">testtools.matchers._exception.MatchesException.__str__</a></li><li><a href="testtools.matchers._exception.Raises.html#__str__" class="code">testtools.matchers._exception.Raises.__str__</a></li><li><a href="testtools.matchers._filesystem.FileContains.html#__str__" class="code">testtools.matchers._filesystem.FileContains.__str__</a></li><li><a href="testtools.matchers._higherorder._MatchesPredicateWithParams.html#__str__" class="code">testtools.matchers._higherorder._MatchesPredicateWithParams.__str__</a></li><li><a href="testtools.matchers._higherorder.AfterPreprocessing.html#__str__" class="code">testtools.matchers._higherorder.AfterPreprocessing.__str__</a></li><li><a href="testtools.matchers._higherorder.AllMatch.html#__str__" class="code">testtools.matchers._higherorder.AllMatch.__str__</a></li><li><a href="testtools.matchers._higherorder.Annotate.html#__str__" class="code">testtools.matchers._higherorder.Annotate.__str__</a></li><li><a href="testtools.matchers._higherorder.AnyMatch.html#__str__" class="code">testtools.matchers._higherorder.AnyMatch.__str__</a></li><li><a href="testtools.matchers._higherorder.MatchesAll.html#__str__" class="code">testtools.matchers._higherorder.MatchesAll.__str__</a></li><li><a href="testtools.matchers._higherorder.MatchesAny.html#__str__" class="code">testtools.matchers._higherorder.MatchesAny.__str__</a></li><li><a href="testtools.matchers._higherorder.Not.html#__str__" class="code">testtools.matchers._higherorder.Not.__str__</a></li><li><a href="testtools.matchers._impl.Matcher.html#__str__" class="code">testtools.matchers._impl.Matcher.__str__</a></li><li><a href="testtools.matchers._impl.MismatchError.html#__str__" class="code">testtools.matchers._impl.MismatchError.__str__</a></li><li><a href="testtools.matchers.MatchesPredicate.html#__str__" class="code">testtools.matchers.MatchesPredicate.__str__</a></li><li><a href="testtools.PlaceHolder.html#__str__" class="code">testtools.PlaceHolder.__str__</a></li><li><a href="testtools.testresult.real._StringException.html#__str__" class="code">testtools.testresult.real._StringException.__str__</a></li></ul></li><li>__str__ 0 - <a href="testtools.matchers._impl.MismatchError.html#__str__%200" class="code">testtools.matchers._impl.MismatchError.__str__ 0</a></li><li>__unicode__ - <a href="testtools.testresult.real._StringException.html#__unicode__" class="code">testtools.testresult.real._StringException.__unicode__</a></li><li>_add_reason - <a href="testtools.testcase.TestCase.html#_add_reason" class="code">testtools.testcase.TestCase._add_reason</a></li><li>_add_result_with_semaphore - <a href="testtools.testresult.real.ThreadsafeForwardingResult.html#_add_result_with_semaphore" class="code">testtools.testresult.real.ThreadsafeForwardingResult._add_result_with_semaphore</a></li><li>_any_tags - <a href="testtools.testresult.real.ThreadsafeForwardingResult.html#_any_tags" class="code">testtools.testresult.real.ThreadsafeForwardingResult._any_tags</a></li><li>_as_output<ul><li><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#_as_output" class="code">testtools.tests.test_testresult.TestNonAsciiResults._as_output</a></li><li><a href="testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest.html#_as_output" class="code">testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest._as_output</a></li></ul></li><li>_b - <a href="testtools.compat.html#_b" class="code">testtools.compat._b</a></li><li>_b 0 - <a href="testtools.compat.html#_b%200" class="code">testtools.compat._b 0</a></li><li>_basic - <a href="testtools.matchers._basic.html" class="code">testtools.matchers._basic</a></li><li>_BinaryComparison - <a href="testtools.matchers._basic._BinaryComparison.html" class="code">testtools.matchers._basic._BinaryComparison</a></li><li>_BinaryMismatch - <a href="testtools.matchers._basic._BinaryMismatch.html" class="code">testtools.matchers._basic._BinaryMismatch</a></li><li>_blocking_run_deferred - <a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html#_blocking_run_deferred" class="code">testtools.deferredruntest.AsynchronousDeferredRunTest._blocking_run_deferred</a></li><li>_cancel_timeout - <a href="testtools._spinner.Spinner.html#_cancel_timeout" class="code">testtools._spinner.Spinner._cancel_timeout</a></li><li>_check_args<ul><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#_check_args" class="code">testtools.testresult.real.ExtendedToOriginalDecorator._check_args</a></li><li><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#_check_args" class="code">testtools.testresult.real.ExtendedToStreamDecorator._check_args</a></li></ul></li><li>_clean - <a href="testtools._spinner.Spinner.html#_clean" class="code">testtools._spinner.Spinner._clean</a></li><li>_clone_test_id_callback - <a href="testtools.testcase.html#_clone_test_id_callback" class="code">testtools.testcase._clone_test_id_callback</a></li><li>_CombinedMatcher - <a href="testtools.matchers._dict._CombinedMatcher.html" class="code">testtools.matchers._dict._CombinedMatcher</a></li><li>_compare_dicts - <a href="testtools.matchers._dict._MatchCommonKeys.html#_compare_dicts" class="code">testtools.matchers._dict._MatchCommonKeys._compare_dicts</a></li><li>_compat2x - <a href="testtools._compat2x.html" class="code">testtools._compat2x</a></li><li>_compat3x - <a href="testtools._compat3x.html" class="code">testtools._compat3x</a></li><li>_convert - <a href="testtools.testresult.real.ExtendedToStreamDecorator.html#_convert" class="code">testtools.testresult.real.ExtendedToStreamDecorator._convert</a></li><li>_copy_content - <a href="testtools.testcase.html#_copy_content" class="code">testtools.testcase._copy_content</a></li><li>_datastructures - <a href="testtools.matchers._datastructures.html" class="code">testtools.matchers._datastructures</a></li><li>_DeferredRunTest - <a href="testtools.deferredruntest._DeferredRunTest.html" class="code">testtools.deferredruntest._DeferredRunTest</a></li><li>_delta_to_float - <a href="testtools.testresult.TextTestResult.html#_delta_to_float" class="code">testtools.testresult.TextTestResult._delta_to_float</a></li><li>_describe_difference - <a href="testtools.matchers._doctest.DocTestMatches.html#_describe_difference" class="code">testtools.matchers._doctest.DocTestMatches._describe_difference</a></li><li>_details_to_exc_info - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#_details_to_exc_info" class="code">testtools.testresult.real.ExtendedToOriginalDecorator._details_to_exc_info</a></li><li>_details_to_str - <a href="testtools.testresult.real.html#_details_to_str" class="code">testtools.testresult.real._details_to_str</a></li><li>_dict - <a href="testtools.matchers._dict.html" class="code">testtools.matchers._dict</a></li><li>_dict_to_mismatch - <a href="testtools.matchers._dict.html#_dict_to_mismatch" class="code">testtools.matchers._dict._dict_to_mismatch</a></li><li>_dispatch - <a href="testtools.testresult.real.MultiTestResult.html#_dispatch" class="code">testtools.testresult.real.MultiTestResult._dispatch</a></li><li>_do_discovery - <a href="testtools.run.TestProgram.html#_do_discovery" class="code">testtools.run.TestProgram._do_discovery</a></li><li>_doctest - <a href="testtools.matchers._doctest.html" class="code">testtools.matchers._doctest</a></li><li>_ensure_key - <a href="testtools.testresult.real.StreamToDict.html#_ensure_key" class="code">testtools.testresult.real.StreamToDict._ensure_key</a></li><li>_err_details_to_string - <a href="testtools.testresult.real.TestResult.html#_err_details_to_string" class="code">testtools.testresult.real.TestResult._err_details_to_string</a></li><li>_err_to_details - <a href="testtools.testresult.TestByTestResult.html#_err_to_details" class="code">testtools.testresult.TestByTestResult._err_to_details</a></li><li>_exc_info_to_unicode - <a href="testtools.testresult.real.TestResult.html#_exc_info_to_unicode" class="code">testtools.testresult.real.TestResult._exc_info_to_unicode</a></li><li>_exception - <a href="testtools.matchers._exception.html" class="code">testtools.matchers._exception</a></li><li>_exceptions - <a href="testtools.runtest.RunTest.html#_exceptions" class="code">testtools.runtest.RunTest._exceptions</a></li><li>_exists - <a href="testtools.testresult.real.StreamSummary.html#_exists" class="code">testtools.testresult.real.StreamSummary._exists</a></li><li>_ExpectedFailure - <a href="testtools.testcase._ExpectedFailure.html" class="code">testtools.testcase._ExpectedFailure</a></li><li>_expectedFailure - <a href="testtools.testcase.html#_expectedFailure" class="code">testtools.testcase._expectedFailure</a></li><li>_fail - <a href="testtools.testresult.real.StreamSummary.html#_fail" class="code">testtools.testresult.real.StreamSummary._fail</a></li><li>_FakeOutputStream - <a href="testtools.tests.test_compat._FakeOutputStream.html" class="code">testtools.tests.test_compat._FakeOutputStream</a></li><li>_filesystem - <a href="testtools.matchers._filesystem.html" class="code">testtools.matchers._filesystem</a></li><li>_flatten_tests - <a href="testtools.testsuite.html#_flatten_tests" class="code">testtools.testsuite._flatten_tests</a></li><li>_format - <a href="testtools.matchers._basic.html#_format" class="code">testtools.matchers._basic._format</a></li><li>_format_matcher_dict - <a href="testtools.matchers._dict.html#_format_matcher_dict" class="code">testtools.matchers._dict._format_matcher_dict</a></li><li>_format_text_attachment - <a href="testtools.testresult.real.html#_format_text_attachment" class="code">testtools.testresult.real._format_text_attachment</a></li><li>_formatTypes - <a href="testtools.testcase.TestCase.html#_formatTypes" class="code">testtools.testcase.TestCase._formatTypes</a></li><li>_gather_test - <a href="testtools.testresult.real.StreamSummary.html#_gather_test" class="code">testtools.testresult.real.StreamSummary._gather_test</a></li><li>_get_exception_encoding - <a href="testtools.compat.html#_get_exception_encoding" class="code">testtools.compat._get_exception_encoding</a></li><li>_get_failfast<ul><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#_get_failfast" class="code">testtools.testresult.real.ExtendedToOriginalDecorator._get_failfast</a></li><li><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#_get_failfast" class="code">testtools.testresult.real.ExtendedToStreamDecorator._get_failfast</a></li><li><a href="testtools.testresult.real.MultiTestResult.html#_get_failfast" class="code">testtools.testresult.real.MultiTestResult._get_failfast</a></li></ul></li><li>_get_junk_info - <a href="testtools.deferredruntest.UncleanReactorError.html#_get_junk_info" class="code">testtools.deferredruntest.UncleanReactorError._get_junk_info</a></li><li>_get_result - <a href="testtools._spinner.Spinner.html#_get_result" class="code">testtools._spinner.Spinner._get_result</a></li><li>_get_runner - <a href="testtools.run.TestProgram.html#_get_runner" class="code">testtools.run.TestProgram._get_runner</a></li><li>_get_sample_text - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#_get_sample_text" class="code">testtools.tests.test_testresult.TestNonAsciiResults._get_sample_text</a></li><li>_get_shouldStop<ul><li><a href="testtools.testresult.real.MultiTestResult.html#_get_shouldStop" class="code">testtools.testresult.real.MultiTestResult._get_shouldStop</a></li><li><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#_get_shouldStop" class="code">testtools.testresult.real.ThreadsafeForwardingResult._get_shouldStop</a></li></ul></li><li>_get_stack_line_and_expected_output - <a href="testtools.tests.test_content.TestStackLinesContent.html#_get_stack_line_and_expected_output" class="code">testtools.tests.test_content.TestStackLinesContent._get_stack_line_and_expected_output</a></li><li>_get_test_method - <a href="testtools.testcase.TestCase.html#_get_test_method" class="code">testtools.testcase.TestCase._get_test_method</a></li><li>_getParentArgParser - <a href="testtools.run.TestProgram.html#_getParentArgParser" class="code">testtools.run.TestProgram._getParentArgParser</a></li><li>_got_failure - <a href="testtools._spinner.Spinner.html#_got_failure" class="code">testtools._spinner.Spinner._got_failure</a></li><li>_got_success - <a href="testtools._spinner.Spinner.html#_got_success" class="code">testtools._spinner.Spinner._got_success</a></li><li>_got_user_exception - <a href="testtools.runtest.RunTest.html#_got_user_exception" class="code">testtools.runtest.RunTest._got_user_exception</a></li><li>_got_user_failure - <a href="testtools.deferredruntest._DeferredRunTest.html#_got_user_failure" class="code">testtools.deferredruntest._DeferredRunTest._got_user_failure</a></li><li>_handle_tests - <a href="testtools.testresult.real.StreamToExtendedDecorator.html#_handle_tests" class="code">testtools.testresult.real.StreamToExtendedDecorator._handle_tests</a></li><li>_higherorder - <a href="testtools.matchers._higherorder.html" class="code">testtools.matchers._higherorder</a></li><li>_impl - <a href="testtools.matchers._impl.html" class="code">testtools.matchers._impl</a></li><li>_incomplete - <a href="testtools.testresult.real.StreamSummary.html#_incomplete" class="code">testtools.testresult.real.StreamSummary._incomplete</a></li><li>_indent - <a href="testtools.matchers._doctest._NonManglingOutputChecker.html#_indent" class="code">testtools.matchers._doctest._NonManglingOutputChecker._indent</a></li><li>_is_exception - <a href="testtools.matchers._exception.html#_is_exception" class="code">testtools.matchers._exception._is_exception</a></li><li>_is_user_exception - <a href="testtools.matchers._exception.html#_is_user_exception" class="code">testtools.matchers._exception._is_user_exception</a></li><li>_isbytes - <a href="testtools.compat.html#_isbytes" class="code">testtools.compat._isbytes</a></li><li>_isbytes 0 - <a href="testtools.compat.html#_isbytes%200" class="code">testtools.compat._isbytes 0</a></li><li>_iter_chunks - <a href="testtools.content.html#_iter_chunks" class="code">testtools.content._iter_chunks</a></li><li>_iter_text - <a href="testtools.content.Content.html#_iter_text" class="code">testtools.content.Content._iter_text</a></li><li>_local_os_error_matcher - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#_local_os_error_matcher" class="code">testtools.tests.test_testresult.TestNonAsciiResults._local_os_error_matcher</a></li><li>_log_user_exception - <a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html#_log_user_exception" class="code">testtools.deferredruntest.AsynchronousDeferredRunTest._log_user_exception</a></li><li>_make_matcher - <a href="testtools.tests.test_deferredruntest.MatchesEvents.html#_make_matcher" class="code">testtools.tests.test_deferredruntest.MatchesEvents._make_matcher</a></li><li>_make_result<ul><li><a href="testtools.tests.test_testresult.TestBaseStreamResultContract.html#_make_result" class="code">testtools.tests.test_testresult.TestBaseStreamResultContract._make_result</a></li><li><a href="testtools.tests.test_testresult.TestCopyStreamResultContract.html#_make_result" class="code">testtools.tests.test_testresult.TestCopyStreamResultContract._make_result</a></li><li><a href="testtools.tests.test_testresult.TestDoubleStreamResultContract.html#_make_result" class="code">testtools.tests.test_testresult.TestDoubleStreamResultContract._make_result</a></li><li><a href="testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract.html#_make_result" class="code">testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract._make_result</a></li><li><a href="testtools.tests.test_testresult.TestStreamFailFastContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamFailFastContract._make_result</a></li><li><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamResultContract._make_result</a></li><li><a href="testtools.tests.test_testresult.TestStreamResultRouterContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamResultRouterContract._make_result</a></li><li><a href="testtools.tests.test_testresult.TestStreamSummaryResultContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamSummaryResultContract._make_result</a></li><li><a href="testtools.tests.test_testresult.TestStreamTaggerContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamTaggerContract._make_result</a></li><li><a href="testtools.tests.test_testresult.TestStreamToDictContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamToDictContract._make_result</a></li><li><a href="testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract._make_result</a></li><li><a href="testtools.tests.test_testresult.TestStreamToQueueContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamToQueueContract._make_result</a></li></ul></li><li>_make_spinner<ul><li><a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html#_make_spinner" class="code">testtools.deferredruntest.AsynchronousDeferredRunTest._make_spinner</a></li><li><a href="testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted.html#_make_spinner" class="code">testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted._make_spinner</a></li></ul></li><li>_map_route_code_prefix - <a href="testtools.testresult.StreamResultRouter.html#_map_route_code_prefix" class="code">testtools.testresult.StreamResultRouter._map_route_code_prefix</a></li><li>_map_test_id - <a href="testtools.testresult.StreamResultRouter.html#_map_test_id" class="code">testtools.testresult.StreamResultRouter._map_test_id</a></li><li>_MatchCommonKeys - <a href="testtools.matchers._dict._MatchCommonKeys.html" class="code">testtools.matchers._dict._MatchCommonKeys</a></li><li>_MatchesPredicateWithParams - <a href="testtools.matchers._higherorder._MatchesPredicateWithParams.html" class="code">testtools.matchers._higherorder._MatchesPredicateWithParams</a></li><li>_matchHelper - <a href="testtools.testcase.TestCase.html#_matchHelper" class="code">testtools.testcase.TestCase._matchHelper</a></li><li>_merge_tags - <a href="testtools.testresult.real.html#_merge_tags" class="code">testtools.testresult.real._merge_tags</a></li><li>_NonManglingOutputChecker - <a href="testtools.matchers._doctest._NonManglingOutputChecker.html" class="code">testtools.matchers._doctest._NonManglingOutputChecker</a></li><li>_now<ul><li><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#_now" class="code">testtools.testresult.real.ExtendedToStreamDecorator._now</a></li><li><a href="testtools.testresult.real.TestResult.html#_now" class="code">testtools.testresult.real.TestResult._now</a></li></ul></li><li>_power_set - <a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">testtools.tests.test_testresult.TestStreamResultContract._power_set</a></li><li>_raise_force_fail_error - <a href="testtools.runtest.html#_raise_force_fail_error" class="code">testtools.runtest._raise_force_fail_error</a></li><li>_report_error - <a href="testtools.testcase.TestCase.html#_report_error" class="code">testtools.testcase.TestCase._report_error</a></li><li>_report_expected_failure - <a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">testtools.testcase.TestCase._report_expected_failure</a></li><li>_report_failure - <a href="testtools.testcase.TestCase.html#_report_failure" class="code">testtools.testcase.TestCase._report_failure</a></li><li>_report_files - <a href="testtools.tests.test_testresult.TestStreamSummary.html#_report_files" class="code">testtools.tests.test_testresult.TestStreamSummary._report_files</a></li><li>_report_skip - <a href="testtools.testcase.TestCase.html#_report_skip" class="code">testtools.testcase.TestCase._report_skip</a></li><li>_report_traceback - <a href="testtools.testcase.TestCase.html#_report_traceback" class="code">testtools.testcase.TestCase._report_traceback</a></li><li>_report_unexpected_success - <a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">testtools.testcase.TestCase._report_unexpected_success</a></li><li>_restore_signals - <a href="testtools._spinner.Spinner.html#_restore_signals" class="code">testtools._spinner.Spinner._restore_signals</a></li><li>_result - <a href="testtools.PlaceHolder.html#_result" class="code">testtools.PlaceHolder._result</a></li><li>_run<ul><li><a href="testtools.DecorateTestCaseResult.html#_run" class="code">testtools.DecorateTestCaseResult._run</a></li><li><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#_run" class="code">testtools.tests.test_testresult.TestNonAsciiResults._run</a></li><li><a href="testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest.html#_run" class="code">testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest._run</a></li></ul></li><li>_run_cleanups<ul><li><a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html#_run_cleanups" class="code">testtools.deferredruntest.AsynchronousDeferredRunTest._run_cleanups</a></li><li><a href="testtools.runtest.RunTest.html#_run_cleanups" class="code">testtools.runtest.RunTest._run_cleanups</a></li></ul></li><li>_run_core<ul><li><a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html#_run_core" class="code">testtools.deferredruntest.AsynchronousDeferredRunTest._run_core</a></li><li><a href="testtools.runtest.RunTest.html#_run_core" class="code">testtools.runtest.RunTest._run_core</a></li></ul></li><li>_run_deferred - <a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html#_run_deferred" class="code">testtools.deferredruntest.AsynchronousDeferredRunTest._run_deferred</a></li><li>_run_external_case - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#_run_external_case" class="code">testtools.tests.test_testresult.TestNonAsciiResults._run_external_case</a></li><li>_run_one - <a href="testtools.runtest.RunTest.html#_run_one" class="code">testtools.runtest.RunTest._run_one</a></li><li>_run_prepared_result - <a href="testtools.runtest.RunTest.html#_run_prepared_result" class="code">testtools.runtest.RunTest._run_prepared_result</a></li><li>_run_setup - <a href="testtools.testcase.TestCase.html#_run_setup" class="code">testtools.testcase.TestCase._run_setup</a></li><li>_run_teardown - <a href="testtools.testcase.TestCase.html#_run_teardown" class="code">testtools.testcase.TestCase._run_teardown</a></li><li>_run_test<ul><li><a href="testtools.testsuite.ConcurrentStreamTestSuite.html#_run_test" class="code">testtools.testsuite.ConcurrentStreamTestSuite._run_test</a></li><li><a href="testtools.testsuite.ConcurrentTestSuite.html#_run_test" class="code">testtools.testsuite.ConcurrentTestSuite._run_test</a></li></ul></li><li>_run_test_method - <a href="testtools.testcase.TestCase.html#_run_test_method" class="code">testtools.testcase.TestCase._run_test_method</a></li><li>_run_user<ul><li><a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html#_run_user" class="code">testtools.deferredruntest.AsynchronousDeferredRunTest._run_user</a></li><li><a href="testtools.deferredruntest.SynchronousDeferredRunTest.html#_run_user" class="code">testtools.deferredruntest.SynchronousDeferredRunTest._run_user</a></li><li><a href="testtools.runtest.RunTest.html#_run_user" class="code">testtools.runtest.RunTest._run_user</a></li><li><a href="testtools.tests.helpers.FullStackRunTest.html#_run_user" class="code">testtools.tests.helpers.FullStackRunTest._run_user</a></li></ul></li><li>_save_signals - <a href="testtools._spinner.Spinner.html#_save_signals" class="code">testtools._spinner.Spinner._save_signals</a></li><li>_set_failfast<ul><li><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#_set_failfast" class="code">testtools.testresult.real.ExtendedToOriginalDecorator._set_failfast</a></li><li><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#_set_failfast" class="code">testtools.testresult.real.ExtendedToStreamDecorator._set_failfast</a></li><li><a href="testtools.testresult.real.MultiTestResult.html#_set_failfast" class="code">testtools.testresult.real.MultiTestResult._set_failfast</a></li></ul></li><li>_set_shouldStop<ul><li><a href="testtools.testresult.real.MultiTestResult.html#_set_shouldStop" class="code">testtools.testresult.real.MultiTestResult._set_shouldStop</a></li><li><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#_set_shouldStop" class="code">testtools.testresult.real.ThreadsafeForwardingResult._set_shouldStop</a></li></ul></li><li>_setup_external_case - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#_setup_external_case" class="code">testtools.tests.test_testresult.TestNonAsciiResults._setup_external_case</a></li><li>_show_list - <a href="testtools.testresult.TextTestResult.html#_show_list" class="code">testtools.testresult.TextTestResult._show_list</a></li><li>_skip - <a href="testtools.testresult.real.StreamSummary.html#_skip" class="code">testtools.testresult.real.StreamSummary._skip</a></li><li>_slow_escape - <a href="testtools.compat.html#_slow_escape" class="code">testtools.compat._slow_escape</a></li><li>_spinner - <a href="testtools._spinner.html" class="code">testtools._spinner</a></li><li>_stack_lines_to_unicode - <a href="testtools.content.StackLinesContent.html#_stack_lines_to_unicode" class="code">testtools.content.StackLinesContent._stack_lines_to_unicode</a></li><li>_stop_reactor - <a href="testtools._spinner.Spinner.html#_stop_reactor" class="code">testtools._spinner.Spinner._stop_reactor</a></li><li>_str_preprocessor - <a href="testtools.matchers._higherorder.AfterPreprocessing.html#_str_preprocessor" class="code">testtools.matchers._higherorder.AfterPreprocessing._str_preprocessor</a></li><li>_StringException - <a href="testtools.testresult.real._StringException.html" class="code">testtools.testresult.real._StringException</a></li><li>_SubDictOf - <a href="testtools.matchers._dict._SubDictOf.html" class="code">testtools.matchers._dict._SubDictOf</a></li><li>_success - <a href="testtools.testresult.real.StreamSummary.html#_success" class="code">testtools.testresult.real.StreamSummary._success</a></li><li>_SuperDictOf - <a href="testtools.matchers._dict._SuperDictOf.html" class="code">testtools.matchers._dict._SuperDictOf</a></li><li>_test_external_case - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#_test_external_case" class="code">testtools.tests.test_testresult.TestNonAsciiResults._test_external_case</a></li><li>_timed_out - <a href="testtools._spinner.Spinner.html#_timed_out" class="code">testtools._spinner.Spinner._timed_out</a></li><li>_toAscii - <a href="testtools.matchers._doctest._NonManglingOutputChecker.html#_toAscii" class="code">testtools.matchers._doctest._NonManglingOutputChecker._toAscii</a></li><li>_u - <a href="testtools.compat.html#_u" class="code">testtools.compat._u</a></li><li>_u 0 - <a href="testtools.compat.html#_u%200" class="code">testtools.compat._u 0</a></li><li>_UnexpectedSuccess - <a href="testtools.testcase._UnexpectedSuccess.html" class="code">testtools.testcase._UnexpectedSuccess</a></li><li>_uxsuccess - <a href="testtools.testresult.real.StreamSummary.html#_uxsuccess" class="code">testtools.testresult.real.StreamSummary._uxsuccess</a></li><li>_with_nl - <a href="testtools.matchers._doctest.DocTestMatches.html#_with_nl" class="code">testtools.matchers._doctest.DocTestMatches._with_nl</a></li><li>_wrap_result - <a href="testtools.testsuite.ConcurrentTestSuite.html#_wrap_result" class="code">testtools.testsuite.ConcurrentTestSuite._wrap_result</a></li><li>_write_module - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#_write_module" class="code">testtools.tests.test_testresult.TestNonAsciiResults._write_module</a></li><li>_xfail - <a href="testtools.testresult.real.StreamSummary.html#_xfail" class="code">testtools.testresult.real.StreamSummary._xfail</a></li> + </ul> + + + </div> + </body> + +</html>
\ No newline at end of file diff --git a/apidocs/objects.inv b/apidocs/objects.inv Binary files differnew file mode 100644 index 0000000..0293208 --- /dev/null +++ b/apidocs/objects.inv diff --git a/apidocs/testtools.DecorateTestCaseResult.html b/apidocs/testtools.DecorateTestCaseResult.html new file mode 100644 index 0000000..a2a0ff6 --- /dev/null +++ b/apidocs/testtools.DecorateTestCaseResult.html @@ -0,0 +1,223 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.DecorateTestCaseResult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.DecorateTestCaseResult(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + <a href="classIndex.html#testtools.DecorateTestCaseResult">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Decorate a TestCase and permit customisation of the result for runs.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id147"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.DecorateTestCaseResult.html#__init__" class="code">__init__</a></td> + <td><span>Construct a DecorateTestCaseResult.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.DecorateTestCaseResult.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.DecorateTestCaseResult.html#__call__" class="code">__call__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.DecorateTestCaseResult.html#__getattr__" class="code">__getattr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.DecorateTestCaseResult.html#__delattr__" class="code">__delattr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.DecorateTestCaseResult.html#__setattr__" class="code">__setattr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.DecorateTestCaseResult.html#_run" class="code">_run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.DecorateTestCaseResult.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, case, callout, before_run=None, after_run=None): + + </div> + <div class="docstring functionBody"> + + <div>Construct a DecorateTestCaseResult.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">case</td><td>The case to decorate.</td></tr><tr><td></td><td class="fieldArg">callout</td><td>A callback to call when run/__call__/debug is called. +Must take a result parameter and return a result object to be used. +For instance: lambda result: result.</td></tr><tr><td></td><td class="fieldArg">before_run</td><td>If set, call this with the decorated result before +calling into the decorated run/__call__ method.</td></tr><tr><td></td><td class="fieldArg">before_run</td><td>If set, call this with the decorated result after +calling into the decorated run/__call__ method.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.DecorateTestCaseResult._run"> + + </a> + <a name="_run"> + + </a> + <div class="functionHeader"> + + def + _run(self, result, run_method): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.DecorateTestCaseResult.run"> + + </a> + <a name="run"> + + </a> + <div class="functionHeader"> + + def + run(self, result=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.DecorateTestCaseResult.__call__"> + + </a> + <a name="__call__"> + + </a> + <div class="functionHeader"> + + def + __call__(self, result=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.DecorateTestCaseResult.__getattr__"> + + </a> + <a name="__getattr__"> + + </a> + <div class="functionHeader"> + + def + __getattr__(self, name): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.DecorateTestCaseResult.__delattr__"> + + </a> + <a name="__delattr__"> + + </a> + <div class="functionHeader"> + + def + __delattr__(self, name): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.DecorateTestCaseResult.__setattr__"> + + </a> + <a name="__setattr__"> + + </a> + <div class="functionHeader"> + + def + __setattr__(self, name, value): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.FixtureSuite.html b/apidocs/testtools.FixtureSuite.html new file mode 100644 index 0000000..81d2402 --- /dev/null +++ b/apidocs/testtools.FixtureSuite.html @@ -0,0 +1,131 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.FixtureSuite : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.FixtureSuite(<span title="unittest2.TestSuite">unittest2.TestSuite</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + <a href="classIndex.html#testtools.FixtureSuite">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id149"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.FixtureSuite.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.FixtureSuite.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.FixtureSuite.html#sort_tests" class="code">sort_tests</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.FixtureSuite.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, fixture, tests): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.FixtureSuite.run"> + + </a> + <a name="run"> + + </a> + <div class="functionHeader"> + + def + run(self, result): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.FixtureSuite.sort_tests"> + + </a> + <a name="sort_tests"> + + </a> + <div class="functionHeader"> + + def + sort_tests(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.PlaceHolder.html b/apidocs/testtools.PlaceHolder.html new file mode 100644 index 0000000..a8bffc9 --- /dev/null +++ b/apidocs/testtools.PlaceHolder.html @@ -0,0 +1,289 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.PlaceHolder : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.PlaceHolder(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + <a href="classIndex.html#testtools.PlaceHolder">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>A placeholder test.</p> +<p><a href="testtools.PlaceHolder.html"><code>PlaceHolder</code></a> implements much of the same interface as TestCase and is +particularly suitable for being added to TestResults.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id148"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.PlaceHolder.html#__init__" class="code">__init__</a></td> + <td><span>Construct a <a href="testtools.PlaceHolder.html"><code>PlaceHolder</code></a>.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.PlaceHolder.html#__call__" class="code">__call__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.PlaceHolder.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.PlaceHolder.html#__str__" class="code">__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.PlaceHolder.html#countTestCases" class="code">countTestCases</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.PlaceHolder.html#debug" class="code">debug</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.PlaceHolder.html#id" class="code">id</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.PlaceHolder.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.PlaceHolder.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.PlaceHolder.html#_result" class="code">_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.PlaceHolder.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, test_id, short_description=None, details=None, outcome='addSuccess', error=None, tags=None, timestamps=(None, None)): + + </div> + <div class="docstring functionBody"> + + <div>Construct a <a href="testtools.PlaceHolder.html"><code>PlaceHolder</code></a>.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test_id</td><td>The id of the placeholder test.</td></tr><tr><td></td><td class="fieldArg">short_description</td><td>The short description of the place holder +test. If not provided, the id will be used instead.</td></tr><tr><td></td><td class="fieldArg">details</td><td>Outcome details as accepted by addSuccess etc.</td></tr><tr><td></td><td class="fieldArg">outcome</td><td>The outcome to call. Defaults to 'addSuccess'.</td></tr><tr><td></td><td class="fieldArg">tags</td><td>Tags to report for the test.</td></tr><tr><td></td><td class="fieldArg">timestamps</td><td>A two-tuple of timestamps for the test start and +finish. Each timestamp may be None to indicate it is not known.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.PlaceHolder.__call__"> + + </a> + <a name="__call__"> + + </a> + <div class="functionHeader"> + + def + __call__(self, result=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.PlaceHolder.__repr__"> + + </a> + <a name="__repr__"> + + </a> + <div class="functionHeader"> + + def + __repr__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.PlaceHolder.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.PlaceHolder.countTestCases"> + + </a> + <a name="countTestCases"> + + </a> + <div class="functionHeader"> + + def + countTestCases(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.PlaceHolder.debug"> + + </a> + <a name="debug"> + + </a> + <div class="functionHeader"> + + def + debug(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.PlaceHolder.id"> + + </a> + <a name="id"> + + </a> + <div class="functionHeader"> + + def + id(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.PlaceHolder._result"> + + </a> + <a name="_result"> + + </a> + <div class="functionHeader"> + + def + _result(self, result): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.PlaceHolder.run"> + + </a> + <a name="run"> + + </a> + <div class="functionHeader"> + + def + run(self, result=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.PlaceHolder.shortDescription"> + + </a> + <a name="shortDescription"> + + </a> + <div class="functionHeader"> + + def + shortDescription(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.TestCommand.html b/apidocs/testtools.TestCommand.html new file mode 100644 index 0000000..9f890e8 --- /dev/null +++ b/apidocs/testtools.TestCommand.html @@ -0,0 +1,153 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.TestCommand : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.TestCommand(<span title="distutils.core.Command">Command</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + <a href="classIndex.html#testtools.TestCommand">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Command to run unit tests with testtools<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id150"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.TestCommand.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.TestCommand.html#initialize_options" class="code">initialize_options</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.TestCommand.html#finalize_options" class="code">finalize_options</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.TestCommand.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.TestCommand.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, dist): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.TestCommand.initialize_options"> + + </a> + <a name="initialize_options"> + + </a> + <div class="functionHeader"> + + def + initialize_options(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.TestCommand.finalize_options"> + + </a> + <a name="finalize_options"> + + </a> + <div class="functionHeader"> + + def + finalize_options(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.TestCommand.run"> + + </a> + <a name="run"> + + </a> + <div class="functionHeader"> + + def + run(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.__init__.html b/apidocs/testtools.__init__.html new file mode 100644 index 0000000..0e84c6e --- /dev/null +++ b/apidocs/testtools.__init__.html @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.__init__ : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.__init__</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Extensions to the standard Python unittest library.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id146"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.DecorateTestCaseResult.html" class="code">DecorateTestCaseResult</a></td> + <td><span>Decorate a TestCase and permit customisation of the result for runs.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.html#ErrorHolder" class="code">ErrorHolder</a></td> + <td><span>Construct an <a href="testtools.html#ErrorHolder"><code>ErrorHolder</code></a>.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.PlaceHolder.html" class="code">PlaceHolder</a></td> + <td><span>A placeholder test.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.FixtureSuite.html" class="code">FixtureSuite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.TestCommand.html" class="code">TestCommand</a></td> + <td><span>Command to run unit tests with testtools</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.ErrorHolder"> + + </a> + <a name="ErrorHolder"> + + </a> + <div class="functionHeader"> + + def + ErrorHolder(test_id, error, short_description=None, details=None): + + </div> + <div class="docstring functionBody"> + + <div>Construct an <a href="testtools.html#ErrorHolder"><code>ErrorHolder</code></a>.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test_id</td><td>The id of the test.</td></tr><tr><td></td><td class="fieldArg">error</td><td>The exc info tuple that will be used as the test's error. +This is inserted into the details as 'traceback' - any existing key +will be overridden.</td></tr><tr><td></td><td class="fieldArg">short_description</td><td>An optional short description of the test.</td></tr><tr><td></td><td class="fieldArg">details</td><td>Outcome details as accepted by addSuccess etc.</td></tr></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools._compat2x.html b/apidocs/testtools._compat2x.html new file mode 100644 index 0000000..51e30be --- /dev/null +++ b/apidocs/testtools._compat2x.html @@ -0,0 +1,89 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools._compat2x : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module private"><code>testtools._compat2x</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Compatibility helpers that are valid syntax in Python 2.x.</p> +<p>Only add things here if they <em>only</em> work in Python 2.x or are Python 2 +alternatives to things that <em>only</em> work in Python 3.x.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id158"> + + <tr class="function"> + + <td>Function</td> + <td><a href="testtools._compat2x.html#reraise" class="code">reraise</a></td> + <td><span>Re-raise an exception received from sys.exc_info() or similar.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools._compat2x.reraise"> + + </a> + <a name="reraise"> + + </a> + <div class="functionHeader"> + + def + reraise(exc_class, exc_obj, exc_tb, _marker=object()): + + </div> + <div class="docstring functionBody"> + + <div>Re-raise an exception received from sys.exc_info() or similar.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools._compat3x.html b/apidocs/testtools._compat3x.html new file mode 100644 index 0000000..c86c66b --- /dev/null +++ b/apidocs/testtools._compat3x.html @@ -0,0 +1,89 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools._compat3x : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module private"><code>testtools._compat3x</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Compatibility helpers that are valid syntax in Python 3.x.</p> +<p>Only add things here if they <em>only</em> work in Python 3.x or are Python 3 +alternatives to things that <em>only</em> work in Python 2.x.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id152"> + + <tr class="function"> + + <td>Function</td> + <td><a href="testtools._compat3x.html#reraise" class="code">reraise</a></td> + <td><span>Re-raise an exception received from sys.exc_info() or similar.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools._compat3x.reraise"> + + </a> + <a name="reraise"> + + </a> + <div class="functionHeader"> + + def + reraise(exc_class, exc_obj, exc_tb, _marker=object()): + + </div> + <div class="docstring functionBody"> + + <div>Re-raise an exception received from sys.exc_info() or similar.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools._spinner.DeferredNotFired.html b/apidocs/testtools._spinner.DeferredNotFired.html new file mode 100644 index 0000000..653c649 --- /dev/null +++ b/apidocs/testtools._spinner.DeferredNotFired.html @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools._spinner.DeferredNotFired : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools._spinner.DeferredNotFired(<span title="Exception">Exception</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools._spinner.html" class="code">_spinner</a></code> + + <a href="classIndex.html#testtools._spinner.DeferredNotFired">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Raised when we extract a result from a Deferred that's not fired yet.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools._spinner.NoResultError.html b/apidocs/testtools._spinner.NoResultError.html new file mode 100644 index 0000000..631cfe3 --- /dev/null +++ b/apidocs/testtools._spinner.NoResultError.html @@ -0,0 +1,87 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools._spinner.NoResultError : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools._spinner.NoResultError(<span title="Exception">Exception</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools._spinner.html" class="code">_spinner</a></code> + + <a href="classIndex.html#testtools._spinner.NoResultError">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Raised when the reactor has stopped but we don't have any result.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id734"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools._spinner.NoResultError.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools._spinner.NoResultError.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools._spinner.ReentryError.html b/apidocs/testtools._spinner.ReentryError.html new file mode 100644 index 0000000..477b728 --- /dev/null +++ b/apidocs/testtools._spinner.ReentryError.html @@ -0,0 +1,87 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools._spinner.ReentryError : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools._spinner.ReentryError(<span title="Exception">Exception</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools._spinner.html" class="code">_spinner</a></code> + + <a href="classIndex.html#testtools._spinner.ReentryError">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Raised when we try to re-enter a function that forbids it.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id732"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools._spinner.ReentryError.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools._spinner.ReentryError.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, function): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools._spinner.Spinner.html b/apidocs/testtools._spinner.Spinner.html new file mode 100644 index 0000000..0d9b524 --- /dev/null +++ b/apidocs/testtools._spinner.Spinner.html @@ -0,0 +1,369 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools._spinner.Spinner : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools._spinner.Spinner(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools._spinner.html" class="code">_spinner</a></code> + + <a href="classIndex.html#testtools._spinner.Spinner">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Spin the reactor until a function is done.</p> +<p>This class emulates the behaviour of twisted.trial in that it grotesquely +and horribly spins the Twisted reactor while a function is running, and +then kills the reactor when that function is complete and all the +callbacks in its chains are done.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id736"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools._spinner.Spinner.html#__init__" class="code">__init__</a></td> + <td><span>Construct a Spinner.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools._spinner.Spinner.html#clear_junk" class="code">clear_junk</a></td> + <td><span>Clear out our recorded junk.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools._spinner.Spinner.html#get_junk" class="code">get_junk</a></td> + <td><span>Return any junk that has been found on the reactor.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools._spinner.Spinner.html#run" class="code">run</a></td> + <td><span>Run 'function' in a reactor.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools._spinner.Spinner.html#_cancel_timeout" class="code">_cancel_timeout</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools._spinner.Spinner.html#_get_result" class="code">_get_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools._spinner.Spinner.html#_got_failure" class="code">_got_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools._spinner.Spinner.html#_got_success" class="code">_got_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools._spinner.Spinner.html#_stop_reactor" class="code">_stop_reactor</a></td> + <td><span>Stop the reactor!</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools._spinner.Spinner.html#_timed_out" class="code">_timed_out</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools._spinner.Spinner.html#_clean" class="code">_clean</a></td> + <td><span>Clean up any junk in the reactor.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools._spinner.Spinner.html#_save_signals" class="code">_save_signals</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools._spinner.Spinner.html#_restore_signals" class="code">_restore_signals</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools._spinner.Spinner.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, reactor, debug=False): + + </div> + <div class="docstring functionBody"> + + <div>Construct a Spinner.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">reactor</td><td>A Twisted reactor.</td></tr><tr><td></td><td class="fieldArg">debug</td><td>Whether or not to enable Twisted's debugging. Defaults +to False.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools._spinner.Spinner._cancel_timeout"> + + </a> + <a name="_cancel_timeout"> + + </a> + <div class="functionHeader"> + + def + _cancel_timeout(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools._spinner.Spinner._get_result"> + + </a> + <a name="_get_result"> + + </a> + <div class="functionHeader"> + + def + _get_result(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools._spinner.Spinner._got_failure"> + + </a> + <a name="_got_failure"> + + </a> + <div class="functionHeader"> + + def + _got_failure(self, result): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools._spinner.Spinner._got_success"> + + </a> + <a name="_got_success"> + + </a> + <div class="functionHeader"> + + def + _got_success(self, result): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools._spinner.Spinner._stop_reactor"> + + </a> + <a name="_stop_reactor"> + + </a> + <div class="functionHeader"> + + def + _stop_reactor(self, ignored=None): + + </div> + <div class="docstring functionBody"> + + <div>Stop the reactor!<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools._spinner.Spinner._timed_out"> + + </a> + <a name="_timed_out"> + + </a> + <div class="functionHeader"> + + def + _timed_out(self, function, timeout): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools._spinner.Spinner._clean"> + + </a> + <a name="_clean"> + + </a> + <div class="functionHeader"> + + def + _clean(self): + + </div> + <div class="docstring functionBody"> + + <div><p>Clean up any junk in the reactor.</p> +<p>Will always iterate the reactor a number of times equal to +<tt class="rst-docutils literal">Spinner._OBLIGATORY_REACTOR_ITERATIONS</tt>. This is to work around +bugs in various Twisted APIs where a Deferred fires but still leaves +work (e.g. cancelling a call, actually closing a connection) for the +reactor to do.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools._spinner.Spinner.clear_junk"> + + </a> + <a name="clear_junk"> + + </a> + <div class="functionHeader"> + + def + clear_junk(self): + + </div> + <div class="docstring functionBody"> + + <div>Clear out our recorded junk.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">Whatever junk was there before.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools._spinner.Spinner.get_junk"> + + </a> + <a name="get_junk"> + + </a> + <div class="functionHeader"> + + def + get_junk(self): + + </div> + <div class="docstring functionBody"> + + <div>Return any junk that has been found on the reactor.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools._spinner.Spinner._save_signals"> + + </a> + <a name="_save_signals"> + + </a> + <div class="functionHeader"> + + def + _save_signals(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools._spinner.Spinner._restore_signals"> + + </a> + <a name="_restore_signals"> + + </a> + <div class="functionHeader"> + + def + _restore_signals(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools._spinner.Spinner.run"> + + </a> + <a name="run"> + + </a> + <div class="functionHeader"> + @not_reentrant<br /> + def + run(self, timeout, function, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div><p>Run 'function' in a reactor.</p> +<p>If 'function' returns a Deferred, the reactor will keep spinning until +the Deferred fires and its chain completes or until the timeout is +reached -- whichever comes first.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">Whatever is at the end of the function's callback chain. If +it's an error, then raise that.</td></tr><tr class="fieldStart"><td class="fieldName">Raises</td><td class="fieldArg">TimeoutError</td><td>If 'timeout' is reached before the Deferred +returned by 'function' has completed its callback chain.</td></tr><tr><td></td><td class="fieldArg">NoResultError</td><td>If the reactor is somehow interrupted before +the Deferred returned by 'function' has completed its callback +chain.</td></tr><tr><td></td><td class="fieldArg">StaleJunkError</td><td>If there's junk in the spinner from a previous +run.</td></tr></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools._spinner.StaleJunkError.html b/apidocs/testtools._spinner.StaleJunkError.html new file mode 100644 index 0000000..0557bdd --- /dev/null +++ b/apidocs/testtools._spinner.StaleJunkError.html @@ -0,0 +1,87 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools._spinner.StaleJunkError : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools._spinner.StaleJunkError(<span title="Exception">Exception</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools._spinner.html" class="code">_spinner</a></code> + + <a href="classIndex.html#testtools._spinner.StaleJunkError">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Raised when there's junk in the spinner from a previous run.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id735"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools._spinner.StaleJunkError.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools._spinner.StaleJunkError.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, junk): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools._spinner.TimeoutError.html b/apidocs/testtools._spinner.TimeoutError.html new file mode 100644 index 0000000..f971c47 --- /dev/null +++ b/apidocs/testtools._spinner.TimeoutError.html @@ -0,0 +1,87 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools._spinner.TimeoutError : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools._spinner.TimeoutError(<span title="Exception">Exception</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools._spinner.html" class="code">_spinner</a></code> + + <a href="classIndex.html#testtools._spinner.TimeoutError">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Raised when run_in_reactor takes too long to run a function.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id733"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools._spinner.TimeoutError.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools._spinner.TimeoutError.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, function, timeout): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools._spinner.html b/apidocs/testtools._spinner.html new file mode 100644 index 0000000..f50ce83 --- /dev/null +++ b/apidocs/testtools._spinner.html @@ -0,0 +1,178 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools._spinner : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module private"><code>testtools._spinner</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Evil reactor-spinning logic for running Twisted tests.</p> +<p>This code is highly experimental, liable to change and not to be trusted. If +you couldn't write this yourself, you should not be using it.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id731"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools._spinner.ReentryError.html" class="code">ReentryError</a></td> + <td><span>Raised when we try to re-enter a function that forbids it.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools._spinner.html#not_reentrant" class="code">not_reentrant</a></td> + <td><span>Decorates a function as not being re-entrant.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools._spinner.DeferredNotFired.html" class="code">DeferredNotFired</a></td> + <td><span>Raised when we extract a result from a Deferred that's not fired yet.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools._spinner.html#extract_result" class="code">extract_result</a></td> + <td><span>Extract the result from a fired deferred.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools._spinner.html#trap_unhandled_errors" class="code">trap_unhandled_errors</a></td> + <td><span>Run a function, trapping any unhandled errors in Deferreds.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools._spinner.TimeoutError.html" class="code">TimeoutError</a></td> + <td><span>Raised when run_in_reactor takes too long to run a function.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools._spinner.NoResultError.html" class="code">NoResultError</a></td> + <td><span>Raised when the reactor has stopped but we don't have any result.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools._spinner.StaleJunkError.html" class="code">StaleJunkError</a></td> + <td><span>Raised when there's junk in the spinner from a previous run.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools._spinner.Spinner.html" class="code">Spinner</a></td> + <td><span>Spin the reactor until a function is done.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools._spinner.not_reentrant"> + + </a> + <a name="not_reentrant"> + + </a> + <div class="functionHeader"> + + def + not_reentrant(function, _calls={}): + + </div> + <div class="docstring functionBody"> + + <div><p>Decorates a function as not being re-entrant.</p> +<p>The decorated function will raise an error if called from within itself.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools._spinner.extract_result"> + + </a> + <a name="extract_result"> + + </a> + <div class="functionHeader"> + + def + extract_result(deferred): + + </div> + <div class="docstring functionBody"> + + <div><p>Extract the result from a fired deferred.</p> +<p>It can happen that you have an API that returns Deferreds for +compatibility with Twisted code, but is in fact synchronous, i.e. the +Deferreds it returns have always fired by the time it returns. In this +case, you can use this function to convert the result back into the usual +form for a synchronous API, i.e. the result itself or a raised exception.</p> +<p>It would be very bad form to use this as some way of checking if a +Deferred has fired.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools._spinner.trap_unhandled_errors"> + + </a> + <a name="trap_unhandled_errors"> + + </a> + <div class="functionHeader"> + + def + trap_unhandled_errors(function, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div><p>Run a function, trapping any unhandled errors in Deferreds.</p> +<p>Assumes that 'function' will have handled any errors in Deferreds by the +time it is complete. This is almost never true of any Twisted code, since +you can never tell when someone has added an errback to a Deferred.</p> +<p>If 'function' raises, then don't bother doing any unhandled error +jiggery-pokery, since something horrible has probably happened anyway.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">A tuple of '(result, error)', where 'result' is the value +returned by 'function' and 'error' is a list of 'defer.DebugInfo' +objects that have unhandled errors in Deferreds.</td></tr></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.assertions.html b/apidocs/testtools.assertions.html new file mode 100644 index 0000000..e74a33c --- /dev/null +++ b/apidocs/testtools.assertions.html @@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.assertions : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.assertions</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">No module docstring</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id728"> + + <tr class="function"> + + <td>Function</td> + <td><a href="testtools.assertions.html#assert_that" class="code">assert_that</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.assertions.assert_that"> + + </a> + <a name="assert_that"> + + </a> + <div class="functionHeader"> + + def + assert_that(matchee, matcher, message='', verbose=False): + + </div> + <div class="docstring functionBody"> + + <div><p>Assert that matchee is matched by matcher.</p> +<p>This should only be used when you need to use a function based +matcher, assertThat in Testtools.Testcase is prefered and has more +features</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">matchee</td><td>An object to match with matcher.</td></tr><tr><td></td><td class="fieldArg">matcher</td><td>An object meeting the testtools.Matcher protocol.</td></tr><tr class="fieldStart"><td class="fieldName">Raises</td><td class="fieldArg">MismatchError</td><td>When matcher does not match thing.</td></tr></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.compat.html b/apidocs/testtools.compat.html new file mode 100644 index 0000000..ec63fc3 --- /dev/null +++ b/apidocs/testtools.compat.html @@ -0,0 +1,383 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.compat : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.compat</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Compatibility support for python 2 and 3.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id170"> + + <tr class="function"> + + <td>Function</td> + <td><a href="testtools.compat.html#istext%200" class="code">istext 0</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.compat.html#classtypes%200" class="code">classtypes 0</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.compat.html#istext" class="code">istext</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.compat.html#classtypes" class="code">classtypes</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.compat.html#text_repr" class="code">text_repr</a></td> + <td><span>Rich repr for <tt class="rst-docutils literal">text</tt> returning unicode, triple quoted if <tt class="rst-docutils literal">multiline</tt>.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.compat.html#unicode_output_stream" class="code">unicode_output_stream</a></td> + <td><span>Get wrapper for given stream that writes any unicode without exception</span></td> + </tr><tr class="function private"> + + <td>Function</td> + <td><a href="testtools.compat.html#_u%200" class="code">_u 0</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function private"> + + <td>Function</td> + <td><a href="testtools.compat.html#_b%200" class="code">_b 0</a></td> + <td><span>A byte literal.</span></td> + </tr><tr class="function private"> + + <td>Function</td> + <td><a href="testtools.compat.html#_u" class="code">_u</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function private"> + + <td>Function</td> + <td><a href="testtools.compat.html#_b" class="code">_b</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function private"> + + <td>Function</td> + <td><a href="testtools.compat.html#_isbytes%200" class="code">_isbytes 0</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function private"> + + <td>Function</td> + <td><a href="testtools.compat.html#_isbytes" class="code">_isbytes</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function private"> + + <td>Function</td> + <td><a href="testtools.compat.html#_slow_escape" class="code">_slow_escape</a></td> + <td><span>Escape unicode <tt class="rst-docutils literal">text</tt> leaving printable characters unmodified</span></td> + </tr><tr class="function private"> + + <td>Function</td> + <td><a href="testtools.compat.html#_get_exception_encoding" class="code">_get_exception_encoding</a></td> + <td><span>Return the encoding we expect messages from the OS to be encoded in</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.compat._u 0"> + + </a> + <a name="_u 0"> + + </a> + <div class="functionHeader"> + + def + _u 0(s): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.compat._b 0"> + + </a> + <a name="_b 0"> + + </a> + <div class="functionHeader"> + + def + _b 0(s): + + </div> + <div class="docstring functionBody"> + + <div>A byte literal.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.compat.istext 0"> + + </a> + <a name="istext 0"> + + </a> + <div class="functionHeader"> + + def + istext 0(x): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.compat.classtypes 0"> + + </a> + <a name="classtypes 0"> + + </a> + <div class="functionHeader"> + + def + classtypes 0(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.compat._u"> + + </a> + <a name="_u"> + + </a> + <div class="functionHeader"> + + def + _u(s): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.compat._b"> + + </a> + <a name="_b"> + + </a> + <div class="functionHeader"> + + def + _b(s): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.compat.istext"> + + </a> + <a name="istext"> + + </a> + <div class="functionHeader"> + + def + istext(x): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.compat.classtypes"> + + </a> + <a name="classtypes"> + + </a> + <div class="functionHeader"> + + def + classtypes(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.compat._isbytes 0"> + + </a> + <a name="_isbytes 0"> + + </a> + <div class="functionHeader"> + + def + _isbytes 0(x): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.compat._isbytes"> + + </a> + <a name="_isbytes"> + + </a> + <div class="functionHeader"> + + def + _isbytes(x): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.compat._slow_escape"> + + </a> + <a name="_slow_escape"> + + </a> + <div class="functionHeader"> + + def + _slow_escape(text): + + </div> + <div class="docstring functionBody"> + + <div><p>Escape unicode <tt class="rst-docutils literal">text</tt> leaving printable characters unmodified</p> +<p>The behaviour emulates the Python 3 implementation of repr, see +unicode_repr in unicodeobject.c and isprintable definition.</p> +<p>Because this iterates over the input a codepoint at a time, it's slow, and +does not handle astral characters correctly on Python builds with 16 bit +rather than 32 bit unicode type.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.compat.text_repr"> + + </a> + <a name="text_repr"> + + </a> + <div class="functionHeader"> + + def + text_repr(text, multiline=None): + + </div> + <div class="docstring functionBody"> + + <div>Rich repr for <tt class="rst-docutils literal">text</tt> returning unicode, triple quoted if <tt class="rst-docutils literal">multiline</tt>.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.compat.unicode_output_stream"> + + </a> + <a name="unicode_output_stream"> + + </a> + <div class="functionHeader"> + + def + unicode_output_stream(stream): + + </div> + <div class="docstring functionBody"> + + <div><p>Get wrapper for given stream that writes any unicode without exception</p> +<p>Characters that can't be coerced to the encoding of the stream, or 'ascii' +if valid encoding is not found, will be replaced. The original stream may +be returned in situations where a wrapper is determined unneeded.</p> +<p>The wrapper only allows unicode to be written, not non-ascii bytestrings, +which is a good thing to ensure sanity and sanitation.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.compat._get_exception_encoding"> + + </a> + <a name="_get_exception_encoding"> + + </a> + <div class="functionHeader"> + + def + _get_exception_encoding(): + + </div> + <div class="docstring functionBody"> + + <div>Return the encoding we expect messages from the OS to be encoded in<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.content.Content.html b/apidocs/testtools.content.Content.html new file mode 100644 index 0000000..0cc8cde --- /dev/null +++ b/apidocs/testtools.content.Content.html @@ -0,0 +1,248 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.content.Content : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.content.Content(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.content.html" class="code">content</a></code> + + <a href="classIndex.html#testtools.content.Content">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.content.StackLinesContent.html" class="code">testtools.content.StackLinesContent</a>, <a href="testtools.content.TracebackContent.html" class="code">testtools.content.TracebackContent</a></p> + </div> + + <div class="moduleDocstring"> + <div><p>A MIME-like Content object.</p> +<p>'Content' objects can be serialised to bytes using the iter_bytes method. +If the 'Content-Type' is recognised by other code, they are welcome to +look for richer contents that mere byte serialisation - for example in +memory object graphs etc. However, such code MUST be prepared to receive +a generic 'Content' object that has been reconstructed from a byte stream.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id141"> + + <tr class="instancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.content.Content.html#content_type" class="code">content_type</a></td> + <td>The content type of this Content.</td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.content.Content.html#__init__" class="code">__init__</a></td> + <td><span>Create a ContentType.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.content.Content.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.content.Content.html#as_text" class="code">as_text</a></td> + <td><span>Return all of the content as text.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.content.Content.html#iter_bytes" class="code">iter_bytes</a></td> + <td><span>Iterate over bytestrings of the serialised content.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.content.Content.html#iter_text" class="code">iter_text</a></td> + <td><span>Iterate over the text of the serialised content.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.content.Content.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.content.Content.html#_iter_text" class="code">_iter_text</a></td> + <td><span>Worker for iter_text - does the decoding.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.content.Content.content_type"> + + </a> + <a name="content_type"> + + </a> + <div class="functionHeader"> + content_type = + </div> + <div class="functionBody"> + The content type of this Content. + </div> +</div><div class="function"> + <a name="testtools.content.Content.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, content_type, get_bytes): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.content.StackLinesContent.html" class="code">testtools.content.StackLinesContent</a>, <a href="testtools.content.TracebackContent.html" class="code">testtools.content.TracebackContent</a></div> + <div>Create a ContentType.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.content.Content.__eq__"> + + </a> + <a name="__eq__"> + + </a> + <div class="functionHeader"> + + def + __eq__(self, other): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.content.Content.as_text"> + + </a> + <a name="as_text"> + + </a> + <div class="functionHeader"> + + def + as_text(self): + + </div> + <div class="docstring functionBody"> + + <div><p>Return all of the content as text.</p> +<p>This is only valid where <tt class="rst-docutils literal">iter_text</tt> is. It will load all of the +content into memory. Where this is a concern, use <tt class="rst-docutils literal">iter_text</tt> +instead.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.content.Content.iter_bytes"> + + </a> + <a name="iter_bytes"> + + </a> + <div class="functionHeader"> + + def + iter_bytes(self): + + </div> + <div class="docstring functionBody"> + + <div>Iterate over bytestrings of the serialised content.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.content.Content.iter_text"> + + </a> + <a name="iter_text"> + + </a> + <div class="functionHeader"> + + def + iter_text(self): + + </div> + <div class="docstring functionBody"> + + <div><p>Iterate over the text of the serialised content.</p> +<p>This is only valid for text MIME types, and will use ISO-8859-1 if +no charset parameter is present in the MIME type. (This is somewhat +arbitrary, but consistent with RFC2617 3.7.1).</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Raises</td><td class="fieldArg">ValueError</td><td>If the content type is not text/*.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.content.Content._iter_text"> + + </a> + <a name="_iter_text"> + + </a> + <div class="functionHeader"> + + def + _iter_text(self): + + </div> + <div class="docstring functionBody"> + + <div>Worker for iter_text - does the decoding.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.content.Content.__repr__"> + + </a> + <a name="__repr__"> + + </a> + <div class="functionHeader"> + + def + __repr__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.content.StackLinesContent.html b/apidocs/testtools.content.StackLinesContent.html new file mode 100644 index 0000000..25805f6 --- /dev/null +++ b/apidocs/testtools.content.StackLinesContent.html @@ -0,0 +1,161 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.content.StackLinesContent : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.content.StackLinesContent(<a href="testtools.content.Content.html" class="code">Content</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.content.html" class="code">content</a></code> + + <a href="classIndex.html#testtools.content.StackLinesContent">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Content object for stack lines.</p> +<p>This adapts a list of "preprocessed" stack lines into a 'Content' object. +The stack lines are most likely produced from <tt class="rst-docutils literal">traceback.extract_stack</tt> +or <tt class="rst-docutils literal">traceback.extract_tb</tt>.</p> +<p>text/x-traceback;language=python is used for the mime type, in order to +provide room for other languages to format their tracebacks differently.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id142"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.content.StackLinesContent.html#__init__" class="code">__init__</a></td> + <td><span>Create a StackLinesContent for <tt class="rst-docutils literal">stack_lines</tt>.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.content.StackLinesContent.html#_stack_lines_to_unicode" class="code">_stack_lines_to_unicode</a></td> + <td><span>Converts a list of pre-processed stack lines into a unicode string.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.content.Content.html" class="code">Content</a>: + </p> + <table class="children sortable" id="id143"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.content.Content.html#content_type" class="code">content_type</a></td> + <td>The content type of this Content.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.content.Content.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.content.Content.html#as_text" class="code">as_text</a></td> + <td><span>Return all of the content as text.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.content.Content.html#iter_bytes" class="code">iter_bytes</a></td> + <td><span>Iterate over bytestrings of the serialised content.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.content.Content.html#iter_text" class="code">iter_text</a></td> + <td><span>Iterate over the text of the serialised content.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.content.Content.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.content.Content.html#_iter_text" class="code">_iter_text</a></td> + <td><span>Worker for iter_text - does the decoding.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.content.StackLinesContent.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, stack_lines, prefix_content='', postfix_content=''): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.content.Content.html#__init__" class="code">testtools.content.Content.__init__</a></div> + <div>Create a StackLinesContent for <tt class="rst-docutils literal">stack_lines</tt>.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">stack_lines</td><td>A list of preprocessed stack lines, probably +obtained by calling <tt class="rst-docutils literal">traceback.extract_stack</tt> or +<tt class="rst-docutils literal">traceback.extract_tb</tt>.</td></tr><tr><td></td><td class="fieldArg">prefix_content</td><td>If specified, a unicode string to prepend to the +text content.</td></tr><tr><td></td><td class="fieldArg">postfix_content</td><td>If specified, a unicode string to append to the +text content.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.content.StackLinesContent._stack_lines_to_unicode"> + + </a> + <a name="_stack_lines_to_unicode"> + + </a> + <div class="functionHeader"> + + def + _stack_lines_to_unicode(self, stack_lines): + + </div> + <div class="docstring functionBody"> + + <div>Converts a list of pre-processed stack lines into a unicode string.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.content.TracebackContent.html b/apidocs/testtools.content.TracebackContent.html new file mode 100644 index 0000000..2861e73 --- /dev/null +++ b/apidocs/testtools.content.TracebackContent.html @@ -0,0 +1,133 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.content.TracebackContent : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.content.TracebackContent(<a href="testtools.content.Content.html" class="code">Content</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.content.html" class="code">content</a></code> + + <a href="classIndex.html#testtools.content.TracebackContent">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Content object for tracebacks.</p> +<p>This adapts an exc_info tuple to the 'Content' interface. +'text/x-traceback;language=python' is used for the mime type, in order to +provide room for other languages to format their tracebacks differently.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id144"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.content.TracebackContent.html#__init__" class="code">__init__</a></td> + <td><span>Create a TracebackContent for <tt class="rst-docutils literal">err</tt>.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.content.Content.html" class="code">Content</a>: + </p> + <table class="children sortable" id="id145"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.content.Content.html#content_type" class="code">content_type</a></td> + <td>The content type of this Content.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.content.Content.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.content.Content.html#as_text" class="code">as_text</a></td> + <td><span>Return all of the content as text.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.content.Content.html#iter_bytes" class="code">iter_bytes</a></td> + <td><span>Iterate over bytestrings of the serialised content.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.content.Content.html#iter_text" class="code">iter_text</a></td> + <td><span>Iterate over the text of the serialised content.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.content.Content.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.content.Content.html#_iter_text" class="code">_iter_text</a></td> + <td><span>Worker for iter_text - does the decoding.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.content.TracebackContent.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, err, test, capture_locals=False): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.content.Content.html#__init__" class="code">testtools.content.Content.__init__</a></div> + <div>Create a TracebackContent for <tt class="rst-docutils literal">err</tt>.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">err</td><td>An exc_info error tuple.</td></tr><tr><td></td><td class="fieldArg">test</td><td>A test object used to obtain failureException.</td></tr><tr><td></td><td class="fieldArg">capture_locals</td><td>If true, show locals in the traceback.</td></tr></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.content.html b/apidocs/testtools.content.html new file mode 100644 index 0000000..c11abd6 --- /dev/null +++ b/apidocs/testtools.content.html @@ -0,0 +1,311 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.content : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.content</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Content - a MIME-like Content object.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id140"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.content.Content.html" class="code">Content</a></td> + <td><span>A MIME-like Content object.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.content.StackLinesContent.html" class="code">StackLinesContent</a></td> + <td><span>Content object for stack lines.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.content.TracebackContent.html" class="code">TracebackContent</a></td> + <td><span>Content object for tracebacks.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.content.html#StacktraceContent" class="code">StacktraceContent</a></td> + <td><span>Content object for stack traces.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.content.html#json_content" class="code">json_content</a></td> + <td><span>Create a JSON Content object from JSON-encodeable data.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.content.html#text_content" class="code">text_content</a></td> + <td><span>Create a Content object from some text.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.content.html#maybe_wrap" class="code">maybe_wrap</a></td> + <td><span>Merge metadata for func into wrapper if functools is present.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.content.html#content_from_file" class="code">content_from_file</a></td> + <td><span>Create a Content object from a file on disk.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.content.html#content_from_stream" class="code">content_from_stream</a></td> + <td><span>Create a Content object from a file-like stream.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.content.html#content_from_reader" class="code">content_from_reader</a></td> + <td><span>Create a Content object that will obtain the content from reader.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.content.html#attach_file" class="code">attach_file</a></td> + <td><span>Attach a file to this test as a detail.</span></td> + </tr><tr class="function private"> + + <td>Function</td> + <td><a href="testtools.content.html#_iter_chunks" class="code">_iter_chunks</a></td> + <td><span>Read 'stream' in chunks of 'chunk_size'.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.content._iter_chunks"> + + </a> + <a name="_iter_chunks"> + + </a> + <div class="functionHeader"> + + def + _iter_chunks(stream, chunk_size, seek_offset=None, seek_whence=0): + + </div> + <div class="docstring functionBody"> + + <div>Read 'stream' in chunks of 'chunk_size'.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">stream</td><td>A file-like object to read from.</td></tr><tr><td></td><td class="fieldArg">chunk_size</td><td>The size of each read from 'stream'.</td></tr><tr><td></td><td class="fieldArg">seek_offset</td><td>If non-None, seek before iterating.</td></tr><tr><td></td><td class="fieldArg">seek_whence</td><td>Pass through to the seek call, if seeking.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.content.StacktraceContent"> + + </a> + <a name="StacktraceContent"> + + </a> + <div class="functionHeader"> + + def + StacktraceContent(prefix_content='', postfix_content=''): + + </div> + <div class="docstring functionBody"> + + <div><p>Content object for stack traces.</p> +<p>This function will create and return a 'Content' object that contains a +stack trace.</p> +<p>The mime type is set to 'text/x-traceback;language=python', so other +languages can format their stack traces differently.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">prefix_content</td><td>A unicode string to add before the stack lines.</td></tr><tr><td></td><td class="fieldArg">postfix_content</td><td>A unicode string to add after the stack lines.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.content.json_content"> + + </a> + <a name="json_content"> + + </a> + <div class="functionHeader"> + + def + json_content(json_data): + + </div> + <div class="docstring functionBody"> + + <div>Create a JSON Content object from JSON-encodeable data.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.content.text_content"> + + </a> + <a name="text_content"> + + </a> + <div class="functionHeader"> + + def + text_content(text): + + </div> + <div class="docstring functionBody"> + + <div><p>Create a Content object from some text.</p> +<p>This is useful for adding details which are short strings.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.content.maybe_wrap"> + + </a> + <a name="maybe_wrap"> + + </a> + <div class="functionHeader"> + + def + maybe_wrap(wrapper, func): + + </div> + <div class="docstring functionBody"> + + <div>Merge metadata for func into wrapper if functools is present.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.content.content_from_file"> + + </a> + <a name="content_from_file"> + + </a> + <div class="functionHeader"> + + def + content_from_file(path, content_type=None, chunk_size=DEFAULT_CHUNK_SIZE, buffer_now=False, seek_offset=None, seek_whence=0): + + </div> + <div class="docstring functionBody"> + + <div><p>Create a Content object from a file on disk.</p> +<p>Note that unless <tt class="rst-docutils literal">buffer_now</tt> is explicitly passed in as True, the file +will only be read from when <tt class="rst-docutils literal">iter_bytes</tt> is called.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">path</td><td>The path to the file to be used as content.</td></tr><tr><td></td><td class="fieldArg">content_type</td><td>The type of content. If not specified, defaults +to UTF8-encoded text/plain.</td></tr><tr><td></td><td class="fieldArg">chunk_size</td><td>The size of chunks to read from the file. +Defaults to <tt class="rst-docutils literal">DEFAULT_CHUNK_SIZE</tt>.</td></tr><tr><td></td><td class="fieldArg">buffer_now</td><td>If True, read the file from disk now and keep it in +memory. Otherwise, only read when the content is serialized.</td></tr><tr><td></td><td class="fieldArg">seek_offset</td><td>If non-None, seek within the stream before reading it.</td></tr><tr><td></td><td class="fieldArg">seek_whence</td><td>If supplied, pass to <tt class="rst-docutils literal">stream.seek()</tt> when seeking.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.content.content_from_stream"> + + </a> + <a name="content_from_stream"> + + </a> + <div class="functionHeader"> + + def + content_from_stream(stream, content_type=None, chunk_size=DEFAULT_CHUNK_SIZE, buffer_now=False, seek_offset=None, seek_whence=0): + + </div> + <div class="docstring functionBody"> + + <div><p>Create a Content object from a file-like stream.</p> +<p>Note that unless <tt class="rst-docutils literal">buffer_now</tt> is explicitly passed in as True, the stream +will only be read from when <tt class="rst-docutils literal">iter_bytes</tt> is called.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">stream</td><td>A file-like object to read the content from. The stream +is not closed by this function or the 'Content' object it returns.</td></tr><tr><td></td><td class="fieldArg">content_type</td><td>The type of content. If not specified, defaults +to UTF8-encoded text/plain.</td></tr><tr><td></td><td class="fieldArg">chunk_size</td><td>The size of chunks to read from the file. +Defaults to <tt class="rst-docutils literal">DEFAULT_CHUNK_SIZE</tt>.</td></tr><tr><td></td><td class="fieldArg">buffer_now</td><td>If True, reads from the stream right now. Otherwise, +only reads when the content is serialized. Defaults to False.</td></tr><tr><td></td><td class="fieldArg">seek_offset</td><td>If non-None, seek within the stream before reading it.</td></tr><tr><td></td><td class="fieldArg">seek_whence</td><td>If supplied, pass to <tt class="rst-docutils literal">stream.seek()</tt> when seeking.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.content.content_from_reader"> + + </a> + <a name="content_from_reader"> + + </a> + <div class="functionHeader"> + + def + content_from_reader(reader, content_type, buffer_now): + + </div> + <div class="docstring functionBody"> + + <div>Create a Content object that will obtain the content from reader.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">reader</td><td>A callback to read the content. Should return an iterable of +bytestrings.</td></tr><tr><td></td><td class="fieldArg">content_type</td><td>The content type to create.</td></tr><tr><td></td><td class="fieldArg">buffer_now</td><td>If True the reader is evaluated immediately and +buffered.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.content.attach_file"> + + </a> + <a name="attach_file"> + + </a> + <div class="functionHeader"> + + def + attach_file(detailed, path, name=None, content_type=None, chunk_size=DEFAULT_CHUNK_SIZE, buffer_now=True): + + </div> + <div class="docstring functionBody"> + + <div><p>Attach a file to this test as a detail.</p> +<p>This is a convenience method wrapping around <tt class="rst-docutils literal">addDetail</tt>.</p> +<p>Note that by default the contents of the file will be read immediately. If +<tt class="rst-docutils literal">buffer_now</tt> is False, then the file <em>must</em> exist when the test result is +called with the results of this test, after the test has been torn down.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">detailed</td><td>An object with details</td></tr><tr><td></td><td class="fieldArg">path</td><td>The path to the file to attach.</td></tr><tr><td></td><td class="fieldArg">name</td><td>The name to give to the detail for the attached file.</td></tr><tr><td></td><td class="fieldArg">content_type</td><td>The content type of the file. If not provided, +defaults to UTF8-encoded text/plain.</td></tr><tr><td></td><td class="fieldArg">chunk_size</td><td>The size of chunks to read from the file. Defaults +to something sensible.</td></tr><tr><td></td><td class="fieldArg">buffer_now</td><td><p>If False the file content is read when the content +object is evaluated rather than when attach_file is called. +Note that this may be after any cleanups that obj_with_details has, so +if the file is a temporary file disabling buffer_now may cause the file +to be read after it is deleted. To handle those cases, using +attach_file as a cleanup is recommended because it guarantees a +sequence for when the attach_file call is made:</p> +<pre class="rst-literal-block"> +detailed.addCleanup(attach_file, 'foo.txt', detailed) +</pre></td></tr></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.content_type.ContentType.html b/apidocs/testtools.content_type.ContentType.html new file mode 100644 index 0000000..54c4f36 --- /dev/null +++ b/apidocs/testtools.content_type.ContentType.html @@ -0,0 +1,187 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.content_type.ContentType : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.content_type.ContentType(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.content_type.html" class="code">content_type</a></code> + + <a href="classIndex.html#testtools.content_type.ContentType">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>A content type from <a href="http://www.iana.org/assignments/media-types/" class="rst-reference external" target="_top">http://www.iana.org/assignments/media-types/</a><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id730"> + + <tr class="instancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.content_type.ContentType.html#type" class="code">type</a></td> + <td>The primary type, e.g. "text" or "application"</td> + </tr><tr class="instancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.content_type.ContentType.html#subtype" class="code">subtype</a></td> + <td>The subtype, e.g. "plain" or "octet-stream"</td> + </tr><tr class="instancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.content_type.ContentType.html#parameters" class="code">parameters</a></td> + <td>A dict of additional parameters specific to the +content type.</td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.content_type.ContentType.html#__init__" class="code">__init__</a></td> + <td><span>Create a ContentType.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.content_type.ContentType.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.content_type.ContentType.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.content_type.ContentType.type"> + + </a> + <a name="type"> + + </a> + <div class="functionHeader"> + type = + </div> + <div class="functionBody"> + The primary type, e.g. "text" or "application" + </div> +</div><div class="function"> + <a name="testtools.content_type.ContentType.subtype"> + + </a> + <a name="subtype"> + + </a> + <div class="functionHeader"> + subtype = + </div> + <div class="functionBody"> + The subtype, e.g. "plain" or "octet-stream" + </div> +</div><div class="function"> + <a name="testtools.content_type.ContentType.parameters"> + + </a> + <a name="parameters"> + + </a> + <div class="functionHeader"> + parameters = + </div> + <div class="functionBody"> + A dict of additional parameters specific to the +content type. + </div> +</div><div class="function"> + <a name="testtools.content_type.ContentType.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, primary_type, sub_type, parameters=None): + + </div> + <div class="docstring functionBody"> + + <div>Create a ContentType.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.content_type.ContentType.__eq__"> + + </a> + <a name="__eq__"> + + </a> + <div class="functionHeader"> + + def + __eq__(self, other): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.content_type.ContentType.__repr__"> + + </a> + <a name="__repr__"> + + </a> + <div class="functionHeader"> + + def + __repr__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.content_type.html b/apidocs/testtools.content_type.html new file mode 100644 index 0000000..44bb9f5 --- /dev/null +++ b/apidocs/testtools.content_type.html @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.content_type : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.content_type</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>ContentType - a MIME Content Type.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id729"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.content_type.ContentType.html" class="code">ContentType</a></td> + <td><span>A content type from <a href="http://www.iana.org/assignments/media-types/" class="rst-reference external" target="_top">http://www.iana.org/assignments/media-types/</a></span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.deferredruntest.AsynchronousDeferredRunTest.html b/apidocs/testtools.deferredruntest.AsynchronousDeferredRunTest.html new file mode 100644 index 0000000..61b06ca --- /dev/null +++ b/apidocs/testtools.deferredruntest.AsynchronousDeferredRunTest.html @@ -0,0 +1,415 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.deferredruntest.AsynchronousDeferredRunTest : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.deferredruntest.AsynchronousDeferredRunTest(<a href="testtools.deferredruntest._DeferredRunTest.html" class="code">_DeferredRunTest</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.deferredruntest.html" class="code">deferredruntest</a></code> + + <a href="classIndex.html#testtools.deferredruntest.AsynchronousDeferredRunTest">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted.html" class="code">testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted</a></p> + </div> + + <div class="moduleDocstring"> + <div><p>Runner for tests that return Deferreds that fire asynchronously.</p> +<p>That is, this test runner assumes that the Deferreds will only fire if the +reactor is left to spin for a while.</p> +<p>Do not rely too heavily on the nuances of the behaviour of this class. +What it does to the reactor is black magic, and if we can find nicer ways +of doing it we will gladly break backwards compatibility.</p> +<p>This is highly experimental code. Use at your own risk.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id720"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html#__init__" class="code">__init__</a></td> + <td><span>Construct an <a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html"><code>AsynchronousDeferredRunTest</code></a>.</span></td> + </tr><tr class="classmethod"> + + <td>Class Method</td> + <td><a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html#make_factory" class="code">make_factory</a></td> + <td><span>Make a factory that conforms to the RunTest factory interface.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html#_run_cleanups" class="code">_run_cleanups</a></td> + <td><span>Run the cleanups on the test case.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html#_make_spinner" class="code">_make_spinner</a></td> + <td><span>Make the <a href="testtools._spinner.Spinner.html"><code>Spinner</code></a> to be used to run the tests.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html#_run_deferred" class="code">_run_deferred</a></td> + <td><span>Run the test, assuming everything in it is Deferred-returning.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html#_log_user_exception" class="code">_log_user_exception</a></td> + <td><span>Raise 'e' and report it as a user exception.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html#_blocking_run_deferred" class="code">_blocking_run_deferred</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html#_run_core" class="code">_run_core</a></td> + <td><span>Run the user supplied test code.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html#_run_user" class="code">_run_user</a></td> + <td><span>Run a user-supplied function.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.runtest.RunTest.html" class="code">RunTest</a> (via <a href="testtools.deferredruntest._DeferredRunTest.html" class="code">_DeferredRunTest</a>): + </p> + <table class="children sortable" id="id722"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#case" class="code">case</a></td> + <td>The test case that is to be run.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#result" class="code">result</a></td> + <td>The result object a case is reporting to.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#handlers" class="code">handlers</a></td> + <td>A list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#exception_caught" class="code">exception_caught</a></td> + <td>An object returned when _run_user catches an +exception.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#run" class="code">run</a></td> + <td><span>Run self.case reporting activity to result.</span></td> + </tr><tr class="baseinstancevariable private"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#_exceptions" class="code">_exceptions</a></td> + <td>A list of caught exceptions, used to do the single +reporting of error/failure/skip etc.</td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_one" class="code">_run_one</a></td> + <td><span>Run one test reporting to result.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_prepared_result" class="code">_run_prepared_result</a></td> + <td><span>Run one test reporting to result.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_got_user_exception" class="code">_got_user_exception</a></td> + <td><span>Called when user code raises an exception.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.runtest.RunTest.html" class="code">RunTest</a> (via <a href="testtools.deferredruntest._DeferredRunTest.html" class="code">_DeferredRunTest</a>): + </p> + <table class="children sortable" id="id722"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#case" class="code">case</a></td> + <td>The test case that is to be run.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#result" class="code">result</a></td> + <td>The result object a case is reporting to.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#handlers" class="code">handlers</a></td> + <td>A list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#exception_caught" class="code">exception_caught</a></td> + <td>An object returned when _run_user catches an +exception.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#run" class="code">run</a></td> + <td><span>Run self.case reporting activity to result.</span></td> + </tr><tr class="baseinstancevariable private"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#_exceptions" class="code">_exceptions</a></td> + <td>A list of caught exceptions, used to do the single +reporting of error/failure/skip etc.</td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_one" class="code">_run_one</a></td> + <td><span>Run one test reporting to result.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_prepared_result" class="code">_run_prepared_result</a></td> + <td><span>Run one test reporting to result.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_got_user_exception" class="code">_got_user_exception</a></td> + <td><span>Called when user code raises an exception.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.deferredruntest.AsynchronousDeferredRunTest.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, case, handlers=None, last_resort=None, reactor=None, timeout=0.005, debug=False): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.runtest.RunTest.html#__init__" class="code">testtools.runtest.RunTest.__init__</a></div> + <div><p>Construct an <a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html"><code>AsynchronousDeferredRunTest</code></a>.</p> +<p>Please be sure to always use keyword syntax, not positional, as the +base class may add arguments in future - and for core code +compatibility with that we have to insert them before the local +parameters.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">case</td><td>The <a href="testtools.testcase.TestCase.html"><code>TestCase</code></a> to run.</td></tr><tr><td></td><td class="fieldArg">handlers</td><td>A list of exception handlers (ExceptionType, handler) +where 'handler' is a callable that takes a <a href="testtools.testcase.TestCase.html"><code>TestCase</code></a>, a +<tt class="rst-docutils literal">testtools.TestResult</tt> and the exception raised.</td></tr><tr><td></td><td class="fieldArg">last_resort</td><td>Handler to call before re-raising uncatchable +exceptions (those for which there is no handler).</td></tr><tr><td></td><td class="fieldArg">reactor</td><td>The Twisted reactor to use. If not given, we use the +default reactor.</td></tr><tr><td></td><td class="fieldArg">timeout</td><td>The maximum time allowed for running a test. The +default is 0.005s.</td></tr><tr><td></td><td class="fieldArg">debug</td><td>Whether or not to enable Twisted's debugging. Use this +to get information about unhandled Deferreds and left-over +DelayedCalls. Defaults to False.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.deferredruntest.AsynchronousDeferredRunTest.make_factory"> + + </a> + <a name="make_factory"> + + </a> + <div class="functionHeader"> + @classmethod<br /> + def + make_factory(cls, reactor=None, timeout=0.005, debug=False): + + </div> + <div class="docstring functionBody"> + + <div>Make a factory that conforms to the RunTest factory interface.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.deferredruntest.AsynchronousDeferredRunTest._run_cleanups"> + + </a> + <a name="_run_cleanups"> + + </a> + <div class="functionHeader"> + @defer.deferredGenerator<br /> + def + _run_cleanups(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.runtest.RunTest.html#_run_cleanups" class="code">testtools.runtest.RunTest._run_cleanups</a></div> + <div><p>Run the cleanups on the test case.</p> +<p>We expect that the cleanups on the test case can also return +asynchronous Deferreds. As such, we take the responsibility for +running the cleanups, rather than letting TestCase do it.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.deferredruntest.AsynchronousDeferredRunTest._make_spinner"> + + </a> + <a name="_make_spinner"> + + </a> + <div class="functionHeader"> + + def + _make_spinner(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted.html" class="code">testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted</a></div> + <div>Make the <a href="testtools._spinner.Spinner.html"><code>Spinner</code></a> to be used to run the tests.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.deferredruntest.AsynchronousDeferredRunTest._run_deferred"> + + </a> + <a name="_run_deferred"> + + </a> + <div class="functionHeader"> + + def + _run_deferred(self): + + </div> + <div class="docstring functionBody"> + + <div><p>Run the test, assuming everything in it is Deferred-returning.</p> +<p>This should return a Deferred that fires with True if the test was +successful and False if the test was not successful. It should <em>not</em> +call addSuccess on the result, because there's reactor clean up that +we needs to be done afterwards.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.deferredruntest.AsynchronousDeferredRunTest._log_user_exception"> + + </a> + <a name="_log_user_exception"> + + </a> + <div class="functionHeader"> + + def + _log_user_exception(self, e): + + </div> + <div class="docstring functionBody"> + + <div>Raise 'e' and report it as a user exception.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.deferredruntest.AsynchronousDeferredRunTest._blocking_run_deferred"> + + </a> + <a name="_blocking_run_deferred"> + + </a> + <div class="functionHeader"> + + def + _blocking_run_deferred(self, spinner): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.deferredruntest.AsynchronousDeferredRunTest._run_core"> + + </a> + <a name="_run_core"> + + </a> + <div class="functionHeader"> + + def + _run_core(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.runtest.RunTest.html#_run_core" class="code">testtools.runtest.RunTest._run_core</a></div> + <div>Run the user supplied test code.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.deferredruntest.AsynchronousDeferredRunTest._run_user"> + + </a> + <a name="_run_user"> + + </a> + <div class="functionHeader"> + + def + _run_user(self, function, *args): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.runtest.RunTest.html#_run_user" class="code">testtools.runtest.RunTest._run_user</a></div> + <div><p>Run a user-supplied function.</p> +<p>This just makes sure that it returns a Deferred, regardless of how the +user wrote it.</p><table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted.html b/apidocs/testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted.html new file mode 100644 index 0000000..94dc2fc --- /dev/null +++ b/apidocs/testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted.html @@ -0,0 +1,281 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted(<a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html" class="code">AsynchronousDeferredRunTest</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.deferredruntest.html" class="code">deferredruntest</a></code> + + <a href="classIndex.html#testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Test runner that works around Twisted brokenness re reactor junk.</p> +<p>There are many APIs within Twisted itself where a Deferred fires but +leaves cleanup work scheduled for the reactor to do. Arguably, many of +these are bugs. This runner iterates the reactor event loop a number of +times after every test, in order to shake out these buggy-but-commonplace +events.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id723"> + + <tr class="method private"> + + <td>Method</td> + <td><a href="testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted.html#_make_spinner" class="code">_make_spinner</a></td> + <td><span>Make the <a href="testtools._spinner.Spinner.html"><code>Spinner</code></a> to be used to run the tests.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.runtest.RunTest.html" class="code">RunTest</a> (via <a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html" class="code">AsynchronousDeferredRunTest</a>, <a href="testtools.deferredruntest._DeferredRunTest.html" class="code">_DeferredRunTest</a>): + </p> + <table class="children sortable" id="id726"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#case" class="code">case</a></td> + <td>The test case that is to be run.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#result" class="code">result</a></td> + <td>The result object a case is reporting to.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#handlers" class="code">handlers</a></td> + <td>A list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#exception_caught" class="code">exception_caught</a></td> + <td>An object returned when _run_user catches an +exception.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#run" class="code">run</a></td> + <td><span>Run self.case reporting activity to result.</span></td> + </tr><tr class="baseinstancevariable private"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#_exceptions" class="code">_exceptions</a></td> + <td>A list of caught exceptions, used to do the single +reporting of error/failure/skip etc.</td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_one" class="code">_run_one</a></td> + <td><span>Run one test reporting to result.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_prepared_result" class="code">_run_prepared_result</a></td> + <td><span>Run one test reporting to result.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_got_user_exception" class="code">_got_user_exception</a></td> + <td><span>Called when user code raises an exception.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.runtest.RunTest.html" class="code">RunTest</a> (via <a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html" class="code">AsynchronousDeferredRunTest</a>, <a href="testtools.deferredruntest._DeferredRunTest.html" class="code">_DeferredRunTest</a>): + </p> + <table class="children sortable" id="id726"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#case" class="code">case</a></td> + <td>The test case that is to be run.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#result" class="code">result</a></td> + <td>The result object a case is reporting to.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#handlers" class="code">handlers</a></td> + <td>A list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#exception_caught" class="code">exception_caught</a></td> + <td>An object returned when _run_user catches an +exception.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#run" class="code">run</a></td> + <td><span>Run self.case reporting activity to result.</span></td> + </tr><tr class="baseinstancevariable private"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#_exceptions" class="code">_exceptions</a></td> + <td>A list of caught exceptions, used to do the single +reporting of error/failure/skip etc.</td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_one" class="code">_run_one</a></td> + <td><span>Run one test reporting to result.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_prepared_result" class="code">_run_prepared_result</a></td> + <td><span>Run one test reporting to result.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_got_user_exception" class="code">_got_user_exception</a></td> + <td><span>Called when user code raises an exception.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.runtest.RunTest.html" class="code">RunTest</a> (via <a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html" class="code">AsynchronousDeferredRunTest</a>, <a href="testtools.deferredruntest._DeferredRunTest.html" class="code">_DeferredRunTest</a>): + </p> + <table class="children sortable" id="id726"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#case" class="code">case</a></td> + <td>The test case that is to be run.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#result" class="code">result</a></td> + <td>The result object a case is reporting to.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#handlers" class="code">handlers</a></td> + <td>A list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#exception_caught" class="code">exception_caught</a></td> + <td>An object returned when _run_user catches an +exception.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#run" class="code">run</a></td> + <td><span>Run self.case reporting activity to result.</span></td> + </tr><tr class="baseinstancevariable private"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#_exceptions" class="code">_exceptions</a></td> + <td>A list of caught exceptions, used to do the single +reporting of error/failure/skip etc.</td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_one" class="code">_run_one</a></td> + <td><span>Run one test reporting to result.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_prepared_result" class="code">_run_prepared_result</a></td> + <td><span>Run one test reporting to result.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_got_user_exception" class="code">_got_user_exception</a></td> + <td><span>Called when user code raises an exception.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted._make_spinner"> + + </a> + <a name="_make_spinner"> + + </a> + <div class="functionHeader"> + + def + _make_spinner(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html#_make_spinner" class="code">testtools.deferredruntest.AsynchronousDeferredRunTest._make_spinner</a></div> + <div>Make the <a href="testtools._spinner.Spinner.html"><code>Spinner</code></a> to be used to run the tests.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.deferredruntest.SynchronousDeferredRunTest.html b/apidocs/testtools.deferredruntest.SynchronousDeferredRunTest.html new file mode 100644 index 0000000..1437d02 --- /dev/null +++ b/apidocs/testtools.deferredruntest.SynchronousDeferredRunTest.html @@ -0,0 +1,245 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.deferredruntest.SynchronousDeferredRunTest : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.deferredruntest.SynchronousDeferredRunTest(<a href="testtools.deferredruntest._DeferredRunTest.html" class="code">_DeferredRunTest</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.deferredruntest.html" class="code">deferredruntest</a></code> + + <a href="classIndex.html#testtools.deferredruntest.SynchronousDeferredRunTest">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Runner for tests that return synchronous Deferreds.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id717"> + + <tr class="method private"> + + <td>Method</td> + <td><a href="testtools.deferredruntest.SynchronousDeferredRunTest.html#_run_user" class="code">_run_user</a></td> + <td><span>Run a user supplied function.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.runtest.RunTest.html" class="code">RunTest</a> (via <a href="testtools.deferredruntest._DeferredRunTest.html" class="code">_DeferredRunTest</a>): + </p> + <table class="children sortable" id="id719"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#case" class="code">case</a></td> + <td>The test case that is to be run.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#result" class="code">result</a></td> + <td>The result object a case is reporting to.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#handlers" class="code">handlers</a></td> + <td>A list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#exception_caught" class="code">exception_caught</a></td> + <td>An object returned when _run_user catches an +exception.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#__init__" class="code">__init__</a></td> + <td><span>Create a RunTest to run a case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#run" class="code">run</a></td> + <td><span>Run self.case reporting activity to result.</span></td> + </tr><tr class="baseinstancevariable private"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#_exceptions" class="code">_exceptions</a></td> + <td>A list of caught exceptions, used to do the single +reporting of error/failure/skip etc.</td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_one" class="code">_run_one</a></td> + <td><span>Run one test reporting to result.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_prepared_result" class="code">_run_prepared_result</a></td> + <td><span>Run one test reporting to result.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_core" class="code">_run_core</a></td> + <td><span>Run the user supplied test code.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_cleanups" class="code">_run_cleanups</a></td> + <td><span>Run the cleanups that have been added with addCleanup.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_got_user_exception" class="code">_got_user_exception</a></td> + <td><span>Called when user code raises an exception.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.runtest.RunTest.html" class="code">RunTest</a> (via <a href="testtools.deferredruntest._DeferredRunTest.html" class="code">_DeferredRunTest</a>): + </p> + <table class="children sortable" id="id719"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#case" class="code">case</a></td> + <td>The test case that is to be run.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#result" class="code">result</a></td> + <td>The result object a case is reporting to.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#handlers" class="code">handlers</a></td> + <td>A list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#exception_caught" class="code">exception_caught</a></td> + <td>An object returned when _run_user catches an +exception.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#__init__" class="code">__init__</a></td> + <td><span>Create a RunTest to run a case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#run" class="code">run</a></td> + <td><span>Run self.case reporting activity to result.</span></td> + </tr><tr class="baseinstancevariable private"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#_exceptions" class="code">_exceptions</a></td> + <td>A list of caught exceptions, used to do the single +reporting of error/failure/skip etc.</td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_one" class="code">_run_one</a></td> + <td><span>Run one test reporting to result.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_prepared_result" class="code">_run_prepared_result</a></td> + <td><span>Run one test reporting to result.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_core" class="code">_run_core</a></td> + <td><span>Run the user supplied test code.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_cleanups" class="code">_run_cleanups</a></td> + <td><span>Run the cleanups that have been added with addCleanup.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_got_user_exception" class="code">_got_user_exception</a></td> + <td><span>Called when user code raises an exception.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.deferredruntest.SynchronousDeferredRunTest._run_user"> + + </a> + <a name="_run_user"> + + </a> + <div class="functionHeader"> + + def + _run_user(self, function, *args): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.runtest.RunTest.html#_run_user" class="code">testtools.runtest.RunTest._run_user</a></div> + <div><p>Run a user supplied function.</p> +<p>Exceptions are processed by <a href="testtools.runtest.RunTest.html#_got_user_exception"><code>_got_user_exception</code></a>.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">Either whatever 'fn' returns or <tt class="rst-docutils literal">exception_caught</tt> if +'fn' raised an exception.</td></tr></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.deferredruntest.UncleanReactorError.html b/apidocs/testtools.deferredruntest.UncleanReactorError.html new file mode 100644 index 0000000..b4e917b --- /dev/null +++ b/apidocs/testtools.deferredruntest.UncleanReactorError.html @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.deferredruntest.UncleanReactorError : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.deferredruntest.UncleanReactorError(<span title="Exception">Exception</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.deferredruntest.html" class="code">deferredruntest</a></code> + + <a href="classIndex.html#testtools.deferredruntest.UncleanReactorError">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Raised when the reactor has junk in it.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id727"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.deferredruntest.UncleanReactorError.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.deferredruntest.UncleanReactorError.html#_get_junk_info" class="code">_get_junk_info</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.deferredruntest.UncleanReactorError.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, junk): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.deferredruntest.UncleanReactorError._get_junk_info"> + + </a> + <a name="_get_junk_info"> + + </a> + <div class="functionHeader"> + + def + _get_junk_info(self, junk): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.deferredruntest._DeferredRunTest.html b/apidocs/testtools.deferredruntest._DeferredRunTest.html new file mode 100644 index 0000000..8857837 --- /dev/null +++ b/apidocs/testtools.deferredruntest._DeferredRunTest.html @@ -0,0 +1,170 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.deferredruntest._DeferredRunTest : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class private"><code>testtools.deferredruntest._DeferredRunTest(<a href="testtools.runtest.RunTest.html" class="code">RunTest</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.deferredruntest.html" class="code">deferredruntest</a></code> + + <a href="classIndex.html#testtools.deferredruntest._DeferredRunTest">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html" class="code">testtools.deferredruntest.AsynchronousDeferredRunTest</a>, <a href="testtools.deferredruntest.SynchronousDeferredRunTest.html" class="code">testtools.deferredruntest.SynchronousDeferredRunTest</a></p> + </div> + + <div class="moduleDocstring"> + <div>Base for tests that return Deferreds.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id715"> + + <tr class="method private"> + + <td>Method</td> + <td><a href="testtools.deferredruntest._DeferredRunTest.html#_got_user_failure" class="code">_got_user_failure</a></td> + <td><span>We got a failure from user code.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.runtest.RunTest.html" class="code">RunTest</a>: + </p> + <table class="children sortable" id="id716"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#case" class="code">case</a></td> + <td>The test case that is to be run.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#result" class="code">result</a></td> + <td>The result object a case is reporting to.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#handlers" class="code">handlers</a></td> + <td>A list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#exception_caught" class="code">exception_caught</a></td> + <td>An object returned when _run_user catches an +exception.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#__init__" class="code">__init__</a></td> + <td><span>Create a RunTest to run a case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#run" class="code">run</a></td> + <td><span>Run self.case reporting activity to result.</span></td> + </tr><tr class="baseinstancevariable private"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#_exceptions" class="code">_exceptions</a></td> + <td>A list of caught exceptions, used to do the single +reporting of error/failure/skip etc.</td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_one" class="code">_run_one</a></td> + <td><span>Run one test reporting to result.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_prepared_result" class="code">_run_prepared_result</a></td> + <td><span>Run one test reporting to result.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_core" class="code">_run_core</a></td> + <td><span>Run the user supplied test code.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_cleanups" class="code">_run_cleanups</a></td> + <td><span>Run the cleanups that have been added with addCleanup.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_user" class="code">_run_user</a></td> + <td><span>Run a user supplied function.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_got_user_exception" class="code">_got_user_exception</a></td> + <td><span>Called when user code raises an exception.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.deferredruntest._DeferredRunTest._got_user_failure"> + + </a> + <a name="_got_user_failure"> + + </a> + <div class="functionHeader"> + + def + _got_user_failure(self, failure, tb_label='traceback'): + + </div> + <div class="docstring functionBody"> + + <div>We got a failure from user code.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.deferredruntest.html b/apidocs/testtools.deferredruntest.html new file mode 100644 index 0000000..0df80a0 --- /dev/null +++ b/apidocs/testtools.deferredruntest.html @@ -0,0 +1,166 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.deferredruntest : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.deferredruntest</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Individual test case execution for tests that return Deferreds.</p> +<p>This module is highly experimental and is liable to change in ways that cause +subtle failures in tests. Use at your own peril.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id714"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.deferredruntest.SynchronousDeferredRunTest.html" class="code">SynchronousDeferredRunTest</a></td> + <td><span>Runner for tests that return synchronous Deferreds.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.deferredruntest.html#run_with_log_observers" class="code">run_with_log_observers</a></td> + <td><span>Run 'function' with the given Twisted log observers.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html" class="code">AsynchronousDeferredRunTest</a></td> + <td><span>Runner for tests that return Deferreds that fire asynchronously.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted.html" class="code">AsynchronousDeferredRunTestForBrokenTwisted</a></td> + <td><span>Test runner that works around Twisted brokenness re reactor junk.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.deferredruntest.html#assert_fails_with" class="code">assert_fails_with</a></td> + <td><span>Assert that 'd' will fail with one of 'exc_types'.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.deferredruntest.html#flush_logged_errors" class="code">flush_logged_errors</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.deferredruntest.UncleanReactorError.html" class="code">UncleanReactorError</a></td> + <td><span>Raised when the reactor has junk in it.</span></td> + </tr><tr class="class private"> + + <td>Class</td> + <td><a href="testtools.deferredruntest._DeferredRunTest.html" class="code">_DeferredRunTest</a></td> + <td><span>Base for tests that return Deferreds.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.deferredruntest.run_with_log_observers"> + + </a> + <a name="run_with_log_observers"> + + </a> + <div class="functionHeader"> + + def + run_with_log_observers(observers, function, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div>Run 'function' with the given Twisted log observers.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.deferredruntest.assert_fails_with"> + + </a> + <a name="assert_fails_with"> + + </a> + <div class="functionHeader"> + + def + assert_fails_with(d, *exc_types, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div><p>Assert that 'd' will fail with one of 'exc_types'.</p> +<p>The normal way to use this is to return the result of 'assert_fails_with' +from your unit test.</p> +<p>Note that this function is experimental and unstable. Use at your own +peril; expect the API to change.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">d</td><td>A Deferred that is expected to fail.</td></tr><tr><td></td><td class="fieldArg">exc_types</td><td>The exception types that the Deferred is expected to +fail with.</td></tr><tr><td></td><td class="fieldArg">failureException</td><td>An optional keyword argument. If provided, will +raise that exception instead of +<tt class="rst-docutils literal">testtools.TestCase.failureException</tt>.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">A Deferred that will fail with an <tt class="rst-docutils literal">AssertionError</tt> if 'd' does +not fail with one of the exception types.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.deferredruntest.flush_logged_errors"> + + </a> + <a name="flush_logged_errors"> + + </a> + <div class="functionHeader"> + + def + flush_logged_errors(*error_types): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.distutilscmd.html b/apidocs/testtools.distutilscmd.html new file mode 100644 index 0000000..ef2366c --- /dev/null +++ b/apidocs/testtools.distutilscmd.html @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.distutilscmd : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.distutilscmd</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Extensions to the standard Python unittest library.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.helpers.html b/apidocs/testtools.helpers.html new file mode 100644 index 0000000..c4a7f81 --- /dev/null +++ b/apidocs/testtools.helpers.html @@ -0,0 +1,156 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.helpers : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.helpers</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">No module docstring</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id151"> + + <tr class="function"> + + <td>Function</td> + <td><a href="testtools.helpers.html#map_values" class="code">map_values</a></td> + <td><span>Map <tt class="rst-docutils literal">function</tt> across the values of <tt class="rst-docutils literal">dictionary</tt>.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.helpers.html#filter_values" class="code">filter_values</a></td> + <td><span>Filter <tt class="rst-docutils literal">dictionary</tt> by its values using <tt class="rst-docutils literal">function</tt>.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.helpers.html#dict_subtract" class="code">dict_subtract</a></td> + <td><span>Return the part of <tt class="rst-docutils literal">a</tt> that's not in <tt class="rst-docutils literal">b</tt>.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.helpers.html#list_subtract" class="code">list_subtract</a></td> + <td><span>Return a list <tt class="rst-docutils literal">a</tt> without the elements of <tt class="rst-docutils literal">b</tt>.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.helpers.map_values"> + + </a> + <a name="map_values"> + + </a> + <div class="functionHeader"> + + def + map_values(function, dictionary): + + </div> + <div class="docstring functionBody"> + + <div>Map <tt class="rst-docutils literal">function</tt> across the values of <tt class="rst-docutils literal">dictionary</tt>.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">A dict with the same keys as <tt class="rst-docutils literal">dictionary</tt>, where the value +of each key <tt class="rst-docutils literal">k</tt> is <tt class="rst-docutils literal">function(dictionary[k])</tt>.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.helpers.filter_values"> + + </a> + <a name="filter_values"> + + </a> + <div class="functionHeader"> + + def + filter_values(function, dictionary): + + </div> + <div class="docstring functionBody"> + + <div>Filter <tt class="rst-docutils literal">dictionary</tt> by its values using <tt class="rst-docutils literal">function</tt>.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.helpers.dict_subtract"> + + </a> + <a name="dict_subtract"> + + </a> + <div class="functionHeader"> + + def + dict_subtract(a, b): + + </div> + <div class="docstring functionBody"> + + <div>Return the part of <tt class="rst-docutils literal">a</tt> that's not in <tt class="rst-docutils literal">b</tt>.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.helpers.list_subtract"> + + </a> + <a name="list_subtract"> + + </a> + <div class="functionHeader"> + + def + list_subtract(a, b): + + </div> + <div class="docstring functionBody"> + + <div><p>Return a list <tt class="rst-docutils literal">a</tt> without the elements of <tt class="rst-docutils literal">b</tt>.</p> +<p>If a particular value is in <tt class="rst-docutils literal">a</tt> twice and <tt class="rst-docutils literal">b</tt> once then the returned +list then that value will appear once in the returned list.</p><table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.html b/apidocs/testtools.html new file mode 100644 index 0000000..517deb8 --- /dev/null +++ b/apidocs/testtools.html @@ -0,0 +1,212 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="package"><code>testtools</code> <small>package documentation</small></h1> + + <span id="partOf"> + + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Extensions to the standard Python unittest library.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id1"> + + <tr class="module"> + + <td>Module</td> + <td><a href="testtools.assertions.html" class="code">assertions</a></td> + <td><span class="undocumented">No module docstring; 1/1 functions documented</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.compat.html" class="code">compat</a></td> + <td><span>Compatibility support for python 2 and 3.</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.content.html" class="code">content</a></td> + <td><span>Content - a MIME-like Content object.</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.content_type.html" class="code">content_type</a></td> + <td><span>ContentType - a MIME Content Type.</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.deferredruntest.html" class="code">deferredruntest</a></td> + <td><span>Individual test case execution for tests that return Deferreds.</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.distutilscmd.html" class="code">distutilscmd</a></td> + <td><span>Extensions to the standard Python unittest library.</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.helpers.html" class="code">helpers</a></td> + <td><span class="undocumented">No module docstring; 4/4 functions documented</span></td> + </tr><tr class="package"> + + <td>Package</td> + <td><a href="testtools.matchers.html" class="code">matchers</a></td> + <td><span>All the matchers.</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.monkey.html" class="code">monkey</a></td> + <td><span>Helpers for monkey-patching Python code.</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.run.html" class="code">run</a></td> + <td><span>python -m testtools.run testspec [testspec...]</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.runtest.html" class="code">runtest</a></td> + <td><span>Individual test case execution.</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tags.html" class="code">tags</a></td> + <td><span>Tag support.</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.testcase.html" class="code">testcase</a></td> + <td><span>Test case related stuff.</span></td> + </tr><tr class="package"> + + <td>Package</td> + <td><a href="testtools.testresult.html" class="code">testresult</a></td> + <td><span>Test result objects.</span></td> + </tr><tr class="package"> + + <td>Package</td> + <td><a href="testtools.tests.html" class="code">tests</a></td> + <td><span>Tests for testtools itself.</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.testsuite.html" class="code">testsuite</a></td> + <td><span>Test suites and related things.</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.utils.html" class="code">utils</a></td> + <td><span>Utilities for dealing with stuff in unittest.</span></td> + </tr><tr class="module private"> + + <td>Module</td> + <td><a href="testtools._compat2x.html" class="code">_compat2x</a></td> + <td><span>Compatibility helpers that are valid syntax in Python 2.x.</span></td> + </tr><tr class="module private"> + + <td>Module</td> + <td><a href="testtools._compat3x.html" class="code">_compat3x</a></td> + <td><span>Compatibility helpers that are valid syntax in Python 3.x.</span></td> + </tr><tr class="module private"> + + <td>Module</td> + <td><a href="testtools._spinner.html" class="code">_spinner</a></td> + <td><span>Evil reactor-spinning logic for running Twisted tests.</span></td> + </tr> +</table> + + + <p class="fromInitPy">From the <code>__init__.py</code> module:</p><table class="children sortable" id="id2"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.DecorateTestCaseResult.html" class="code">DecorateTestCaseResult</a></td> + <td><span>Decorate a TestCase and permit customisation of the result for runs.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.html#ErrorHolder" class="code">ErrorHolder</a></td> + <td><span>Construct an <a href="testtools.html#ErrorHolder"><code>ErrorHolder</code></a>.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.FixtureSuite.html" class="code">FixtureSuite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.PlaceHolder.html" class="code">PlaceHolder</a></td> + <td><span>A placeholder test.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.TestCommand.html" class="code">TestCommand</a></td> + <td><span>Command to run unit tests with testtools</span></td> + </tr> +</table> + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.ErrorHolder"> + + </a> + <a name="ErrorHolder"> + + </a> + <div class="functionHeader"> + + def + ErrorHolder(test_id, error, short_description=None, details=None): + + </div> + <div class="docstring functionBody"> + + <div>Construct an <a href="testtools.html#ErrorHolder"><code>ErrorHolder</code></a>.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test_id</td><td>The id of the test.</td></tr><tr><td></td><td class="fieldArg">error</td><td>The exc info tuple that will be used as the test's error. +This is inserted into the details as 'traceback' - any existing key +will be overridden.</td></tr><tr><td></td><td class="fieldArg">short_description</td><td>An optional short description of the test.</td></tr><tr><td></td><td class="fieldArg">details</td><td>Outcome details as accepted by addSuccess etc.</td></tr></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers.ContainedByDict.html b/apidocs/testtools.matchers.ContainedByDict.html new file mode 100644 index 0000000..78b24e3 --- /dev/null +++ b/apidocs/testtools.matchers.ContainedByDict.html @@ -0,0 +1,98 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers.ContainedByDict : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers.ContainedByDict(<a href="testtools.matchers._dict._CombinedMatcher.html" class="code">_CombinedMatcher</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a></code> + + <a href="classIndex.html#testtools.matchers.ContainedByDict">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Match a dictionary for which this is a super-dictionary.</p> +<p>Specify a dictionary mapping keys (often strings) to matchers. This is +the 'expected' dict. Any dictionary that matches this must have <strong>only</strong> +these keys, and the values must match the corresponding matchers in the +expected dict. Dictionaries that have fewer keys can also match.</p> +<p>In other words, any matching dictionary must be contained by the +dictionary given to the constructor.</p> +<p>Does not check for strict super-dictionary. That is, equal dictionaries +match.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._dict._CombinedMatcher.html" class="code">_CombinedMatcher</a>: + </p> + <table class="children sortable" id="id31"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._dict._CombinedMatcher.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._dict._CombinedMatcher.html#format_expected" class="code">format_expected</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._dict._CombinedMatcher.html#__str__" class="code">__str__</a></td> + <td><span>Get a sensible human representation of the matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._dict._CombinedMatcher.html#match" class="code">match</a></td> + <td><span>Return None if this matcher matches something, a Mismatch otherwise.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers.ContainsDict.html b/apidocs/testtools.matchers.ContainsDict.html new file mode 100644 index 0000000..47506e2 --- /dev/null +++ b/apidocs/testtools.matchers.ContainsDict.html @@ -0,0 +1,98 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers.ContainsDict : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers.ContainsDict(<a href="testtools.matchers._dict._CombinedMatcher.html" class="code">_CombinedMatcher</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a></code> + + <a href="classIndex.html#testtools.matchers.ContainsDict">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Match a dictionary for that contains a specified sub-dictionary.</p> +<p>Specify a dictionary mapping keys (often strings) to matchers. This is +the 'expected' dict. Any dictionary that matches this must have <strong>at +least</strong> these keys, and the values must match the corresponding matchers +in the expected dict. Dictionaries that have more keys will also match.</p> +<p>In other words, any matching dictionary must contain the dictionary given +to the constructor.</p> +<p>Does not check for strict sub-dictionary. That is, equal dictionaries +match.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._dict._CombinedMatcher.html" class="code">_CombinedMatcher</a>: + </p> + <table class="children sortable" id="id32"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._dict._CombinedMatcher.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._dict._CombinedMatcher.html#format_expected" class="code">format_expected</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._dict._CombinedMatcher.html#__str__" class="code">__str__</a></td> + <td><span>Get a sensible human representation of the matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._dict._CombinedMatcher.html#match" class="code">match</a></td> + <td><span>Return None if this matcher matches something, a Mismatch otherwise.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers.DirContains.html b/apidocs/testtools.matchers.DirContains.html new file mode 100644 index 0000000..a456c24 --- /dev/null +++ b/apidocs/testtools.matchers.DirContains.html @@ -0,0 +1,130 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers.DirContains : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers.DirContains(<a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a></code> + + <a href="classIndex.html#testtools.matchers.DirContains">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Matches if the given directory contains files with the given names.</p> +<p>That is, is the directory listing exactly equal to the given files?</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id34"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers.DirContains.html#__init__" class="code">__init__</a></td> + <td><span>Construct a <tt class="rst-docutils literal">DirContains</tt> matcher.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers.DirContains.html#match" class="code">match</a></td> + <td><span>Return None if this matcher matches something, a Mismatch otherwise.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>: + </p> + <table class="children sortable" id="id35"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Matcher.html#__str__" class="code">__str__</a></td> + <td><span>Get a sensible human representation of the matcher.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers.DirContains.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, filenames=None, matcher=None): + + </div> + <div class="docstring functionBody"> + + <div><p>Construct a <tt class="rst-docutils literal">DirContains</tt> matcher.</p> +<p>Can be used in a basic mode where the whole directory listing is +matched against an expected directory listing (by passing +<tt class="rst-docutils literal">filenames</tt>). Can also be used in a more advanced way where the +whole directory listing is matched against an arbitrary matcher (by +passing <tt class="rst-docutils literal">matcher</tt> instead).</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">filenames</td><td>If specified, match the sorted directory listing +against this list of filenames, sorted.</td></tr><tr><td></td><td class="fieldArg">matcher</td><td>If specified, match the sorted directory listing +against this matcher.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers.DirContains.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, path): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#match" class="code">testtools.matchers._impl.Matcher.match</a></div> + <div>Return None if this matcher matches something, a Mismatch otherwise.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers.MatchesDict.html b/apidocs/testtools.matchers.MatchesDict.html new file mode 100644 index 0000000..fa9db2b --- /dev/null +++ b/apidocs/testtools.matchers.MatchesDict.html @@ -0,0 +1,94 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers.MatchesDict : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers.MatchesDict(<a href="testtools.matchers._dict._CombinedMatcher.html" class="code">_CombinedMatcher</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a></code> + + <a href="classIndex.html#testtools.matchers.MatchesDict">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Match a dictionary exactly, by its keys.</p> +<p>Specify a dictionary mapping keys (often strings) to matchers. This is +the 'expected' dict. Any dictionary that matches this must have exactly +the same keys, and the values must match the corresponding matchers in the +expected dict.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._dict._CombinedMatcher.html" class="code">_CombinedMatcher</a>: + </p> + <table class="children sortable" id="id33"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._dict._CombinedMatcher.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._dict._CombinedMatcher.html#format_expected" class="code">format_expected</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._dict._CombinedMatcher.html#__str__" class="code">__str__</a></td> + <td><span>Get a sensible human representation of the matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._dict._CombinedMatcher.html#match" class="code">match</a></td> + <td><span>Return None if this matcher matches something, a Mismatch otherwise.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers.MatchesPredicate.html b/apidocs/testtools.matchers.MatchesPredicate.html new file mode 100644 index 0000000..5b54724 --- /dev/null +++ b/apidocs/testtools.matchers.MatchesPredicate.html @@ -0,0 +1,144 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers.MatchesPredicate : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers.MatchesPredicate(<a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a></code> + + <a href="classIndex.html#testtools.matchers.MatchesPredicate">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Match if a given function returns True.</p> +<p>It is reasonably common to want to make a very simple matcher based on a +function that you already have that returns True or False given a single +argument (i.e. a predicate function). This matcher makes it very easy to +do so. e.g.:</p> +<pre class="rst-literal-block"> +IsEven = MatchesPredicate(lambda x: x % 2 == 0, '%s is not even') +self.assertThat(4, IsEven) +</pre><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id36"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers.MatchesPredicate.html#__init__" class="code">__init__</a></td> + <td><span>Create a <tt class="rst-docutils literal">MatchesPredicate</tt> matcher.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers.MatchesPredicate.html#__str__" class="code">__str__</a></td> + <td><span>Get a sensible human representation of the matcher.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers.MatchesPredicate.html#match" class="code">match</a></td> + <td><span>Return None if this matcher matches something, a Mismatch otherwise.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers.MatchesPredicate.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, predicate, message): + + </div> + <div class="docstring functionBody"> + + <div>Create a <tt class="rst-docutils literal">MatchesPredicate</tt> matcher.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">predicate</td><td>A function that takes a single argument and returns +a value that will be interpreted as a boolean.</td></tr><tr><td></td><td class="fieldArg">message</td><td>A message to describe a mismatch. It will be formatted +with '%' and be given whatever was passed to <tt class="rst-docutils literal">match()</tt>. Thus, it +needs to contain exactly one thing like '%s', '%d' or '%f'.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers.MatchesPredicate.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#__str__" class="code">testtools.matchers._impl.Matcher.__str__</a></div> + <div><p>Get a sensible human representation of the matcher.</p> +<p>This should include the parameters given to the matcher and any +state that would affect the matches operation.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers.MatchesPredicate.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, x): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#match" class="code">testtools.matchers._impl.Matcher.match</a></div> + <div>Return None if this matcher matches something, a Mismatch otherwise.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers.__init__.html b/apidocs/testtools.matchers.__init__.html new file mode 100644 index 0000000..4e753c1 --- /dev/null +++ b/apidocs/testtools.matchers.__init__.html @@ -0,0 +1,133 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers.__init__ : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.matchers.__init__</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>All the matchers.</p> +<p>Matchers, a way to express complex assertions outside the testcase.</p> +<p>Inspired by 'hamcrest'.</p> +<p>Matcher provides the abstract API that all matchers need to implement.</p> +<p>Bundled matchers are listed in __all__: a list can be obtained by running +$ python -c 'import testtools.matchers; print testtools.matchers.__all__'</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id30"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers.ContainedByDict.html" class="code">ContainedByDict</a></td> + <td><span>Match a dictionary for which this is a super-dictionary.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers.ContainsDict.html" class="code">ContainsDict</a></td> + <td><span>Match a dictionary for that contains a specified sub-dictionary.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers.MatchesDict.html" class="code">MatchesDict</a></td> + <td><span>Match a dictionary exactly, by its keys.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers.DirContains.html" class="code">DirContains</a></td> + <td><span>Matches if the given directory contains files with the given names.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers.MatchesPredicate.html" class="code">MatchesPredicate</a></td> + <td><span>Match if a given function returns True.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.matchers.html#MatchesPredicateWithParams" class="code">MatchesPredicateWithParams</a></td> + <td><span>Match if a given parameterised function returns True.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers.MatchesPredicateWithParams"> + + </a> + <a name="MatchesPredicateWithParams"> + + </a> + <div class="functionHeader"> + + def + MatchesPredicateWithParams(predicate, message, name=None): + + </div> + <div class="docstring functionBody"> + + <div><p>Match if a given parameterised function returns True.</p> +<p>It is reasonably common to want to make a very simple matcher based on a +function that you already have that returns True or False given some +arguments. This matcher makes it very easy to do so. e.g.:</p> +<pre class="rst-literal-block"> +HasLength = MatchesPredicate( + lambda x, y: len(x) == y, 'len({0}) is not {1}') +# This assertion will fail, as 'len([1, 2]) == 3' is False. +self.assertThat([1, 2], HasLength(3)) +</pre> +<p>Note that unlike MatchesPredicate MatchesPredicateWithParams returns a +factory which you then customise to use by constructing an actual matcher +from it.</p> +<p>The predicate function should take the object to match as its first +parameter. Any additional parameters supplied when constructing a matcher +are supplied to the predicate as additional parameters when checking for a +match.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">predicate</td><td>The predicate function.</td></tr><tr><td></td><td class="fieldArg">message</td><td>A format string for describing mis-matches.</td></tr><tr><td></td><td class="fieldArg">name</td><td>Optional replacement name for the matcher.</td></tr></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.Contains.html b/apidocs/testtools.matchers._basic.Contains.html new file mode 100644 index 0000000..5708ad0 --- /dev/null +++ b/apidocs/testtools.matchers._basic.Contains.html @@ -0,0 +1,133 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._basic.Contains : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._basic.Contains(<a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._basic.html" class="code">_basic</a></code> + + <a href="classIndex.html#testtools.matchers._basic.Contains">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Checks whether something is contained in another thing.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id75"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.Contains.html#__init__" class="code">__init__</a></td> + <td><span>Create a Contains Matcher.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.Contains.html#__str__" class="code">__str__</a></td> + <td><span>Get a sensible human representation of the matcher.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.Contains.html#match" class="code">match</a></td> + <td><span>Return None if this matcher matches something, a Mismatch otherwise.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._basic.Contains.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, needle): + + </div> + <div class="docstring functionBody"> + + <div>Create a Contains Matcher.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">needle</td><td>the thing that needs to be contained by matchees.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._basic.Contains.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#__str__" class="code">testtools.matchers._impl.Matcher.__str__</a></div> + <div><p>Get a sensible human representation of the matcher.</p> +<p>This should include the parameters given to the matcher and any +state that would affect the matches operation.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._basic.Contains.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, matchee): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#match" class="code">testtools.matchers._impl.Matcher.match</a></div> + <div>Return None if this matcher matches something, a Mismatch otherwise.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.DoesNotContain.html b/apidocs/testtools.matchers._basic.DoesNotContain.html new file mode 100644 index 0000000..43a6943 --- /dev/null +++ b/apidocs/testtools.matchers._basic.DoesNotContain.html @@ -0,0 +1,130 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._basic.DoesNotContain : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._basic.DoesNotContain(<a href="testtools.matchers._impl.Mismatch.html" class="code">Mismatch</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._basic.html" class="code">_basic</a></code> + + <a href="classIndex.html#testtools.matchers._basic.DoesNotContain">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">No class docstring</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id73"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.DoesNotContain.html#__init__" class="code">__init__</a></td> + <td><span>Create a DoesNotContain Mismatch.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.DoesNotContain.html#describe" class="code">describe</a></td> + <td><span>Describe the mismatch.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._impl.Mismatch.html" class="code">Mismatch</a>: + </p> + <table class="children sortable" id="id74"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Mismatch.html#get_details" class="code">get_details</a></td> + <td><span>Get extra details about the mismatch.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Mismatch.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._basic.DoesNotContain.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, matchee, needle): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Mismatch.html#__init__" class="code">testtools.matchers._impl.Mismatch.__init__</a></div> + <div>Create a DoesNotContain Mismatch.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">matchee</td><td>the object that did not contain needle.</td></tr><tr><td></td><td class="fieldArg">needle</td><td>the needle that 'matchee' was expected to contain.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._basic.DoesNotContain.describe"> + + </a> + <a name="describe"> + + </a> + <div class="functionHeader"> + + def + describe(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Mismatch.html#describe" class="code">testtools.matchers._impl.Mismatch.describe</a></div> + <div><p>Describe the mismatch.</p> +<p>This should be either a human-readable string or castable to a string. +In particular, is should either be plain ascii or unicode on Python 2, +and care should be taken to escape control characters.</p><table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.DoesNotEndWith.html b/apidocs/testtools.matchers._basic.DoesNotEndWith.html new file mode 100644 index 0000000..81a8431 --- /dev/null +++ b/apidocs/testtools.matchers._basic.DoesNotEndWith.html @@ -0,0 +1,130 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._basic.DoesNotEndWith : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._basic.DoesNotEndWith(<a href="testtools.matchers._impl.Mismatch.html" class="code">Mismatch</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._basic.html" class="code">_basic</a></code> + + <a href="classIndex.html#testtools.matchers._basic.DoesNotEndWith">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">No class docstring</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id67"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.DoesNotEndWith.html#__init__" class="code">__init__</a></td> + <td><span>Create a DoesNotEndWith Mismatch.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.DoesNotEndWith.html#describe" class="code">describe</a></td> + <td><span>Describe the mismatch.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._impl.Mismatch.html" class="code">Mismatch</a>: + </p> + <table class="children sortable" id="id68"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Mismatch.html#get_details" class="code">get_details</a></td> + <td><span>Get extra details about the mismatch.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Mismatch.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._basic.DoesNotEndWith.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, matchee, expected): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Mismatch.html#__init__" class="code">testtools.matchers._impl.Mismatch.__init__</a></div> + <div>Create a DoesNotEndWith Mismatch.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">matchee</td><td>the string that did not match.</td></tr><tr><td></td><td class="fieldArg">expected</td><td>the string that 'matchee' was expected to end with.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._basic.DoesNotEndWith.describe"> + + </a> + <a name="describe"> + + </a> + <div class="functionHeader"> + + def + describe(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Mismatch.html#describe" class="code">testtools.matchers._impl.Mismatch.describe</a></div> + <div><p>Describe the mismatch.</p> +<p>This should be either a human-readable string or castable to a string. +In particular, is should either be plain ascii or unicode on Python 2, +and care should be taken to escape control characters.</p><table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.DoesNotStartWith.html b/apidocs/testtools.matchers._basic.DoesNotStartWith.html new file mode 100644 index 0000000..5e14c14 --- /dev/null +++ b/apidocs/testtools.matchers._basic.DoesNotStartWith.html @@ -0,0 +1,130 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._basic.DoesNotStartWith : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._basic.DoesNotStartWith(<a href="testtools.matchers._impl.Mismatch.html" class="code">Mismatch</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._basic.html" class="code">_basic</a></code> + + <a href="classIndex.html#testtools.matchers._basic.DoesNotStartWith">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">No class docstring</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id64"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.DoesNotStartWith.html#__init__" class="code">__init__</a></td> + <td><span>Create a DoesNotStartWith Mismatch.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.DoesNotStartWith.html#describe" class="code">describe</a></td> + <td><span>Describe the mismatch.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._impl.Mismatch.html" class="code">Mismatch</a>: + </p> + <table class="children sortable" id="id65"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Mismatch.html#get_details" class="code">get_details</a></td> + <td><span>Get extra details about the mismatch.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Mismatch.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._basic.DoesNotStartWith.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, matchee, expected): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Mismatch.html#__init__" class="code">testtools.matchers._impl.Mismatch.__init__</a></div> + <div>Create a DoesNotStartWith Mismatch.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">matchee</td><td>the string that did not match.</td></tr><tr><td></td><td class="fieldArg">expected</td><td>the string that 'matchee' was expected to start with.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._basic.DoesNotStartWith.describe"> + + </a> + <a name="describe"> + + </a> + <div class="functionHeader"> + + def + describe(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Mismatch.html#describe" class="code">testtools.matchers._impl.Mismatch.describe</a></div> + <div><p>Describe the mismatch.</p> +<p>This should be either a human-readable string or castable to a string. +In particular, is should either be plain ascii or unicode on Python 2, +and care should be taken to escape control characters.</p><table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.EndsWith.html b/apidocs/testtools.matchers._basic.EndsWith.html new file mode 100644 index 0000000..35b1749 --- /dev/null +++ b/apidocs/testtools.matchers._basic.EndsWith.html @@ -0,0 +1,133 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._basic.EndsWith : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._basic.EndsWith(<a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._basic.html" class="code">_basic</a></code> + + <a href="classIndex.html#testtools.matchers._basic.EndsWith">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Checks whether one string ends with another.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id69"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.EndsWith.html#__init__" class="code">__init__</a></td> + <td><span>Create a EndsWith Matcher.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.EndsWith.html#__str__" class="code">__str__</a></td> + <td><span>Get a sensible human representation of the matcher.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.EndsWith.html#match" class="code">match</a></td> + <td><span>Return None if this matcher matches something, a Mismatch otherwise.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._basic.EndsWith.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, expected): + + </div> + <div class="docstring functionBody"> + + <div>Create a EndsWith Matcher.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">expected</td><td>the string that matchees should end with.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._basic.EndsWith.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#__str__" class="code">testtools.matchers._impl.Matcher.__str__</a></div> + <div><p>Get a sensible human representation of the matcher.</p> +<p>This should include the parameters given to the matcher and any +state that would affect the matches operation.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._basic.EndsWith.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, matchee): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#match" class="code">testtools.matchers._impl.Matcher.match</a></div> + <div>Return None if this matcher matches something, a Mismatch otherwise.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.Equals.html b/apidocs/testtools.matchers._basic.Equals.html new file mode 100644 index 0000000..6eac03a --- /dev/null +++ b/apidocs/testtools.matchers._basic.Equals.html @@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._basic.Equals : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._basic.Equals(<a href="testtools.matchers._basic._BinaryComparison.html" class="code">_BinaryComparison</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._basic.html" class="code">_basic</a></code> + + <a href="classIndex.html#testtools.matchers._basic.Equals">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Matches if the items are equal.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._basic._BinaryComparison.html" class="code">_BinaryComparison</a>: + </p> + <table class="children sortable" id="id58"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#__str__" class="code">__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#match" class="code">match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#comparator" class="code">comparator</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.GreaterThan.html b/apidocs/testtools.matchers._basic.GreaterThan.html new file mode 100644 index 0000000..2df63c9 --- /dev/null +++ b/apidocs/testtools.matchers._basic.GreaterThan.html @@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._basic.GreaterThan : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._basic.GreaterThan(<a href="testtools.matchers._basic._BinaryComparison.html" class="code">_BinaryComparison</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._basic.html" class="code">_basic</a></code> + + <a href="classIndex.html#testtools.matchers._basic.GreaterThan">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Matches if the item is greater than the matchers reference object.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._basic._BinaryComparison.html" class="code">_BinaryComparison</a>: + </p> + <table class="children sortable" id="id62"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#__str__" class="code">__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#match" class="code">match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#comparator" class="code">comparator</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.Is.html b/apidocs/testtools.matchers._basic.Is.html new file mode 100644 index 0000000..5ff9d65 --- /dev/null +++ b/apidocs/testtools.matchers._basic.Is.html @@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._basic.Is : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._basic.Is(<a href="testtools.matchers._basic._BinaryComparison.html" class="code">_BinaryComparison</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._basic.html" class="code">_basic</a></code> + + <a href="classIndex.html#testtools.matchers._basic.Is">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Matches if the items are identical.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._basic._BinaryComparison.html" class="code">_BinaryComparison</a>: + </p> + <table class="children sortable" id="id60"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#__str__" class="code">__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#match" class="code">match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#comparator" class="code">comparator</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.IsInstance.html b/apidocs/testtools.matchers._basic.IsInstance.html new file mode 100644 index 0000000..5d8d7b8 --- /dev/null +++ b/apidocs/testtools.matchers._basic.IsInstance.html @@ -0,0 +1,131 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._basic.IsInstance : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._basic.IsInstance(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._basic.html" class="code">_basic</a></code> + + <a href="classIndex.html#testtools.matchers._basic.IsInstance">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Matcher that wraps isinstance.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id70"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.IsInstance.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.IsInstance.html#__str__" class="code">__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.IsInstance.html#match" class="code">match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._basic.IsInstance.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, *types): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._basic.IsInstance.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._basic.IsInstance.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, other): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.LessThan.html b/apidocs/testtools.matchers._basic.LessThan.html new file mode 100644 index 0000000..b0debb7 --- /dev/null +++ b/apidocs/testtools.matchers._basic.LessThan.html @@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._basic.LessThan : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._basic.LessThan(<a href="testtools.matchers._basic._BinaryComparison.html" class="code">_BinaryComparison</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._basic.html" class="code">_basic</a></code> + + <a href="classIndex.html#testtools.matchers._basic.LessThan">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Matches if the item is less than the matchers reference object.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._basic._BinaryComparison.html" class="code">_BinaryComparison</a>: + </p> + <table class="children sortable" id="id61"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#__str__" class="code">__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#match" class="code">match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#comparator" class="code">comparator</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.MatchesRegex.html b/apidocs/testtools.matchers._basic.MatchesRegex.html new file mode 100644 index 0000000..4517ef2 --- /dev/null +++ b/apidocs/testtools.matchers._basic.MatchesRegex.html @@ -0,0 +1,131 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._basic.MatchesRegex : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._basic.MatchesRegex(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._basic.html" class="code">_basic</a></code> + + <a href="classIndex.html#testtools.matchers._basic.MatchesRegex">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Matches if the matchee is matched by a regular expression.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id76"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.MatchesRegex.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.MatchesRegex.html#__str__" class="code">__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.MatchesRegex.html#match" class="code">match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._basic.MatchesRegex.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, pattern, flags=0): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._basic.MatchesRegex.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._basic.MatchesRegex.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, value): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.NotAnInstance.html b/apidocs/testtools.matchers._basic.NotAnInstance.html new file mode 100644 index 0000000..b809996 --- /dev/null +++ b/apidocs/testtools.matchers._basic.NotAnInstance.html @@ -0,0 +1,130 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._basic.NotAnInstance : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._basic.NotAnInstance(<a href="testtools.matchers._impl.Mismatch.html" class="code">Mismatch</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._basic.html" class="code">_basic</a></code> + + <a href="classIndex.html#testtools.matchers._basic.NotAnInstance">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">No class docstring</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id71"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.NotAnInstance.html#__init__" class="code">__init__</a></td> + <td><span>Create a NotAnInstance Mismatch.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.NotAnInstance.html#describe" class="code">describe</a></td> + <td><span>Describe the mismatch.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._impl.Mismatch.html" class="code">Mismatch</a>: + </p> + <table class="children sortable" id="id72"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Mismatch.html#get_details" class="code">get_details</a></td> + <td><span>Get extra details about the mismatch.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Mismatch.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._basic.NotAnInstance.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, matchee, types): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Mismatch.html#__init__" class="code">testtools.matchers._impl.Mismatch.__init__</a></div> + <div>Create a NotAnInstance Mismatch.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">matchee</td><td>the thing which is not an instance of any of types.</td></tr><tr><td></td><td class="fieldArg">types</td><td>A tuple of the types which were expected.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._basic.NotAnInstance.describe"> + + </a> + <a name="describe"> + + </a> + <div class="functionHeader"> + + def + describe(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Mismatch.html#describe" class="code">testtools.matchers._impl.Mismatch.describe</a></div> + <div><p>Describe the mismatch.</p> +<p>This should be either a human-readable string or castable to a string. +In particular, is should either be plain ascii or unicode on Python 2, +and care should be taken to escape control characters.</p><table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.NotEquals.html b/apidocs/testtools.matchers._basic.NotEquals.html new file mode 100644 index 0000000..ecd4b35 --- /dev/null +++ b/apidocs/testtools.matchers._basic.NotEquals.html @@ -0,0 +1,92 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._basic.NotEquals : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._basic.NotEquals(<a href="testtools.matchers._basic._BinaryComparison.html" class="code">_BinaryComparison</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._basic.html" class="code">_basic</a></code> + + <a href="classIndex.html#testtools.matchers._basic.NotEquals">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Matches if the items are not equal.</p> +<p>In most cases, this is equivalent to <tt class="rst-docutils literal">Not(Equals(foo))</tt>. The difference +only matters when testing <tt class="rst-docutils literal">__ne__</tt> implementations.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._basic._BinaryComparison.html" class="code">_BinaryComparison</a>: + </p> + <table class="children sortable" id="id59"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#__str__" class="code">__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#match" class="code">match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#comparator" class="code">comparator</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.SameMembers.html b/apidocs/testtools.matchers._basic.SameMembers.html new file mode 100644 index 0000000..b2ae93f --- /dev/null +++ b/apidocs/testtools.matchers._basic.SameMembers.html @@ -0,0 +1,135 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._basic.SameMembers : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._basic.SameMembers(<a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._basic.html" class="code">_basic</a></code> + + <a href="classIndex.html#testtools.matchers._basic.SameMembers">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Matches if two iterators have the same members.</p> +<p>This is not the same as set equivalence. The two iterators must be of the +same length and have the same repetitions.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id63"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.SameMembers.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.SameMembers.html#__str__" class="code">__str__</a></td> + <td><span>Get a sensible human representation of the matcher.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.SameMembers.html#match" class="code">match</a></td> + <td><span>Return None if this matcher matches something, a Mismatch otherwise.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._basic.SameMembers.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, expected): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._basic.SameMembers.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#__str__" class="code">testtools.matchers._impl.Matcher.__str__</a></div> + <div><p>Get a sensible human representation of the matcher.</p> +<p>This should include the parameters given to the matcher and any +state that would affect the matches operation.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._basic.SameMembers.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, observed): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#match" class="code">testtools.matchers._impl.Matcher.match</a></div> + <div>Return None if this matcher matches something, a Mismatch otherwise.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.StartsWith.html b/apidocs/testtools.matchers._basic.StartsWith.html new file mode 100644 index 0000000..68cdf4a --- /dev/null +++ b/apidocs/testtools.matchers._basic.StartsWith.html @@ -0,0 +1,133 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._basic.StartsWith : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._basic.StartsWith(<a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._basic.html" class="code">_basic</a></code> + + <a href="classIndex.html#testtools.matchers._basic.StartsWith">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Checks whether one string starts with another.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id66"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.StartsWith.html#__init__" class="code">__init__</a></td> + <td><span>Create a StartsWith Matcher.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.StartsWith.html#__str__" class="code">__str__</a></td> + <td><span>Get a sensible human representation of the matcher.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic.StartsWith.html#match" class="code">match</a></td> + <td><span>Return None if this matcher matches something, a Mismatch otherwise.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._basic.StartsWith.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, expected): + + </div> + <div class="docstring functionBody"> + + <div>Create a StartsWith Matcher.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">expected</td><td>the string that matchees should start with.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._basic.StartsWith.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#__str__" class="code">testtools.matchers._impl.Matcher.__str__</a></div> + <div><p>Get a sensible human representation of the matcher.</p> +<p>This should include the parameters given to the matcher and any +state that would affect the matches operation.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._basic.StartsWith.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, matchee): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#match" class="code">testtools.matchers._impl.Matcher.match</a></div> + <div>Return None if this matcher matches something, a Mismatch otherwise.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._basic._BinaryComparison.html b/apidocs/testtools.matchers._basic._BinaryComparison.html new file mode 100644 index 0000000..ebe1db0 --- /dev/null +++ b/apidocs/testtools.matchers._basic._BinaryComparison.html @@ -0,0 +1,153 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._basic._BinaryComparison : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class private"><code>testtools.matchers._basic._BinaryComparison(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._basic.html" class="code">_basic</a></code> + + <a href="classIndex.html#testtools.matchers._basic._BinaryComparison">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.matchers._basic.Equals.html" class="code">testtools.matchers._basic.Equals</a>, <a href="testtools.matchers._basic.GreaterThan.html" class="code">testtools.matchers._basic.GreaterThan</a>, <a href="testtools.matchers._basic.Is.html" class="code">testtools.matchers._basic.Is</a>, <a href="testtools.matchers._basic.LessThan.html" class="code">testtools.matchers._basic.LessThan</a>, <a href="testtools.matchers._basic.NotEquals.html" class="code">testtools.matchers._basic.NotEquals</a></p> + </div> + + <div class="moduleDocstring"> + <div>Matcher that compares an object to another object.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id55"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#__str__" class="code">__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#match" class="code">match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html#comparator" class="code">comparator</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._basic._BinaryComparison.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, expected): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._basic._BinaryComparison.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._basic._BinaryComparison.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, other): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._basic._BinaryComparison.comparator"> + + </a> + <a name="comparator"> + + </a> + <div class="functionHeader"> + + def + comparator(self, expected, other): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._basic._BinaryMismatch.html b/apidocs/testtools.matchers._basic._BinaryMismatch.html new file mode 100644 index 0000000..548c003 --- /dev/null +++ b/apidocs/testtools.matchers._basic._BinaryMismatch.html @@ -0,0 +1,132 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._basic._BinaryMismatch : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class private"><code>testtools.matchers._basic._BinaryMismatch(<a href="testtools.matchers._impl.Mismatch.html" class="code">Mismatch</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._basic.html" class="code">_basic</a></code> + + <a href="classIndex.html#testtools.matchers._basic._BinaryMismatch">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Two things did not match.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id56"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryMismatch.html#__init__" class="code">__init__</a></td> + <td><span>Construct a <a href="testtools.matchers._impl.Mismatch.html"><code>Mismatch</code></a>.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._basic._BinaryMismatch.html#describe" class="code">describe</a></td> + <td><span>Describe the mismatch.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._impl.Mismatch.html" class="code">Mismatch</a>: + </p> + <table class="children sortable" id="id57"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Mismatch.html#get_details" class="code">get_details</a></td> + <td><span>Get extra details about the mismatch.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Mismatch.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._basic._BinaryMismatch.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, expected, mismatch_string, other): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Mismatch.html#__init__" class="code">testtools.matchers._impl.Mismatch.__init__</a></div> + <div>Construct a <a href="testtools.matchers._impl.Mismatch.html"><code>Mismatch</code></a>.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">description</td><td>A description to use. If not provided, +<a href="testtools.matchers._impl.Mismatch.html#describe"><code>Mismatch.describe</code></a> must be implemented.</td></tr><tr><td></td><td class="fieldArg">details</td><td>Extra details about the mismatch. Defaults +to the empty dict.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._basic._BinaryMismatch.describe"> + + </a> + <a name="describe"> + + </a> + <div class="functionHeader"> + + def + describe(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Mismatch.html#describe" class="code">testtools.matchers._impl.Mismatch.describe</a></div> + <div><p>Describe the mismatch.</p> +<p>This should be either a human-readable string or castable to a string. +In particular, is should either be plain ascii or unicode on Python 2, +and care should be taken to escape control characters.</p><table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.html b/apidocs/testtools.matchers._basic.html new file mode 100644 index 0000000..368351a --- /dev/null +++ b/apidocs/testtools.matchers._basic.html @@ -0,0 +1,195 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._basic : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module private"><code>testtools.matchers._basic</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">No module docstring</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id54"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._basic.Equals.html" class="code">Equals</a></td> + <td><span>Matches if the items are equal.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._basic.NotEquals.html" class="code">NotEquals</a></td> + <td><span>Matches if the items are not equal.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._basic.Is.html" class="code">Is</a></td> + <td><span>Matches if the items are identical.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._basic.LessThan.html" class="code">LessThan</a></td> + <td><span>Matches if the item is less than the matchers reference object.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._basic.GreaterThan.html" class="code">GreaterThan</a></td> + <td><span>Matches if the item is greater than the matchers reference object.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._basic.SameMembers.html" class="code">SameMembers</a></td> + <td><span>Matches if two iterators have the same members.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._basic.DoesNotStartWith.html" class="code">DoesNotStartWith</a></td> + <td><span class="undocumented">No class docstring; 1/2 methods documented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._basic.StartsWith.html" class="code">StartsWith</a></td> + <td><span>Checks whether one string starts with another.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._basic.DoesNotEndWith.html" class="code">DoesNotEndWith</a></td> + <td><span class="undocumented">No class docstring; 1/2 methods documented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._basic.EndsWith.html" class="code">EndsWith</a></td> + <td><span>Checks whether one string ends with another.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._basic.IsInstance.html" class="code">IsInstance</a></td> + <td><span>Matcher that wraps isinstance.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._basic.NotAnInstance.html" class="code">NotAnInstance</a></td> + <td><span class="undocumented">No class docstring; 1/2 methods documented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._basic.DoesNotContain.html" class="code">DoesNotContain</a></td> + <td><span class="undocumented">No class docstring; 1/2 methods documented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._basic.Contains.html" class="code">Contains</a></td> + <td><span>Checks whether something is contained in another thing.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._basic.MatchesRegex.html" class="code">MatchesRegex</a></td> + <td><span>Matches if the matchee is matched by a regular expression.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.matchers._basic.html#has_len" class="code">has_len</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function private"> + + <td>Function</td> + <td><a href="testtools.matchers._basic.html#_format" class="code">_format</a></td> + <td><span>Blocks of text with newlines are formatted as triple-quote strings. Everything else is pretty-printed.</span></td> + </tr><tr class="class private"> + + <td>Class</td> + <td><a href="testtools.matchers._basic._BinaryComparison.html" class="code">_BinaryComparison</a></td> + <td><span>Matcher that compares an object to another object.</span></td> + </tr><tr class="class private"> + + <td>Class</td> + <td><a href="testtools.matchers._basic._BinaryMismatch.html" class="code">_BinaryMismatch</a></td> + <td><span>Two things did not match.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._basic._format"> + + </a> + <a name="_format"> + + </a> + <div class="functionHeader"> + + def + _format(thing): + + </div> + <div class="docstring functionBody"> + + <div>Blocks of text with newlines are formatted as triple-quote +strings. Everything else is pretty-printed.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._basic.has_len"> + + </a> + <a name="has_len"> + + </a> + <div class="functionHeader"> + + def + has_len(x, y): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._datastructures.MatchesListwise.html b/apidocs/testtools.matchers._datastructures.MatchesListwise.html new file mode 100644 index 0000000..c00ca99 --- /dev/null +++ b/apidocs/testtools.matchers._datastructures.MatchesListwise.html @@ -0,0 +1,123 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._datastructures.MatchesListwise : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._datastructures.MatchesListwise(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._datastructures.html" class="code">_datastructures</a></code> + + <a href="classIndex.html#testtools.matchers._datastructures.MatchesListwise">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Matches if each matcher matches the corresponding value.</p> +<p>More easily explained by example than in words:</p> +<pre class="py-doctest"> +<span class="py-prompt">>>> </span><span class="py-keyword">from</span> ._basic <span class="py-keyword">import</span> Equals +<span class="py-prompt">>>> </span>MatchesListwise([Equals(1)]).match([1]) +<span class="py-prompt">>>> </span>MatchesListwise([Equals(1), Equals(2)]).match([1, 2]) +<span class="py-prompt">>>> </span><span class="py-keyword">print</span> (MatchesListwise([Equals(1), Equals(2)]).match([2, 1]).describe()) +<span class="py-output">Differences: [</span> +<span class="py-output">1 != 2</span> +<span class="py-output">2 != 1</span> +<span class="py-output">]</span> +<span class="py-output"></span><span class="py-prompt">>>> </span>matcher = MatchesListwise([Equals(1), Equals(2)], first_only=True) +<span class="py-prompt">>>> </span><span class="py-keyword">print</span> (matcher.match([3, 4]).describe()) +<span class="py-output">1 != 3</span></pre><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id86"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._datastructures.MatchesListwise.html#__init__" class="code">__init__</a></td> + <td><span>Construct a MatchesListwise matcher.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._datastructures.MatchesListwise.html#match" class="code">match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._datastructures.MatchesListwise.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, matchers, first_only=False): + + </div> + <div class="docstring functionBody"> + + <div>Construct a MatchesListwise matcher.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">matchers</td><td>A list of matcher that the matched values must match.</td></tr><tr><td></td><td class="fieldArg">first_only</td><td>If True, then only report the first mismatch, +otherwise report all of them. Defaults to False.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._datastructures.MatchesListwise.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, values): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._datastructures.MatchesSetwise.html b/apidocs/testtools.matchers._datastructures.MatchesSetwise.html new file mode 100644 index 0000000..02f30b5 --- /dev/null +++ b/apidocs/testtools.matchers._datastructures.MatchesSetwise.html @@ -0,0 +1,113 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._datastructures.MatchesSetwise : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._datastructures.MatchesSetwise(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._datastructures.html" class="code">_datastructures</a></code> + + <a href="classIndex.html#testtools.matchers._datastructures.MatchesSetwise">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Matches if all the matchers match elements of the value being matched.</p> +<p>That is, each element in the 'observed' set must match exactly one matcher +from the set of matchers, with no matchers left over.</p> +<p>The difference compared to <a href="testtools.matchers._datastructures.MatchesListwise.html"><code>MatchesListwise</code></a> is that the order of the +matchings does not matter.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id88"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._datastructures.MatchesSetwise.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._datastructures.MatchesSetwise.html#match" class="code">match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._datastructures.MatchesSetwise.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, *matchers): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._datastructures.MatchesSetwise.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, observed): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._datastructures.MatchesStructure.html b/apidocs/testtools.matchers._datastructures.MatchesStructure.html new file mode 100644 index 0000000..ad5d55b --- /dev/null +++ b/apidocs/testtools.matchers._datastructures.MatchesStructure.html @@ -0,0 +1,232 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._datastructures.MatchesStructure : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._datastructures.MatchesStructure(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._datastructures.html" class="code">_datastructures</a></code> + + <a href="classIndex.html#testtools.matchers._datastructures.MatchesStructure">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Matcher that matches an object structurally.</p> +<p>'Structurally' here means that attributes of the object being matched are +compared against given matchers.</p> +<p><a href="testtools.matchers._datastructures.MatchesStructure.html#fromExample"><code>fromExample</code></a> allows the creation of a matcher from a prototype object and +then modified versions can be created with <a href="testtools.matchers._datastructures.MatchesStructure.html#update"><code>update</code></a>.</p> +<p><a href="testtools.matchers._datastructures.MatchesStructure.html#byEquality"><code>byEquality</code></a> creates a matcher in much the same way as the constructor, +except that the matcher for each of the attributes is assumed to be +<a href="testtools.matchers._basic.Equals.html"><code>Equals</code></a>.</p> +<p><a href="testtools.matchers._datastructures.MatchesStructure.html#byMatcher"><code>byMatcher</code></a> creates a similar matcher to <a href="testtools.matchers._datastructures.MatchesStructure.html#byEquality"><code>byEquality</code></a>, but you get to pick +the matcher, rather than just using <a href="testtools.matchers._basic.Equals.html"><code>Equals</code></a>.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id87"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._datastructures.MatchesStructure.html#__init__" class="code">__init__</a></td> + <td><span>Construct a <a href="testtools.matchers._datastructures.MatchesStructure.html"><code>MatchesStructure</code></a>.</span></td> + </tr><tr class="classmethod"> + + <td>Class Method</td> + <td><a href="testtools.matchers._datastructures.MatchesStructure.html#byEquality" class="code">byEquality</a></td> + <td><span>Matches an object where the attributes equal the keyword values.</span></td> + </tr><tr class="classmethod"> + + <td>Class Method</td> + <td><a href="testtools.matchers._datastructures.MatchesStructure.html#byMatcher" class="code">byMatcher</a></td> + <td><span>Matches an object where the attributes match the keyword values.</span></td> + </tr><tr class="classmethod"> + + <td>Class Method</td> + <td><a href="testtools.matchers._datastructures.MatchesStructure.html#fromExample" class="code">fromExample</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._datastructures.MatchesStructure.html#update" class="code">update</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._datastructures.MatchesStructure.html#__str__" class="code">__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._datastructures.MatchesStructure.html#match" class="code">match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._datastructures.MatchesStructure.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div>Construct a <a href="testtools.matchers._datastructures.MatchesStructure.html"><code>MatchesStructure</code></a>.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">kwargs</td><td>A mapping of attributes to matchers.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._datastructures.MatchesStructure.byEquality"> + + </a> + <a name="byEquality"> + + </a> + <div class="functionHeader"> + @classmethod<br /> + def + byEquality(cls, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div><p>Matches an object where the attributes equal the keyword values.</p> +<p>Similar to the constructor, except that the matcher is assumed to be +Equals.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._datastructures.MatchesStructure.byMatcher"> + + </a> + <a name="byMatcher"> + + </a> + <div class="functionHeader"> + @classmethod<br /> + def + byMatcher(cls, matcher, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div><p>Matches an object where the attributes match the keyword values.</p> +<p>Similar to the constructor, except that the provided matcher is used +to match all of the values.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._datastructures.MatchesStructure.fromExample"> + + </a> + <a name="fromExample"> + + </a> + <div class="functionHeader"> + @classmethod<br /> + def + fromExample(cls, example, *attributes): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._datastructures.MatchesStructure.update"> + + </a> + <a name="update"> + + </a> + <div class="functionHeader"> + + def + update(self, **kws): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._datastructures.MatchesStructure.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._datastructures.MatchesStructure.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, value): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._datastructures.html b/apidocs/testtools.matchers._datastructures.html new file mode 100644 index 0000000..f83dd62 --- /dev/null +++ b/apidocs/testtools.matchers._datastructures.html @@ -0,0 +1,105 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._datastructures : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module private"><code>testtools.matchers._datastructures</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">No module docstring</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id85"> + + <tr class="function"> + + <td>Function</td> + <td><a href="testtools.matchers._datastructures.html#ContainsAll" class="code">ContainsAll</a></td> + <td><span>Make a matcher that checks whether a list of things is contained in another thing.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._datastructures.MatchesListwise.html" class="code">MatchesListwise</a></td> + <td><span>Matches if each matcher matches the corresponding value.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._datastructures.MatchesStructure.html" class="code">MatchesStructure</a></td> + <td><span>Matcher that matches an object structurally.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._datastructures.MatchesSetwise.html" class="code">MatchesSetwise</a></td> + <td><span>Matches if all the matchers match elements of the value being matched.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._datastructures.ContainsAll"> + + </a> + <a name="ContainsAll"> + + </a> + <div class="functionHeader"> + + def + ContainsAll(items): + + </div> + <div class="docstring functionBody"> + + <div><p>Make a matcher that checks whether a list of things is contained +in another thing.</p> +<p>The matcher effectively checks that the provided sequence is a subset of +the matchee.</p><table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._dict.DictMismatches.html b/apidocs/testtools.matchers._dict.DictMismatches.html new file mode 100644 index 0000000..d7e4ddd --- /dev/null +++ b/apidocs/testtools.matchers._dict.DictMismatches.html @@ -0,0 +1,132 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._dict.DictMismatches : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._dict.DictMismatches(<a href="testtools.matchers._impl.Mismatch.html" class="code">Mismatch</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._dict.html" class="code">_dict</a></code> + + <a href="classIndex.html#testtools.matchers._dict.DictMismatches">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>A mismatch with a dict of child mismatches.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id44"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._dict.DictMismatches.html#__init__" class="code">__init__</a></td> + <td><span>Construct a <a href="testtools.matchers._impl.Mismatch.html"><code>Mismatch</code></a>.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._dict.DictMismatches.html#describe" class="code">describe</a></td> + <td><span>Describe the mismatch.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._impl.Mismatch.html" class="code">Mismatch</a>: + </p> + <table class="children sortable" id="id45"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Mismatch.html#get_details" class="code">get_details</a></td> + <td><span>Get extra details about the mismatch.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Mismatch.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._dict.DictMismatches.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, mismatches, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Mismatch.html#__init__" class="code">testtools.matchers._impl.Mismatch.__init__</a></div> + <div>Construct a <a href="testtools.matchers._impl.Mismatch.html"><code>Mismatch</code></a>.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">description</td><td>A description to use. If not provided, +<a href="testtools.matchers._impl.Mismatch.html#describe"><code>Mismatch.describe</code></a> must be implemented.</td></tr><tr><td></td><td class="fieldArg">details</td><td>Extra details about the mismatch. Defaults +to the empty dict.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._dict.DictMismatches.describe"> + + </a> + <a name="describe"> + + </a> + <div class="functionHeader"> + + def + describe(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Mismatch.html#describe" class="code">testtools.matchers._impl.Mismatch.describe</a></div> + <div><p>Describe the mismatch.</p> +<p>This should be either a human-readable string or castable to a string. +In particular, is should either be plain ascii or unicode on Python 2, +and care should be taken to escape control characters.</p><table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._dict.KeysEqual.html b/apidocs/testtools.matchers._dict.KeysEqual.html new file mode 100644 index 0000000..77613ee --- /dev/null +++ b/apidocs/testtools.matchers._dict.KeysEqual.html @@ -0,0 +1,135 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._dict.KeysEqual : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._dict.KeysEqual(<a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._dict.html" class="code">_dict</a></code> + + <a href="classIndex.html#testtools.matchers._dict.KeysEqual">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Checks whether a dict has particular keys.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id53"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._dict.KeysEqual.html#__init__" class="code">__init__</a></td> + <td><span>Create a <a href="testtools.matchers._dict.KeysEqual.html"><code>KeysEqual</code></a> Matcher.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._dict.KeysEqual.html#__str__" class="code">__str__</a></td> + <td><span>Get a sensible human representation of the matcher.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._dict.KeysEqual.html#match" class="code">match</a></td> + <td><span>Return None if this matcher matches something, a Mismatch otherwise.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._dict.KeysEqual.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, *expected): + + </div> + <div class="docstring functionBody"> + + <div>Create a <a href="testtools.matchers._dict.KeysEqual.html"><code>KeysEqual</code></a> Matcher.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">expected</td><td>The keys the dict is expected to have. If a dict, +then we use the keys of that dict, if a collection, we assume it +is a collection of expected keys.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._dict.KeysEqual.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#__str__" class="code">testtools.matchers._impl.Matcher.__str__</a></div> + <div><p>Get a sensible human representation of the matcher.</p> +<p>This should include the parameters given to the matcher and any +state that would affect the matches operation.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._dict.KeysEqual.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, matchee): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#match" class="code">testtools.matchers._impl.Matcher.match</a></div> + <div>Return None if this matcher matches something, a Mismatch otherwise.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._dict.MatchesAllDict.html b/apidocs/testtools.matchers._dict.MatchesAllDict.html new file mode 100644 index 0000000..a6d4684 --- /dev/null +++ b/apidocs/testtools.matchers._dict.MatchesAllDict.html @@ -0,0 +1,135 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._dict.MatchesAllDict : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._dict.MatchesAllDict(<a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._dict.html" class="code">_dict</a></code> + + <a href="classIndex.html#testtools.matchers._dict.MatchesAllDict">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Matches if all of the matchers it is created with match.</p> +<p>A lot like <tt class="rst-docutils literal">MatchesAll</tt>, but takes a dict of Matchers and labels any +mismatches with the key of the dictionary.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id43"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._dict.MatchesAllDict.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._dict.MatchesAllDict.html#__str__" class="code">__str__</a></td> + <td><span>Get a sensible human representation of the matcher.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._dict.MatchesAllDict.html#match" class="code">match</a></td> + <td><span>Return None if this matcher matches something, a Mismatch otherwise.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._dict.MatchesAllDict.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, matchers): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._dict.MatchesAllDict.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#__str__" class="code">testtools.matchers._impl.Matcher.__str__</a></div> + <div><p>Get a sensible human representation of the matcher.</p> +<p>This should include the parameters given to the matcher and any +state that would affect the matches operation.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._dict.MatchesAllDict.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, observed): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#match" class="code">testtools.matchers._impl.Matcher.match</a></div> + <div>Return None if this matcher matches something, a Mismatch otherwise.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._dict._CombinedMatcher.html b/apidocs/testtools.matchers._dict._CombinedMatcher.html new file mode 100644 index 0000000..c8b12fe --- /dev/null +++ b/apidocs/testtools.matchers._dict._CombinedMatcher.html @@ -0,0 +1,159 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._dict._CombinedMatcher : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class private"><code>testtools.matchers._dict._CombinedMatcher(<a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._dict.html" class="code">_dict</a></code> + + <a href="classIndex.html#testtools.matchers._dict._CombinedMatcher">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.matchers.ContainedByDict.html" class="code">testtools.matchers.ContainedByDict</a>, <a href="testtools.matchers.ContainsDict.html" class="code">testtools.matchers.ContainsDict</a>, <a href="testtools.matchers.MatchesDict.html" class="code">testtools.matchers.MatchesDict</a></p> + </div> + + <div class="moduleDocstring"> + <div><p>Many matchers labelled and combined into one uber-matcher.</p> +<p>Subclass this and then specify a dict of matcher factories that take a +single 'expected' value and return a matcher. The subclass will match +only if all of the matchers made from factories match.</p> +<p>Not <strong>entirely</strong> dissimilar from <tt class="rst-docutils literal">MatchesAll</tt>.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id52"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._dict._CombinedMatcher.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._dict._CombinedMatcher.html#format_expected" class="code">format_expected</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._dict._CombinedMatcher.html#__str__" class="code">__str__</a></td> + <td><span>Get a sensible human representation of the matcher.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._dict._CombinedMatcher.html#match" class="code">match</a></td> + <td><span>Return None if this matcher matches something, a Mismatch otherwise.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._dict._CombinedMatcher.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, expected): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._dict._CombinedMatcher.format_expected"> + + </a> + <a name="format_expected"> + + </a> + <div class="functionHeader"> + + def + format_expected(self, expected): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._dict._CombinedMatcher.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#__str__" class="code">testtools.matchers._impl.Matcher.__str__</a></div> + <div><p>Get a sensible human representation of the matcher.</p> +<p>This should include the parameters given to the matcher and any +state that would affect the matches operation.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._dict._CombinedMatcher.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, observed): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#match" class="code">testtools.matchers._impl.Matcher.match</a></div> + <div>Return None if this matcher matches something, a Mismatch otherwise.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._dict._MatchCommonKeys.html b/apidocs/testtools.matchers._dict._MatchCommonKeys.html new file mode 100644 index 0000000..a30b409 --- /dev/null +++ b/apidocs/testtools.matchers._dict._MatchCommonKeys.html @@ -0,0 +1,153 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._dict._MatchCommonKeys : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class private"><code>testtools.matchers._dict._MatchCommonKeys(<a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._dict.html" class="code">_dict</a></code> + + <a href="classIndex.html#testtools.matchers._dict._MatchCommonKeys">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Match on keys in a dictionary.</p> +<p>Given a dictionary where the values are matchers, this will look for +common keys in the matched dictionary and match if and only if all common +keys match the given matchers.</p> +<p>Thus:</p> +<pre class="rst-literal-block"> +>>> structure = {'a': Equals('x'), 'b': Equals('y')} +>>> _MatchCommonKeys(structure).match({'a': 'x', 'c': 'z'}) +None +</pre><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id46"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._dict._MatchCommonKeys.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._dict._MatchCommonKeys.html#match" class="code">match</a></td> + <td><span>Return None if this matcher matches something, a Mismatch otherwise.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.matchers._dict._MatchCommonKeys.html#_compare_dicts" class="code">_compare_dicts</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>: + </p> + <table class="children sortable" id="id47"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Matcher.html#__str__" class="code">__str__</a></td> + <td><span>Get a sensible human representation of the matcher.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._dict._MatchCommonKeys.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, dict_of_matchers): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._dict._MatchCommonKeys._compare_dicts"> + + </a> + <a name="_compare_dicts"> + + </a> + <div class="functionHeader"> + + def + _compare_dicts(self, expected, observed): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._dict._MatchCommonKeys.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, observed): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#match" class="code">testtools.matchers._impl.Matcher.match</a></div> + <div>Return None if this matcher matches something, a Mismatch otherwise.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._dict._SubDictOf.html b/apidocs/testtools.matchers._dict._SubDictOf.html new file mode 100644 index 0000000..1c58bf2 --- /dev/null +++ b/apidocs/testtools.matchers._dict._SubDictOf.html @@ -0,0 +1,122 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._dict._SubDictOf : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class private"><code>testtools.matchers._dict._SubDictOf(<a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._dict.html" class="code">_dict</a></code> + + <a href="classIndex.html#testtools.matchers._dict._SubDictOf">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Matches if the matched dict only has keys that are in given dict.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id48"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._dict._SubDictOf.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._dict._SubDictOf.html#match" class="code">match</a></td> + <td><span>Return None if this matcher matches something, a Mismatch otherwise.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>: + </p> + <table class="children sortable" id="id49"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Matcher.html#__str__" class="code">__str__</a></td> + <td><span>Get a sensible human representation of the matcher.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._dict._SubDictOf.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, super_dict, format_value=repr): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._dict._SubDictOf.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, observed): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#match" class="code">testtools.matchers._impl.Matcher.match</a></div> + <div>Return None if this matcher matches something, a Mismatch otherwise.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._dict._SuperDictOf.html b/apidocs/testtools.matchers._dict._SuperDictOf.html new file mode 100644 index 0000000..e9272c5 --- /dev/null +++ b/apidocs/testtools.matchers._dict._SuperDictOf.html @@ -0,0 +1,122 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._dict._SuperDictOf : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class private"><code>testtools.matchers._dict._SuperDictOf(<a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._dict.html" class="code">_dict</a></code> + + <a href="classIndex.html#testtools.matchers._dict._SuperDictOf">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Matches if all of the keys in the given dict are in the matched dict.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id50"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._dict._SuperDictOf.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._dict._SuperDictOf.html#match" class="code">match</a></td> + <td><span>Return None if this matcher matches something, a Mismatch otherwise.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>: + </p> + <table class="children sortable" id="id51"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Matcher.html#__str__" class="code">__str__</a></td> + <td><span>Get a sensible human representation of the matcher.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._dict._SuperDictOf.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, sub_dict, format_value=repr): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._dict._SuperDictOf.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, super_dict): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#match" class="code">testtools.matchers._impl.Matcher.match</a></div> + <div>Return None if this matcher matches something, a Mismatch otherwise.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._dict.html b/apidocs/testtools.matchers._dict.html new file mode 100644 index 0000000..ff81040 --- /dev/null +++ b/apidocs/testtools.matchers._dict.html @@ -0,0 +1,166 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._dict : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module private"><code>testtools.matchers._dict</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">No module docstring</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id42"> + + <tr class="function"> + + <td>Function</td> + <td><a href="testtools.matchers._dict.html#LabelledMismatches" class="code">LabelledMismatches</a></td> + <td><span>A collection of mismatches, each labelled.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._dict.MatchesAllDict.html" class="code">MatchesAllDict</a></td> + <td><span>Matches if all of the matchers it is created with match.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._dict.DictMismatches.html" class="code">DictMismatches</a></td> + <td><span>A mismatch with a dict of child mismatches.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._dict.KeysEqual.html" class="code">KeysEqual</a></td> + <td><span>Checks whether a dict has particular keys.</span></td> + </tr><tr class="function private"> + + <td>Function</td> + <td><a href="testtools.matchers._dict.html#_dict_to_mismatch" class="code">_dict_to_mismatch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class private"> + + <td>Class</td> + <td><a href="testtools.matchers._dict._MatchCommonKeys.html" class="code">_MatchCommonKeys</a></td> + <td><span>Match on keys in a dictionary.</span></td> + </tr><tr class="class private"> + + <td>Class</td> + <td><a href="testtools.matchers._dict._SubDictOf.html" class="code">_SubDictOf</a></td> + <td><span>Matches if the matched dict only has keys that are in given dict.</span></td> + </tr><tr class="class private"> + + <td>Class</td> + <td><a href="testtools.matchers._dict._SuperDictOf.html" class="code">_SuperDictOf</a></td> + <td><span>Matches if all of the keys in the given dict are in the matched dict.</span></td> + </tr><tr class="function private"> + + <td>Function</td> + <td><a href="testtools.matchers._dict.html#_format_matcher_dict" class="code">_format_matcher_dict</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class private"> + + <td>Class</td> + <td><a href="testtools.matchers._dict._CombinedMatcher.html" class="code">_CombinedMatcher</a></td> + <td><span>Many matchers labelled and combined into one uber-matcher.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._dict.LabelledMismatches"> + + </a> + <a name="LabelledMismatches"> + + </a> + <div class="functionHeader"> + + def + LabelledMismatches(mismatches, details=None): + + </div> + <div class="docstring functionBody"> + + <div>A collection of mismatches, each labelled.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._dict._dict_to_mismatch"> + + </a> + <a name="_dict_to_mismatch"> + + </a> + <div class="functionHeader"> + + def + _dict_to_mismatch(data, to_mismatch=None, result_mismatch=DictMismatches): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._dict._format_matcher_dict"> + + </a> + <a name="_format_matcher_dict"> + + </a> + <div class="functionHeader"> + + def + _format_matcher_dict(matchers): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._doctest.DocTestMatches.html b/apidocs/testtools.matchers._doctest.DocTestMatches.html new file mode 100644 index 0000000..bb00e48 --- /dev/null +++ b/apidocs/testtools.matchers._doctest.DocTestMatches.html @@ -0,0 +1,176 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._doctest.DocTestMatches : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._doctest.DocTestMatches(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._doctest.html" class="code">_doctest</a></code> + + <a href="classIndex.html#testtools.matchers._doctest.DocTestMatches">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>See if a string matches a doctest example.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id39"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._doctest.DocTestMatches.html#__init__" class="code">__init__</a></td> + <td><span>Create a DocTestMatches to match example.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._doctest.DocTestMatches.html#__str__" class="code">__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._doctest.DocTestMatches.html#match" class="code">match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.matchers._doctest.DocTestMatches.html#_with_nl" class="code">_with_nl</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.matchers._doctest.DocTestMatches.html#_describe_difference" class="code">_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._doctest.DocTestMatches.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, example, flags=0): + + </div> + <div class="docstring functionBody"> + + <div>Create a DocTestMatches to match example.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">example</td><td>The example to match e.g. 'foo bar baz'</td></tr><tr><td></td><td class="fieldArg">flags</td><td>doctest comparison flags to match on. e.g. +doctest.ELLIPSIS.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._doctest.DocTestMatches.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._doctest.DocTestMatches._with_nl"> + + </a> + <a name="_with_nl"> + + </a> + <div class="functionHeader"> + + def + _with_nl(self, actual): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._doctest.DocTestMatches.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, actual): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._doctest.DocTestMatches._describe_difference"> + + </a> + <a name="_describe_difference"> + + </a> + <div class="functionHeader"> + + def + _describe_difference(self, with_nl): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._doctest.DocTestMismatch.html b/apidocs/testtools.matchers._doctest.DocTestMismatch.html new file mode 100644 index 0000000..ab90443 --- /dev/null +++ b/apidocs/testtools.matchers._doctest.DocTestMismatch.html @@ -0,0 +1,132 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._doctest.DocTestMismatch : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._doctest.DocTestMismatch(<a href="testtools.matchers._impl.Mismatch.html" class="code">Mismatch</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._doctest.html" class="code">_doctest</a></code> + + <a href="classIndex.html#testtools.matchers._doctest.DocTestMismatch">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Mismatch object for DocTestMatches.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id40"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._doctest.DocTestMismatch.html#__init__" class="code">__init__</a></td> + <td><span>Construct a <a href="testtools.matchers._impl.Mismatch.html"><code>Mismatch</code></a>.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._doctest.DocTestMismatch.html#describe" class="code">describe</a></td> + <td><span>Describe the mismatch.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._impl.Mismatch.html" class="code">Mismatch</a>: + </p> + <table class="children sortable" id="id41"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Mismatch.html#get_details" class="code">get_details</a></td> + <td><span>Get extra details about the mismatch.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Mismatch.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._doctest.DocTestMismatch.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, matcher, with_nl): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Mismatch.html#__init__" class="code">testtools.matchers._impl.Mismatch.__init__</a></div> + <div>Construct a <a href="testtools.matchers._impl.Mismatch.html"><code>Mismatch</code></a>.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">description</td><td>A description to use. If not provided, +<a href="testtools.matchers._impl.Mismatch.html#describe"><code>Mismatch.describe</code></a> must be implemented.</td></tr><tr><td></td><td class="fieldArg">details</td><td>Extra details about the mismatch. Defaults +to the empty dict.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._doctest.DocTestMismatch.describe"> + + </a> + <a name="describe"> + + </a> + <div class="functionHeader"> + + def + describe(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Mismatch.html#describe" class="code">testtools.matchers._impl.Mismatch.describe</a></div> + <div><p>Describe the mismatch.</p> +<p>This should be either a human-readable string or castable to a string. +In particular, is should either be plain ascii or unicode on Python 2, +and care should be taken to escape control characters.</p><table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._doctest._NonManglingOutputChecker.html b/apidocs/testtools.matchers._doctest._NonManglingOutputChecker.html new file mode 100644 index 0000000..86e8dfd --- /dev/null +++ b/apidocs/testtools.matchers._doctest._NonManglingOutputChecker.html @@ -0,0 +1,123 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._doctest._NonManglingOutputChecker : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class private"><code>testtools.matchers._doctest._NonManglingOutputChecker(<span title="doctest.OutputChecker">doctest.OutputChecker</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._doctest.html" class="code">_doctest</a></code> + + <a href="classIndex.html#testtools.matchers._doctest._NonManglingOutputChecker">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Doctest checker that works with unicode rather than mangling strings</p> +<p>This is needed because current Python versions have tried to fix string +encoding related problems, but regressed the default behaviour with +unicode inputs in the process.</p> +<p>In Python 2.6 and 2.7 <tt class="rst-docutils literal">OutputChecker.output_difference</tt> is was changed +to return a bytestring encoded as per <tt class="rst-docutils literal">sys.stdout.encoding</tt>, or utf-8 if +that can't be determined. Worse, that encoding process happens in the +innocent looking <a href="testtools.matchers._doctest._NonManglingOutputChecker.html#_indent"><code>_indent</code></a> global function. Because the +<a href="testtools.matchers._doctest.DocTestMismatch.html#describe"><code>DocTestMismatch.describe</code></a> result may well not be destined for printing to +stdout, this is no good for us. To get a unicode return as before, the +method is monkey patched if <tt class="rst-docutils literal">doctest._encoding</tt> exists.</p> +<p>Python 3 has a different problem. For some reason both inputs are encoded +to ascii with 'backslashreplace', making an escaped string matches its +unescaped form. Overriding the offending <tt class="rst-docutils literal">OutputChecker._toAscii</tt> method +is sufficient to revert this.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id38"> + + <tr class="method private"> + + <td>Method</td> + <td><a href="testtools.matchers._doctest._NonManglingOutputChecker.html#_toAscii" class="code">_toAscii</a></td> + <td><span>Return <tt class="rst-docutils literal">s</tt> unchanged rather than mangling it to ascii</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.matchers._doctest._NonManglingOutputChecker.html#_indent" class="code">_indent</a></td> + <td><span>Prepend non-empty lines in <tt class="rst-docutils literal">s</tt> with <tt class="rst-docutils literal">indent</tt> number of spaces</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._doctest._NonManglingOutputChecker._toAscii"> + + </a> + <a name="_toAscii"> + + </a> + <div class="functionHeader"> + + def + _toAscii(self, s): + + </div> + <div class="docstring functionBody"> + + <div>Return <tt class="rst-docutils literal">s</tt> unchanged rather than mangling it to ascii<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._doctest._NonManglingOutputChecker._indent"> + + </a> + <a name="_indent"> + + </a> + <div class="functionHeader"> + + def + _indent(s, indent=4, _pattern=re.compile('^(?!$)', re.MULTILINE)): + + </div> + <div class="docstring functionBody"> + + <div>Prepend non-empty lines in <tt class="rst-docutils literal">s</tt> with <tt class="rst-docutils literal">indent</tt> number of spaces<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._doctest.html b/apidocs/testtools.matchers._doctest.html new file mode 100644 index 0000000..c4132e7 --- /dev/null +++ b/apidocs/testtools.matchers._doctest.html @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._doctest : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module private"><code>testtools.matchers._doctest</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">No module docstring</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id37"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._doctest.DocTestMatches.html" class="code">DocTestMatches</a></td> + <td><span>See if a string matches a doctest example.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._doctest.DocTestMismatch.html" class="code">DocTestMismatch</a></td> + <td><span>Mismatch object for DocTestMatches.</span></td> + </tr><tr class="class private"> + + <td>Class</td> + <td><a href="testtools.matchers._doctest._NonManglingOutputChecker.html" class="code">_NonManglingOutputChecker</a></td> + <td><span>Doctest checker that works with unicode rather than mangling strings</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._exception.MatchesException.html b/apidocs/testtools.matchers._exception.MatchesException.html new file mode 100644 index 0000000..121d771 --- /dev/null +++ b/apidocs/testtools.matchers._exception.MatchesException.html @@ -0,0 +1,141 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._exception.MatchesException : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._exception.MatchesException(<a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._exception.html" class="code">_exception</a></code> + + <a href="classIndex.html#testtools.matchers._exception.MatchesException">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Match an exc_info tuple against an exception instance or type.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id78"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._exception.MatchesException.html#__init__" class="code">__init__</a></td> + <td><span>Create a MatchesException that will match exc_info's for exception.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._exception.MatchesException.html#match" class="code">match</a></td> + <td><span>Return None if this matcher matches something, a Mismatch otherwise.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._exception.MatchesException.html#__str__" class="code">__str__</a></td> + <td><span>Get a sensible human representation of the matcher.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._exception.MatchesException.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, exception, value_re=None): + + </div> + <div class="docstring functionBody"> + + <div>Create a MatchesException that will match exc_info's for exception.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">exception</td><td>Either an exception instance or type. +If an instance is given, the type and arguments of the exception +are checked. If a type is given only the type of the exception is +checked. If a tuple is given, then as with isinstance, any of the +types in the tuple matching is sufficient to match.</td></tr><tr><td></td><td class="fieldArg">value_re</td><td>If 'exception' is a type, and the matchee exception +is of the right type, then match against this. If value_re is a +string, then assume value_re is a regular expression and match +the str() of the exception against it. Otherwise, assume value_re +is a matcher, and match the exception against it.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._exception.MatchesException.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, other): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#match" class="code">testtools.matchers._impl.Matcher.match</a></div> + <div>Return None if this matcher matches something, a Mismatch otherwise.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._exception.MatchesException.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#__str__" class="code">testtools.matchers._impl.Matcher.__str__</a></div> + <div><p>Get a sensible human representation of the matcher.</p> +<p>This should include the parameters given to the matcher and any +state that would affect the matches operation.</p><table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._exception.Raises.html b/apidocs/testtools.matchers._exception.Raises.html new file mode 100644 index 0000000..aaa8cde --- /dev/null +++ b/apidocs/testtools.matchers._exception.Raises.html @@ -0,0 +1,139 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._exception.Raises : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._exception.Raises(<a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._exception.html" class="code">_exception</a></code> + + <a href="classIndex.html#testtools.matchers._exception.Raises">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Match if the matchee raises an exception when called.</p> +<p>Exceptions which are not subclasses of Exception propogate out of the +Raises.match call unless they are explicitly matched.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id79"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._exception.Raises.html#__init__" class="code">__init__</a></td> + <td><span>Create a Raises matcher.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._exception.Raises.html#match" class="code">match</a></td> + <td><span>Return None if this matcher matches something, a Mismatch otherwise.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._exception.Raises.html#__str__" class="code">__str__</a></td> + <td><span>Get a sensible human representation of the matcher.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._exception.Raises.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, exception_matcher=None): + + </div> + <div class="docstring functionBody"> + + <div>Create a Raises matcher.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">exception_matcher</td><td>Optional validator for the exception raised +by matchee. If supplied the exc_info tuple for the exception raised +is passed into that matcher. If no exception_matcher is supplied +then the simple fact of raising an exception is considered enough +to match on.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._exception.Raises.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, matchee): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#match" class="code">testtools.matchers._impl.Matcher.match</a></div> + <div>Return None if this matcher matches something, a Mismatch otherwise.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._exception.Raises.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#__str__" class="code">testtools.matchers._impl.Matcher.__str__</a></div> + <div><p>Get a sensible human representation of the matcher.</p> +<p>This should include the parameters given to the matcher and any +state that would affect the matches operation.</p><table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._exception.html b/apidocs/testtools.matchers._exception.html new file mode 100644 index 0000000..34f43d9 --- /dev/null +++ b/apidocs/testtools.matchers._exception.html @@ -0,0 +1,146 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._exception : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module private"><code>testtools.matchers._exception</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">No module docstring</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id77"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._exception.MatchesException.html" class="code">MatchesException</a></td> + <td><span>Match an exc_info tuple against an exception instance or type.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._exception.Raises.html" class="code">Raises</a></td> + <td><span>Match if the matchee raises an exception when called.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.matchers._exception.html#raises" class="code">raises</a></td> + <td><span>Make a matcher that checks that a callable raises an exception.</span></td> + </tr><tr class="function private"> + + <td>Function</td> + <td><a href="testtools.matchers._exception.html#_is_exception" class="code">_is_exception</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function private"> + + <td>Function</td> + <td><a href="testtools.matchers._exception.html#_is_user_exception" class="code">_is_user_exception</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._exception._is_exception"> + + </a> + <a name="_is_exception"> + + </a> + <div class="functionHeader"> + + def + _is_exception(exc): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._exception._is_user_exception"> + + </a> + <a name="_is_user_exception"> + + </a> + <div class="functionHeader"> + + def + _is_user_exception(exc): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._exception.raises"> + + </a> + <a name="raises"> + + </a> + <div class="functionHeader"> + + def + raises(exception): + + </div> + <div class="docstring functionBody"> + + <div><p>Make a matcher that checks that a callable raises an exception.</p> +<p>This is a convenience function, exactly equivalent to:</p> +<pre class="rst-literal-block"> +return Raises(MatchesException(exception)) +</pre> +<p>See <a href="testtools.matchers._exception.Raises.html"><code>Raises</code></a> and <a href="testtools.matchers._exception.MatchesException.html"><code>MatchesException</code></a> for more information.</p><table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._filesystem.FileContains.html b/apidocs/testtools.matchers._filesystem.FileContains.html new file mode 100644 index 0000000..82bc839 --- /dev/null +++ b/apidocs/testtools.matchers._filesystem.FileContains.html @@ -0,0 +1,139 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._filesystem.FileContains : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._filesystem.FileContains(<a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._filesystem.html" class="code">_filesystem</a></code> + + <a href="classIndex.html#testtools.matchers._filesystem.FileContains">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Matches if the given file has the specified contents.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id6"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._filesystem.FileContains.html#__init__" class="code">__init__</a></td> + <td><span>Construct a <tt class="rst-docutils literal">FileContains</tt> matcher.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._filesystem.FileContains.html#match" class="code">match</a></td> + <td><span>Return None if this matcher matches something, a Mismatch otherwise.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._filesystem.FileContains.html#__str__" class="code">__str__</a></td> + <td><span>Get a sensible human representation of the matcher.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._filesystem.FileContains.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, contents=None, matcher=None): + + </div> + <div class="docstring functionBody"> + + <div><p>Construct a <tt class="rst-docutils literal">FileContains</tt> matcher.</p> +<p>Can be used in a basic mode where the file contents are compared for +equality against the expected file contents (by passing <tt class="rst-docutils literal">contents</tt>). +Can also be used in a more advanced way where the file contents are +matched against an arbitrary matcher (by passing <tt class="rst-docutils literal">matcher</tt> instead).</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">contents</td><td>If specified, match the contents of the file with +these contents.</td></tr><tr><td></td><td class="fieldArg">matcher</td><td>If specified, match the contents of the file against +this matcher.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._filesystem.FileContains.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, path): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#match" class="code">testtools.matchers._impl.Matcher.match</a></div> + <div>Return None if this matcher matches something, a Mismatch otherwise.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._filesystem.FileContains.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#__str__" class="code">testtools.matchers._impl.Matcher.__str__</a></div> + <div><p>Get a sensible human representation of the matcher.</p> +<p>This should include the parameters given to the matcher and any +state that would affect the matches operation.</p><table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._filesystem.HasPermissions.html b/apidocs/testtools.matchers._filesystem.HasPermissions.html new file mode 100644 index 0000000..f15e094 --- /dev/null +++ b/apidocs/testtools.matchers._filesystem.HasPermissions.html @@ -0,0 +1,124 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._filesystem.HasPermissions : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._filesystem.HasPermissions(<a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._filesystem.html" class="code">_filesystem</a></code> + + <a href="classIndex.html#testtools.matchers._filesystem.HasPermissions">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Matches if a file has the given permissions.</p> +<p>Permissions are specified and matched as a four-digit octal string.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id7"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._filesystem.HasPermissions.html#__init__" class="code">__init__</a></td> + <td><span>Construct a HasPermissions matcher.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._filesystem.HasPermissions.html#match" class="code">match</a></td> + <td><span>Return None if this matcher matches something, a Mismatch otherwise.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>: + </p> + <table class="children sortable" id="id8"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Matcher.html#__str__" class="code">__str__</a></td> + <td><span>Get a sensible human representation of the matcher.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._filesystem.HasPermissions.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, octal_permissions): + + </div> + <div class="docstring functionBody"> + + <div>Construct a HasPermissions matcher.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">octal_permissions</td><td>A four digit octal string, representing the +intended access permissions. e.g. '0775' for rwxrwxr-x.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._filesystem.HasPermissions.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, filename): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#match" class="code">testtools.matchers._impl.Matcher.match</a></div> + <div>Return None if this matcher matches something, a Mismatch otherwise.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._filesystem.SamePath.html b/apidocs/testtools.matchers._filesystem.SamePath.html new file mode 100644 index 0000000..231c6c1 --- /dev/null +++ b/apidocs/testtools.matchers._filesystem.SamePath.html @@ -0,0 +1,124 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._filesystem.SamePath : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._filesystem.SamePath(<a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._filesystem.html" class="code">_filesystem</a></code> + + <a href="classIndex.html#testtools.matchers._filesystem.SamePath">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Matches if two paths are the same.</p> +<p>That is, the paths are equal, or they point to the same file but in +different ways. The paths do not have to exist.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id9"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._filesystem.SamePath.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._filesystem.SamePath.html#match" class="code">match</a></td> + <td><span>Return None if this matcher matches something, a Mismatch otherwise.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>: + </p> + <table class="children sortable" id="id10"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Matcher.html#__str__" class="code">__str__</a></td> + <td><span>Get a sensible human representation of the matcher.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._filesystem.SamePath.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, path): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._filesystem.SamePath.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, other_path): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#match" class="code">testtools.matchers._impl.Matcher.match</a></div> + <div>Return None if this matcher matches something, a Mismatch otherwise.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._filesystem.TarballContains.html b/apidocs/testtools.matchers._filesystem.TarballContains.html new file mode 100644 index 0000000..d860489 --- /dev/null +++ b/apidocs/testtools.matchers._filesystem.TarballContains.html @@ -0,0 +1,123 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._filesystem.TarballContains : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._filesystem.TarballContains(<a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._filesystem.html" class="code">_filesystem</a></code> + + <a href="classIndex.html#testtools.matchers._filesystem.TarballContains">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Matches if the given tarball contains the given paths.</p> +<p>Uses TarFile.getnames() to get the paths out of the tarball.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id11"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._filesystem.TarballContains.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._filesystem.TarballContains.html#match" class="code">match</a></td> + <td><span>Return None if this matcher matches something, a Mismatch otherwise.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>: + </p> + <table class="children sortable" id="id12"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Matcher.html#__str__" class="code">__str__</a></td> + <td><span>Get a sensible human representation of the matcher.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._filesystem.TarballContains.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, paths): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._filesystem.TarballContains.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, tarball_path): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#match" class="code">testtools.matchers._impl.Matcher.match</a></div> + <div>Return None if this matcher matches something, a Mismatch otherwise.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._filesystem.html b/apidocs/testtools.matchers._filesystem.html new file mode 100644 index 0000000..ace8f4b --- /dev/null +++ b/apidocs/testtools.matchers._filesystem.html @@ -0,0 +1,155 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._filesystem : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module private"><code>testtools.matchers._filesystem</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Matchers for things related to the filesystem.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id5"> + + <tr class="function"> + + <td>Function</td> + <td><a href="testtools.matchers._filesystem.html#PathExists" class="code">PathExists</a></td> + <td><span>Matches if the given path exists.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.matchers._filesystem.html#DirExists" class="code">DirExists</a></td> + <td><span>Matches if the path exists and is a directory.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.matchers._filesystem.html#FileExists" class="code">FileExists</a></td> + <td><span>Matches if the given path exists and is a file.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._filesystem.FileContains.html" class="code">FileContains</a></td> + <td><span>Matches if the given file has the specified contents.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._filesystem.HasPermissions.html" class="code">HasPermissions</a></td> + <td><span>Matches if a file has the given permissions.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._filesystem.SamePath.html" class="code">SamePath</a></td> + <td><span>Matches if two paths are the same.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._filesystem.TarballContains.html" class="code">TarballContains</a></td> + <td><span>Matches if the given tarball contains the given paths.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._filesystem.PathExists"> + + </a> + <a name="PathExists"> + + </a> + <div class="functionHeader"> + + def + PathExists(): + + </div> + <div class="docstring functionBody"> + + <div><p>Matches if the given path exists.</p> +<p>Use like this:</p> +<pre class="rst-literal-block"> +assertThat('/some/path', PathExists()) +</pre><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._filesystem.DirExists"> + + </a> + <a name="DirExists"> + + </a> + <div class="functionHeader"> + + def + DirExists(): + + </div> + <div class="docstring functionBody"> + + <div>Matches if the path exists and is a directory.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._filesystem.FileExists"> + + </a> + <a name="FileExists"> + + </a> + <div class="functionHeader"> + + def + FileExists(): + + </div> + <div class="docstring functionBody"> + + <div>Matches if the given path exists and is a file.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.AfterPreprocessing.html b/apidocs/testtools.matchers._higherorder.AfterPreprocessing.html new file mode 100644 index 0000000..eee5b84 --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.AfterPreprocessing.html @@ -0,0 +1,164 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._higherorder.AfterPreprocessing : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._higherorder.AfterPreprocessing(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._higherorder.html" class="code">_higherorder</a></code> + + <a href="classIndex.html#testtools.matchers._higherorder.AfterPreprocessing">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.tests.test_deferredruntest.AsText.html" class="code">testtools.tests.test_deferredruntest.AsText</a></p> + </div> + + <div class="moduleDocstring"> + <div><p>Matches if the value matches after passing through a function.</p> +<p>This can be used to aid in creating trivial matchers as functions, for +example:</p> +<pre class="rst-literal-block"> +def PathHasFileContent(content): + def _read(path): + return open(path).read() + return AfterPreprocessing(_read, Equals(content)) +</pre><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id26"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.AfterPreprocessing.html#__init__" class="code">__init__</a></td> + <td><span>Create an AfterPreprocessing matcher.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.AfterPreprocessing.html#__str__" class="code">__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.AfterPreprocessing.html#match" class="code">match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.AfterPreprocessing.html#_str_preprocessor" class="code">_str_preprocessor</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._higherorder.AfterPreprocessing.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, preprocessor, matcher, annotate=True): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.tests.test_deferredruntest.AsText.html" class="code">testtools.tests.test_deferredruntest.AsText</a></div> + <div>Create an AfterPreprocessing matcher.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">preprocessor</td><td>A function called with the matchee before +matching.</td></tr><tr><td></td><td class="fieldArg">matcher</td><td>What to match the preprocessed matchee against.</td></tr><tr><td></td><td class="fieldArg">annotate</td><td>Whether or not to annotate the matcher with +something explaining how we transformed the matchee. Defaults +to True.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._higherorder.AfterPreprocessing._str_preprocessor"> + + </a> + <a name="_str_preprocessor"> + + </a> + <div class="functionHeader"> + + def + _str_preprocessor(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._higherorder.AfterPreprocessing.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._higherorder.AfterPreprocessing.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, value): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.AllMatch.html b/apidocs/testtools.matchers._higherorder.AllMatch.html new file mode 100644 index 0000000..20b3290 --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.AllMatch.html @@ -0,0 +1,131 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._higherorder.AllMatch : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._higherorder.AllMatch(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._higherorder.html" class="code">_higherorder</a></code> + + <a href="classIndex.html#testtools.matchers._higherorder.AllMatch">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Matches if all provided values match the given matcher.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id27"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.AllMatch.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.AllMatch.html#__str__" class="code">__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.AllMatch.html#match" class="code">match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._higherorder.AllMatch.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, matcher): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._higherorder.AllMatch.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._higherorder.AllMatch.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, values): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.Annotate.html b/apidocs/testtools.matchers._higherorder.Annotate.html new file mode 100644 index 0000000..c9df4db --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.Annotate.html @@ -0,0 +1,154 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._higherorder.Annotate : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._higherorder.Annotate(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._higherorder.html" class="code">_higherorder</a></code> + + <a href="classIndex.html#testtools.matchers._higherorder.Annotate">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Annotates a matcher with a descriptive string.</p> +<p>Mismatches are then described as '<mismatch>: <annotation>'.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id21"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.Annotate.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="classmethod"> + + <td>Class Method</td> + <td><a href="testtools.matchers._higherorder.Annotate.html#if_message" class="code">if_message</a></td> + <td><span>Annotate <tt class="rst-docutils literal">matcher</tt> only if <tt class="rst-docutils literal">annotation</tt> is non-empty.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.Annotate.html#__str__" class="code">__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.Annotate.html#match" class="code">match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._higherorder.Annotate.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, annotation, matcher): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._higherorder.Annotate.if_message"> + + </a> + <a name="if_message"> + + </a> + <div class="functionHeader"> + @classmethod<br /> + def + if_message(cls, annotation, matcher): + + </div> + <div class="docstring functionBody"> + + <div>Annotate <tt class="rst-docutils literal">matcher</tt> only if <tt class="rst-docutils literal">annotation</tt> is non-empty.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._higherorder.Annotate.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._higherorder.Annotate.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, other): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.AnyMatch.html b/apidocs/testtools.matchers._higherorder.AnyMatch.html new file mode 100644 index 0000000..4ab3b14 --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.AnyMatch.html @@ -0,0 +1,131 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._higherorder.AnyMatch : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._higherorder.AnyMatch(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._higherorder.html" class="code">_higherorder</a></code> + + <a href="classIndex.html#testtools.matchers._higherorder.AnyMatch">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Matches if any of the provided values match the given matcher.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id28"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.AnyMatch.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.AnyMatch.html#__str__" class="code">__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.AnyMatch.html#match" class="code">match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._higherorder.AnyMatch.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, matcher): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._higherorder.AnyMatch.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._higherorder.AnyMatch.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, values): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.MatchedUnexpectedly.html b/apidocs/testtools.matchers._higherorder.MatchedUnexpectedly.html new file mode 100644 index 0000000..1004faa --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.MatchedUnexpectedly.html @@ -0,0 +1,132 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._higherorder.MatchedUnexpectedly : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._higherorder.MatchedUnexpectedly(<a href="testtools.matchers._impl.Mismatch.html" class="code">Mismatch</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._higherorder.html" class="code">_higherorder</a></code> + + <a href="classIndex.html#testtools.matchers._higherorder.MatchedUnexpectedly">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>A thing matched when it wasn't supposed to.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id19"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.MatchedUnexpectedly.html#__init__" class="code">__init__</a></td> + <td><span>Construct a <a href="testtools.matchers._impl.Mismatch.html"><code>Mismatch</code></a>.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.MatchedUnexpectedly.html#describe" class="code">describe</a></td> + <td><span>Describe the mismatch.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._impl.Mismatch.html" class="code">Mismatch</a>: + </p> + <table class="children sortable" id="id20"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Mismatch.html#get_details" class="code">get_details</a></td> + <td><span>Get extra details about the mismatch.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Mismatch.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._higherorder.MatchedUnexpectedly.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, matcher, other): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Mismatch.html#__init__" class="code">testtools.matchers._impl.Mismatch.__init__</a></div> + <div>Construct a <a href="testtools.matchers._impl.Mismatch.html"><code>Mismatch</code></a>.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">description</td><td>A description to use. If not provided, +<a href="testtools.matchers._impl.Mismatch.html#describe"><code>Mismatch.describe</code></a> must be implemented.</td></tr><tr><td></td><td class="fieldArg">details</td><td>Extra details about the mismatch. Defaults +to the empty dict.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._higherorder.MatchedUnexpectedly.describe"> + + </a> + <a name="describe"> + + </a> + <div class="functionHeader"> + + def + describe(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Mismatch.html#describe" class="code">testtools.matchers._impl.Mismatch.describe</a></div> + <div><p>Describe the mismatch.</p> +<p>This should be either a human-readable string or castable to a string. +In particular, is should either be plain ascii or unicode on Python 2, +and care should be taken to escape control characters.</p><table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.MatchesAll.html b/apidocs/testtools.matchers._higherorder.MatchesAll.html new file mode 100644 index 0000000..a868a22 --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.MatchesAll.html @@ -0,0 +1,135 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._higherorder.MatchesAll : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._higherorder.MatchesAll(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._higherorder.html" class="code">_higherorder</a></code> + + <a href="classIndex.html#testtools.matchers._higherorder.MatchesAll">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Matches if all of the matchers it is created with match.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id15"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.MatchesAll.html#__init__" class="code">__init__</a></td> + <td><span>Construct a MatchesAll matcher.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.MatchesAll.html#__str__" class="code">__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.MatchesAll.html#match" class="code">match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._higherorder.MatchesAll.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, *matchers, **options): + + </div> + <div class="docstring functionBody"> + + <div><p>Construct a MatchesAll matcher.</p> +<p>Just list the component matchers as arguments in the <tt class="rst-docutils literal">*args</tt> +style. If you want only the first mismatch to be reported, past in +first_only=True as a keyword argument. By default, all mismatches are +reported.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._higherorder.MatchesAll.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._higherorder.MatchesAll.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, matchee): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.MatchesAny.html b/apidocs/testtools.matchers._higherorder.MatchesAny.html new file mode 100644 index 0000000..382f34f --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.MatchesAny.html @@ -0,0 +1,131 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._higherorder.MatchesAny : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._higherorder.MatchesAny(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._higherorder.html" class="code">_higherorder</a></code> + + <a href="classIndex.html#testtools.matchers._higherorder.MatchesAny">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Matches if any of the matchers it is created with match.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id14"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.MatchesAny.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.MatchesAny.html#match" class="code">match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.MatchesAny.html#__str__" class="code">__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._higherorder.MatchesAny.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, *matchers): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._higherorder.MatchesAny.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, matchee): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._higherorder.MatchesAny.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.MismatchesAll.html b/apidocs/testtools.matchers._higherorder.MismatchesAll.html new file mode 100644 index 0000000..630c56d --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.MismatchesAll.html @@ -0,0 +1,132 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._higherorder.MismatchesAll : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._higherorder.MismatchesAll(<a href="testtools.matchers._impl.Mismatch.html" class="code">Mismatch</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._higherorder.html" class="code">_higherorder</a></code> + + <a href="classIndex.html#testtools.matchers._higherorder.MismatchesAll">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>A mismatch with many child mismatches.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id16"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.MismatchesAll.html#__init__" class="code">__init__</a></td> + <td><span>Construct a <a href="testtools.matchers._impl.Mismatch.html"><code>Mismatch</code></a>.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.MismatchesAll.html#describe" class="code">describe</a></td> + <td><span>Describe the mismatch.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._impl.Mismatch.html" class="code">Mismatch</a>: + </p> + <table class="children sortable" id="id17"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Mismatch.html#get_details" class="code">get_details</a></td> + <td><span>Get extra details about the mismatch.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Mismatch.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._higherorder.MismatchesAll.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, mismatches, wrap=True): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Mismatch.html#__init__" class="code">testtools.matchers._impl.Mismatch.__init__</a></div> + <div>Construct a <a href="testtools.matchers._impl.Mismatch.html"><code>Mismatch</code></a>.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">description</td><td>A description to use. If not provided, +<a href="testtools.matchers._impl.Mismatch.html#describe"><code>Mismatch.describe</code></a> must be implemented.</td></tr><tr><td></td><td class="fieldArg">details</td><td>Extra details about the mismatch. Defaults +to the empty dict.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._higherorder.MismatchesAll.describe"> + + </a> + <a name="describe"> + + </a> + <div class="functionHeader"> + + def + describe(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Mismatch.html#describe" class="code">testtools.matchers._impl.Mismatch.describe</a></div> + <div><p>Describe the mismatch.</p> +<p>This should be either a human-readable string or castable to a string. +In particular, is should either be plain ascii or unicode on Python 2, +and care should be taken to escape control characters.</p><table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.Not.html b/apidocs/testtools.matchers._higherorder.Not.html new file mode 100644 index 0000000..3e7e537 --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.Not.html @@ -0,0 +1,131 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._higherorder.Not : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._higherorder.Not(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._higherorder.html" class="code">_higherorder</a></code> + + <a href="classIndex.html#testtools.matchers._higherorder.Not">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Inverts a matcher.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id18"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.Not.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.Not.html#__str__" class="code">__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.Not.html#match" class="code">match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._higherorder.Not.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, matcher): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._higherorder.Not.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._higherorder.Not.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, other): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.PostfixedMismatch.html b/apidocs/testtools.matchers._higherorder.PostfixedMismatch.html new file mode 100644 index 0000000..d2b88b0 --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.PostfixedMismatch.html @@ -0,0 +1,127 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._higherorder.PostfixedMismatch : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._higherorder.PostfixedMismatch(<a href="testtools.matchers._impl.MismatchDecorator.html" class="code">MismatchDecorator</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._higherorder.html" class="code">_higherorder</a></code> + + <a href="classIndex.html#testtools.matchers._higherorder.PostfixedMismatch">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>A mismatch annotated with a descriptive string.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id22"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.PostfixedMismatch.html#__init__" class="code">__init__</a></td> + <td><span>Construct a <a href="testtools.matchers._impl.MismatchDecorator.html"><code>MismatchDecorator</code></a>.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.PostfixedMismatch.html#describe" class="code">describe</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._impl.MismatchDecorator.html" class="code">MismatchDecorator</a>: + </p> + <table class="children sortable" id="id23"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.MismatchDecorator.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.MismatchDecorator.html#get_details" class="code">get_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._higherorder.PostfixedMismatch.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, annotation, mismatch): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.MismatchDecorator.html#__init__" class="code">testtools.matchers._impl.MismatchDecorator.__init__</a></div> + <div>Construct a <a href="testtools.matchers._impl.MismatchDecorator.html"><code>MismatchDecorator</code></a>.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">original</td><td>A <a href="testtools.matchers._impl.Mismatch.html"><code>Mismatch</code></a> object to decorate.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._higherorder.PostfixedMismatch.describe"> + + </a> + <a name="describe"> + + </a> + <div class="functionHeader"> + + def + describe(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.MismatchDecorator.html#describe" class="code">testtools.matchers._impl.MismatchDecorator.describe</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.PrefixedMismatch.html b/apidocs/testtools.matchers._higherorder.PrefixedMismatch.html new file mode 100644 index 0000000..f37e254 --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.PrefixedMismatch.html @@ -0,0 +1,127 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._higherorder.PrefixedMismatch : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._higherorder.PrefixedMismatch(<a href="testtools.matchers._impl.MismatchDecorator.html" class="code">MismatchDecorator</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._higherorder.html" class="code">_higherorder</a></code> + + <a href="classIndex.html#testtools.matchers._higherorder.PrefixedMismatch">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id24"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.PrefixedMismatch.html#__init__" class="code">__init__</a></td> + <td><span>Construct a <a href="testtools.matchers._impl.MismatchDecorator.html"><code>MismatchDecorator</code></a>.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.PrefixedMismatch.html#describe" class="code">describe</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._impl.MismatchDecorator.html" class="code">MismatchDecorator</a>: + </p> + <table class="children sortable" id="id25"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.MismatchDecorator.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.MismatchDecorator.html#get_details" class="code">get_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._higherorder.PrefixedMismatch.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, prefix, mismatch): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.MismatchDecorator.html#__init__" class="code">testtools.matchers._impl.MismatchDecorator.__init__</a></div> + <div>Construct a <a href="testtools.matchers._impl.MismatchDecorator.html"><code>MismatchDecorator</code></a>.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">original</td><td>A <a href="testtools.matchers._impl.Mismatch.html"><code>Mismatch</code></a> object to decorate.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._higherorder.PrefixedMismatch.describe"> + + </a> + <a name="describe"> + + </a> + <div class="functionHeader"> + + def + describe(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.MismatchDecorator.html#describe" class="code">testtools.matchers._impl.MismatchDecorator.describe</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder._MatchesPredicateWithParams.html b/apidocs/testtools.matchers._higherorder._MatchesPredicateWithParams.html new file mode 100644 index 0000000..94fdec5 --- /dev/null +++ b/apidocs/testtools.matchers._higherorder._MatchesPredicateWithParams.html @@ -0,0 +1,148 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._higherorder._MatchesPredicateWithParams : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class private"><code>testtools.matchers._higherorder._MatchesPredicateWithParams(<a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._higherorder.html" class="code">_higherorder</a></code> + + <a href="classIndex.html#testtools.matchers._higherorder._MatchesPredicateWithParams">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">No class docstring</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id29"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder._MatchesPredicateWithParams.html#__init__" class="code">__init__</a></td> + <td><span>Create a <tt class="rst-docutils literal">MatchesPredicateWithParams</tt> matcher.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder._MatchesPredicateWithParams.html#__str__" class="code">__str__</a></td> + <td><span>Get a sensible human representation of the matcher.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder._MatchesPredicateWithParams.html#match" class="code">match</a></td> + <td><span>Return None if this matcher matches something, a Mismatch otherwise.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._higherorder._MatchesPredicateWithParams.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, predicate, message, name, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div>Create a <tt class="rst-docutils literal">MatchesPredicateWithParams</tt> matcher.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">predicate</td><td>A function that takes an object to match and +additional params as given in <tt class="rst-docutils literal">*args</tt> and <tt class="rst-docutils literal">**kwargs</tt>. The +result of the function will be interpreted as a boolean to +determine a match.</td></tr><tr><td></td><td class="fieldArg">message</td><td><p>A message to describe a mismatch. It will be formatted +with .format() and be given a tuple containing whatever was passed +to <tt class="rst-docutils literal">match()</tt> + <tt class="rst-docutils literal">*args</tt> in <tt class="rst-docutils literal">*args</tt>, and whatever was passed to +<tt class="rst-docutils literal">**kwargs</tt> as its <tt class="rst-docutils literal">**kwargs</tt>.</p> +<p>For instance, to format a single parameter:</p> +<pre class="rst-literal-block"> +"{0} is not a {1}" +</pre> +<p>To format a keyword arg:</p> +<pre class="rst-literal-block"> +"{0} is not a {type_to_check}" +</pre></td></tr><tr><td></td><td class="fieldArg">name</td><td>What name to use for the matcher class. Pass None to use +the default.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._higherorder._MatchesPredicateWithParams.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#__str__" class="code">testtools.matchers._impl.Matcher.__str__</a></div> + <div><p>Get a sensible human representation of the matcher.</p> +<p>This should include the parameters given to the matcher and any +state that would affect the matches operation.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._higherorder._MatchesPredicateWithParams.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, x): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._impl.Matcher.html#match" class="code">testtools.matchers._impl.Matcher.match</a></div> + <div>Return None if this matcher matches something, a Mismatch otherwise.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.html b/apidocs/testtools.matchers._higherorder.html new file mode 100644 index 0000000..7e10c12 --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.html @@ -0,0 +1,125 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._higherorder : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module private"><code>testtools.matchers._higherorder</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">No module docstring</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id13"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._higherorder.MatchesAny.html" class="code">MatchesAny</a></td> + <td><span>Matches if any of the matchers it is created with match.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._higherorder.MatchesAll.html" class="code">MatchesAll</a></td> + <td><span>Matches if all of the matchers it is created with match.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._higherorder.MismatchesAll.html" class="code">MismatchesAll</a></td> + <td><span>A mismatch with many child mismatches.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._higherorder.Not.html" class="code">Not</a></td> + <td><span>Inverts a matcher.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._higherorder.MatchedUnexpectedly.html" class="code">MatchedUnexpectedly</a></td> + <td><span>A thing matched when it wasn't supposed to.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._higherorder.Annotate.html" class="code">Annotate</a></td> + <td><span>Annotates a matcher with a descriptive string.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._higherorder.PostfixedMismatch.html" class="code">PostfixedMismatch</a></td> + <td><span>A mismatch annotated with a descriptive string.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._higherorder.PrefixedMismatch.html" class="code">PrefixedMismatch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._higherorder.AfterPreprocessing.html" class="code">AfterPreprocessing</a></td> + <td><span>Matches if the value matches after passing through a function.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._higherorder.AllMatch.html" class="code">AllMatch</a></td> + <td><span>Matches if all provided values match the given matcher.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._higherorder.AnyMatch.html" class="code">AnyMatch</a></td> + <td><span>Matches if any of the provided values match the given matcher.</span></td> + </tr><tr class="class private"> + + <td>Class</td> + <td><a href="testtools.matchers._higherorder._MatchesPredicateWithParams.html" class="code">_MatchesPredicateWithParams</a></td> + <td><span class="undocumented">No class docstring; 1/3 methods documented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._impl.Matcher.html b/apidocs/testtools.matchers._impl.Matcher.html new file mode 100644 index 0000000..7393c9f --- /dev/null +++ b/apidocs/testtools.matchers._impl.Matcher.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._impl.Matcher : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._impl.Matcher(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._impl.html" class="code">_impl</a></code> + + <a href="classIndex.html#testtools.matchers._impl.Matcher">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.matchers._basic.Contains.html" class="code">testtools.matchers._basic.Contains</a>, <a href="testtools.matchers._basic.EndsWith.html" class="code">testtools.matchers._basic.EndsWith</a>, <a href="testtools.matchers._basic.SameMembers.html" class="code">testtools.matchers._basic.SameMembers</a>, <a href="testtools.matchers._basic.StartsWith.html" class="code">testtools.matchers._basic.StartsWith</a>, <a href="testtools.matchers._dict._CombinedMatcher.html" class="code">testtools.matchers._dict._CombinedMatcher</a>, <a href="testtools.matchers._dict._MatchCommonKeys.html" class="code">testtools.matchers._dict._MatchCommonKeys</a>, <a href="testtools.matchers._dict._SubDictOf.html" class="code">testtools.matchers._dict._SubDictOf</a>, <a href="testtools.matchers._dict._SuperDictOf.html" class="code">testtools.matchers._dict._SuperDictOf</a>, <a href="testtools.matchers._dict.KeysEqual.html" class="code">testtools.matchers._dict.KeysEqual</a>, <a href="testtools.matchers._dict.MatchesAllDict.html" class="code">testtools.matchers._dict.MatchesAllDict</a>, <a href="testtools.matchers._exception.MatchesException.html" class="code">testtools.matchers._exception.MatchesException</a>, <a href="testtools.matchers._exception.Raises.html" class="code">testtools.matchers._exception.Raises</a>, <a href="testtools.matchers._filesystem.FileContains.html" class="code">testtools.matchers._filesystem.FileContains</a>, <a href="testtools.matchers._filesystem.HasPermissions.html" class="code">testtools.matchers._filesystem.HasPermissions</a>, <a href="testtools.matchers._filesystem.SamePath.html" class="code">testtools.matchers._filesystem.SamePath</a>, <a href="testtools.matchers._filesystem.TarballContains.html" class="code">testtools.matchers._filesystem.TarballContains</a>, <a href="testtools.matchers._higherorder._MatchesPredicateWithParams.html" class="code">testtools.matchers._higherorder._MatchesPredicateWithParams</a>, <a href="testtools.matchers.DirContains.html" class="code">testtools.matchers.DirContains</a>, <a href="testtools.matchers.MatchesPredicate.html" class="code">testtools.matchers.MatchesPredicate</a></p> + </div> + + <div class="moduleDocstring"> + <div><p>A pattern matcher.</p> +<p>A Matcher must implement match and __str__ to be used by +testtools.TestCase.assertThat. Matcher.match(thing) returns None when +thing is completely matched, and a Mismatch object otherwise.</p> +<p>Matchers can be useful outside of test cases, as they are simply a +pattern matching language expressed as objects.</p> +<p>testtools.matchers is inspired by hamcrest, but is pythonic rather than +a Java transcription.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id81"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Matcher.html#match" class="code">match</a></td> + <td><span>Return None if this matcher matches something, a Mismatch otherwise.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Matcher.html#__str__" class="code">__str__</a></td> + <td><span>Get a sensible human representation of the matcher.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._impl.Matcher.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, something): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.matchers._basic.Contains.html" class="code">testtools.matchers._basic.Contains</a>, <a href="testtools.matchers._basic.EndsWith.html" class="code">testtools.matchers._basic.EndsWith</a>, <a href="testtools.matchers._basic.SameMembers.html" class="code">testtools.matchers._basic.SameMembers</a>, <a href="testtools.matchers._basic.StartsWith.html" class="code">testtools.matchers._basic.StartsWith</a>, <a href="testtools.matchers._dict._CombinedMatcher.html" class="code">testtools.matchers._dict._CombinedMatcher</a>, <a href="testtools.matchers._dict._MatchCommonKeys.html" class="code">testtools.matchers._dict._MatchCommonKeys</a>, <a href="testtools.matchers._dict._SubDictOf.html" class="code">testtools.matchers._dict._SubDictOf</a>, <a href="testtools.matchers._dict._SuperDictOf.html" class="code">testtools.matchers._dict._SuperDictOf</a>, <a href="testtools.matchers._dict.KeysEqual.html" class="code">testtools.matchers._dict.KeysEqual</a>, <a href="testtools.matchers._dict.MatchesAllDict.html" class="code">testtools.matchers._dict.MatchesAllDict</a>, <a href="testtools.matchers._exception.MatchesException.html" class="code">testtools.matchers._exception.MatchesException</a>, <a href="testtools.matchers._exception.Raises.html" class="code">testtools.matchers._exception.Raises</a>, <a href="testtools.matchers._filesystem.FileContains.html" class="code">testtools.matchers._filesystem.FileContains</a>, <a href="testtools.matchers._filesystem.HasPermissions.html" class="code">testtools.matchers._filesystem.HasPermissions</a>, <a href="testtools.matchers._filesystem.SamePath.html" class="code">testtools.matchers._filesystem.SamePath</a>, <a href="testtools.matchers._filesystem.TarballContains.html" class="code">testtools.matchers._filesystem.TarballContains</a>, <a href="testtools.matchers._higherorder._MatchesPredicateWithParams.html" class="code">testtools.matchers._higherorder._MatchesPredicateWithParams</a>, <a href="testtools.matchers.DirContains.html" class="code">testtools.matchers.DirContains</a>, <a href="testtools.matchers.MatchesPredicate.html" class="code">testtools.matchers.MatchesPredicate</a></div> + <div>Return None if this matcher matches something, a Mismatch otherwise.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._impl.Matcher.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.matchers._basic.Contains.html" class="code">testtools.matchers._basic.Contains</a>, <a href="testtools.matchers._basic.EndsWith.html" class="code">testtools.matchers._basic.EndsWith</a>, <a href="testtools.matchers._basic.SameMembers.html" class="code">testtools.matchers._basic.SameMembers</a>, <a href="testtools.matchers._basic.StartsWith.html" class="code">testtools.matchers._basic.StartsWith</a>, <a href="testtools.matchers._dict._CombinedMatcher.html" class="code">testtools.matchers._dict._CombinedMatcher</a>, <a href="testtools.matchers._dict.KeysEqual.html" class="code">testtools.matchers._dict.KeysEqual</a>, <a href="testtools.matchers._dict.MatchesAllDict.html" class="code">testtools.matchers._dict.MatchesAllDict</a>, <a href="testtools.matchers._exception.MatchesException.html" class="code">testtools.matchers._exception.MatchesException</a>, <a href="testtools.matchers._exception.Raises.html" class="code">testtools.matchers._exception.Raises</a>, <a href="testtools.matchers._filesystem.FileContains.html" class="code">testtools.matchers._filesystem.FileContains</a>, <a href="testtools.matchers._higherorder._MatchesPredicateWithParams.html" class="code">testtools.matchers._higherorder._MatchesPredicateWithParams</a>, <a href="testtools.matchers.MatchesPredicate.html" class="code">testtools.matchers.MatchesPredicate</a></div> + <div><p>Get a sensible human representation of the matcher.</p> +<p>This should include the parameters given to the matcher and any +state that would affect the matches operation.</p><table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._impl.Mismatch.html b/apidocs/testtools.matchers._impl.Mismatch.html new file mode 100644 index 0000000..cae731b --- /dev/null +++ b/apidocs/testtools.matchers._impl.Mismatch.html @@ -0,0 +1,167 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._impl.Mismatch : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._impl.Mismatch(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._impl.html" class="code">_impl</a></code> + + <a href="classIndex.html#testtools.matchers._impl.Mismatch">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.matchers._basic._BinaryMismatch.html" class="code">testtools.matchers._basic._BinaryMismatch</a>, <a href="testtools.matchers._basic.DoesNotContain.html" class="code">testtools.matchers._basic.DoesNotContain</a>, <a href="testtools.matchers._basic.DoesNotEndWith.html" class="code">testtools.matchers._basic.DoesNotEndWith</a>, <a href="testtools.matchers._basic.DoesNotStartWith.html" class="code">testtools.matchers._basic.DoesNotStartWith</a>, <a href="testtools.matchers._basic.NotAnInstance.html" class="code">testtools.matchers._basic.NotAnInstance</a>, <a href="testtools.matchers._dict.DictMismatches.html" class="code">testtools.matchers._dict.DictMismatches</a>, <a href="testtools.matchers._doctest.DocTestMismatch.html" class="code">testtools.matchers._doctest.DocTestMismatch</a>, <a href="testtools.matchers._higherorder.MatchedUnexpectedly.html" class="code">testtools.matchers._higherorder.MatchedUnexpectedly</a>, <a href="testtools.matchers._higherorder.MismatchesAll.html" class="code">testtools.matchers._higherorder.MismatchesAll</a></p> + </div> + + <div class="moduleDocstring"> + <div>An object describing a mismatch detected by a Matcher.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id82"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Mismatch.html#__init__" class="code">__init__</a></td> + <td><span>Construct a <a href="testtools.matchers._impl.Mismatch.html"><code>Mismatch</code></a>.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Mismatch.html#describe" class="code">describe</a></td> + <td><span>Describe the mismatch.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Mismatch.html#get_details" class="code">get_details</a></td> + <td><span>Get extra details about the mismatch.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.Mismatch.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._impl.Mismatch.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, description=None, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.matchers._basic._BinaryMismatch.html" class="code">testtools.matchers._basic._BinaryMismatch</a>, <a href="testtools.matchers._basic.DoesNotContain.html" class="code">testtools.matchers._basic.DoesNotContain</a>, <a href="testtools.matchers._basic.DoesNotEndWith.html" class="code">testtools.matchers._basic.DoesNotEndWith</a>, <a href="testtools.matchers._basic.DoesNotStartWith.html" class="code">testtools.matchers._basic.DoesNotStartWith</a>, <a href="testtools.matchers._basic.NotAnInstance.html" class="code">testtools.matchers._basic.NotAnInstance</a>, <a href="testtools.matchers._dict.DictMismatches.html" class="code">testtools.matchers._dict.DictMismatches</a>, <a href="testtools.matchers._doctest.DocTestMismatch.html" class="code">testtools.matchers._doctest.DocTestMismatch</a>, <a href="testtools.matchers._higherorder.MatchedUnexpectedly.html" class="code">testtools.matchers._higherorder.MatchedUnexpectedly</a>, <a href="testtools.matchers._higherorder.MismatchesAll.html" class="code">testtools.matchers._higherorder.MismatchesAll</a></div> + <div>Construct a <a href="testtools.matchers._impl.Mismatch.html"><code>Mismatch</code></a>.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">description</td><td>A description to use. If not provided, +<a href="testtools.matchers._impl.Mismatch.html#describe"><code>Mismatch.describe</code></a> must be implemented.</td></tr><tr><td></td><td class="fieldArg">details</td><td>Extra details about the mismatch. Defaults +to the empty dict.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._impl.Mismatch.describe"> + + </a> + <a name="describe"> + + </a> + <div class="functionHeader"> + + def + describe(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.matchers._basic._BinaryMismatch.html" class="code">testtools.matchers._basic._BinaryMismatch</a>, <a href="testtools.matchers._basic.DoesNotContain.html" class="code">testtools.matchers._basic.DoesNotContain</a>, <a href="testtools.matchers._basic.DoesNotEndWith.html" class="code">testtools.matchers._basic.DoesNotEndWith</a>, <a href="testtools.matchers._basic.DoesNotStartWith.html" class="code">testtools.matchers._basic.DoesNotStartWith</a>, <a href="testtools.matchers._basic.NotAnInstance.html" class="code">testtools.matchers._basic.NotAnInstance</a>, <a href="testtools.matchers._dict.DictMismatches.html" class="code">testtools.matchers._dict.DictMismatches</a>, <a href="testtools.matchers._doctest.DocTestMismatch.html" class="code">testtools.matchers._doctest.DocTestMismatch</a>, <a href="testtools.matchers._higherorder.MatchedUnexpectedly.html" class="code">testtools.matchers._higherorder.MatchedUnexpectedly</a>, <a href="testtools.matchers._higherorder.MismatchesAll.html" class="code">testtools.matchers._higherorder.MismatchesAll</a></div> + <div><p>Describe the mismatch.</p> +<p>This should be either a human-readable string or castable to a string. +In particular, is should either be plain ascii or unicode on Python 2, +and care should be taken to escape control characters.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._impl.Mismatch.get_details"> + + </a> + <a name="get_details"> + + </a> + <div class="functionHeader"> + + def + get_details(self): + + </div> + <div class="docstring functionBody"> + + <div><p>Get extra details about the mismatch.</p> +<p>This allows the mismatch to provide extra information beyond the basic +description, including large text or binary files, or debugging internals +without having to force it to fit in the output of 'describe'.</p> +<p>The testtools assertion assertThat will query get_details and attach +all its values to the test, permitting them to be reported in whatever +manner the test environment chooses.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">a dict mapping names to Content objects. name is a string to +name the detail, and the Content object is the detail to add +to the result. For more information see the API to which items from +this dict are passed testtools.TestCase.addDetail.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._impl.Mismatch.__repr__"> + + </a> + <a name="__repr__"> + + </a> + <div class="functionHeader"> + + def + __repr__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._impl.MismatchDecorator.html b/apidocs/testtools.matchers._impl.MismatchDecorator.html new file mode 100644 index 0000000..4a167cf --- /dev/null +++ b/apidocs/testtools.matchers._impl.MismatchDecorator.html @@ -0,0 +1,156 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._impl.MismatchDecorator : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._impl.MismatchDecorator(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._impl.html" class="code">_impl</a></code> + + <a href="classIndex.html#testtools.matchers._impl.MismatchDecorator">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.matchers._higherorder.PostfixedMismatch.html" class="code">testtools.matchers._higherorder.PostfixedMismatch</a>, <a href="testtools.matchers._higherorder.PrefixedMismatch.html" class="code">testtools.matchers._higherorder.PrefixedMismatch</a></p> + </div> + + <div class="moduleDocstring"> + <div><p>Decorate a <tt class="rst-docutils literal">Mismatch</tt>.</p> +<p>Forwards all messages to the original mismatch object. Probably the best +way to use this is inherit from this class and then provide your own +custom decoration logic.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id84"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.MismatchDecorator.html#__init__" class="code">__init__</a></td> + <td><span>Construct a <a href="testtools.matchers._impl.MismatchDecorator.html"><code>MismatchDecorator</code></a>.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.MismatchDecorator.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.MismatchDecorator.html#describe" class="code">describe</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.MismatchDecorator.html#get_details" class="code">get_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._impl.MismatchDecorator.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, original): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.matchers._higherorder.PostfixedMismatch.html" class="code">testtools.matchers._higherorder.PostfixedMismatch</a>, <a href="testtools.matchers._higherorder.PrefixedMismatch.html" class="code">testtools.matchers._higherorder.PrefixedMismatch</a></div> + <div>Construct a <a href="testtools.matchers._impl.MismatchDecorator.html"><code>MismatchDecorator</code></a>.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">original</td><td>A <a href="testtools.matchers._impl.Mismatch.html"><code>Mismatch</code></a> object to decorate.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.matchers._impl.MismatchDecorator.__repr__"> + + </a> + <a name="__repr__"> + + </a> + <div class="functionHeader"> + + def + __repr__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._impl.MismatchDecorator.describe"> + + </a> + <a name="describe"> + + </a> + <div class="functionHeader"> + + def + describe(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.matchers._higherorder.PostfixedMismatch.html" class="code">testtools.matchers._higherorder.PostfixedMismatch</a>, <a href="testtools.matchers._higherorder.PrefixedMismatch.html" class="code">testtools.matchers._higherorder.PrefixedMismatch</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._impl.MismatchDecorator.get_details"> + + </a> + <a name="get_details"> + + </a> + <div class="functionHeader"> + + def + get_details(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._impl.MismatchError.html b/apidocs/testtools.matchers._impl.MismatchError.html new file mode 100644 index 0000000..83e3c58 --- /dev/null +++ b/apidocs/testtools.matchers._impl.MismatchError.html @@ -0,0 +1,131 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._impl.MismatchError : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.matchers._impl.MismatchError(<span title="AssertionError">AssertionError</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a>.<a href="testtools.matchers._impl.html" class="code">_impl</a></code> + + <a href="classIndex.html#testtools.matchers._impl.MismatchError">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Raised when a mismatch occurs.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id83"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.MismatchError.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.MismatchError.html#__str__" class="code">__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.matchers._impl.MismatchError.html#__str__%200" class="code">__str__ 0</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers._impl.MismatchError.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, matchee, matcher, mismatch, verbose=False): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._impl.MismatchError.__str__ 0"> + + </a> + <a name="__str__ 0"> + + </a> + <div class="functionHeader"> + + def + __str__ 0(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.matchers._impl.MismatchError.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers._impl.html b/apidocs/testtools.matchers._impl.html new file mode 100644 index 0000000..3132d43 --- /dev/null +++ b/apidocs/testtools.matchers._impl.html @@ -0,0 +1,89 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers._impl : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module private"><code>testtools.matchers._impl</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Matchers, a way to express complex assertions outside the testcase.</p> +<p>Inspired by 'hamcrest'.</p> +<p>Matcher provides the abstract API that all matchers need to implement.</p> +<p>Bundled matchers are listed in __all__: a list can be obtained by running +$ python -c 'import testtools.matchers; print testtools.matchers.__all__'</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id80"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._impl.Matcher.html" class="code">Matcher</a></td> + <td><span>A pattern matcher.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._impl.Mismatch.html" class="code">Mismatch</a></td> + <td><span>An object describing a mismatch detected by a Matcher.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._impl.MismatchError.html" class="code">MismatchError</a></td> + <td><span>Raised when a mismatch occurs.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers._impl.MismatchDecorator.html" class="code">MismatchDecorator</a></td> + <td><span>Decorate a <tt class="rst-docutils literal">Mismatch</tt>.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.matchers.html b/apidocs/testtools.matchers.html new file mode 100644 index 0000000..5089bf9 --- /dev/null +++ b/apidocs/testtools.matchers.html @@ -0,0 +1,176 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.matchers : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="package"><code>testtools.matchers</code> <small>package documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>All the matchers.</p> +<p>Matchers, a way to express complex assertions outside the testcase.</p> +<p>Inspired by 'hamcrest'.</p> +<p>Matcher provides the abstract API that all matchers need to implement.</p> +<p>Bundled matchers are listed in __all__: a list can be obtained by running +$ python -c 'import testtools.matchers; print testtools.matchers.__all__'</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id3"> + + <tr class="module private"> + + <td>Module</td> + <td><a href="testtools.matchers._basic.html" class="code">_basic</a></td> + <td><span class="undocumented">No module docstring; 13/17 classes, 1/2 functions documented</span></td> + </tr><tr class="module private"> + + <td>Module</td> + <td><a href="testtools.matchers._datastructures.html" class="code">_datastructures</a></td> + <td><span class="undocumented">No module docstring; 3/3 classes, 1/1 functions documented</span></td> + </tr><tr class="module private"> + + <td>Module</td> + <td><a href="testtools.matchers._dict.html" class="code">_dict</a></td> + <td><span class="undocumented">No module docstring; 7/7 classes, 1/3 functions documented</span></td> + </tr><tr class="module private"> + + <td>Module</td> + <td><a href="testtools.matchers._doctest.html" class="code">_doctest</a></td> + <td><span class="undocumented">No module docstring; 3/3 classes documented</span></td> + </tr><tr class="module private"> + + <td>Module</td> + <td><a href="testtools.matchers._exception.html" class="code">_exception</a></td> + <td><span class="undocumented">No module docstring; 2/2 classes, 1/3 functions documented</span></td> + </tr><tr class="module private"> + + <td>Module</td> + <td><a href="testtools.matchers._filesystem.html" class="code">_filesystem</a></td> + <td><span>Matchers for things related to the filesystem.</span></td> + </tr><tr class="module private"> + + <td>Module</td> + <td><a href="testtools.matchers._higherorder.html" class="code">_higherorder</a></td> + <td><span class="undocumented">No module docstring; 10/12 classes documented</span></td> + </tr><tr class="module private"> + + <td>Module</td> + <td><a href="testtools.matchers._impl.html" class="code">_impl</a></td> + <td><span>Matchers, a way to express complex assertions outside the testcase.</span></td> + </tr> +</table> + + + <p class="fromInitPy">From the <code>__init__.py</code> module:</p><table class="children sortable" id="id4"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers.ContainedByDict.html" class="code">ContainedByDict</a></td> + <td><span>Match a dictionary for which this is a super-dictionary.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers.ContainsDict.html" class="code">ContainsDict</a></td> + <td><span>Match a dictionary for that contains a specified sub-dictionary.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers.DirContains.html" class="code">DirContains</a></td> + <td><span>Matches if the given directory contains files with the given names.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers.MatchesDict.html" class="code">MatchesDict</a></td> + <td><span>Match a dictionary exactly, by its keys.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.matchers.MatchesPredicate.html" class="code">MatchesPredicate</a></td> + <td><span>Match if a given function returns True.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.matchers.html#MatchesPredicateWithParams" class="code">MatchesPredicateWithParams</a></td> + <td><span>Match if a given parameterised function returns True.</span></td> + </tr> +</table> + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.matchers.MatchesPredicateWithParams"> + + </a> + <a name="MatchesPredicateWithParams"> + + </a> + <div class="functionHeader"> + + def + MatchesPredicateWithParams(predicate, message, name=None): + + </div> + <div class="docstring functionBody"> + + <div><p>Match if a given parameterised function returns True.</p> +<p>It is reasonably common to want to make a very simple matcher based on a +function that you already have that returns True or False given some +arguments. This matcher makes it very easy to do so. e.g.:</p> +<pre class="rst-literal-block"> +HasLength = MatchesPredicate( + lambda x, y: len(x) == y, 'len({0}) is not {1}') +# This assertion will fail, as 'len([1, 2]) == 3' is False. +self.assertThat([1, 2], HasLength(3)) +</pre> +<p>Note that unlike MatchesPredicate MatchesPredicateWithParams returns a +factory which you then customise to use by constructing an actual matcher +from it.</p> +<p>The predicate function should take the object to match as its first +parameter. Any additional parameters supplied when constructing a matcher +are supplied to the predicate as additional parameters when checking for a +match.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">predicate</td><td>The predicate function.</td></tr><tr><td></td><td class="fieldArg">message</td><td>A format string for describing mis-matches.</td></tr><tr><td></td><td class="fieldArg">name</td><td>Optional replacement name for the matcher.</td></tr></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.monkey.MonkeyPatcher.html b/apidocs/testtools.monkey.MonkeyPatcher.html new file mode 100644 index 0000000..5e7a0d7 --- /dev/null +++ b/apidocs/testtools.monkey.MonkeyPatcher.html @@ -0,0 +1,187 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.monkey.MonkeyPatcher : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.monkey.MonkeyPatcher(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.monkey.html" class="code">monkey</a></code> + + <a href="classIndex.html#testtools.monkey.MonkeyPatcher">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>A set of monkey-patches that can be applied and removed all together.</p> +<p>Use this to cover up attributes with new objects. Particularly useful for +testing difficult code.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id90"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.monkey.MonkeyPatcher.html#__init__" class="code">__init__</a></td> + <td><span>Construct a <a href="testtools.monkey.MonkeyPatcher.html"><code>MonkeyPatcher</code></a>.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.monkey.MonkeyPatcher.html#add_patch" class="code">add_patch</a></td> + <td><span>Add a patch to overwrite 'name' on 'obj' with 'value'.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.monkey.MonkeyPatcher.html#patch" class="code">patch</a></td> + <td><span>Apply all of the patches that have been specified with <a href="testtools.monkey.MonkeyPatcher.html#add_patch"><code>add_patch</code></a>.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.monkey.MonkeyPatcher.html#restore" class="code">restore</a></td> + <td><span>Restore all original values to any patched objects.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.monkey.MonkeyPatcher.html#run_with_patches" class="code">run_with_patches</a></td> + <td><span>Run 'f' with the given args and kwargs with all patches applied.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.monkey.MonkeyPatcher.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, *patches): + + </div> + <div class="docstring functionBody"> + + <div>Construct a <a href="testtools.monkey.MonkeyPatcher.html"><code>MonkeyPatcher</code></a>.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">patches</td><td>The patches to apply, each should be (obj, name, +new_value). Providing patches here is equivalent to calling +<a href="testtools.monkey.MonkeyPatcher.html#add_patch"><code>add_patch</code></a>.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.monkey.MonkeyPatcher.add_patch"> + + </a> + <a name="add_patch"> + + </a> + <div class="functionHeader"> + + def + add_patch(self, obj, name, value): + + </div> + <div class="docstring functionBody"> + + <div><p>Add a patch to overwrite 'name' on 'obj' with 'value'.</p> +<p>The attribute C{name} on C{obj} will be assigned to C{value} when +C{patch} is called or during C{run_with_patches}.</p> +<p>You can restore the original values with a call to restore().</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.monkey.MonkeyPatcher.patch"> + + </a> + <a name="patch"> + + </a> + <div class="functionHeader"> + + def + patch(self): + + </div> + <div class="docstring functionBody"> + + <div><p>Apply all of the patches that have been specified with <a href="testtools.monkey.MonkeyPatcher.html#add_patch"><code>add_patch</code></a>.</p> +<p>Reverse this operation using L{restore}.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.monkey.MonkeyPatcher.restore"> + + </a> + <a name="restore"> + + </a> + <div class="functionHeader"> + + def + restore(self): + + </div> + <div class="docstring functionBody"> + + <div><p>Restore all original values to any patched objects.</p> +<p>If the patched attribute did not exist on an object before it was +patched, <a href="testtools.monkey.MonkeyPatcher.html#restore"><code>restore</code></a> will delete the attribute so as to return the +object to its original state.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.monkey.MonkeyPatcher.run_with_patches"> + + </a> + <a name="run_with_patches"> + + </a> + <div class="functionHeader"> + + def + run_with_patches(self, f, *args, **kw): + + </div> + <div class="docstring functionBody"> + + <div><p>Run 'f' with the given args and kwargs with all patches applied.</p> +<p>Restores all objects to their original state when finished.</p><table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.monkey.html b/apidocs/testtools.monkey.html new file mode 100644 index 0000000..90d4263 --- /dev/null +++ b/apidocs/testtools.monkey.html @@ -0,0 +1,95 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.monkey : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.monkey</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Helpers for monkey-patching Python code.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id89"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.monkey.MonkeyPatcher.html" class="code">MonkeyPatcher</a></td> + <td><span>A set of monkey-patches that can be applied and removed all together.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.monkey.html#patch" class="code">patch</a></td> + <td><span>Set 'obj.attribute' to 'value' and return a callable to restore 'obj'.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.monkey.patch"> + + </a> + <a name="patch"> + + </a> + <div class="functionHeader"> + + def + patch(obj, attribute, value): + + </div> + <div class="docstring functionBody"> + + <div><p>Set 'obj.attribute' to 'value' and return a callable to restore 'obj'.</p> +<p>If 'attribute' is not set on 'obj' already, then the returned callable +will delete the attribute when called.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">obj</td><td>An object to monkey-patch.</td></tr><tr><td></td><td class="fieldArg">attribute</td><td>The name of the attribute to patch.</td></tr><tr><td></td><td class="fieldArg">value</td><td>The value to set 'obj.attribute' to.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">A nullary callable that, when run, will restore 'obj' to its +original state.</td></tr></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.run.TestProgram.html b/apidocs/testtools.run.TestProgram.html new file mode 100644 index 0000000..6488c5e --- /dev/null +++ b/apidocs/testtools.run.TestProgram.html @@ -0,0 +1,176 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.run.TestProgram : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.run.TestProgram(<span title="unittest.TestProgram">unittest.TestProgram</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.run.html" class="code">run</a></code> + + <a href="classIndex.html#testtools.run.TestProgram">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>A command-line program that runs a set of tests; this is primarily +for making test modules conveniently executable.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id161"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.run.TestProgram.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.run.TestProgram.html#runTests" class="code">runTests</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.run.TestProgram.html#_getParentArgParser" class="code">_getParentArgParser</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.run.TestProgram.html#_do_discovery" class="code">_do_discovery</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.run.TestProgram.html#_get_runner" class="code">_get_runner</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.run.TestProgram.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, module=__name__, defaultTest=None, argv=None, testRunner=None, testLoader=defaultTestLoader, exit=True, verbosity=1, failfast=None, catchbreak=None, buffer=None, stdout=None, tb_locals=False): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.run.TestProgram._getParentArgParser"> + + </a> + <a name="_getParentArgParser"> + + </a> + <div class="functionHeader"> + + def + _getParentArgParser(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.run.TestProgram._do_discovery"> + + </a> + <a name="_do_discovery"> + + </a> + <div class="functionHeader"> + + def + _do_discovery(self, argv, Loader=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.run.TestProgram.runTests"> + + </a> + <a name="runTests"> + + </a> + <div class="functionHeader"> + + def + runTests(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.run.TestProgram._get_runner"> + + </a> + <a name="_get_runner"> + + </a> + <div class="functionHeader"> + + def + _get_runner(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.run.TestToolsTestRunner.html b/apidocs/testtools.run.TestToolsTestRunner.html new file mode 100644 index 0000000..85885a4 --- /dev/null +++ b/apidocs/testtools.run.TestToolsTestRunner.html @@ -0,0 +1,131 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.run.TestToolsTestRunner : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.run.TestToolsTestRunner(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.run.html" class="code">run</a></code> + + <a href="classIndex.html#testtools.run.TestToolsTestRunner">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>A thunk object to support unittest.TestProgram.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id160"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.run.TestToolsTestRunner.html#__init__" class="code">__init__</a></td> + <td><span>Create a TestToolsTestRunner.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.run.TestToolsTestRunner.html#list" class="code">list</a></td> + <td><span>List the tests that would be run if test() was run.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.run.TestToolsTestRunner.html#run" class="code">run</a></td> + <td><span>Run the given test case or test suite.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.run.TestToolsTestRunner.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, verbosity=None, failfast=None, buffer=None, stdout=None, tb_locals=False, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div>Create a TestToolsTestRunner.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">verbosity</td><td>Ignored.</td></tr><tr><td></td><td class="fieldArg">failfast</td><td>Stop running tests at the first failure.</td></tr><tr><td></td><td class="fieldArg">buffer</td><td>Ignored.</td></tr><tr><td></td><td class="fieldArg">stdout</td><td>Stream to use for stdout.</td></tr><tr><td></td><td class="fieldArg">tb_locals</td><td>If True include local variables in tracebacks.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.run.TestToolsTestRunner.list"> + + </a> + <a name="list"> + + </a> + <div class="functionHeader"> + + def + list(self, test, loader): + + </div> + <div class="docstring functionBody"> + + <div>List the tests that would be run if test() was run.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.run.TestToolsTestRunner.run"> + + </a> + <a name="run"> + + </a> + <div class="functionHeader"> + + def + run(self, test): + + </div> + <div class="docstring functionBody"> + + <div>Run the given test case or test suite.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.run.html b/apidocs/testtools.run.html new file mode 100644 index 0000000..253bb19 --- /dev/null +++ b/apidocs/testtools.run.html @@ -0,0 +1,131 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.run : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.run</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>python -m testtools.run testspec [testspec...]</p> +<p>Run some tests with the testtools extended API.</p> +<dl class="rst-docutils"> +<dt>For instance, to run the testtools test suite.</dt> +<dd>$ python -m testtools.run testtools.tests.test_suite</dd> +</dl><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id159"> + + <tr class="function"> + + <td>Function</td> + <td><a href="testtools.run.html#list_test" class="code">list_test</a></td> + <td><span>Return the test ids that would be run if test() was run.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.run.TestToolsTestRunner.html" class="code">TestToolsTestRunner</a></td> + <td><span>A thunk object to support unittest.TestProgram.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.run.TestProgram.html" class="code">TestProgram</a></td> + <td><span>A command-line program that runs a set of tests; this is primarily for making test modules conveniently executable.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.run.html#main" class="code">main</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.run.list_test"> + + </a> + <a name="list_test"> + + </a> + <div class="functionHeader"> + + def + list_test(test): + + </div> + <div class="docstring functionBody"> + + <div><p>Return the test ids that would be run if test() was run.</p> +<p>When things fail to import they can be represented as well, though +we use an ugly hack (see <a href="http://bugs.python.org/issue19746" class="rst-reference external" target="_top">http://bugs.python.org/issue19746</a> for details) +to determine that. The difference matters because if a user is +filtering tests to run on the returned ids, a failed import can reduce +the visible tests but it can be impossible to tell that the selected +test would have been one of the imported ones.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">A tuple of test ids that would run and error strings +describing things that failed to import.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.run.main"> + + </a> + <a name="main"> + + </a> + <div class="functionHeader"> + + def + main(argv, stdout): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.runtest.MultipleExceptions.html b/apidocs/testtools.runtest.MultipleExceptions.html new file mode 100644 index 0000000..cd1fce8 --- /dev/null +++ b/apidocs/testtools.runtest.MultipleExceptions.html @@ -0,0 +1,83 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.runtest.MultipleExceptions : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.runtest.MultipleExceptions(<span title="Exception">Exception</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.runtest.html" class="code">runtest</a></code> + + <a href="classIndex.html#testtools.runtest.MultipleExceptions">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Represents many exceptions raised from some operation.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id156"> + + <tr class="instancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.MultipleExceptions.html#args" class="code">args</a></td> + <td>The sys.exc_info() tuples for each exception.</td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.runtest.MultipleExceptions.args"> + + </a> + <a name="args"> + + </a> + <div class="functionHeader"> + args = + </div> + <div class="functionBody"> + The sys.exc_info() tuples for each exception. + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.runtest.RunTest.html b/apidocs/testtools.runtest.RunTest.html new file mode 100644 index 0000000..1f57d3d --- /dev/null +++ b/apidocs/testtools.runtest.RunTest.html @@ -0,0 +1,373 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.runtest.RunTest : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.runtest.RunTest(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.runtest.html" class="code">runtest</a></code> + + <a href="classIndex.html#testtools.runtest.RunTest">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.deferredruntest._DeferredRunTest.html" class="code">testtools.deferredruntest._DeferredRunTest</a>, <a href="testtools.tests.helpers.FullStackRunTest.html" class="code">testtools.tests.helpers.FullStackRunTest</a>, <a href="testtools.tests.test_runtest.CustomRunTest.html" class="code">testtools.tests.test_runtest.CustomRunTest</a></p> + </div> + + <div class="moduleDocstring"> + <div><p>An object to run a test.</p> +<p>RunTest objects are used to implement the internal logic involved in +running a test. TestCase.__init__ stores _RunTest as the class of RunTest +to execute. Passing the runTest= parameter to TestCase.__init__ allows a +different RunTest class to be used to execute the test.</p> +<p>Subclassing or replacing RunTest can be useful to add functionality to the +way that tests are run in a given project.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id157"> + + <tr class="instancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#case" class="code">case</a></td> + <td>The test case that is to be run.</td> + </tr><tr class="instancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#result" class="code">result</a></td> + <td>The result object a case is reporting to.</td> + </tr><tr class="instancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#handlers" class="code">handlers</a></td> + <td>A list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).</td> + </tr><tr class="instancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#exception_caught" class="code">exception_caught</a></td> + <td>An object returned when _run_user catches an +exception.</td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#__init__" class="code">__init__</a></td> + <td><span>Create a RunTest to run a case.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#run" class="code">run</a></td> + <td><span>Run self.case reporting activity to result.</span></td> + </tr><tr class="instancevariable private"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#_exceptions" class="code">_exceptions</a></td> + <td>A list of caught exceptions, used to do the single +reporting of error/failure/skip etc.</td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_one" class="code">_run_one</a></td> + <td><span>Run one test reporting to result.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_prepared_result" class="code">_run_prepared_result</a></td> + <td><span>Run one test reporting to result.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_core" class="code">_run_core</a></td> + <td><span>Run the user supplied test code.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_cleanups" class="code">_run_cleanups</a></td> + <td><span>Run the cleanups that have been added with addCleanup.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_user" class="code">_run_user</a></td> + <td><span>Run a user supplied function.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_got_user_exception" class="code">_got_user_exception</a></td> + <td><span>Called when user code raises an exception.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.runtest.RunTest.case"> + + </a> + <a name="case"> + + </a> + <div class="functionHeader"> + case = + </div> + <div class="functionBody"> + The test case that is to be run. + </div> +</div><div class="function"> + <a name="testtools.runtest.RunTest.result"> + + </a> + <a name="result"> + + </a> + <div class="functionHeader"> + result = + </div> + <div class="functionBody"> + The result object a case is reporting to. + </div> +</div><div class="function"> + <a name="testtools.runtest.RunTest.handlers"> + + </a> + <a name="handlers"> + + </a> + <div class="functionHeader"> + handlers = + </div> + <div class="functionBody"> + A list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list). + </div> +</div><div class="function"> + <a name="testtools.runtest.RunTest.exception_caught"> + + </a> + <a name="exception_caught"> + + </a> + <div class="functionHeader"> + exception_caught = + </div> + <div class="functionBody"> + An object returned when _run_user catches an +exception. + </div> +</div><div class="function"> + <a name="testtools.runtest.RunTest._exceptions"> + + </a> + <a name="_exceptions"> + + </a> + <div class="functionHeader"> + _exceptions = + </div> + <div class="functionBody"> + A list of caught exceptions, used to do the single +reporting of error/failure/skip etc. + </div> +</div><div class="function"> + <a name="testtools.runtest.RunTest.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, case, handlers=None, last_resort=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html" class="code">testtools.deferredruntest.AsynchronousDeferredRunTest</a></div> + <div>Create a RunTest to run a case.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">case</td><td>A testtools.TestCase test case object.</td></tr><tr><td></td><td class="fieldArg">handlers</td><td>Exception handlers for this RunTest. These are stored +in self.handlers and can be modified later if needed.</td></tr><tr><td></td><td class="fieldArg">last_resort</td><td>A handler of last resort: any exception which is +not handled by handlers will cause the last resort handler to be +called as last_resort(exc_info), and then the exception will be +raised - aborting the test run as this is inside the runner +machinery rather than the confined context of the test.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.runtest.RunTest.run"> + + </a> + <a name="run"> + + </a> + <div class="functionHeader"> + + def + run(self, result=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.tests.test_runtest.CustomRunTest.html" class="code">testtools.tests.test_runtest.CustomRunTest</a></div> + <div>Run self.case reporting activity to result.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">result</td><td>Optional testtools.TestResult to report activity to.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">The result object the test was run against.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.runtest.RunTest._run_one"> + + </a> + <a name="_run_one"> + + </a> + <div class="functionHeader"> + + def + _run_one(self, result): + + </div> + <div class="docstring functionBody"> + + <div>Run one test reporting to result.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">result</td><td>A testtools.TestResult to report activity to. +This result object is decorated with an ExtendedToOriginalDecorator +to ensure that the latest TestResult API can be used with +confidence by client code.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">The result object the test was run against.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.runtest.RunTest._run_prepared_result"> + + </a> + <a name="_run_prepared_result"> + + </a> + <div class="functionHeader"> + + def + _run_prepared_result(self, result): + + </div> + <div class="docstring functionBody"> + + <div>Run one test reporting to result.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">result</td><td>A testtools.TestResult to report activity to.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">The result object the test was run against.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.runtest.RunTest._run_core"> + + </a> + <a name="_run_core"> + + </a> + <div class="functionHeader"> + + def + _run_core(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html" class="code">testtools.deferredruntest.AsynchronousDeferredRunTest</a></div> + <div>Run the user supplied test code.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.runtest.RunTest._run_cleanups"> + + </a> + <a name="_run_cleanups"> + + </a> + <div class="functionHeader"> + + def + _run_cleanups(self, result): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html" class="code">testtools.deferredruntest.AsynchronousDeferredRunTest</a></div> + <div><p>Run the cleanups that have been added with addCleanup.</p> +<p>See the docstring for addCleanup for more information.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">None if all cleanups ran without error, +<tt class="rst-docutils literal">exception_caught</tt> if there was an error.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.runtest.RunTest._run_user"> + + </a> + <a name="_run_user"> + + </a> + <div class="functionHeader"> + + def + _run_user(self, fn, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html" class="code">testtools.deferredruntest.AsynchronousDeferredRunTest</a>, <a href="testtools.deferredruntest.SynchronousDeferredRunTest.html" class="code">testtools.deferredruntest.SynchronousDeferredRunTest</a>, <a href="testtools.tests.helpers.FullStackRunTest.html" class="code">testtools.tests.helpers.FullStackRunTest</a></div> + <div><p>Run a user supplied function.</p> +<p>Exceptions are processed by <a href="testtools.runtest.RunTest.html#_got_user_exception"><code>_got_user_exception</code></a>.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">Either whatever 'fn' returns or <tt class="rst-docutils literal">exception_caught</tt> if +'fn' raised an exception.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.runtest.RunTest._got_user_exception"> + + </a> + <a name="_got_user_exception"> + + </a> + <div class="functionHeader"> + + def + _got_user_exception(self, exc_info, tb_label='traceback'): + + </div> + <div class="docstring functionBody"> + + <div><p>Called when user code raises an exception.</p> +<p>If 'exc_info' is a <a href="testtools.runtest.MultipleExceptions.html"><code>MultipleExceptions</code></a>, then we recurse into it +unpacking the errors that it's made up from.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">exc_info</td><td>A sys.exc_info() tuple for the user error.</td></tr><tr><td></td><td class="fieldArg">tb_label</td><td>An optional string label for the error. If +not specified, will default to 'traceback'.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">'exception_caught' if we catch one of the exceptions that +have handlers in 'handlers', otherwise raise the error.</td></tr></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.runtest.html b/apidocs/testtools.runtest.html new file mode 100644 index 0000000..e792fb0 --- /dev/null +++ b/apidocs/testtools.runtest.html @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.runtest : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.runtest</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Individual test case execution.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id155"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.runtest.MultipleExceptions.html" class="code">MultipleExceptions</a></td> + <td><span>Represents many exceptions raised from some operation.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.runtest.RunTest.html" class="code">RunTest</a></td> + <td><span>An object to run a test.</span></td> + </tr><tr class="function private"> + + <td>Function</td> + <td><a href="testtools.runtest.html#_raise_force_fail_error" class="code">_raise_force_fail_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.runtest._raise_force_fail_error"> + + </a> + <a name="_raise_force_fail_error"> + + </a> + <div class="functionHeader"> + + def + _raise_force_fail_error(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tags.TagContext.html b/apidocs/testtools.tags.TagContext.html new file mode 100644 index 0000000..bc38fd0 --- /dev/null +++ b/apidocs/testtools.tags.TagContext.html @@ -0,0 +1,133 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tags.TagContext : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tags.TagContext(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tags.html" class="code">tags</a></code> + + <a href="classIndex.html#testtools.tags.TagContext">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>A tag context.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id154"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tags.TagContext.html#__init__" class="code">__init__</a></td> + <td><span>Create a new TagContext.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tags.TagContext.html#get_current_tags" class="code">get_current_tags</a></td> + <td><span>Return any current tags.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tags.TagContext.html#change_tags" class="code">change_tags</a></td> + <td><span>Change the tags on this context.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tags.TagContext.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, parent=None): + + </div> + <div class="docstring functionBody"> + + <div>Create a new TagContext.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">parent</td><td>If provided, uses this as the parent context. Any tags +that are current on the parent at the time of construction are +current in this context.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.tags.TagContext.get_current_tags"> + + </a> + <a name="get_current_tags"> + + </a> + <div class="functionHeader"> + + def + get_current_tags(self): + + </div> + <div class="docstring functionBody"> + + <div>Return any current tags.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tags.TagContext.change_tags"> + + </a> + <a name="change_tags"> + + </a> + <div class="functionHeader"> + + def + change_tags(self, new_tags, gone_tags): + + </div> + <div class="docstring functionBody"> + + <div>Change the tags on this context.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">new_tags</td><td>A set of tags to add to this context.</td></tr><tr><td></td><td class="fieldArg">gone_tags</td><td>A set of tags to remove from this context.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">The tags now current on this context.</td></tr></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tags.html b/apidocs/testtools.tags.html new file mode 100644 index 0000000..eed3dd6 --- /dev/null +++ b/apidocs/testtools.tags.html @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tags : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tags</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tag support.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id153"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tags.TagContext.html" class="code">TagContext</a></td> + <td><span>A tag context.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testcase.ExpectedException.html b/apidocs/testtools.testcase.ExpectedException.html new file mode 100644 index 0000000..1743251 --- /dev/null +++ b/apidocs/testtools.testcase.ExpectedException.html @@ -0,0 +1,146 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testcase.ExpectedException : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testcase.ExpectedException</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testcase.html" class="code">testcase</a></code> + + <a href="classIndex.html#testtools.testcase.ExpectedException">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>A context manager to handle expected exceptions.</p> +<blockquote> +<dl class="rst-docutils"> +<dt>def test_foo(self):</dt> +<dd><dl class="rst-first rst-last rst-docutils"> +<dt>with ExpectedException(ValueError, 'fo.*'):</dt> +<dd>raise ValueError('foo')</dd> +</dl> +</dd> +</dl> +</blockquote> +<p>will pass. If the raised exception has a type other than the specified +type, it will be re-raised. If it has a 'str()' that does not match the +given regular expression, an AssertionError will be raised. If no +exception is raised, an AssertionError will be raised.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id168"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.ExpectedException.html#__init__" class="code">__init__</a></td> + <td><span>Construct an <a href="testtools.testcase.ExpectedException.html"><code>ExpectedException</code></a>.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.ExpectedException.html#__enter__" class="code">__enter__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.ExpectedException.html#__exit__" class="code">__exit__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testcase.ExpectedException.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, exc_type, value_re=None, msg=None): + + </div> + <div class="docstring functionBody"> + + <div>Construct an <a href="testtools.testcase.ExpectedException.html"><code>ExpectedException</code></a>.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">exc_type</td><td>The type of exception to expect.</td></tr><tr><td></td><td class="fieldArg">value_re</td><td>A regular expression to match against the +'str()' of the raised exception.</td></tr><tr><td></td><td class="fieldArg">msg</td><td>An optional message explaining the failure.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.ExpectedException.__enter__"> + + </a> + <a name="__enter__"> + + </a> + <div class="functionHeader"> + + def + __enter__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testcase.ExpectedException.__exit__"> + + </a> + <a name="__exit__"> + + </a> + <div class="functionHeader"> + + def + __exit__(self, exc_type, exc_value, traceback): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testcase.Nullary.html b/apidocs/testtools.testcase.Nullary.html new file mode 100644 index 0000000..4800fba --- /dev/null +++ b/apidocs/testtools.testcase.Nullary.html @@ -0,0 +1,133 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testcase.Nullary : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testcase.Nullary(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testcase.html" class="code">testcase</a></code> + + <a href="classIndex.html#testtools.testcase.Nullary">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Turn a callable into a nullary callable.</p> +<p>The advantage of this over <tt class="rst-docutils literal">lambda: <span class="pre">f(*args,</span> **kwargs)</tt> is that it +preserves the <tt class="rst-docutils literal">repr()</tt> of <tt class="rst-docutils literal">f</tt>.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id169"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.Nullary.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.Nullary.html#__call__" class="code">__call__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.Nullary.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testcase.Nullary.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, callable_object, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testcase.Nullary.__call__"> + + </a> + <a name="__call__"> + + </a> + <div class="functionHeader"> + + def + __call__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testcase.Nullary.__repr__"> + + </a> + <a name="__repr__"> + + </a> + <div class="functionHeader"> + + def + __repr__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testcase.TestCase.html b/apidocs/testtools.testcase.TestCase.html new file mode 100644 index 0000000..573edfd --- /dev/null +++ b/apidocs/testtools.testcase.TestCase.html @@ -0,0 +1,1164 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testcase.TestCase : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testcase.TestCase(<span title="unittest.TestCase">unittest.TestCase</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testcase.html" class="code">testcase</a></code> + + <a href="classIndex.html#testtools.testcase.TestCase">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.tests.matchers.test_basic.DoesNotEndWithTests.html" class="code">testtools.tests.matchers.test_basic.DoesNotEndWithTests</a>, <a href="testtools.tests.matchers.test_basic.DoesNotStartWithTests.html" class="code">testtools.tests.matchers.test_basic.DoesNotStartWithTests</a>, <a href="testtools.tests.matchers.test_basic.EndsWithTests.html" class="code">testtools.tests.matchers.test_basic.EndsWithTests</a>, <a href="testtools.tests.matchers.test_basic.StartsWithTests.html" class="code">testtools.tests.matchers.test_basic.StartsWithTests</a>, <a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch</a>, <a href="testtools.tests.matchers.test_basic.TestContainsInterface.html" class="code">testtools.tests.matchers.test_basic.TestContainsInterface</a>, <a href="testtools.tests.matchers.test_basic.TestEqualsInterface.html" class="code">testtools.tests.matchers.test_basic.TestEqualsInterface</a>, <a href="testtools.tests.matchers.test_basic.TestGreaterThanInterface.html" class="code">testtools.tests.matchers.test_basic.TestGreaterThanInterface</a>, <a href="testtools.tests.matchers.test_basic.TestHasLength.html" class="code">testtools.tests.matchers.test_basic.TestHasLength</a>, <a href="testtools.tests.matchers.test_basic.TestIsInstanceInterface.html" class="code">testtools.tests.matchers.test_basic.TestIsInstanceInterface</a>, <a href="testtools.tests.matchers.test_basic.TestIsInterface.html" class="code">testtools.tests.matchers.test_basic.TestIsInterface</a>, <a href="testtools.tests.matchers.test_basic.TestLessThanInterface.html" class="code">testtools.tests.matchers.test_basic.TestLessThanInterface</a>, <a href="testtools.tests.matchers.test_basic.TestMatchesRegex.html" class="code">testtools.tests.matchers.test_basic.TestMatchesRegex</a>, <a href="testtools.tests.matchers.test_basic.TestNotEqualsInterface.html" class="code">testtools.tests.matchers.test_basic.TestNotEqualsInterface</a>, <a href="testtools.tests.matchers.test_basic.TestSameMembers.html" class="code">testtools.tests.matchers.test_basic.TestSameMembers</a>, <a href="testtools.tests.matchers.test_datastructures.TestContainsAllInterface.html" class="code">testtools.tests.matchers.test_datastructures.TestContainsAllInterface</a>, <a href="testtools.tests.matchers.test_datastructures.TestMatchesListwise.html" class="code">testtools.tests.matchers.test_datastructures.TestMatchesListwise</a>, <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise</a>, <a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.html" class="code">testtools.tests.matchers.test_datastructures.TestMatchesStructure</a>, <a href="testtools.tests.matchers.test_dict.TestContainedByDict.html" class="code">testtools.tests.matchers.test_dict.TestContainedByDict</a>, <a href="testtools.tests.matchers.test_dict.TestContainsDict.html" class="code">testtools.tests.matchers.test_dict.TestContainsDict</a>, <a href="testtools.tests.matchers.test_dict.TestKeysEqualWithList.html" class="code">testtools.tests.matchers.test_dict.TestKeysEqualWithList</a>, <a href="testtools.tests.matchers.test_dict.TestMatchesAllDictInterface.html" class="code">testtools.tests.matchers.test_dict.TestMatchesAllDictInterface</a>, <a href="testtools.tests.matchers.test_dict.TestMatchesDict.html" class="code">testtools.tests.matchers.test_dict.TestMatchesDict</a>, <a href="testtools.tests.matchers.test_dict.TestSubDictOf.html" class="code">testtools.tests.matchers.test_dict.TestSubDictOf</a>, <a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface.html" class="code">testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface</a>, <a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode.html" class="code">testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode</a>, <a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.html" class="code">testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific</a>, <a href="testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface</a>, <a href="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface</a>, <a href="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface</a>, <a href="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface</a>, <a href="testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html" class="code">testtools.tests.matchers.test_exception.TestRaisesBaseTypes</a>, <a href="testtools.tests.matchers.test_exception.TestRaisesConvenience.html" class="code">testtools.tests.matchers.test_exception.TestRaisesConvenience</a>, <a href="testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.html" class="code">testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface</a>, <a href="testtools.tests.matchers.test_exception.TestRaisesInterface.html" class="code">testtools.tests.matchers.test_exception.TestRaisesInterface</a>, <a href="testtools.tests.matchers.test_filesystem.TestDirContains.html" class="code">testtools.tests.matchers.test_filesystem.TestDirContains</a>, <a href="testtools.tests.matchers.test_filesystem.TestDirExists.html" class="code">testtools.tests.matchers.test_filesystem.TestDirExists</a>, <a href="testtools.tests.matchers.test_filesystem.TestFileContains.html" class="code">testtools.tests.matchers.test_filesystem.TestFileContains</a>, <a href="testtools.tests.matchers.test_filesystem.TestFileExists.html" class="code">testtools.tests.matchers.test_filesystem.TestFileExists</a>, <a href="testtools.tests.matchers.test_filesystem.TestHasPermissions.html" class="code">testtools.tests.matchers.test_filesystem.TestHasPermissions</a>, <a href="testtools.tests.matchers.test_filesystem.TestPathExists.html" class="code">testtools.tests.matchers.test_filesystem.TestPathExists</a>, <a href="testtools.tests.matchers.test_filesystem.TestSamePath.html" class="code">testtools.tests.matchers.test_filesystem.TestSamePath</a>, <a href="testtools.tests.matchers.test_filesystem.TestTarballContains.html" class="code">testtools.tests.matchers.test_filesystem.TestTarballContains</a>, <a href="testtools.tests.matchers.test_higherorder.TestAfterPreprocessing.html" class="code">testtools.tests.matchers.test_higherorder.TestAfterPreprocessing</a>, <a href="testtools.tests.matchers.test_higherorder.TestAllMatch.html" class="code">testtools.tests.matchers.test_higherorder.TestAllMatch</a>, <a href="testtools.tests.matchers.test_higherorder.TestAnnotate.html" class="code">testtools.tests.matchers.test_higherorder.TestAnnotate</a>, <a href="testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch.html" class="code">testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch</a>, <a href="testtools.tests.matchers.test_higherorder.TestAnyMatch.html" class="code">testtools.tests.matchers.test_higherorder.TestAnyMatch</a>, <a href="testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface</a>, <a href="testtools.tests.matchers.test_higherorder.TestMatchesAllInterface.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchesAllInterface</a>, <a href="testtools.tests.matchers.test_higherorder.TestMatchesPredicate.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchesPredicate</a>, <a href="testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams</a>, <a href="testtools.tests.matchers.test_higherorder.TestNotInterface.html" class="code">testtools.tests.matchers.test_higherorder.TestNotInterface</a>, <a href="testtools.tests.matchers.test_impl.TestMismatch.html" class="code">testtools.tests.matchers.test_impl.TestMismatch</a>, <a href="testtools.tests.matchers.test_impl.TestMismatchDecorator.html" class="code">testtools.tests.matchers.test_impl.TestMismatchDecorator</a>, <a href="testtools.tests.matchers.test_impl.TestMismatchError.html" class="code">testtools.tests.matchers.test_impl.TestMismatchError</a>, <a href="testtools.tests.test_assert_that.TestAssertThatFunction.html" class="code">testtools.tests.test_assert_that.TestAssertThatFunction</a>, <a href="testtools.tests.test_assert_that.TestAssertThatMethod.html" class="code">testtools.tests.test_assert_that.TestAssertThatMethod</a>, <a href="testtools.tests.test_compat.TestReraise.html" class="code">testtools.tests.test_compat.TestReraise</a>, <a href="testtools.tests.test_compat.TestTextRepr.html" class="code">testtools.tests.test_compat.TestTextRepr</a>, <a href="testtools.tests.test_compat.TestUnicodeOutputStream.html" class="code">testtools.tests.test_compat.TestUnicodeOutputStream</a>, <a href="testtools.tests.test_content.TestAttachFile.html" class="code">testtools.tests.test_content.TestAttachFile</a>, <a href="testtools.tests.test_content.TestContent.html" class="code">testtools.tests.test_content.TestContent</a>, <a href="testtools.tests.test_content.TestStackLinesContent.html" class="code">testtools.tests.test_content.TestStackLinesContent</a>, <a href="testtools.tests.test_content.TestStacktraceContent.html" class="code">testtools.tests.test_content.TestStacktraceContent</a>, <a href="testtools.tests.test_content.TestTracebackContent.html" class="code">testtools.tests.test_content.TestTracebackContent</a>, <a href="testtools.tests.test_content_type.TestBuiltinContentTypes.html" class="code">testtools.tests.test_content_type.TestBuiltinContentTypes</a>, <a href="testtools.tests.test_content_type.TestContentType.html" class="code">testtools.tests.test_content_type.TestContentType</a>, <a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">testtools.tests.test_deferredruntest.X.Base</a>, <a href="testtools.tests.test_distutilscmd.TestCommandTest.html" class="code">testtools.tests.test_distutilscmd.TestCommandTest</a>, <a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html" class="code">testtools.tests.test_fixturesupport.TestFixtureSupport</a>, <a href="testtools.tests.test_helpers.TestStackHiding.html" class="code">testtools.tests.test_helpers.TestStackHiding</a>, <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html" class="code">testtools.tests.test_monkey.MonkeyPatcherTest</a>, <a href="testtools.tests.test_monkey.TestPatchHelper.html" class="code">testtools.tests.test_monkey.TestPatchHelper</a>, <a href="testtools.tests.test_run.TestRun.html" class="code">testtools.tests.test_run.TestRun</a>, <a href="testtools.tests.test_runtest.TestRunTest.html" class="code">testtools.tests.test_runtest.TestRunTest</a>, <a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html" class="code">testtools.tests.test_runtest.TestTestCaseSupportForRunTest</a>, <a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">testtools.tests.test_spinner.NeedsTwistedTestCase</a>, <a href="testtools.tests.test_tags.TestTags.html" class="code">testtools.tests.test_tags.TestTags</a>, <a href="testtools.tests.test_testcase.Attributes.html" class="code">testtools.tests.test_testcase.Attributes</a>, <a href="testtools.tests.test_testcase.TestAddCleanup.html" class="code">testtools.tests.test_testcase.TestAddCleanup</a>, <a href="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html" class="code">testtools.tests.test_testcase.TestAddCleanup.LoggingTest</a>, <a href="testtools.tests.test_testcase.TestAssertions.html" class="code">testtools.tests.test_testcase.TestAssertions</a>, <a href="testtools.tests.test_testcase.TestAttributes.html" class="code">testtools.tests.test_testcase.TestAttributes</a>, <a href="testtools.tests.test_testcase.TestCloneTestWithNewId.html" class="code">testtools.tests.test_testcase.TestCloneTestWithNewId</a>, <a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html" class="code">testtools.tests.test_testcase.TestDecorateTestCaseResult</a>, <a href="testtools.tests.test_testcase.TestEquality.html" class="code">testtools.tests.test_testcase.TestEquality</a>, <a href="testtools.tests.test_testcase.TestErrorHolder.html" class="code">testtools.tests.test_testcase.TestErrorHolder</a>, <a href="testtools.tests.test_testcase.TestNullary.html" class="code">testtools.tests.test_testcase.TestNullary</a>, <a href="testtools.tests.test_testcase.TestOnException.html" class="code">testtools.tests.test_testcase.TestOnException</a>, <a href="testtools.tests.test_testcase.TestPatchSupport.html" class="code">testtools.tests.test_testcase.TestPatchSupport</a>, <a href="testtools.tests.test_testcase.TestPatchSupport.Case.html" class="code">testtools.tests.test_testcase.TestPatchSupport.Case</a>, <a href="testtools.tests.test_testcase.TestPlaceHolder.html" class="code">testtools.tests.test_testcase.TestPlaceHolder</a>, <a href="testtools.tests.test_testcase.TestRunTestUsage.html" class="code">testtools.tests.test_testcase.TestRunTestUsage</a>, <a href="testtools.tests.test_testcase.TestSetupTearDown.html" class="code">testtools.tests.test_testcase.TestSetupTearDown</a>, <a href="testtools.tests.test_testcase.TestSkipping.html" class="code">testtools.tests.test_testcase.TestSkipping</a>, <a href="testtools.tests.test_testcase.TestTestCaseSuper.html" class="code">testtools.tests.test_testcase.TestTestCaseSuper</a>, <a href="testtools.tests.test_testcase.TestUniqueFactories.html" class="code">testtools.tests.test_testcase.TestUniqueFactories</a>, <a href="testtools.tests.test_testcase.TestWithDetails.html" class="code">testtools.tests.test_testcase.TestWithDetails</a>, <a href="testtools.tests.test_testresult.TestAdaptedPython26TestResultContract.html" class="code">testtools.tests.test_testresult.TestAdaptedPython26TestResultContract</a>, <a href="testtools.tests.test_testresult.TestAdaptedPython27TestResultContract.html" class="code">testtools.tests.test_testresult.TestAdaptedPython27TestResultContract</a>, <a href="testtools.tests.test_testresult.TestAdaptedStreamResult.html" class="code">testtools.tests.test_testresult.TestAdaptedStreamResult</a>, <a href="testtools.tests.test_testresult.TestBaseStreamResultContract.html" class="code">testtools.tests.test_testresult.TestBaseStreamResultContract</a>, <a href="testtools.tests.test_testresult.TestByTestResultTests.html" class="code">testtools.tests.test_testresult.TestByTestResultTests</a>, <a href="testtools.tests.test_testresult.TestCopyStreamResultContract.html" class="code">testtools.tests.test_testresult.TestCopyStreamResultContract</a>, <a href="testtools.tests.test_testresult.TestCopyStreamResultCopies.html" class="code">testtools.tests.test_testresult.TestCopyStreamResultCopies</a>, <a href="testtools.tests.test_testresult.TestDetailsToStr.html" class="code">testtools.tests.test_testresult.TestDetailsToStr</a>, <a href="testtools.tests.test_testresult.TestDoubleStreamResultContract.html" class="code">testtools.tests.test_testresult.TestDoubleStreamResultContract</a>, <a href="testtools.tests.test_testresult.TestDoubleStreamResultEvents.html" class="code">testtools.tests.test_testresult.TestDoubleStreamResultEvents</a>, <a href="testtools.tests.test_testresult.TestExtendedTestResultContract.html" class="code">testtools.tests.test_testresult.TestExtendedTestResultContract</a>, <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase</a>, <a href="testtools.tests.test_testresult.TestExtendedToStreamDecorator.html" class="code">testtools.tests.test_testresult.TestExtendedToStreamDecorator</a>, <a href="testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract.html" class="code">testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract</a>, <a href="testtools.tests.test_testresult.TestMergeTags.html" class="code">testtools.tests.test_testresult.TestMergeTags</a>, <a href="testtools.tests.test_testresult.TestMultiTestResult.html" class="code">testtools.tests.test_testresult.TestMultiTestResult</a>, <a href="testtools.tests.test_testresult.TestMultiTestResultContract.html" class="code">testtools.tests.test_testresult.TestMultiTestResultContract</a>, <a href="testtools.tests.test_testresult.TestNonAsciiResults.html" class="code">testtools.tests.test_testresult.TestNonAsciiResults</a>, <a href="testtools.tests.test_testresult.TestPython26TestResultContract.html" class="code">testtools.tests.test_testresult.TestPython26TestResultContract</a>, <a href="testtools.tests.test_testresult.TestPython27TestResultContract.html" class="code">testtools.tests.test_testresult.TestPython27TestResultContract</a>, <a href="testtools.tests.test_testresult.TestStreamFailFast.html" class="code">testtools.tests.test_testresult.TestStreamFailFast</a>, <a href="testtools.tests.test_testresult.TestStreamFailFastContract.html" class="code">testtools.tests.test_testresult.TestStreamFailFastContract</a>, <a href="testtools.tests.test_testresult.TestStreamResultRouter.html" class="code">testtools.tests.test_testresult.TestStreamResultRouter</a>, <a href="testtools.tests.test_testresult.TestStreamResultRouterContract.html" class="code">testtools.tests.test_testresult.TestStreamResultRouterContract</a>, <a href="testtools.tests.test_testresult.TestStreamSummary.html" class="code">testtools.tests.test_testresult.TestStreamSummary</a>, <a href="testtools.tests.test_testresult.TestStreamSummaryResultContract.html" class="code">testtools.tests.test_testresult.TestStreamSummaryResultContract</a>, <a href="testtools.tests.test_testresult.TestStreamTagger.html" class="code">testtools.tests.test_testresult.TestStreamTagger</a>, <a href="testtools.tests.test_testresult.TestStreamTaggerContract.html" class="code">testtools.tests.test_testresult.TestStreamTaggerContract</a>, <a href="testtools.tests.test_testresult.TestStreamToDict.html" class="code">testtools.tests.test_testresult.TestStreamToDict</a>, <a href="testtools.tests.test_testresult.TestStreamToDictContract.html" class="code">testtools.tests.test_testresult.TestStreamToDictContract</a>, <a href="testtools.tests.test_testresult.TestStreamToExtendedContract.html" class="code">testtools.tests.test_testresult.TestStreamToExtendedContract</a>, <a href="testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract.html" class="code">testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract</a>, <a href="testtools.tests.test_testresult.TestStreamToQueue.html" class="code">testtools.tests.test_testresult.TestStreamToQueue</a>, <a href="testtools.tests.test_testresult.TestStreamToQueueContract.html" class="code">testtools.tests.test_testresult.TestStreamToQueueContract</a>, <a href="testtools.tests.test_testresult.TestTagger.html" class="code">testtools.tests.test_testresult.TestTagger</a>, <a href="testtools.tests.test_testresult.TestTestControl.html" class="code">testtools.tests.test_testresult.TestTestControl</a>, <a href="testtools.tests.test_testresult.TestTestResult.html" class="code">testtools.tests.test_testresult.TestTestResult</a>, <a href="testtools.tests.test_testresult.TestTestResultContract.html" class="code">testtools.tests.test_testresult.TestTestResultContract</a>, <a href="testtools.tests.test_testresult.TestTestResultDecoratorContract.html" class="code">testtools.tests.test_testresult.TestTestResultDecoratorContract</a>, <a href="testtools.tests.test_testresult.TestTextTestResult.html" class="code">testtools.tests.test_testresult.TestTextTestResult</a>, <a href="testtools.tests.test_testresult.TestTextTestResultContract.html" class="code">testtools.tests.test_testresult.TestTextTestResultContract</a>, <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult</a>, <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResultContract.html" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResultContract</a>, <a href="testtools.tests.test_testresult.TestTimestampingStreamResult.html" class="code">testtools.tests.test_testresult.TestTimestampingStreamResult</a>, <a href="testtools.tests.test_testsuite.Sample.html" class="code">testtools.tests.test_testsuite.Sample</a>, <a href="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html" class="code">testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun</a>, <a href="testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html" class="code">testtools.tests.test_testsuite.TestConcurrentTestSuiteRun</a>, <a href="testtools.tests.test_testsuite.TestFixtureSuite.html" class="code">testtools.tests.test_testsuite.TestFixtureSuite</a>, <a href="testtools.tests.test_testsuite.TestSortedTests.html" class="code">testtools.tests.test_testsuite.TestSortedTests</a>, <a href="testtools.tests.test_with_with.TestExpectedException.html" class="code">testtools.tests.test_with_with.TestExpectedException</a></p> + </div> + + <div class="moduleDocstring"> + <div>Extensions to the basic TestCase.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id166"> + + <tr class="instancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="instancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="classvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="staticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="staticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="staticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="staticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="staticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testcase.TestCase.exception_handlers"> + + </a> + <a name="exception_handlers"> + + </a> + <div class="functionHeader"> + exception_handlers = + </div> + <div class="functionBody"> + Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs. + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.force_failure"> + + </a> + <a name="force_failure"> + + </a> + <div class="functionHeader"> + force_failure = + </div> + <div class="functionBody"> + Force testtools.RunTest to fail the test after the +test has completed. + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.run_tests_with"> + + </a> + <a name="run_tests_with"> + + </a> + <div class="functionHeader"> + run_tests_with = + </div> + <div class="functionBody"> + A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers. + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div>Construct a TestCase.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">testMethod</td><td>The name of the method to run.</td></tr><tr><td></td><td class="fieldArg">runTest</td><td>Optional class to use to execute the test. If not +supplied <tt class="rst-docutils literal">RunTest</tt> is used. The instance to be used is created +when run() is invoked, so will be fresh each time. Overrides +<tt class="rst-docutils literal">TestCase.run_tests_with</tt> if given.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.__eq__"> + + </a> + <a name="__eq__"> + + </a> + <div class="functionHeader"> + + def + __eq__(self, other): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.__repr__"> + + </a> + <a name="__repr__"> + + </a> + <div class="functionHeader"> + + def + __repr__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.addDetail"> + + </a> + <a name="addDetail"> + + </a> + <div class="functionHeader"> + + def + addDetail(self, name, content_object): + + </div> + <div class="docstring functionBody"> + + <div><p>Add a detail to be reported with this test's outcome.</p> +<p>For more details see pydoc testtools.TestResult.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">name</td><td>The name to give this detail.</td></tr><tr><td></td><td class="fieldArg">content_object</td><td>The content object for this detail. See +testtools.content for more detail.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.getDetails"> + + </a> + <a name="getDetails"> + + </a> + <div class="functionHeader"> + + def + getDetails(self): + + </div> + <div class="docstring functionBody"> + + <div><p>Get the details dict that will be reported with this test's outcome.</p> +<p>For more details see pydoc testtools.TestResult.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.patch"> + + </a> + <a name="patch"> + + </a> + <div class="functionHeader"> + + def + patch(self, obj, attribute, value): + + </div> + <div class="docstring functionBody"> + + <div><p>Monkey-patch 'obj.attribute' to 'value' while the test is running.</p> +<p>If 'obj' has no attribute, then the monkey-patch will still go ahead, +and the attribute will be deleted instead of restored to its original +value.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">obj</td><td>The object to patch. Can be anything.</td></tr><tr><td></td><td class="fieldArg">attribute</td><td>The attribute on 'obj' to patch.</td></tr><tr><td></td><td class="fieldArg">value</td><td>The value to set 'obj.attribute' to.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.shortDescription"> + + </a> + <a name="shortDescription"> + + </a> + <div class="functionHeader"> + + def + shortDescription(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.skipTest"> + + </a> + <a name="skipTest"> + + </a> + <div class="functionHeader"> + + def + skipTest(self, reason): + + </div> + <div class="docstring functionBody"> + + <div><p>Cause this test to be skipped.</p> +<p>This raises self.skipException(reason). skipException is raised +to permit a skip to be triggered at any point (during setUp or the +testMethod itself). The run() method catches skipException and +translates that into a call to the result objects addSkip method.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">reason</td><td>The reason why the test is being skipped. This must +support being cast into a unicode string for reporting.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase._formatTypes"> + + </a> + <a name="_formatTypes"> + + </a> + <div class="functionHeader"> + + def + _formatTypes(self, classOrIterable): + + </div> + <div class="docstring functionBody"> + + <div>Format a class or a bunch of classes for display in an error.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.addCleanup"> + + </a> + <a name="addCleanup"> + + </a> + <div class="functionHeader"> + + def + addCleanup(self, function, *arguments, **keywordArguments): + + </div> + <div class="docstring functionBody"> + + <div><p>Add a cleanup function to be called after tearDown.</p> +<p>Functions added with addCleanup will be called in reverse order of +adding after tearDown, or after setUp if setUp raises an exception.</p> +<p>If a function added with addCleanup raises an exception, the error +will be recorded as a test error, and the next cleanup will then be +run.</p> +<p>Cleanup functions are always called before a test finishes running, +even if setUp is aborted by an exception.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.addOnException"> + + </a> + <a name="addOnException"> + + </a> + <div class="functionHeader"> + + def + addOnException(self, handler): + + </div> + <div class="docstring functionBody"> + + <div><p>Add a handler to be called when an exception occurs in test code.</p> +<p>This handler cannot affect what result methods are called, and is +called before any outcome is called on the result object. An example +use for it is to add some diagnostic state to the test details dict +which is expensive to calculate and not interesting for reporting in +the success case.</p> +<p>Handlers are called before the outcome (such as addFailure) that +the exception has caused.</p> +<p>Handlers are called in first-added, first-called order, and if they +raise an exception, that will propogate out of the test running +machinery, halting test processing. As a result, do not call code that +may unreasonably fail.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase._add_reason"> + + </a> + <a name="_add_reason"> + + </a> + <div class="functionHeader"> + + def + _add_reason(self, reason): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.assertEqual"> + + </a> + <a name="assertEqual"> + + </a> + <div class="functionHeader"> + + def + assertEqual(self, expected, observed, message=''): + + </div> + <div class="docstring functionBody"> + + <div>Assert that 'expected' is equal to 'observed'.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">expected</td><td>The expected value.</td></tr><tr><td></td><td class="fieldArg">observed</td><td>The observed value.</td></tr><tr><td></td><td class="fieldArg">message</td><td>An optional message to include in the error.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.assertIn"> + + </a> + <a name="assertIn"> + + </a> + <div class="functionHeader"> + + def + assertIn(self, needle, haystack, message=''): + + </div> + <div class="docstring functionBody"> + + <div>Assert that needle is in haystack.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.assertIsNone"> + + </a> + <a name="assertIsNone"> + + </a> + <div class="functionHeader"> + + def + assertIsNone(self, observed, message=''): + + </div> + <div class="docstring functionBody"> + + <div>Assert that 'observed' is equal to None.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">observed</td><td>The observed value.</td></tr><tr><td></td><td class="fieldArg">message</td><td>An optional message describing the error.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.assertIsNotNone"> + + </a> + <a name="assertIsNotNone"> + + </a> + <div class="functionHeader"> + + def + assertIsNotNone(self, observed, message=''): + + </div> + <div class="docstring functionBody"> + + <div>Assert that 'observed' is not equal to None.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">observed</td><td>The observed value.</td></tr><tr><td></td><td class="fieldArg">message</td><td>An optional message describing the error.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.assertIs"> + + </a> + <a name="assertIs"> + + </a> + <div class="functionHeader"> + + def + assertIs(self, expected, observed, message=''): + + </div> + <div class="docstring functionBody"> + + <div>Assert that 'expected' is 'observed'.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">expected</td><td>The expected value.</td></tr><tr><td></td><td class="fieldArg">observed</td><td>The observed value.</td></tr><tr><td></td><td class="fieldArg">message</td><td>An optional message describing the error.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.assertIsNot"> + + </a> + <a name="assertIsNot"> + + </a> + <div class="functionHeader"> + + def + assertIsNot(self, expected, observed, message=''): + + </div> + <div class="docstring functionBody"> + + <div>Assert that 'expected' is not 'observed'.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.assertNotIn"> + + </a> + <a name="assertNotIn"> + + </a> + <div class="functionHeader"> + + def + assertNotIn(self, needle, haystack, message=''): + + </div> + <div class="docstring functionBody"> + + <div>Assert that needle is not in haystack.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.assertIsInstance"> + + </a> + <a name="assertIsInstance"> + + </a> + <div class="functionHeader"> + + def + assertIsInstance(self, obj, klass, msg=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.assertRaises"> + + </a> + <a name="assertRaises"> + + </a> + <div class="functionHeader"> + + def + assertRaises(self, excClass, callableObj, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div>Fail unless an exception of class excClass is thrown +by callableObj when invoked with arguments args and keyword +arguments kwargs. If a different type of exception is +thrown, it will not be caught, and the test case will be +deemed to have suffered an error, exactly as for an +unexpected exception.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.assertThat"> + + </a> + <a name="assertThat"> + + </a> + <div class="functionHeader"> + + def + assertThat(self, matchee, matcher, message='', verbose=False): + + </div> + <div class="docstring functionBody"> + + <div>Assert that matchee is matched by matcher.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">matchee</td><td>An object to match with matcher.</td></tr><tr><td></td><td class="fieldArg">matcher</td><td>An object meeting the testtools.Matcher protocol.</td></tr><tr class="fieldStart"><td class="fieldName">Raises</td><td class="fieldArg">MismatchError</td><td>When matcher does not match thing.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.addDetailUniqueName"> + + </a> + <a name="addDetailUniqueName"> + + </a> + <div class="functionHeader"> + + def + addDetailUniqueName(self, name, content_object): + + </div> + <div class="docstring functionBody"> + + <div><p>Add a detail to the test, but ensure it's name is unique.</p> +<p>This method checks whether <tt class="rst-docutils literal">name</tt> conflicts with a detail that has +already been added to the test. If it does, it will modify <tt class="rst-docutils literal">name</tt> to +avoid the conflict.</p> +<p>For more details see pydoc testtools.TestResult.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">name</td><td>The name to give this detail.</td></tr><tr><td></td><td class="fieldArg">content_object</td><td>The content object for this detail. See +testtools.content for more detail.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.expectThat"> + + </a> + <a name="expectThat"> + + </a> + <div class="functionHeader"> + + def + expectThat(self, matchee, matcher, message='', verbose=False): + + </div> + <div class="docstring functionBody"> + + <div><p>Check that matchee is matched by matcher, but delay the assertion failure.</p> +<p>This method behaves similarly to <tt class="rst-docutils literal">assertThat</tt>, except that a failed +match does not exit the test immediately. The rest of the test code will +continue to run, and the test will be marked as failing after the test +has finished.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">matchee</td><td>An object to match with matcher.</td></tr><tr><td></td><td class="fieldArg">matcher</td><td>An object meeting the testtools.Matcher protocol.</td></tr><tr><td></td><td class="fieldArg">message</td><td>If specified, show this message with any failed match.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase._matchHelper"> + + </a> + <a name="_matchHelper"> + + </a> + <div class="functionHeader"> + + def + _matchHelper(self, matchee, matcher, message, verbose): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.defaultTestResult"> + + </a> + <a name="defaultTestResult"> + + </a> + <div class="functionHeader"> + + def + defaultTestResult(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.expectFailure"> + + </a> + <a name="expectFailure"> + + </a> + <div class="functionHeader"> + + def + expectFailure(self, reason, predicate, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div><p>Check that a test fails in a particular way.</p> +<p>If the test fails in the expected way, a KnownFailure is caused. If it +succeeds an UnexpectedSuccess is caused.</p> +<p>The expected use of expectFailure is as a barrier at the point in a +test where the test would fail. For example: +>>> def test_foo(self): +>>> self.expectFailure("1 should be 0", self.assertNotEqual, 1, 0) +>>> self.assertEqual(1, 0)</p> +<p>If in the future 1 were to equal 0, the expectFailure call can simply +be removed. This separation preserves the original intent of the test +while it is in the expectFailure mode.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.getUniqueInteger"> + + </a> + <a name="getUniqueInteger"> + + </a> + <div class="functionHeader"> + + def + getUniqueInteger(self): + + </div> + <div class="docstring functionBody"> + + <div><p>Get an integer unique to this test.</p> +<p>Returns an integer that is guaranteed to be unique to this instance. +Use this when you need an arbitrary integer in your test, or as a +helper for custom anonymous factory methods.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.getUniqueString"> + + </a> + <a name="getUniqueString"> + + </a> + <div class="functionHeader"> + + def + getUniqueString(self, prefix=None): + + </div> + <div class="docstring functionBody"> + + <div><p>Get a string unique to this test.</p> +<p>Returns a string that is guaranteed to be unique to this instance. Use +this when you need an arbitrary string in your test, or as a helper +for custom anonymous factory methods.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">prefix</td><td>The prefix of the string. If not provided, defaults +to the id of the tests.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">A bytestring of '<prefix>-<unique_int>'.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.onException"> + + </a> + <a name="onException"> + + </a> + <div class="functionHeader"> + + def + onException(self, exc_info, tb_label='traceback'): + + </div> + <div class="docstring functionBody"> + + <div>Called when an exception propogates from test code.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">See Also</td><td colspan="2"></td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase._report_error"> + + </a> + <a name="_report_error"> + + </a> + <div class="functionHeader"> + @staticmethod<br /> + def + _report_error(self, result, err): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase._report_expected_failure"> + + </a> + <a name="_report_expected_failure"> + + </a> + <div class="functionHeader"> + @staticmethod<br /> + def + _report_expected_failure(self, result, err): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase._report_failure"> + + </a> + <a name="_report_failure"> + + </a> + <div class="functionHeader"> + @staticmethod<br /> + def + _report_failure(self, result, err): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase._report_skip"> + + </a> + <a name="_report_skip"> + + </a> + <div class="functionHeader"> + @staticmethod<br /> + def + _report_skip(self, result, err): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase._report_traceback"> + + </a> + <a name="_report_traceback"> + + </a> + <div class="functionHeader"> + + def + _report_traceback(self, exc_info, tb_label='traceback'): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase._report_unexpected_success"> + + </a> + <a name="_report_unexpected_success"> + + </a> + <div class="functionHeader"> + @staticmethod<br /> + def + _report_unexpected_success(self, result, err): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.run"> + + </a> + <a name="run"> + + </a> + <div class="functionHeader"> + + def + run(self, result=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase._run_setup"> + + </a> + <a name="_run_setup"> + + </a> + <div class="functionHeader"> + + def + _run_setup(self, result): + + </div> + <div class="docstring functionBody"> + + <div>Run the setUp function for this test.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">result</td><td>A testtools.TestResult to report activity to.</td></tr><tr class="fieldStart"><td class="fieldName">Raises</td><td class="fieldArg">ValueError</td><td>If the base class setUp is not called, a +ValueError is raised.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase._run_teardown"> + + </a> + <a name="_run_teardown"> + + </a> + <div class="functionHeader"> + + def + _run_teardown(self, result): + + </div> + <div class="docstring functionBody"> + + <div>Run the tearDown function for this test.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">result</td><td>A testtools.TestResult to report activity to.</td></tr><tr class="fieldStart"><td class="fieldName">Raises</td><td class="fieldArg">ValueError</td><td>If the base class tearDown is not called, a +ValueError is raised.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase._get_test_method"> + + </a> + <a name="_get_test_method"> + + </a> + <div class="functionHeader"> + + def + _get_test_method(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase._run_test_method"> + + </a> + <a name="_run_test_method"> + + </a> + <div class="functionHeader"> + + def + _run_test_method(self, result): + + </div> + <div class="docstring functionBody"> + + <div>Run the test method for this test.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">result</td><td>A testtools.TestResult to report activity to.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">None.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.useFixture"> + + </a> + <a name="useFixture"> + + </a> + <div class="functionHeader"> + + def + useFixture(self, fixture): + + </div> + <div class="docstring functionBody"> + + <div><p>Use fixture in a test case.</p> +<p>The fixture will be setUp, and self.addCleanup(fixture.cleanUp) called.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">fixture</td><td>The fixture to use.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">The fixture, after setting it up and scheduling a cleanup for +it.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.setUp"> + + </a> + <a name="setUp"> + + </a> + <div class="functionHeader"> + + def + setUp(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.tests.test_compat.TestUnicodeOutputStream.html" class="code">testtools.tests.test_compat.TestUnicodeOutputStream</a>, <a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">testtools.tests.test_deferredruntest.X.Base</a>, <a href="testtools.tests.test_distutilscmd.TestCommandTest.html" class="code">testtools.tests.test_distutilscmd.TestCommandTest</a>, <a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html" class="code">testtools.tests.test_fixturesupport.TestFixtureSupport</a>, <a href="testtools.tests.test_helpers.TestStackHiding.html" class="code">testtools.tests.test_helpers.TestStackHiding</a>, <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html" class="code">testtools.tests.test_monkey.MonkeyPatcherTest</a>, <a href="testtools.tests.test_run.TestRun.html" class="code">testtools.tests.test_run.TestRun</a>, <a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">testtools.tests.test_spinner.NeedsTwistedTestCase</a>, <a href="testtools.tests.test_testcase.TestAddCleanup.html" class="code">testtools.tests.test_testcase.TestAddCleanup</a>, <a href="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html" class="code">testtools.tests.test_testcase.TestAddCleanup.LoggingTest</a>, <a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html" class="code">testtools.tests.test_testcase.TestDecorateTestCaseResult</a>, <a href="testtools.tests.test_testresult.TestByTestResultTests.html" class="code">testtools.tests.test_testresult.TestByTestResultTests</a>, <a href="testtools.tests.test_testresult.TestCopyStreamResultCopies.html" class="code">testtools.tests.test_testresult.TestCopyStreamResultCopies</a>, <a href="testtools.tests.test_testresult.TestMultiTestResult.html" class="code">testtools.tests.test_testresult.TestMultiTestResult</a>, <a href="testtools.tests.test_testresult.TestTextTestResult.html" class="code">testtools.tests.test_testresult.TestTextTestResult</a>, <a href="testtools.tests.test_testsuite.TestFixtureSuite.html" class="code">testtools.tests.test_testsuite.TestFixtureSuite</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testcase.TestCase.tearDown"> + + </a> + <a name="tearDown"> + + </a> + <div class="functionHeader"> + + def + tearDown(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">testtools.tests.test_deferredruntest.X.Base</a>, <a href="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html" class="code">testtools.tests.test_testcase.TestAddCleanup.LoggingTest</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testcase.TestSkipped.html b/apidocs/testtools.testcase.TestSkipped.html new file mode 100644 index 0000000..4b37583 --- /dev/null +++ b/apidocs/testtools.testcase.TestSkipped.html @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testcase.TestSkipped : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testcase.TestSkipped(<span title="Exception">Exception</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testcase.html" class="code">testcase</a></code> + + <a href="classIndex.html#testtools.testcase.TestSkipped">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Raised within TestCase.run() when a test is skipped.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testcase.WithAttributes.html b/apidocs/testtools.testcase.WithAttributes.html new file mode 100644 index 0000000..2941d29 --- /dev/null +++ b/apidocs/testtools.testcase.WithAttributes.html @@ -0,0 +1,94 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testcase.WithAttributes : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testcase.WithAttributes(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testcase.html" class="code">testcase</a></code> + + <a href="classIndex.html#testtools.testcase.WithAttributes">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.tests.test_testcase.Attributes.html" class="code">testtools.tests.test_testcase.Attributes</a></p> + </div> + + <div class="moduleDocstring"> + <div><p>A mix-in class for modifying test id by attributes.</p> +<p>e.g. +>>> class MyTest(WithAttributes, TestCase): +... @attr('foo') +... def test_bar(self): +... pass +>>> MyTest('test_bar').id() +testtools.testcase.MyTest/test_bar[foo]</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id167"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testcase.WithAttributes.html#id" class="code">id</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testcase.WithAttributes.id"> + + </a> + <a name="id"> + + </a> + <div class="functionHeader"> + + def + id(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testcase._ExpectedFailure.html b/apidocs/testtools.testcase._ExpectedFailure.html new file mode 100644 index 0000000..f621432 --- /dev/null +++ b/apidocs/testtools.testcase._ExpectedFailure.html @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testcase._ExpectedFailure : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class private"><code>testtools.testcase._ExpectedFailure(<span title="Exception">Exception</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testcase.html" class="code">testcase</a></code> + + <a href="classIndex.html#testtools.testcase._ExpectedFailure">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>An expected failure occured.</p> +<p>Note that this exception is private plumbing in testtools' testcase +module.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testcase._UnexpectedSuccess.html b/apidocs/testtools.testcase._UnexpectedSuccess.html new file mode 100644 index 0000000..1073a4c --- /dev/null +++ b/apidocs/testtools.testcase._UnexpectedSuccess.html @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testcase._UnexpectedSuccess : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class private"><code>testtools.testcase._UnexpectedSuccess(<span title="Exception">Exception</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testcase.html" class="code">testcase</a></code> + + <a href="classIndex.html#testtools.testcase._UnexpectedSuccess">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>An unexpected success was raised.</p> +<p>Note that this exception is private plumbing in testtools' testcase +module.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testcase.html b/apidocs/testtools.testcase.html new file mode 100644 index 0000000..3d65a21 --- /dev/null +++ b/apidocs/testtools.testcase.html @@ -0,0 +1,349 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testcase : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.testcase</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Test case related stuff.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id165"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.testcase.TestSkipped.html" class="code">TestSkipped</a></td> + <td><span>Raised within TestCase.run() when a test is skipped.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.testcase.html#run_test_with" class="code">run_test_with</a></td> + <td><span>Decorate a test as using a specific <tt class="rst-docutils literal">RunTest</tt>.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.testcase.html#gather_details" class="code">gather_details</a></td> + <td><span>Merge the details from <tt class="rst-docutils literal">source_dict</tt> into <tt class="rst-docutils literal">target_dict</tt>.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testcase.TestCase.html" class="code">TestCase</a></td> + <td><span>Extensions to the basic TestCase.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.testcase.html#clone_test_with_new_id" class="code">clone_test_with_new_id</a></td> + <td><span>Copy a <a href="testtools.testcase.TestCase.html"><code>TestCase</code></a>, and give the copied test a new id.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.testcase.html#attr" class="code">attr</a></td> + <td><span>Decorator for adding attributes to WithAttributes.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testcase.WithAttributes.html" class="code">WithAttributes</a></td> + <td><span>A mix-in class for modifying test id by attributes.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.testcase.html#skip" class="code">skip</a></td> + <td><span>A decorator to skip unit tests.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.testcase.html#skipIf" class="code">skipIf</a></td> + <td><span>A decorator to skip a test if the condition is true.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.testcase.html#skipUnless" class="code">skipUnless</a></td> + <td><span>A decorator to skip a test unless the condition is true.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testcase.ExpectedException.html" class="code">ExpectedException</a></td> + <td><span>A context manager to handle expected exceptions.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testcase.Nullary.html" class="code">Nullary</a></td> + <td><span>Turn a callable into a nullary callable.</span></td> + </tr><tr class="class private"> + + <td>Class</td> + <td><a href="testtools.testcase._UnexpectedSuccess.html" class="code">_UnexpectedSuccess</a></td> + <td><span>An unexpected success was raised.</span></td> + </tr><tr class="class private"> + + <td>Class</td> + <td><a href="testtools.testcase._ExpectedFailure.html" class="code">_ExpectedFailure</a></td> + <td><span>An expected failure occured.</span></td> + </tr><tr class="function private"> + + <td>Function</td> + <td><a href="testtools.testcase.html#_expectedFailure" class="code">_expectedFailure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function private"> + + <td>Function</td> + <td><a href="testtools.testcase.html#_copy_content" class="code">_copy_content</a></td> + <td><span>Make a copy of the given content object.</span></td> + </tr><tr class="function private"> + + <td>Function</td> + <td><a href="testtools.testcase.html#_clone_test_id_callback" class="code">_clone_test_id_callback</a></td> + <td><span>Copy a <a href="testtools.testcase.TestCase.html"><code>TestCase</code></a>, and make it call callback for its id().</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testcase._expectedFailure"> + + </a> + <a name="_expectedFailure"> + + </a> + <div class="functionHeader"> + + def + _expectedFailure(func): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testcase.run_test_with"> + + </a> + <a name="run_test_with"> + + </a> + <div class="functionHeader"> + + def + run_test_with(test_runner, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div><p>Decorate a test as using a specific <tt class="rst-docutils literal">RunTest</tt>.</p> +<p>e.g.:</p> +<pre class="rst-literal-block"> +@run_test_with(CustomRunner, timeout=42) +def test_foo(self): + self.assertTrue(True) +</pre> +<p>The returned decorator works by setting an attribute on the decorated +function. <a href="testtools.testcase.TestCase.html#__init__"><code>TestCase.__init__</code></a> looks for this attribute when deciding on a +<tt class="rst-docutils literal">RunTest</tt> factory. If you wish to use multiple decorators on a test +method, then you must either make this one the top-most decorator, or you +must write your decorators so that they update the wrapping function with +the attributes of the wrapped function. The latter is recommended style +anyway. <tt class="rst-docutils literal">functools.wraps</tt>, <tt class="rst-docutils literal">functools.wrapper</tt> and +<tt class="rst-docutils literal">twisted.python.util.mergeFunctionMetadata</tt> can help you do this.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test_runner</td><td>A <tt class="rst-docutils literal">RunTest</tt> factory that takes a test case and an +optional list of exception handlers. See <tt class="rst-docutils literal">RunTest</tt>.</td></tr><tr><td></td><td class="fieldArg">kwargs</td><td>Keyword arguments to pass on as extra arguments to +'test_runner'.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">A decorator to be used for marking a test as needing a special +runner.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase._copy_content"> + + </a> + <a name="_copy_content"> + + </a> + <div class="functionHeader"> + + def + _copy_content(content_object): + + </div> + <div class="docstring functionBody"> + + <div><p>Make a copy of the given content object.</p> +<p>The content within <tt class="rst-docutils literal">content_object</tt> is iterated and saved. This is +useful when the source of the content is volatile, a log file in a +temporary directory for example.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">content_object</td><td>A <a href="testtools.content.Content.html"><code>content.Content</code></a> instance.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">A <a href="testtools.content.Content.html"><code>content.Content</code></a> instance with the same mime-type as +<tt class="rst-docutils literal">content_object</tt> and a non-volatile copy of its content.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.gather_details"> + + </a> + <a name="gather_details"> + + </a> + <div class="functionHeader"> + + def + gather_details(source_dict, target_dict): + + </div> + <div class="docstring functionBody"> + + <div>Merge the details from <tt class="rst-docutils literal">source_dict</tt> into <tt class="rst-docutils literal">target_dict</tt>.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">source_dict</td><td>A dictionary of details will be gathered.</td></tr><tr><td></td><td class="fieldArg">target_dict</td><td>A dictionary into which details will be gathered.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase._clone_test_id_callback"> + + </a> + <a name="_clone_test_id_callback"> + + </a> + <div class="functionHeader"> + + def + _clone_test_id_callback(test, callback): + + </div> + <div class="docstring functionBody"> + + <div><p>Copy a <a href="testtools.testcase.TestCase.html"><code>TestCase</code></a>, and make it call callback for its id().</p> +<p>This is only expected to be used on tests that have been constructed but +not executed.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test</td><td>A TestCase instance.</td></tr><tr><td></td><td class="fieldArg">callback</td><td>A callable that takes no parameters and returns a string.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">A copy.copy of the test with id=callback.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.clone_test_with_new_id"> + + </a> + <a name="clone_test_with_new_id"> + + </a> + <div class="functionHeader"> + + def + clone_test_with_new_id(test, new_id): + + </div> + <div class="docstring functionBody"> + + <div><p>Copy a <a href="testtools.testcase.TestCase.html"><code>TestCase</code></a>, and give the copied test a new id.</p> +<p>This is only expected to be used on tests that have been constructed but +not executed.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.attr"> + + </a> + <a name="attr"> + + </a> + <div class="functionHeader"> + + def + attr(*args): + + </div> + <div class="docstring functionBody"> + + <div>Decorator for adding attributes to WithAttributes.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">args</td><td>The name of attributes to add.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">A callable that when applied to a WithAttributes will +alter its id to enumerate the added attributes.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.skip"> + + </a> + <a name="skip"> + + </a> + <div class="functionHeader"> + + def + skip(reason): + + </div> + <div class="docstring functionBody"> + + <div><p>A decorator to skip unit tests.</p> +<p>This is just syntactic sugar so users don't have to change any of their +unit tests in order to migrate to python 2.7, which provides the +@unittest.skip decorator.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.skipIf"> + + </a> + <a name="skipIf"> + + </a> + <div class="functionHeader"> + + def + skipIf(condition, reason): + + </div> + <div class="docstring functionBody"> + + <div>A decorator to skip a test if the condition is true.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testcase.skipUnless"> + + </a> + <a name="skipUnless"> + + </a> + <div class="functionHeader"> + + def + skipUnless(condition, reason): + + </div> + <div class="docstring functionBody"> + + <div>A decorator to skip a test unless the condition is true.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.CopyStreamResult.html b/apidocs/testtools.testresult.CopyStreamResult.html new file mode 100644 index 0000000..52dfeef --- /dev/null +++ b/apidocs/testtools.testresult.CopyStreamResult.html @@ -0,0 +1,211 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.CopyStreamResult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.CopyStreamResult(<a href="testtools.testresult.real.StreamResult.html" class="code">StreamResult</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a></code> + + <a href="classIndex.html#testtools.testresult.CopyStreamResult">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.testresult.real.ExtendedToStreamDecorator.html" class="code">testtools.testresult.real.ExtendedToStreamDecorator</a>, <a href="testtools.testresult.real.StreamTagger.html" class="code">testtools.testresult.real.StreamTagger</a>, <a href="testtools.testresult.real.TimestampingStreamResult.html" class="code">testtools.testresult.real.TimestampingStreamResult</a></p> + </div> + + <div class="moduleDocstring"> + <div><p>Copies all event it receives to multiple results.</p> +<p>This provides an easy facility for combining multiple StreamResults.</p> +<p>For TestResult the equivalent class was <tt class="rst-docutils literal">MultiTestResult</tt>.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id94"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.CopyStreamResult.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.CopyStreamResult.html#startTestRun" class="code">startTestRun</a></td> + <td><span>Start a test run.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.CopyStreamResult.html#stopTestRun" class="code">stopTestRun</a></td> + <td><span>Stop a test run.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.CopyStreamResult.html#status" class="code">status</a></td> + <td><span>Inform the result about a test status.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.CopyStreamResult.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, targets): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.real.ExtendedToStreamDecorator.html" class="code">testtools.testresult.real.ExtendedToStreamDecorator</a>, <a href="testtools.testresult.real.StreamTagger.html" class="code">testtools.testresult.real.StreamTagger</a>, <a href="testtools.testresult.real.TimestampingStreamResult.html" class="code">testtools.testresult.real.TimestampingStreamResult</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.CopyStreamResult.startTestRun"> + + </a> + <a name="startTestRun"> + + </a> + <div class="functionHeader"> + + def + startTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.StreamResult.html#startTestRun" class="code">testtools.testresult.real.StreamResult.startTestRun</a></div><div class="interfaceinfo">overridden in <a href="testtools.testresult.real.ExtendedToStreamDecorator.html" class="code">testtools.testresult.real.ExtendedToStreamDecorator</a></div> + <div><p>Start a test run.</p> +<p>This will prepare the test result to process results (which might imply +connecting to a database or remote machine).</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.CopyStreamResult.stopTestRun"> + + </a> + <a name="stopTestRun"> + + </a> + <div class="functionHeader"> + + def + stopTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.StreamResult.html#stopTestRun" class="code">testtools.testresult.real.StreamResult.stopTestRun</a></div> + <div><p>Stop a test run.</p> +<p>This informs the result that no more test updates will be received. At +this point any test ids that have started and not completed can be +considered failed-or-hung.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.CopyStreamResult.status"> + + </a> + <a name="status"> + + </a> + <div class="functionHeader"> + + def + status(self, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.StreamResult.html#status" class="code">testtools.testresult.real.StreamResult.status</a></div><div class="interfaceinfo">overridden in <a href="testtools.testresult.real.StreamTagger.html" class="code">testtools.testresult.real.StreamTagger</a>, <a href="testtools.testresult.real.TimestampingStreamResult.html" class="code">testtools.testresult.real.TimestampingStreamResult</a></div> + <div>Inform the result about a test status.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test_id</td><td>The test whose status is being reported. None to +report status about the test run as a whole.</td></tr><tr><td></td><td class="fieldArg">test_status</td><td><p>The status for the test. There are two sorts of +status - interim and final status events. As many interim events +can be generated as desired, but only one final event. After a +final status event any further file or status events from the +same test_id+route_code may be discarded or associated with a new +test by the StreamResult. (But no exception will be thrown).</p> +<dl class="rst-docutils"> +<dt>Interim states:</dt> +<dd><ul class="rst-first rst-last rst-simple"> +<li>None - no particular status is being reported, or status being +reported is not associated with a test (e.g. when reporting on +stdout / stderr chatter).</li> +<li>inprogress - the test is currently running. Emitted by tests when +they start running and at any intermediary point they might +choose to indicate their continual operation.</li> +</ul> +</dd> +<dt>Final states:</dt> +<dd><ul class="rst-first rst-last rst-simple"> +<li>exists - the test exists. This is used when a test is not being +executed. Typically this is when querying what tests could be run +in a test run (which is useful for selecting tests to run).</li> +<li>xfail - the test failed but that was expected. This is purely +informative - the test is not considered to be a failure.</li> +<li>uxsuccess - the test passed but was expected to fail. The test +will be considered a failure.</li> +<li>success - the test has finished without error.</li> +<li>fail - the test failed (or errored). The test will be considered +a failure.</li> +<li>skip - the test was selected to run but chose to be skipped. E.g. +a test dependency was missing. This is purely informative - the +test is not considered to be a failure.</li> +</ul> +</dd> +</dl></td></tr><tr><td></td><td class="fieldArg">test_tags</td><td>Optional set of tags to apply to the test. Tags +have no intrinsic meaning - that is up to the test author.</td></tr><tr><td></td><td class="fieldArg">runnable</td><td>Allows status reports to mark that they are for +tests which are not able to be explicitly run. For instance, +subtests will report themselves as non-runnable.</td></tr><tr><td></td><td class="fieldArg">file_name</td><td>The name for the file_bytes. Any unicode string may +be used. While there is no semantic value attached to the name +of any attachment, the names 'stdout' and 'stderr' and 'traceback' +are recommended for use only for output sent to stdout, stderr and +tracebacks of exceptions. When file_name is supplied, file_bytes +must be a bytes instance.</td></tr><tr><td></td><td class="fieldArg">file_bytes</td><td>A bytes object containing content for the named +file. This can just be a single chunk of the file - emitting +another file event with more later. Must be None unleses a +file_name is supplied.</td></tr><tr><td></td><td class="fieldArg">eof</td><td>True if this chunk is the last chunk of the file, any +additional chunks with the same name should be treated as an error +and discarded. Ignored unless file_name has been supplied.</td></tr><tr><td></td><td class="fieldArg">mime_type</td><td>An optional MIME type for the file. stdout and +stderr will generally be "text/plain; charset=utf8". If None, +defaults to application/octet-stream. Ignored unless file_name +has been supplied.</td></tr></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.StreamResultRouter.html b/apidocs/testtools.testresult.StreamResultRouter.html new file mode 100644 index 0000000..3b17b41 --- /dev/null +++ b/apidocs/testtools.testresult.StreamResultRouter.html @@ -0,0 +1,307 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.StreamResultRouter : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.StreamResultRouter(<a href="testtools.testresult.real.StreamResult.html" class="code">StreamResult</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a></code> + + <a href="classIndex.html#testtools.testresult.StreamResultRouter">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>A StreamResult that routes events.</p> +<p>StreamResultRouter forwards received events to another StreamResult object, +selected by a dynamic forwarding policy. Events where no destination is +found are forwarded to the fallback StreamResult, or an error is raised.</p> +<p>Typical use is to construct a router with a fallback and then either +create up front mapping rules, or create them as-needed from the fallback +handler:</p> +<pre class="rst-literal-block"> +>>> router = StreamResultRouter() +>>> sink = doubles.StreamResult() +>>> router.add_rule(sink, 'route_code_prefix', route_prefix='0', +... consume_route=True) +>>> router.status(test_id='foo', route_code='0/1', test_status='uxsuccess') +</pre> +<p>StreamResultRouter has no buffering.</p> +<p>When adding routes (and for the fallback) whether to call startTestRun and +stopTestRun or to not call them is controllable by passing +'do_start_stop_run'. The default is to call them for the fallback only. +If a route is added after startTestRun has been called, and +do_start_stop_run is True then startTestRun is called immediately on the +new route sink.</p> +<p>There is no a-priori defined lookup order for routes: if they are ambiguous +the behaviour is undefined. Only a single route is chosen for any event.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id95"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.StreamResultRouter.html#__init__" class="code">__init__</a></td> + <td><span>Construct a StreamResultRouter with optional fallback.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.StreamResultRouter.html#startTestRun" class="code">startTestRun</a></td> + <td><span>Start a test run.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.StreamResultRouter.html#stopTestRun" class="code">stopTestRun</a></td> + <td><span>Stop a test run.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.StreamResultRouter.html#status" class="code">status</a></td> + <td><span>Inform the result about a test status.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.StreamResultRouter.html#add_rule" class="code">add_rule</a></td> + <td><span>Add a rule to route events to sink when they match a given policy.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.StreamResultRouter.html#_map_route_code_prefix" class="code">_map_route_code_prefix</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.StreamResultRouter.html#_map_test_id" class="code">_map_test_id</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.StreamResultRouter.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, fallback=None, do_start_stop_run=True): + + </div> + <div class="docstring functionBody"> + + <div>Construct a StreamResultRouter with optional fallback.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">fallback</td><td>A StreamResult to forward events to when no route +exists for them.</td></tr><tr><td></td><td class="fieldArg">do_start_stop_run</td><td>If False do not pass startTestRun and +stopTestRun onto the fallback.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.StreamResultRouter.startTestRun"> + + </a> + <a name="startTestRun"> + + </a> + <div class="functionHeader"> + + def + startTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.StreamResult.html#startTestRun" class="code">testtools.testresult.real.StreamResult.startTestRun</a></div> + <div><p>Start a test run.</p> +<p>This will prepare the test result to process results (which might imply +connecting to a database or remote machine).</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.StreamResultRouter.stopTestRun"> + + </a> + <a name="stopTestRun"> + + </a> + <div class="functionHeader"> + + def + stopTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.StreamResult.html#stopTestRun" class="code">testtools.testresult.real.StreamResult.stopTestRun</a></div> + <div><p>Stop a test run.</p> +<p>This informs the result that no more test updates will be received. At +this point any test ids that have started and not completed can be +considered failed-or-hung.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.StreamResultRouter.status"> + + </a> + <a name="status"> + + </a> + <div class="functionHeader"> + + def + status(self, **kwargs): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.StreamResult.html#status" class="code">testtools.testresult.real.StreamResult.status</a></div> + <div>Inform the result about a test status.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test_id</td><td>The test whose status is being reported. None to +report status about the test run as a whole.</td></tr><tr><td></td><td class="fieldArg">test_status</td><td><p>The status for the test. There are two sorts of +status - interim and final status events. As many interim events +can be generated as desired, but only one final event. After a +final status event any further file or status events from the +same test_id+route_code may be discarded or associated with a new +test by the StreamResult. (But no exception will be thrown).</p> +<dl class="rst-docutils"> +<dt>Interim states:</dt> +<dd><ul class="rst-first rst-last rst-simple"> +<li>None - no particular status is being reported, or status being +reported is not associated with a test (e.g. when reporting on +stdout / stderr chatter).</li> +<li>inprogress - the test is currently running. Emitted by tests when +they start running and at any intermediary point they might +choose to indicate their continual operation.</li> +</ul> +</dd> +<dt>Final states:</dt> +<dd><ul class="rst-first rst-last rst-simple"> +<li>exists - the test exists. This is used when a test is not being +executed. Typically this is when querying what tests could be run +in a test run (which is useful for selecting tests to run).</li> +<li>xfail - the test failed but that was expected. This is purely +informative - the test is not considered to be a failure.</li> +<li>uxsuccess - the test passed but was expected to fail. The test +will be considered a failure.</li> +<li>success - the test has finished without error.</li> +<li>fail - the test failed (or errored). The test will be considered +a failure.</li> +<li>skip - the test was selected to run but chose to be skipped. E.g. +a test dependency was missing. This is purely informative - the +test is not considered to be a failure.</li> +</ul> +</dd> +</dl></td></tr><tr><td></td><td class="fieldArg">test_tags</td><td>Optional set of tags to apply to the test. Tags +have no intrinsic meaning - that is up to the test author.</td></tr><tr><td></td><td class="fieldArg">runnable</td><td>Allows status reports to mark that they are for +tests which are not able to be explicitly run. For instance, +subtests will report themselves as non-runnable.</td></tr><tr><td></td><td class="fieldArg">file_name</td><td>The name for the file_bytes. Any unicode string may +be used. While there is no semantic value attached to the name +of any attachment, the names 'stdout' and 'stderr' and 'traceback' +are recommended for use only for output sent to stdout, stderr and +tracebacks of exceptions. When file_name is supplied, file_bytes +must be a bytes instance.</td></tr><tr><td></td><td class="fieldArg">file_bytes</td><td>A bytes object containing content for the named +file. This can just be a single chunk of the file - emitting +another file event with more later. Must be None unleses a +file_name is supplied.</td></tr><tr><td></td><td class="fieldArg">eof</td><td>True if this chunk is the last chunk of the file, any +additional chunks with the same name should be treated as an error +and discarded. Ignored unless file_name has been supplied.</td></tr><tr><td></td><td class="fieldArg">mime_type</td><td>An optional MIME type for the file. stdout and +stderr will generally be "text/plain; charset=utf8". If None, +defaults to application/octet-stream. Ignored unless file_name +has been supplied.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.StreamResultRouter.add_rule"> + + </a> + <a name="add_rule"> + + </a> + <div class="functionHeader"> + + def + add_rule(self, sink, policy, do_start_stop_run=False, **policy_args): + + </div> + <div class="docstring functionBody"> + + <div><p>Add a rule to route events to sink when they match a given policy.</p> +<p><tt class="rst-docutils literal">route_code_prefix</tt> routes events based on a prefix of the route +code in the event. It takes a <tt class="rst-docutils literal">route_prefix</tt> argument to match on +(e.g. '0') and a <tt class="rst-docutils literal">consume_route</tt> argument, which, if True, removes +the prefix from the <tt class="rst-docutils literal">route_code</tt> when forwarding events.</p> +<p><tt class="rst-docutils literal">test_id</tt> routes events based on the test id. It takes a single +argument, <tt class="rst-docutils literal">test_id</tt>. Use <tt class="rst-docutils literal">None</tt> to select non-test events.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">sink</td><td>A StreamResult to receive events.</td></tr><tr><td></td><td class="fieldArg">policy</td><td>A routing policy. Valid policies are +'route_code_prefix' and 'test_id'.</td></tr><tr><td></td><td class="fieldArg">do_start_stop_run</td><td>If True then startTestRun and stopTestRun +events will be passed onto this sink.</td></tr><tr class="fieldStart"><td class="fieldName">Raises</td><td colspan="2">ValueError if the policy is unknown</td></tr><tr><td></td><td colspan="2">TypeError if the policy is given arguments it cannot handle.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.StreamResultRouter._map_route_code_prefix"> + + </a> + <a name="_map_route_code_prefix"> + + </a> + <div class="functionHeader"> + + def + _map_route_code_prefix(self, sink, route_prefix, consume_route=False): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.StreamResultRouter._map_test_id"> + + </a> + <a name="_map_test_id"> + + </a> + <div class="functionHeader"> + + def + _map_test_id(self, sink, test_id): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.TestByTestResult.html b/apidocs/testtools.testresult.TestByTestResult.html new file mode 100644 index 0000000..cef646c --- /dev/null +++ b/apidocs/testtools.testresult.TestByTestResult.html @@ -0,0 +1,363 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.TestByTestResult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.TestByTestResult(<a href="testtools.testresult.real.TestResult.html" class="code">TestResult</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a></code> + + <a href="classIndex.html#testtools.testresult.TestByTestResult">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Call something every time a test completes.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id96"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.TestByTestResult.html#__init__" class="code">__init__</a></td> + <td><span>Construct a <tt class="rst-docutils literal">TestByTestResult</tt>.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.TestByTestResult.html#startTest" class="code">startTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.TestByTestResult.html#stopTest" class="code">stopTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.TestByTestResult.html#addSuccess" class="code">addSuccess</a></td> + <td><span>Called when a test succeeded.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.TestByTestResult.html#addFailure" class="code">addFailure</a></td> + <td><span>Called when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.TestByTestResult.html#addError" class="code">addError</a></td> + <td><span>Called when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.TestByTestResult.html#addSkip" class="code">addSkip</a></td> + <td><span>Called when a test has been skipped rather than running.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.TestByTestResult.html#addExpectedFailure" class="code">addExpectedFailure</a></td> + <td><span>Called when a test has failed in an expected manner.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.TestByTestResult.html#addUnexpectedSuccess" class="code">addUnexpectedSuccess</a></td> + <td><span>Called when a test was expected to fail, but succeed.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.TestByTestResult.html#_err_to_details" class="code">_err_to_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testresult.real.TestResult.html" class="code">TestResult</a>: + </p> + <table class="children sortable" id="id97"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testresult.real.TestResult.html#skip_reasons" class="code">skip_reasons</a></td> + <td>A dict of skip-reasons -> list of tests. See addSkip.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#wasSuccessful" class="code">wasSuccessful</a></td> + <td><span>Has this result been successful so far?</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#startTestRun" class="code">startTestRun</a></td> + <td><span>Called before a test run starts.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#stopTestRun" class="code">stopTestRun</a></td> + <td><span>Called after a test run completes</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#current_tags" class="code">current_tags</a></td> + <td><span>The currently set tags.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#tags" class="code">tags</a></td> + <td><span>Add and remove tags from the test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#time" class="code">time</a></td> + <td><span>Provide a timestamp to represent the current time.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#done" class="code">done</a></td> + <td><span>Called when the test runner is done.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#_err_details_to_string" class="code">_err_details_to_string</a></td> + <td><span>Convert an error in exc_info form or a contents dict to a string.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#_exc_info_to_unicode" class="code">_exc_info_to_unicode</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#_now" class="code">_now</a></td> + <td><span>Return the current 'test time'.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.TestByTestResult.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, on_test): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#__init__" class="code">testtools.testresult.real.TestResult.__init__</a></div> + <div>Construct a <tt class="rst-docutils literal">TestByTestResult</tt>.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">on_test</td><td>A callable that take a test case, a status (one of +"success", "failure", "error", "skip", or "xfail"), a start time +(a <tt class="rst-docutils literal">datetime</tt> with timezone), a stop time, an iterable of tags, +and a details dict. Is called at the end of each test (i.e. on +<tt class="rst-docutils literal">stopTest</tt>) with the accumulated values for that test.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.TestByTestResult.startTest"> + + </a> + <a name="startTest"> + + </a> + <div class="functionHeader"> + + def + startTest(self, test): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#startTest" class="code">testtools.testresult.real.TestResult.startTest</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.TestByTestResult.stopTest"> + + </a> + <a name="stopTest"> + + </a> + <div class="functionHeader"> + + def + stopTest(self, test): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#stopTest" class="code">testtools.testresult.real.TestResult.stopTest</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.TestByTestResult._err_to_details"> + + </a> + <a name="_err_to_details"> + + </a> + <div class="functionHeader"> + + def + _err_to_details(self, test, err, details): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.TestByTestResult.addSuccess"> + + </a> + <a name="addSuccess"> + + </a> + <div class="functionHeader"> + + def + addSuccess(self, test, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#addSuccess" class="code">testtools.testresult.real.TestResult.addSuccess</a></div> + <div>Called when a test succeeded.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.TestByTestResult.addFailure"> + + </a> + <a name="addFailure"> + + </a> + <div class="functionHeader"> + + def + addFailure(self, test, err=None, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#addFailure" class="code">testtools.testresult.real.TestResult.addFailure</a></div> + <div>Called when an error has occurred. 'err' is a tuple of values as +returned by sys.exc_info().<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">details</td><td>Alternative way to supply details about the outcome. +see the class docstring for more information.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.TestByTestResult.addError"> + + </a> + <a name="addError"> + + </a> + <div class="functionHeader"> + + def + addError(self, test, err=None, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#addError" class="code">testtools.testresult.real.TestResult.addError</a></div> + <div>Called when an error has occurred. 'err' is a tuple of values as +returned by sys.exc_info().<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">details</td><td>Alternative way to supply details about the outcome. +see the class docstring for more information.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.TestByTestResult.addSkip"> + + </a> + <a name="addSkip"> + + </a> + <div class="functionHeader"> + + def + addSkip(self, test, reason=None, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#addSkip" class="code">testtools.testresult.real.TestResult.addSkip</a></div> + <div><p>Called when a test has been skipped rather than running.</p> +<p>Like with addSuccess and addError, testStopped should still be called.</p> +<p>This must be called by the TestCase. 'addError' and 'addFailure' will +not call addSkip, since they have no assumptions about the kind of +errors that a test can raise.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test</td><td>The test that has been skipped.</td></tr><tr><td></td><td class="fieldArg">reason</td><td>The reason for the test being skipped. For instance, +u"pyGL is not available".</td></tr><tr><td></td><td class="fieldArg">details</td><td>Alternative way to supply details about the outcome. +see the class docstring for more information.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">None</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.TestByTestResult.addExpectedFailure"> + + </a> + <a name="addExpectedFailure"> + + </a> + <div class="functionHeader"> + + def + addExpectedFailure(self, test, err=None, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#addExpectedFailure" class="code">testtools.testresult.real.TestResult.addExpectedFailure</a></div> + <div><p>Called when a test has failed in an expected manner.</p> +<p>Like with addSuccess and addError, testStopped should still be called.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test</td><td>The test that has been skipped.</td></tr><tr><td></td><td class="fieldArg">err</td><td>The exc_info of the error that was raised.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">None</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.TestByTestResult.addUnexpectedSuccess"> + + </a> + <a name="addUnexpectedSuccess"> + + </a> + <div class="functionHeader"> + + def + addUnexpectedSuccess(self, test, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#addUnexpectedSuccess" class="code">testtools.testresult.real.TestResult.addUnexpectedSuccess</a></div> + <div>Called when a test was expected to fail, but succeed.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.TextTestResult.html b/apidocs/testtools.testresult.TextTestResult.html new file mode 100644 index 0000000..5a3ebe3 --- /dev/null +++ b/apidocs/testtools.testresult.TextTestResult.html @@ -0,0 +1,272 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.TextTestResult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.TextTestResult(<a href="testtools.testresult.real.TestResult.html" class="code">TestResult</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a></code> + + <a href="classIndex.html#testtools.testresult.TextTestResult">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>A TestResult which outputs activity to a text stream.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id98"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.TextTestResult.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TextTestResult writing to stream.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.TextTestResult.html#startTestRun" class="code">startTestRun</a></td> + <td><span>Called before a test run starts.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.TextTestResult.html#stopTestRun" class="code">stopTestRun</a></td> + <td><span>Called after a test run completes</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.TextTestResult.html#_delta_to_float" class="code">_delta_to_float</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.TextTestResult.html#_show_list" class="code">_show_list</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testresult.real.TestResult.html" class="code">TestResult</a>: + </p> + <table class="children sortable" id="id99"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testresult.real.TestResult.html#skip_reasons" class="code">skip_reasons</a></td> + <td>A dict of skip-reasons -> list of tests. See addSkip.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#addExpectedFailure" class="code">addExpectedFailure</a></td> + <td><span>Called when a test has failed in an expected manner.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#addError" class="code">addError</a></td> + <td><span>Called when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#addFailure" class="code">addFailure</a></td> + <td><span>Called when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#addSkip" class="code">addSkip</a></td> + <td><span>Called when a test has been skipped rather than running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#addSuccess" class="code">addSuccess</a></td> + <td><span>Called when a test succeeded.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#addUnexpectedSuccess" class="code">addUnexpectedSuccess</a></td> + <td><span>Called when a test was expected to fail, but succeed.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#wasSuccessful" class="code">wasSuccessful</a></td> + <td><span>Has this result been successful so far?</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#startTest" class="code">startTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#stopTest" class="code">stopTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#current_tags" class="code">current_tags</a></td> + <td><span>The currently set tags.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#tags" class="code">tags</a></td> + <td><span>Add and remove tags from the test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#time" class="code">time</a></td> + <td><span>Provide a timestamp to represent the current time.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#done" class="code">done</a></td> + <td><span>Called when the test runner is done.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#_err_details_to_string" class="code">_err_details_to_string</a></td> + <td><span>Convert an error in exc_info form or a contents dict to a string.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#_exc_info_to_unicode" class="code">_exc_info_to_unicode</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#_now" class="code">_now</a></td> + <td><span>Return the current 'test time'.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.TextTestResult.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, stream, failfast=False, tb_locals=False): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#__init__" class="code">testtools.testresult.real.TestResult.__init__</a></div> + <div>Construct a TextTestResult writing to stream.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.TextTestResult._delta_to_float"> + + </a> + <a name="_delta_to_float"> + + </a> + <div class="functionHeader"> + + def + _delta_to_float(self, a_timedelta, precision): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.TextTestResult._show_list"> + + </a> + <a name="_show_list"> + + </a> + <div class="functionHeader"> + + def + _show_list(self, label, error_list): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.TextTestResult.startTestRun"> + + </a> + <a name="startTestRun"> + + </a> + <div class="functionHeader"> + + def + startTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#startTestRun" class="code">testtools.testresult.real.TestResult.startTestRun</a></div> + <div><p>Called before a test run starts.</p> +<p>New in Python 2.7. The testtools version resets the result to a +pristine condition ready for use in another test run. Note that this +is different from Python 2.7's startTestRun, which does nothing.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.TextTestResult.stopTestRun"> + + </a> + <a name="stopTestRun"> + + </a> + <div class="functionHeader"> + + def + stopTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#stopTestRun" class="code">testtools.testresult.real.TestResult.stopTestRun</a></div> + <div><p>Called after a test run completes</p> +<p>New in python 2.7</p><table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.__init__.html b/apidocs/testtools.testresult.__init__.html new file mode 100644 index 0000000..a4995ca --- /dev/null +++ b/apidocs/testtools.testresult.__init__.html @@ -0,0 +1,85 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.__init__ : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.testresult.__init__</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Test result objects.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id93"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.CopyStreamResult.html" class="code">CopyStreamResult</a></td> + <td><span>Copies all event it receives to multiple results.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.StreamResultRouter.html" class="code">StreamResultRouter</a></td> + <td><span>A StreamResult that routes events.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.TestByTestResult.html" class="code">TestByTestResult</a></td> + <td><span>Call something every time a test completes.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.TextTestResult.html" class="code">TextTestResult</a></td> + <td><span>A TestResult which outputs activity to a text stream.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.doubles.ExtendedTestResult.html b/apidocs/testtools.testresult.doubles.ExtendedTestResult.html new file mode 100644 index 0000000..d85319e --- /dev/null +++ b/apidocs/testtools.testresult.doubles.ExtendedTestResult.html @@ -0,0 +1,421 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.doubles.ExtendedTestResult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.doubles.ExtendedTestResult(<a href="testtools.testresult.doubles.Python27TestResult.html" class="code">Python27TestResult</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a>.<a href="testtools.testresult.doubles.html" class="code">doubles</a></code> + + <a href="classIndex.html#testtools.testresult.doubles.ExtendedTestResult">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>A test result like the proposed extended unittest result API.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id106"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.ExtendedTestResult.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.ExtendedTestResult.html#addError" class="code">addError</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.ExtendedTestResult.html#addFailure" class="code">addFailure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.ExtendedTestResult.html#addExpectedFailure" class="code">addExpectedFailure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.ExtendedTestResult.html#addSkip" class="code">addSkip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.ExtendedTestResult.html#addSuccess" class="code">addSuccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.ExtendedTestResult.html#addUnexpectedSuccess" class="code">addUnexpectedSuccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.ExtendedTestResult.html#progress" class="code">progress</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.ExtendedTestResult.html#startTestRun" class="code">startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.ExtendedTestResult.html#startTest" class="code">startTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.ExtendedTestResult.html#stopTest" class="code">stopTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.ExtendedTestResult.html#current_tags" class="code">current_tags</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.ExtendedTestResult.html#tags" class="code">tags</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.ExtendedTestResult.html#time" class="code">time</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.ExtendedTestResult.html#wasSuccessful" class="code">wasSuccessful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testresult.doubles.Python26TestResult.html" class="code">Python26TestResult</a> (via <a href="testtools.testresult.doubles.Python27TestResult.html" class="code">Python27TestResult</a>): + </p> + <table class="children sortable" id="id108"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.Python26TestResult.html#stop" class="code">stop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testresult.doubles.Python26TestResult.html" class="code">Python26TestResult</a> (via <a href="testtools.testresult.doubles.Python27TestResult.html" class="code">Python27TestResult</a>): + </p> + <table class="children sortable" id="id108"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.Python26TestResult.html#stop" class="code">stop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.doubles.ExtendedTestResult.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.doubles.Python27TestResult.html#__init__" class="code">testtools.testresult.doubles.Python27TestResult.__init__</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.ExtendedTestResult.addError"> + + </a> + <a name="addError"> + + </a> + <div class="functionHeader"> + + def + addError(self, test, err=None, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.doubles.Python27TestResult.html#addError" class="code">testtools.testresult.doubles.Python27TestResult.addError</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.ExtendedTestResult.addFailure"> + + </a> + <a name="addFailure"> + + </a> + <div class="functionHeader"> + + def + addFailure(self, test, err=None, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.doubles.Python27TestResult.html#addFailure" class="code">testtools.testresult.doubles.Python27TestResult.addFailure</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.ExtendedTestResult.addExpectedFailure"> + + </a> + <a name="addExpectedFailure"> + + </a> + <div class="functionHeader"> + + def + addExpectedFailure(self, test, err=None, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.doubles.Python27TestResult.html#addExpectedFailure" class="code">testtools.testresult.doubles.Python27TestResult.addExpectedFailure</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.ExtendedTestResult.addSkip"> + + </a> + <a name="addSkip"> + + </a> + <div class="functionHeader"> + + def + addSkip(self, test, reason=None, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.doubles.Python27TestResult.html#addSkip" class="code">testtools.testresult.doubles.Python27TestResult.addSkip</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.ExtendedTestResult.addSuccess"> + + </a> + <a name="addSuccess"> + + </a> + <div class="functionHeader"> + + def + addSuccess(self, test, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.doubles.Python26TestResult.html#addSuccess" class="code">testtools.testresult.doubles.Python26TestResult.addSuccess</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.ExtendedTestResult.addUnexpectedSuccess"> + + </a> + <a name="addUnexpectedSuccess"> + + </a> + <div class="functionHeader"> + + def + addUnexpectedSuccess(self, test, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.doubles.Python27TestResult.html#addUnexpectedSuccess" class="code">testtools.testresult.doubles.Python27TestResult.addUnexpectedSuccess</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.ExtendedTestResult.progress"> + + </a> + <a name="progress"> + + </a> + <div class="functionHeader"> + + def + progress(self, offset, whence): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.ExtendedTestResult.startTestRun"> + + </a> + <a name="startTestRun"> + + </a> + <div class="functionHeader"> + + def + startTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.doubles.Python27TestResult.html#startTestRun" class="code">testtools.testresult.doubles.Python27TestResult.startTestRun</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.ExtendedTestResult.startTest"> + + </a> + <a name="startTest"> + + </a> + <div class="functionHeader"> + + def + startTest(self, test): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.doubles.Python26TestResult.html#startTest" class="code">testtools.testresult.doubles.Python26TestResult.startTest</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.ExtendedTestResult.stopTest"> + + </a> + <a name="stopTest"> + + </a> + <div class="functionHeader"> + + def + stopTest(self, test): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.doubles.Python26TestResult.html#stopTest" class="code">testtools.testresult.doubles.Python26TestResult.stopTest</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.ExtendedTestResult.current_tags"> + + </a> + <a name="current_tags"> + + </a> + <div class="functionHeader"> + @property<br /> + def + current_tags(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.ExtendedTestResult.tags"> + + </a> + <a name="tags"> + + </a> + <div class="functionHeader"> + + def + tags(self, new_tags, gone_tags): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.ExtendedTestResult.time"> + + </a> + <a name="time"> + + </a> + <div class="functionHeader"> + + def + time(self, time): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.ExtendedTestResult.wasSuccessful"> + + </a> + <a name="wasSuccessful"> + + </a> + <div class="functionHeader"> + + def + wasSuccessful(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.doubles.Python26TestResult.html#wasSuccessful" class="code">testtools.testresult.doubles.Python26TestResult.wasSuccessful</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.doubles.LoggingBase.html b/apidocs/testtools.testresult.doubles.LoggingBase.html new file mode 100644 index 0000000..4322d65 --- /dev/null +++ b/apidocs/testtools.testresult.doubles.LoggingBase.html @@ -0,0 +1,87 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.doubles.LoggingBase : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.doubles.LoggingBase(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a>.<a href="testtools.testresult.doubles.html" class="code">doubles</a></code> + + <a href="classIndex.html#testtools.testresult.doubles.LoggingBase">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.testresult.doubles.Python26TestResult.html" class="code">testtools.testresult.doubles.Python26TestResult</a></p> + </div> + + <div class="moduleDocstring"> + <div>Basic support for logging of results.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id101"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.LoggingBase.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.doubles.LoggingBase.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.doubles.Python27TestResult.html" class="code">testtools.testresult.doubles.Python27TestResult</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.doubles.Python26TestResult.html b/apidocs/testtools.testresult.doubles.Python26TestResult.html new file mode 100644 index 0000000..d0a17fd --- /dev/null +++ b/apidocs/testtools.testresult.doubles.Python26TestResult.html @@ -0,0 +1,232 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.doubles.Python26TestResult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.doubles.Python26TestResult(<a href="testtools.testresult.doubles.LoggingBase.html" class="code">LoggingBase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a>.<a href="testtools.testresult.doubles.html" class="code">doubles</a></code> + + <a href="classIndex.html#testtools.testresult.doubles.Python26TestResult">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.testresult.doubles.Python27TestResult.html" class="code">testtools.testresult.doubles.Python27TestResult</a></p> + </div> + + <div class="moduleDocstring"> + <div>A precisely python 2.6 like test result, that logs.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id102"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.Python26TestResult.html#addError" class="code">addError</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.Python26TestResult.html#addFailure" class="code">addFailure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.Python26TestResult.html#addSuccess" class="code">addSuccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.Python26TestResult.html#startTest" class="code">startTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.Python26TestResult.html#stop" class="code">stop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.Python26TestResult.html#stopTest" class="code">stopTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.Python26TestResult.html#wasSuccessful" class="code">wasSuccessful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testresult.doubles.LoggingBase.html" class="code">LoggingBase</a>: + </p> + <table class="children sortable" id="id103"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.LoggingBase.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.doubles.Python26TestResult.addError"> + + </a> + <a name="addError"> + + </a> + <div class="functionHeader"> + + def + addError(self, test, err): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.doubles.Python27TestResult.html" class="code">testtools.testresult.doubles.Python27TestResult</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.Python26TestResult.addFailure"> + + </a> + <a name="addFailure"> + + </a> + <div class="functionHeader"> + + def + addFailure(self, test, err): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.doubles.Python27TestResult.html" class="code">testtools.testresult.doubles.Python27TestResult</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.Python26TestResult.addSuccess"> + + </a> + <a name="addSuccess"> + + </a> + <div class="functionHeader"> + + def + addSuccess(self, test): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.doubles.ExtendedTestResult.html" class="code">testtools.testresult.doubles.ExtendedTestResult</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.Python26TestResult.startTest"> + + </a> + <a name="startTest"> + + </a> + <div class="functionHeader"> + + def + startTest(self, test): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.doubles.ExtendedTestResult.html" class="code">testtools.testresult.doubles.ExtendedTestResult</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.Python26TestResult.stop"> + + </a> + <a name="stop"> + + </a> + <div class="functionHeader"> + + def + stop(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.Python26TestResult.stopTest"> + + </a> + <a name="stopTest"> + + </a> + <div class="functionHeader"> + + def + stopTest(self, test): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.doubles.ExtendedTestResult.html" class="code">testtools.testresult.doubles.ExtendedTestResult</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.Python26TestResult.wasSuccessful"> + + </a> + <a name="wasSuccessful"> + + </a> + <div class="functionHeader"> + + def + wasSuccessful(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.doubles.ExtendedTestResult.html" class="code">testtools.testresult.doubles.ExtendedTestResult</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.doubles.Python27TestResult.html b/apidocs/testtools.testresult.doubles.Python27TestResult.html new file mode 100644 index 0000000..6305df7 --- /dev/null +++ b/apidocs/testtools.testresult.doubles.Python27TestResult.html @@ -0,0 +1,274 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.doubles.Python27TestResult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.doubles.Python27TestResult(<a href="testtools.testresult.doubles.Python26TestResult.html" class="code">Python26TestResult</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a>.<a href="testtools.testresult.doubles.html" class="code">doubles</a></code> + + <a href="classIndex.html#testtools.testresult.doubles.Python27TestResult">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.testresult.doubles.ExtendedTestResult.html" class="code">testtools.testresult.doubles.ExtendedTestResult</a></p> + </div> + + <div class="moduleDocstring"> + <div>A precisely python 2.7 like test result, that logs.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id104"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.Python27TestResult.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.Python27TestResult.html#addError" class="code">addError</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.Python27TestResult.html#addFailure" class="code">addFailure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.Python27TestResult.html#addExpectedFailure" class="code">addExpectedFailure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.Python27TestResult.html#addSkip" class="code">addSkip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.Python27TestResult.html#addUnexpectedSuccess" class="code">addUnexpectedSuccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.Python27TestResult.html#startTestRun" class="code">startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.Python27TestResult.html#stopTestRun" class="code">stopTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testresult.doubles.Python26TestResult.html" class="code">Python26TestResult</a>: + </p> + <table class="children sortable" id="id105"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.Python26TestResult.html#addSuccess" class="code">addSuccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.Python26TestResult.html#startTest" class="code">startTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.Python26TestResult.html#stop" class="code">stop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.Python26TestResult.html#stopTest" class="code">stopTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.Python26TestResult.html#wasSuccessful" class="code">wasSuccessful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.doubles.Python27TestResult.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.doubles.LoggingBase.html#__init__" class="code">testtools.testresult.doubles.LoggingBase.__init__</a></div><div class="interfaceinfo">overridden in <a href="testtools.testresult.doubles.ExtendedTestResult.html" class="code">testtools.testresult.doubles.ExtendedTestResult</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.Python27TestResult.addError"> + + </a> + <a name="addError"> + + </a> + <div class="functionHeader"> + + def + addError(self, test, err): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.doubles.Python26TestResult.html#addError" class="code">testtools.testresult.doubles.Python26TestResult.addError</a></div><div class="interfaceinfo">overridden in <a href="testtools.testresult.doubles.ExtendedTestResult.html" class="code">testtools.testresult.doubles.ExtendedTestResult</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.Python27TestResult.addFailure"> + + </a> + <a name="addFailure"> + + </a> + <div class="functionHeader"> + + def + addFailure(self, test, err): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.doubles.Python26TestResult.html#addFailure" class="code">testtools.testresult.doubles.Python26TestResult.addFailure</a></div><div class="interfaceinfo">overridden in <a href="testtools.testresult.doubles.ExtendedTestResult.html" class="code">testtools.testresult.doubles.ExtendedTestResult</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.Python27TestResult.addExpectedFailure"> + + </a> + <a name="addExpectedFailure"> + + </a> + <div class="functionHeader"> + + def + addExpectedFailure(self, test, err): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.doubles.ExtendedTestResult.html" class="code">testtools.testresult.doubles.ExtendedTestResult</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.Python27TestResult.addSkip"> + + </a> + <a name="addSkip"> + + </a> + <div class="functionHeader"> + + def + addSkip(self, test, reason): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.doubles.ExtendedTestResult.html" class="code">testtools.testresult.doubles.ExtendedTestResult</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.Python27TestResult.addUnexpectedSuccess"> + + </a> + <a name="addUnexpectedSuccess"> + + </a> + <div class="functionHeader"> + + def + addUnexpectedSuccess(self, test): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.doubles.ExtendedTestResult.html" class="code">testtools.testresult.doubles.ExtendedTestResult</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.Python27TestResult.startTestRun"> + + </a> + <a name="startTestRun"> + + </a> + <div class="functionHeader"> + + def + startTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.doubles.ExtendedTestResult.html" class="code">testtools.testresult.doubles.ExtendedTestResult</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.Python27TestResult.stopTestRun"> + + </a> + <a name="stopTestRun"> + + </a> + <div class="functionHeader"> + + def + stopTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.doubles.StreamResult.html b/apidocs/testtools.testresult.doubles.StreamResult.html new file mode 100644 index 0000000..cb96256 --- /dev/null +++ b/apidocs/testtools.testresult.doubles.StreamResult.html @@ -0,0 +1,154 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.doubles.StreamResult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.doubles.StreamResult(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a>.<a href="testtools.testresult.doubles.html" class="code">doubles</a></code> + + <a href="classIndex.html#testtools.testresult.doubles.StreamResult">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>A StreamResult implementation for testing.</p> +<p>All events are logged to _events.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id109"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.StreamResult.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.StreamResult.html#startTestRun" class="code">startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.StreamResult.html#stopTestRun" class="code">stopTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.doubles.StreamResult.html#status" class="code">status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.doubles.StreamResult.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.StreamResult.startTestRun"> + + </a> + <a name="startTestRun"> + + </a> + <div class="functionHeader"> + + def + startTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.StreamResult.stopTestRun"> + + </a> + <a name="stopTestRun"> + + </a> + <div class="functionHeader"> + + def + stopTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.doubles.StreamResult.status"> + + </a> + <a name="status"> + + </a> + <div class="functionHeader"> + + def + status(self, test_id=None, test_status=None, test_tags=None, runnable=True, file_name=None, file_bytes=None, eof=False, mime_type=None, route_code=None, timestamp=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.doubles.html b/apidocs/testtools.testresult.doubles.html new file mode 100644 index 0000000..7599772 --- /dev/null +++ b/apidocs/testtools.testresult.doubles.html @@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.doubles : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.testresult.doubles</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Doubles of test result objects, useful for testing unittest code.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id100"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.doubles.LoggingBase.html" class="code">LoggingBase</a></td> + <td><span>Basic support for logging of results.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.doubles.Python26TestResult.html" class="code">Python26TestResult</a></td> + <td><span>A precisely python 2.6 like test result, that logs.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.doubles.Python27TestResult.html" class="code">Python27TestResult</a></td> + <td><span>A precisely python 2.7 like test result, that logs.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.doubles.ExtendedTestResult.html" class="code">ExtendedTestResult</a></td> + <td><span>A test result like the proposed extended unittest result API.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.doubles.StreamResult.html" class="code">StreamResult</a></td> + <td><span>A StreamResult implementation for testing.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.html b/apidocs/testtools.testresult.html new file mode 100644 index 0000000..71c4e67 --- /dev/null +++ b/apidocs/testtools.testresult.html @@ -0,0 +1,98 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="package"><code>testtools.testresult</code> <small>package documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Test result objects.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id91"> + + <tr class="module"> + + <td>Module</td> + <td><a href="testtools.testresult.doubles.html" class="code">doubles</a></td> + <td><span>Doubles of test result objects, useful for testing unittest code.</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.testresult.real.html" class="code">real</a></td> + <td><span>Test results and related things.</span></td> + </tr> +</table> + + + <p class="fromInitPy">From the <code>__init__.py</code> module:</p><table class="children sortable" id="id92"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.CopyStreamResult.html" class="code">CopyStreamResult</a></td> + <td><span>Copies all event it receives to multiple results.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.StreamResultRouter.html" class="code">StreamResultRouter</a></td> + <td><span>A StreamResult that routes events.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.TestByTestResult.html" class="code">TestByTestResult</a></td> + <td><span>Call something every time a test completes.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.TextTestResult.html" class="code">TextTestResult</a></td> + <td><span>A TestResult which outputs activity to a text stream.</span></td> + </tr> +</table> + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.real.ExtendedToOriginalDecorator.html b/apidocs/testtools.testresult.real.ExtendedToOriginalDecorator.html new file mode 100644 index 0000000..1181b42 --- /dev/null +++ b/apidocs/testtools.testresult.real.ExtendedToOriginalDecorator.html @@ -0,0 +1,620 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.real.ExtendedToOriginalDecorator : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.real.ExtendedToOriginalDecorator(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a>.<a href="testtools.testresult.real.html" class="code">real</a></code> + + <a href="classIndex.html#testtools.testresult.real.ExtendedToOriginalDecorator">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Permit new TestResult API code to degrade gracefully with old results.</p> +<p>This decorates an existing TestResult and converts missing outcomes +such as addSkip to older outcomes such as addSuccess. It also supports +the extended details protocol. In all cases the most recent protocol +is attempted first, and fallbacks only occur when the decorated result +does not support the newer style of calling.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id126"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#__getattr__" class="code">__getattr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#addError" class="code">addError</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#addExpectedFailure" class="code">addExpectedFailure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#addFailure" class="code">addFailure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#addSkip" class="code">addSkip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#addUnexpectedSuccess" class="code">addUnexpectedSuccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#addSuccess" class="code">addSuccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#current_tags" class="code">current_tags</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#done" class="code">done</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#progress" class="code">progress</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#shouldStop" class="code">shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#startTest" class="code">startTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#startTestRun" class="code">startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#stop" class="code">stop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#stopTest" class="code">stopTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#stopTestRun" class="code">stopTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#tags" class="code">tags</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#time" class="code">time</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#wasSuccessful" class="code">wasSuccessful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#_check_args" class="code">_check_args</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#_details_to_exc_info" class="code">_details_to_exc_info</a></td> + <td><span>Convert a details dict to an exc_info tuple.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#_get_failfast" class="code">_get_failfast</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#_set_failfast" class="code">_set_failfast</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, decorated): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator.__repr__"> + + </a> + <a name="__repr__"> + + </a> + <div class="functionHeader"> + + def + __repr__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator.__getattr__"> + + </a> + <a name="__getattr__"> + + </a> + <div class="functionHeader"> + + def + __getattr__(self, name): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator.addError"> + + </a> + <a name="addError"> + + </a> + <div class="functionHeader"> + + def + addError(self, test, err=None, details=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator.addExpectedFailure"> + + </a> + <a name="addExpectedFailure"> + + </a> + <div class="functionHeader"> + + def + addExpectedFailure(self, test, err=None, details=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator.addFailure"> + + </a> + <a name="addFailure"> + + </a> + <div class="functionHeader"> + + def + addFailure(self, test, err=None, details=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator.addSkip"> + + </a> + <a name="addSkip"> + + </a> + <div class="functionHeader"> + + def + addSkip(self, test, reason=None, details=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator.addUnexpectedSuccess"> + + </a> + <a name="addUnexpectedSuccess"> + + </a> + <div class="functionHeader"> + + def + addUnexpectedSuccess(self, test, details=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator.addSuccess"> + + </a> + <a name="addSuccess"> + + </a> + <div class="functionHeader"> + + def + addSuccess(self, test, details=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator._check_args"> + + </a> + <a name="_check_args"> + + </a> + <div class="functionHeader"> + + def + _check_args(self, err, details): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator._details_to_exc_info"> + + </a> + <a name="_details_to_exc_info"> + + </a> + <div class="functionHeader"> + + def + _details_to_exc_info(self, details): + + </div> + <div class="docstring functionBody"> + + <div>Convert a details dict to an exc_info tuple.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator.current_tags"> + + </a> + <a name="current_tags"> + + </a> + <div class="functionHeader"> + @property<br /> + def + current_tags(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator.done"> + + </a> + <a name="done"> + + </a> + <div class="functionHeader"> + + def + done(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator._get_failfast"> + + </a> + <a name="_get_failfast"> + + </a> + <div class="functionHeader"> + + def + _get_failfast(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator._set_failfast"> + + </a> + <a name="_set_failfast"> + + </a> + <div class="functionHeader"> + + def + _set_failfast(self, value): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator.progress"> + + </a> + <a name="progress"> + + </a> + <div class="functionHeader"> + + def + progress(self, offset, whence): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator.shouldStop"> + + </a> + <a name="shouldStop"> + + </a> + <div class="functionHeader"> + @property<br /> + def + shouldStop(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator.startTest"> + + </a> + <a name="startTest"> + + </a> + <div class="functionHeader"> + + def + startTest(self, test): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator.startTestRun"> + + </a> + <a name="startTestRun"> + + </a> + <div class="functionHeader"> + + def + startTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator.stop"> + + </a> + <a name="stop"> + + </a> + <div class="functionHeader"> + + def + stop(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator.stopTest"> + + </a> + <a name="stopTest"> + + </a> + <div class="functionHeader"> + + def + stopTest(self, test): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator.stopTestRun"> + + </a> + <a name="stopTestRun"> + + </a> + <div class="functionHeader"> + + def + stopTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator.tags"> + + </a> + <a name="tags"> + + </a> + <div class="functionHeader"> + + def + tags(self, new_tags, gone_tags): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator.time"> + + </a> + <a name="time"> + + </a> + <div class="functionHeader"> + + def + time(self, a_datetime): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToOriginalDecorator.wasSuccessful"> + + </a> + <a name="wasSuccessful"> + + </a> + <div class="functionHeader"> + + def + wasSuccessful(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.real.ExtendedToStreamDecorator.html b/apidocs/testtools.testresult.real.ExtendedToStreamDecorator.html new file mode 100644 index 0000000..c3c34c2 --- /dev/null +++ b/apidocs/testtools.testresult.real.ExtendedToStreamDecorator.html @@ -0,0 +1,575 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.real.ExtendedToStreamDecorator : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.real.ExtendedToStreamDecorator(<a href="testtools.testresult.CopyStreamResult.html" class="code">CopyStreamResult</a>, <a href="testtools.testresult.real.StreamSummary.html" class="code">StreamSummary</a>, <a href="testtools.testresult.real.TestControl.html" class="code">TestControl</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a>.<a href="testtools.testresult.real.html" class="code">real</a></code> + + <a href="classIndex.html#testtools.testresult.real.ExtendedToStreamDecorator">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Permit using old TestResult API code with new StreamResult objects.</p> +<p>This decorates a StreamResult and converts old (Python 2.6 / 2.7 / +Extended) TestResult API calls into StreamResult calls.</p> +<p>It also supports regular StreamResult calls, making it safe to wrap around +any StreamResult.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id127"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#__init__" class="code">__init__</a></td> + <td><span>Create a StreamToDict calling on_test on test completions.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#startTest" class="code">startTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#stopTest%200" class="code">stopTest 0</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#addError" class="code">addError</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#addExpectedFailure" class="code">addExpectedFailure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#addSkip" class="code">addSkip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#addUnexpectedSuccess" class="code">addUnexpectedSuccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#addSuccess" class="code">addSuccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#startTestRun" class="code">startTestRun</a></td> + <td><span>Start a test run.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#stopTest" class="code">stopTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#current_tags" class="code">current_tags</a></td> + <td><span>The currently set tags.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#tags" class="code">tags</a></td> + <td><span>Add and remove tags from the test.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#time" class="code">time</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#wasSuccessful" class="code">wasSuccessful</a></td> + <td><span>Return False if any failure has occured.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#_get_failfast" class="code">_get_failfast</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#_set_failfast" class="code">_set_failfast</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#_convert" class="code">_convert</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#_check_args" class="code">_check_args</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ExtendedToStreamDecorator.html#_now" class="code">_now</a></td> + <td><span>Return the current 'test time'.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testresult.real.TestControl.html" class="code">TestControl</a>: + </p> + <table class="children sortable" id="id131"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testresult.real.TestControl.html#shouldStop" class="code">shouldStop</a></td> + <td>If True, tests should not run and should instead +return immediately. Similarly a TestSuite should check this between +each test and if set stop dispatching any new tests and return.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestControl.html#stop" class="code">stop</a></td> + <td><span>Indicate that tests should stop running.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testresult.real.TestControl.html" class="code">TestControl</a>: + </p> + <table class="children sortable" id="id131"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testresult.real.TestControl.html#shouldStop" class="code">shouldStop</a></td> + <td>If True, tests should not run and should instead +return immediately. Similarly a TestSuite should check this between +each test and if set stop dispatching any new tests and return.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestControl.html#stop" class="code">stop</a></td> + <td><span>Indicate that tests should stop running.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testresult.real.TestControl.html" class="code">TestControl</a>: + </p> + <table class="children sortable" id="id131"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testresult.real.TestControl.html#shouldStop" class="code">shouldStop</a></td> + <td>If True, tests should not run and should instead +return immediately. Similarly a TestSuite should check this between +each test and if set stop dispatching any new tests and return.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestControl.html#stop" class="code">stop</a></td> + <td><span>Indicate that tests should stop running.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testresult.real.TestControl.html" class="code">TestControl</a>: + </p> + <table class="children sortable" id="id131"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testresult.real.TestControl.html#shouldStop" class="code">shouldStop</a></td> + <td>If True, tests should not run and should instead +return immediately. Similarly a TestSuite should check this between +each test and if set stop dispatching any new tests and return.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestControl.html#stop" class="code">stop</a></td> + <td><span>Indicate that tests should stop running.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.real.ExtendedToStreamDecorator.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, decorated): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.CopyStreamResult.html#__init__" class="code">testtools.testresult.CopyStreamResult.__init__</a></div> + <div>Create a StreamToDict calling on_test on test completions.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">on_test</td><td>A callback that accepts one parameter - a dict +describing a test.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToStreamDecorator._get_failfast"> + + </a> + <a name="_get_failfast"> + + </a> + <div class="functionHeader"> + + def + _get_failfast(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToStreamDecorator._set_failfast"> + + </a> + <a name="_set_failfast"> + + </a> + <div class="functionHeader"> + + def + _set_failfast(self, value): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToStreamDecorator.startTest"> + + </a> + <a name="startTest"> + + </a> + <div class="functionHeader"> + + def + startTest(self, test): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToStreamDecorator.stopTest 0"> + + </a> + <a name="stopTest 0"> + + </a> + <div class="functionHeader"> + + def + stopTest 0(self, test): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToStreamDecorator.addError"> + + </a> + <a name="addError"> + + </a> + <div class="functionHeader"> + + def + addError(self, test, err=None, details=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToStreamDecorator._convert"> + + </a> + <a name="_convert"> + + </a> + <div class="functionHeader"> + + def + _convert(self, test, err, details, status, reason=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToStreamDecorator.addExpectedFailure"> + + </a> + <a name="addExpectedFailure"> + + </a> + <div class="functionHeader"> + + def + addExpectedFailure(self, test, err=None, details=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToStreamDecorator.addSkip"> + + </a> + <a name="addSkip"> + + </a> + <div class="functionHeader"> + + def + addSkip(self, test, reason=None, details=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToStreamDecorator.addUnexpectedSuccess"> + + </a> + <a name="addUnexpectedSuccess"> + + </a> + <div class="functionHeader"> + + def + addUnexpectedSuccess(self, test, details=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToStreamDecorator.addSuccess"> + + </a> + <a name="addSuccess"> + + </a> + <div class="functionHeader"> + + def + addSuccess(self, test, details=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToStreamDecorator._check_args"> + + </a> + <a name="_check_args"> + + </a> + <div class="functionHeader"> + + def + _check_args(self, err, details): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToStreamDecorator.startTestRun"> + + </a> + <a name="startTestRun"> + + </a> + <div class="functionHeader"> + + def + startTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.CopyStreamResult.html#startTestRun" class="code">testtools.testresult.CopyStreamResult.startTestRun</a></div> + <div><p>Start a test run.</p> +<p>This will prepare the test result to process results (which might imply +connecting to a database or remote machine).</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToStreamDecorator.stopTest"> + + </a> + <a name="stopTest"> + + </a> + <div class="functionHeader"> + + def + stopTest(self, test): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToStreamDecorator.current_tags"> + + </a> + <a name="current_tags"> + + </a> + <div class="functionHeader"> + @property<br /> + def + current_tags(self): + + </div> + <div class="docstring functionBody"> + + <div>The currently set tags.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToStreamDecorator.tags"> + + </a> + <a name="tags"> + + </a> + <div class="functionHeader"> + + def + tags(self, new_tags, gone_tags): + + </div> + <div class="docstring functionBody"> + + <div>Add and remove tags from the test.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">new_tags</td><td>A set of tags to be added to the stream.</td></tr><tr><td></td><td class="fieldArg">gone_tags</td><td>A set of tags to be removed from the stream.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToStreamDecorator._now"> + + </a> + <a name="_now"> + + </a> + <div class="functionHeader"> + + def + _now(self): + + </div> + <div class="docstring functionBody"> + + <div><p>Return the current 'test time'.</p> +<p>If the time() method has not been called, this is equivalent to +datetime.now(), otherwise its the last supplied datestamp given to the +time() method.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToStreamDecorator.time"> + + </a> + <a name="time"> + + </a> + <div class="functionHeader"> + + def + time(self, a_datetime): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ExtendedToStreamDecorator.wasSuccessful"> + + </a> + <a name="wasSuccessful"> + + </a> + <div class="functionHeader"> + + def + wasSuccessful(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.StreamSummary.html#wasSuccessful" class="code">testtools.testresult.real.StreamSummary.wasSuccessful</a></div> + <div><p>Return False if any failure has occured.</p> +<p>Note that incomplete tests can only be detected when stopTestRun is +called, so that should be called before checking wasSuccessful.</p><table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.real.MultiTestResult.html b/apidocs/testtools.testresult.real.MultiTestResult.html new file mode 100644 index 0000000..03e2e11 --- /dev/null +++ b/apidocs/testtools.testresult.real.MultiTestResult.html @@ -0,0 +1,605 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.real.MultiTestResult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.real.MultiTestResult(<a href="testtools.testresult.real.TestResult.html" class="code">TestResult</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a>.<a href="testtools.testresult.real.html" class="code">real</a></code> + + <a href="classIndex.html#testtools.testresult.real.MultiTestResult">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>A test result that dispatches to many test results.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id122"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.MultiTestResult.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.MultiTestResult.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.MultiTestResult.html#startTest" class="code">startTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.MultiTestResult.html#stop" class="code">stop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.MultiTestResult.html#stopTest" class="code">stopTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.MultiTestResult.html#addError" class="code">addError</a></td> + <td><span>Called when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.MultiTestResult.html#addExpectedFailure" class="code">addExpectedFailure</a></td> + <td><span>Called when a test has failed in an expected manner.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.MultiTestResult.html#addFailure" class="code">addFailure</a></td> + <td><span>Called when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.MultiTestResult.html#addSkip" class="code">addSkip</a></td> + <td><span>Called when a test has been skipped rather than running.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.MultiTestResult.html#addSuccess" class="code">addSuccess</a></td> + <td><span>Called when a test succeeded.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.MultiTestResult.html#addUnexpectedSuccess" class="code">addUnexpectedSuccess</a></td> + <td><span>Called when a test was expected to fail, but succeed.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.MultiTestResult.html#startTestRun" class="code">startTestRun</a></td> + <td><span>Called before a test run starts.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.MultiTestResult.html#stopTestRun" class="code">stopTestRun</a></td> + <td><span>Called after a test run completes</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.MultiTestResult.html#tags" class="code">tags</a></td> + <td><span>Add and remove tags from the test.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.MultiTestResult.html#time" class="code">time</a></td> + <td><span>Provide a timestamp to represent the current time.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.MultiTestResult.html#done" class="code">done</a></td> + <td><span>Called when the test runner is done.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.MultiTestResult.html#wasSuccessful" class="code">wasSuccessful</a></td> + <td><span>Was this result successful?</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.MultiTestResult.html#_dispatch" class="code">_dispatch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.MultiTestResult.html#_get_failfast" class="code">_get_failfast</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.MultiTestResult.html#_set_failfast" class="code">_set_failfast</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.MultiTestResult.html#_get_shouldStop" class="code">_get_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.MultiTestResult.html#_set_shouldStop" class="code">_set_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testresult.real.TestResult.html" class="code">TestResult</a>: + </p> + <table class="children sortable" id="id123"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testresult.real.TestResult.html#skip_reasons" class="code">skip_reasons</a></td> + <td>A dict of skip-reasons -> list of tests. See addSkip.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#current_tags" class="code">current_tags</a></td> + <td><span>The currently set tags.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#_err_details_to_string" class="code">_err_details_to_string</a></td> + <td><span>Convert an error in exc_info form or a contents dict to a string.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#_exc_info_to_unicode" class="code">_exc_info_to_unicode</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#_now" class="code">_now</a></td> + <td><span>Return the current 'test time'.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.real.MultiTestResult.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, *results): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#__init__" class="code">testtools.testresult.real.TestResult.__init__</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.MultiTestResult.__repr__"> + + </a> + <a name="__repr__"> + + </a> + <div class="functionHeader"> + + def + __repr__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.MultiTestResult._dispatch"> + + </a> + <a name="_dispatch"> + + </a> + <div class="functionHeader"> + + def + _dispatch(self, message, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.MultiTestResult._get_failfast"> + + </a> + <a name="_get_failfast"> + + </a> + <div class="functionHeader"> + + def + _get_failfast(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.MultiTestResult._set_failfast"> + + </a> + <a name="_set_failfast"> + + </a> + <div class="functionHeader"> + + def + _set_failfast(self, value): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.MultiTestResult._get_shouldStop"> + + </a> + <a name="_get_shouldStop"> + + </a> + <div class="functionHeader"> + + def + _get_shouldStop(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.MultiTestResult._set_shouldStop"> + + </a> + <a name="_set_shouldStop"> + + </a> + <div class="functionHeader"> + + def + _set_shouldStop(self, value): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.MultiTestResult.startTest"> + + </a> + <a name="startTest"> + + </a> + <div class="functionHeader"> + + def + startTest(self, test): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#startTest" class="code">testtools.testresult.real.TestResult.startTest</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.MultiTestResult.stop"> + + </a> + <a name="stop"> + + </a> + <div class="functionHeader"> + + def + stop(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.MultiTestResult.stopTest"> + + </a> + <a name="stopTest"> + + </a> + <div class="functionHeader"> + + def + stopTest(self, test): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#stopTest" class="code">testtools.testresult.real.TestResult.stopTest</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.MultiTestResult.addError"> + + </a> + <a name="addError"> + + </a> + <div class="functionHeader"> + + def + addError(self, test, error=None, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#addError" class="code">testtools.testresult.real.TestResult.addError</a></div> + <div>Called when an error has occurred. 'err' is a tuple of values as +returned by sys.exc_info().<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">details</td><td>Alternative way to supply details about the outcome. +see the class docstring for more information.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.MultiTestResult.addExpectedFailure"> + + </a> + <a name="addExpectedFailure"> + + </a> + <div class="functionHeader"> + + def + addExpectedFailure(self, test, err=None, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#addExpectedFailure" class="code">testtools.testresult.real.TestResult.addExpectedFailure</a></div> + <div><p>Called when a test has failed in an expected manner.</p> +<p>Like with addSuccess and addError, testStopped should still be called.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test</td><td>The test that has been skipped.</td></tr><tr><td></td><td class="fieldArg">err</td><td>The exc_info of the error that was raised.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">None</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.MultiTestResult.addFailure"> + + </a> + <a name="addFailure"> + + </a> + <div class="functionHeader"> + + def + addFailure(self, test, err=None, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#addFailure" class="code">testtools.testresult.real.TestResult.addFailure</a></div> + <div>Called when an error has occurred. 'err' is a tuple of values as +returned by sys.exc_info().<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">details</td><td>Alternative way to supply details about the outcome. +see the class docstring for more information.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.MultiTestResult.addSkip"> + + </a> + <a name="addSkip"> + + </a> + <div class="functionHeader"> + + def + addSkip(self, test, reason=None, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#addSkip" class="code">testtools.testresult.real.TestResult.addSkip</a></div> + <div><p>Called when a test has been skipped rather than running.</p> +<p>Like with addSuccess and addError, testStopped should still be called.</p> +<p>This must be called by the TestCase. 'addError' and 'addFailure' will +not call addSkip, since they have no assumptions about the kind of +errors that a test can raise.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test</td><td>The test that has been skipped.</td></tr><tr><td></td><td class="fieldArg">reason</td><td>The reason for the test being skipped. For instance, +u"pyGL is not available".</td></tr><tr><td></td><td class="fieldArg">details</td><td>Alternative way to supply details about the outcome. +see the class docstring for more information.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">None</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.MultiTestResult.addSuccess"> + + </a> + <a name="addSuccess"> + + </a> + <div class="functionHeader"> + + def + addSuccess(self, test, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#addSuccess" class="code">testtools.testresult.real.TestResult.addSuccess</a></div> + <div>Called when a test succeeded.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.MultiTestResult.addUnexpectedSuccess"> + + </a> + <a name="addUnexpectedSuccess"> + + </a> + <div class="functionHeader"> + + def + addUnexpectedSuccess(self, test, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#addUnexpectedSuccess" class="code">testtools.testresult.real.TestResult.addUnexpectedSuccess</a></div> + <div>Called when a test was expected to fail, but succeed.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.MultiTestResult.startTestRun"> + + </a> + <a name="startTestRun"> + + </a> + <div class="functionHeader"> + + def + startTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#startTestRun" class="code">testtools.testresult.real.TestResult.startTestRun</a></div> + <div><p>Called before a test run starts.</p> +<p>New in Python 2.7. The testtools version resets the result to a +pristine condition ready for use in another test run. Note that this +is different from Python 2.7's startTestRun, which does nothing.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.MultiTestResult.stopTestRun"> + + </a> + <a name="stopTestRun"> + + </a> + <div class="functionHeader"> + + def + stopTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#stopTestRun" class="code">testtools.testresult.real.TestResult.stopTestRun</a></div> + <div><p>Called after a test run completes</p> +<p>New in python 2.7</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.MultiTestResult.tags"> + + </a> + <a name="tags"> + + </a> + <div class="functionHeader"> + + def + tags(self, new_tags, gone_tags): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#tags" class="code">testtools.testresult.real.TestResult.tags</a></div> + <div>Add and remove tags from the test.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">new_tags</td><td>A set of tags to be added to the stream.</td></tr><tr><td></td><td class="fieldArg">gone_tags</td><td>A set of tags to be removed from the stream.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.MultiTestResult.time"> + + </a> + <a name="time"> + + </a> + <div class="functionHeader"> + + def + time(self, a_datetime): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#time" class="code">testtools.testresult.real.TestResult.time</a></div> + <div><p>Provide a timestamp to represent the current time.</p> +<p>This is useful when test activity is time delayed, or happening +concurrently and getting the system time between API calls will not +accurately represent the duration of tests (or the whole run).</p> +<p>Calling time() sets the datetime used by the TestResult object. +Time is permitted to go backwards when using this call.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">a_datetime</td><td>A datetime.datetime object with TZ information or +None to reset the TestResult to gathering time from the system.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.MultiTestResult.done"> + + </a> + <a name="done"> + + </a> + <div class="functionHeader"> + + def + done(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#done" class="code">testtools.testresult.real.TestResult.done</a></div> + <div><p>Called when the test runner is done.</p> +<p>deprecated in favour of stopTestRun.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.MultiTestResult.wasSuccessful"> + + </a> + <a name="wasSuccessful"> + + </a> + <div class="functionHeader"> + + def + wasSuccessful(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#wasSuccessful" class="code">testtools.testresult.real.TestResult.wasSuccessful</a></div> + <div><p>Was this result successful?</p> +<p>Only returns True if every constituent result was successful.</p><table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.real.StreamFailFast.html b/apidocs/testtools.testresult.real.StreamFailFast.html new file mode 100644 index 0000000..1cbe083 --- /dev/null +++ b/apidocs/testtools.testresult.real.StreamFailFast.html @@ -0,0 +1,183 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.real.StreamFailFast : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.real.StreamFailFast(<a href="testtools.testresult.real.StreamResult.html" class="code">StreamResult</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a>.<a href="testtools.testresult.real.html" class="code">real</a></code> + + <a href="classIndex.html#testtools.testresult.real.StreamFailFast">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Call the supplied callback if an error is seen in a stream.</p> +<p>An example callback:</p> +<pre class="rst-literal-block"> +def do_something(): + pass +</pre><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id114"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamFailFast.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamFailFast.html#status" class="code">status</a></td> + <td><span>Inform the result about a test status.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testresult.real.StreamResult.html" class="code">StreamResult</a>: + </p> + <table class="children sortable" id="id115"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamResult.html#startTestRun" class="code">startTestRun</a></td> + <td><span>Start a test run.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamResult.html#stopTestRun" class="code">stopTestRun</a></td> + <td><span>Stop a test run.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.real.StreamFailFast.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, on_error): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamFailFast.status"> + + </a> + <a name="status"> + + </a> + <div class="functionHeader"> + + def + status(self, test_id=None, test_status=None, test_tags=None, runnable=True, file_name=None, file_bytes=None, eof=False, mime_type=None, route_code=None, timestamp=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.StreamResult.html#status" class="code">testtools.testresult.real.StreamResult.status</a></div> + <div>Inform the result about a test status.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test_id</td><td>The test whose status is being reported. None to +report status about the test run as a whole.</td></tr><tr><td></td><td class="fieldArg">test_status</td><td><p>The status for the test. There are two sorts of +status - interim and final status events. As many interim events +can be generated as desired, but only one final event. After a +final status event any further file or status events from the +same test_id+route_code may be discarded or associated with a new +test by the StreamResult. (But no exception will be thrown).</p> +<dl class="rst-docutils"> +<dt>Interim states:</dt> +<dd><ul class="rst-first rst-last rst-simple"> +<li>None - no particular status is being reported, or status being +reported is not associated with a test (e.g. when reporting on +stdout / stderr chatter).</li> +<li>inprogress - the test is currently running. Emitted by tests when +they start running and at any intermediary point they might +choose to indicate their continual operation.</li> +</ul> +</dd> +<dt>Final states:</dt> +<dd><ul class="rst-first rst-last rst-simple"> +<li>exists - the test exists. This is used when a test is not being +executed. Typically this is when querying what tests could be run +in a test run (which is useful for selecting tests to run).</li> +<li>xfail - the test failed but that was expected. This is purely +informative - the test is not considered to be a failure.</li> +<li>uxsuccess - the test passed but was expected to fail. The test +will be considered a failure.</li> +<li>success - the test has finished without error.</li> +<li>fail - the test failed (or errored). The test will be considered +a failure.</li> +<li>skip - the test was selected to run but chose to be skipped. E.g. +a test dependency was missing. This is purely informative - the +test is not considered to be a failure.</li> +</ul> +</dd> +</dl></td></tr><tr><td></td><td class="fieldArg">test_tags</td><td>Optional set of tags to apply to the test. Tags +have no intrinsic meaning - that is up to the test author.</td></tr><tr><td></td><td class="fieldArg">runnable</td><td>Allows status reports to mark that they are for +tests which are not able to be explicitly run. For instance, +subtests will report themselves as non-runnable.</td></tr><tr><td></td><td class="fieldArg">file_name</td><td>The name for the file_bytes. Any unicode string may +be used. While there is no semantic value attached to the name +of any attachment, the names 'stdout' and 'stderr' and 'traceback' +are recommended for use only for output sent to stdout, stderr and +tracebacks of exceptions. When file_name is supplied, file_bytes +must be a bytes instance.</td></tr><tr><td></td><td class="fieldArg">file_bytes</td><td>A bytes object containing content for the named +file. This can just be a single chunk of the file - emitting +another file event with more later. Must be None unleses a +file_name is supplied.</td></tr><tr><td></td><td class="fieldArg">eof</td><td>True if this chunk is the last chunk of the file, any +additional chunks with the same name should be treated as an error +and discarded. Ignored unless file_name has been supplied.</td></tr><tr><td></td><td class="fieldArg">mime_type</td><td>An optional MIME type for the file. stdout and +stderr will generally be "text/plain; charset=utf8". If None, +defaults to application/octet-stream. Ignored unless file_name +has been supplied.</td></tr></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.real.StreamResult.html b/apidocs/testtools.testresult.real.StreamResult.html new file mode 100644 index 0000000..d45d46a --- /dev/null +++ b/apidocs/testtools.testresult.real.StreamResult.html @@ -0,0 +1,220 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.real.StreamResult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.real.StreamResult(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a>.<a href="testtools.testresult.real.html" class="code">real</a></code> + + <a href="classIndex.html#testtools.testresult.real.StreamResult">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.testresult.CopyStreamResult.html" class="code">testtools.testresult.CopyStreamResult</a>, <a href="testtools.testresult.real.StreamFailFast.html" class="code">testtools.testresult.real.StreamFailFast</a>, <a href="testtools.testresult.real.StreamToDict.html" class="code">testtools.testresult.real.StreamToDict</a>, <a href="testtools.testresult.real.StreamToExtendedDecorator.html" class="code">testtools.testresult.real.StreamToExtendedDecorator</a>, <a href="testtools.testresult.real.StreamToQueue.html" class="code">testtools.testresult.real.StreamToQueue</a>, <a href="testtools.testresult.StreamResultRouter.html" class="code">testtools.testresult.StreamResultRouter</a></p> + </div> + + <div class="moduleDocstring"> + <div><p>A test result for reporting the activity of a test run.</p> +<p>Typical use</p> +<blockquote> +<pre class="py-doctest"> +<span class="py-prompt">>>> </span>result = StreamResult() +<span class="py-prompt">>>> </span>result.startTestRun() +<span class="py-prompt">>>> </span>try: +<span class="py-more">... </span> case.run(result) +<span class="py-more">... </span><span class="py-keyword">finally</span>: +<span class="py-more">... </span> result.stopTestRun()</pre> +</blockquote> +<p>The case object will be either a TestCase or a TestSuite, and +generally make a sequence of calls like:</p> +<pre class="rst-literal-block"> +>>> result.status(self.id(), 'inprogress') +>>> result.status(self.id(), 'success') +</pre> +<p>General concepts</p> +<p>StreamResult is built to process events that are emitted by tests during a +test run or test enumeration. The test run may be running concurrently, and +even be spread out across multiple machines.</p> +<p>All events are timestamped to prevent network buffering or scheduling +latency causing false timing reports. Timestamps are datetime objects in +the UTC timezone.</p> +<p>A route_code is a unicode string that identifies where a particular test +run. This is optional in the API but very useful when multiplexing multiple +streams together as it allows identification of interactions between tests +that were run on the same hardware or in the same test process. Generally +actual tests never need to bother with this - it is added and processed +by StreamResult's that do multiplexing / run analysis. route_codes are +also used to route stdin back to pdb instances.</p> +<p>The StreamResult base class does no accounting or processing, rather it +just provides an empty implementation of every method, suitable for use +as a base class regardless of intent.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id113"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamResult.html#startTestRun" class="code">startTestRun</a></td> + <td><span>Start a test run.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamResult.html#stopTestRun" class="code">stopTestRun</a></td> + <td><span>Stop a test run.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamResult.html#status" class="code">status</a></td> + <td><span>Inform the result about a test status.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.real.StreamResult.startTestRun"> + + </a> + <a name="startTestRun"> + + </a> + <div class="functionHeader"> + + def + startTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.CopyStreamResult.html" class="code">testtools.testresult.CopyStreamResult</a>, <a href="testtools.testresult.real.StreamToDict.html" class="code">testtools.testresult.real.StreamToDict</a>, <a href="testtools.testresult.real.StreamToExtendedDecorator.html" class="code">testtools.testresult.real.StreamToExtendedDecorator</a>, <a href="testtools.testresult.real.StreamToQueue.html" class="code">testtools.testresult.real.StreamToQueue</a>, <a href="testtools.testresult.StreamResultRouter.html" class="code">testtools.testresult.StreamResultRouter</a></div> + <div><p>Start a test run.</p> +<p>This will prepare the test result to process results (which might imply +connecting to a database or remote machine).</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamResult.stopTestRun"> + + </a> + <a name="stopTestRun"> + + </a> + <div class="functionHeader"> + + def + stopTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.CopyStreamResult.html" class="code">testtools.testresult.CopyStreamResult</a>, <a href="testtools.testresult.real.StreamToDict.html" class="code">testtools.testresult.real.StreamToDict</a>, <a href="testtools.testresult.real.StreamToExtendedDecorator.html" class="code">testtools.testresult.real.StreamToExtendedDecorator</a>, <a href="testtools.testresult.real.StreamToQueue.html" class="code">testtools.testresult.real.StreamToQueue</a>, <a href="testtools.testresult.StreamResultRouter.html" class="code">testtools.testresult.StreamResultRouter</a></div> + <div><p>Stop a test run.</p> +<p>This informs the result that no more test updates will be received. At +this point any test ids that have started and not completed can be +considered failed-or-hung.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamResult.status"> + + </a> + <a name="status"> + + </a> + <div class="functionHeader"> + + def + status(self, test_id=None, test_status=None, test_tags=None, runnable=True, file_name=None, file_bytes=None, eof=False, mime_type=None, route_code=None, timestamp=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.CopyStreamResult.html" class="code">testtools.testresult.CopyStreamResult</a>, <a href="testtools.testresult.real.StreamFailFast.html" class="code">testtools.testresult.real.StreamFailFast</a>, <a href="testtools.testresult.real.StreamToDict.html" class="code">testtools.testresult.real.StreamToDict</a>, <a href="testtools.testresult.real.StreamToExtendedDecorator.html" class="code">testtools.testresult.real.StreamToExtendedDecorator</a>, <a href="testtools.testresult.real.StreamToQueue.html" class="code">testtools.testresult.real.StreamToQueue</a>, <a href="testtools.testresult.StreamResultRouter.html" class="code">testtools.testresult.StreamResultRouter</a></div> + <div>Inform the result about a test status.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test_id</td><td>The test whose status is being reported. None to +report status about the test run as a whole.</td></tr><tr><td></td><td class="fieldArg">test_status</td><td><p>The status for the test. There are two sorts of +status - interim and final status events. As many interim events +can be generated as desired, but only one final event. After a +final status event any further file or status events from the +same test_id+route_code may be discarded or associated with a new +test by the StreamResult. (But no exception will be thrown).</p> +<dl class="rst-docutils"> +<dt>Interim states:</dt> +<dd><ul class="rst-first rst-last rst-simple"> +<li>None - no particular status is being reported, or status being +reported is not associated with a test (e.g. when reporting on +stdout / stderr chatter).</li> +<li>inprogress - the test is currently running. Emitted by tests when +they start running and at any intermediary point they might +choose to indicate their continual operation.</li> +</ul> +</dd> +<dt>Final states:</dt> +<dd><ul class="rst-first rst-last rst-simple"> +<li>exists - the test exists. This is used when a test is not being +executed. Typically this is when querying what tests could be run +in a test run (which is useful for selecting tests to run).</li> +<li>xfail - the test failed but that was expected. This is purely +informative - the test is not considered to be a failure.</li> +<li>uxsuccess - the test passed but was expected to fail. The test +will be considered a failure.</li> +<li>success - the test has finished without error.</li> +<li>fail - the test failed (or errored). The test will be considered +a failure.</li> +<li>skip - the test was selected to run but chose to be skipped. E.g. +a test dependency was missing. This is purely informative - the +test is not considered to be a failure.</li> +</ul> +</dd> +</dl></td></tr><tr><td></td><td class="fieldArg">test_tags</td><td>Optional set of tags to apply to the test. Tags +have no intrinsic meaning - that is up to the test author.</td></tr><tr><td></td><td class="fieldArg">runnable</td><td>Allows status reports to mark that they are for +tests which are not able to be explicitly run. For instance, +subtests will report themselves as non-runnable.</td></tr><tr><td></td><td class="fieldArg">file_name</td><td>The name for the file_bytes. Any unicode string may +be used. While there is no semantic value attached to the name +of any attachment, the names 'stdout' and 'stderr' and 'traceback' +are recommended for use only for output sent to stdout, stderr and +tracebacks of exceptions. When file_name is supplied, file_bytes +must be a bytes instance.</td></tr><tr><td></td><td class="fieldArg">file_bytes</td><td>A bytes object containing content for the named +file. This can just be a single chunk of the file - emitting +another file event with more later. Must be None unleses a +file_name is supplied.</td></tr><tr><td></td><td class="fieldArg">eof</td><td>True if this chunk is the last chunk of the file, any +additional chunks with the same name should be treated as an error +and discarded. Ignored unless file_name has been supplied.</td></tr><tr><td></td><td class="fieldArg">mime_type</td><td>An optional MIME type for the file. stdout and +stderr will generally be "text/plain; charset=utf8". If None, +defaults to application/octet-stream. Ignored unless file_name +has been supplied.</td></tr></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.real.StreamSummary.html b/apidocs/testtools.testresult.real.StreamSummary.html new file mode 100644 index 0000000..ca1f897 --- /dev/null +++ b/apidocs/testtools.testresult.real.StreamSummary.html @@ -0,0 +1,338 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.real.StreamSummary : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.real.StreamSummary(<a href="testtools.testresult.real.StreamToDict.html" class="code">StreamToDict</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a>.<a href="testtools.testresult.real.html" class="code">real</a></code> + + <a href="classIndex.html#testtools.testresult.real.StreamSummary">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.testresult.real.ExtendedToStreamDecorator.html" class="code">testtools.testresult.real.ExtendedToStreamDecorator</a></p> + </div> + + <div class="moduleDocstring"> + <div><p>A specialised StreamResult that summarises a stream.</p> +<p>The summary uses the same representation as the original +unittest.TestResult contract, allowing it to be consumed by any test +runner.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id119"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamSummary.html#__init__" class="code">__init__</a></td> + <td><span>Create a StreamToDict calling on_test on test completions.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamSummary.html#startTestRun" class="code">startTestRun</a></td> + <td><span>Start a test run.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamSummary.html#wasSuccessful" class="code">wasSuccessful</a></td> + <td><span>Return False if any failure has occured.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamSummary.html#_gather_test" class="code">_gather_test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamSummary.html#_incomplete" class="code">_incomplete</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamSummary.html#_success" class="code">_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamSummary.html#_skip" class="code">_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamSummary.html#_exists" class="code">_exists</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamSummary.html#_fail" class="code">_fail</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamSummary.html#_xfail" class="code">_xfail</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamSummary.html#_uxsuccess" class="code">_uxsuccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testresult.real.StreamToDict.html" class="code">StreamToDict</a>: + </p> + <table class="children sortable" id="id120"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamToDict.html#status" class="code">status</a></td> + <td><span>Inform the result about a test status.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamToDict.html#stopTestRun" class="code">stopTestRun</a></td> + <td><span>Stop a test run.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamToDict.html#_ensure_key" class="code">_ensure_key</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.real.StreamSummary.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.StreamToDict.html#__init__" class="code">testtools.testresult.real.StreamToDict.__init__</a></div><div class="interfaceinfo">overridden in <a href="testtools.testresult.real.ExtendedToStreamDecorator.html" class="code">testtools.testresult.real.ExtendedToStreamDecorator</a></div> + <div>Create a StreamToDict calling on_test on test completions.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">on_test</td><td>A callback that accepts one parameter - a dict +describing a test.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamSummary.startTestRun"> + + </a> + <a name="startTestRun"> + + </a> + <div class="functionHeader"> + + def + startTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.StreamToDict.html#startTestRun" class="code">testtools.testresult.real.StreamToDict.startTestRun</a></div><div class="interfaceinfo">overridden in <a href="testtools.testresult.real.ExtendedToStreamDecorator.html" class="code">testtools.testresult.real.ExtendedToStreamDecorator</a></div> + <div><p>Start a test run.</p> +<p>This will prepare the test result to process results (which might imply +connecting to a database or remote machine).</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamSummary.wasSuccessful"> + + </a> + <a name="wasSuccessful"> + + </a> + <div class="functionHeader"> + + def + wasSuccessful(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.real.ExtendedToStreamDecorator.html" class="code">testtools.testresult.real.ExtendedToStreamDecorator</a></div> + <div><p>Return False if any failure has occured.</p> +<p>Note that incomplete tests can only be detected when stopTestRun is +called, so that should be called before checking wasSuccessful.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamSummary._gather_test"> + + </a> + <a name="_gather_test"> + + </a> + <div class="functionHeader"> + + def + _gather_test(self, test_dict): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamSummary._incomplete"> + + </a> + <a name="_incomplete"> + + </a> + <div class="functionHeader"> + + def + _incomplete(self, case): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamSummary._success"> + + </a> + <a name="_success"> + + </a> + <div class="functionHeader"> + + def + _success(self, case): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamSummary._skip"> + + </a> + <a name="_skip"> + + </a> + <div class="functionHeader"> + + def + _skip(self, case): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamSummary._exists"> + + </a> + <a name="_exists"> + + </a> + <div class="functionHeader"> + + def + _exists(self, case): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamSummary._fail"> + + </a> + <a name="_fail"> + + </a> + <div class="functionHeader"> + + def + _fail(self, case): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamSummary._xfail"> + + </a> + <a name="_xfail"> + + </a> + <div class="functionHeader"> + + def + _xfail(self, case): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamSummary._uxsuccess"> + + </a> + <a name="_uxsuccess"> + + </a> + <div class="functionHeader"> + + def + _uxsuccess(self, case): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.real.StreamTagger.html b/apidocs/testtools.testresult.real.StreamTagger.html new file mode 100644 index 0000000..f36fe57 --- /dev/null +++ b/apidocs/testtools.testresult.real.StreamTagger.html @@ -0,0 +1,179 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.real.StreamTagger : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.real.StreamTagger(<a href="testtools.testresult.CopyStreamResult.html" class="code">CopyStreamResult</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a>.<a href="testtools.testresult.real.html" class="code">real</a></code> + + <a href="classIndex.html#testtools.testresult.real.StreamTagger">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Adds or discards tags from StreamResult events.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id116"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamTagger.html#__init__" class="code">__init__</a></td> + <td><span>Create a StreamTagger.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamTagger.html#status" class="code">status</a></td> + <td><span>Inform the result about a test status.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testresult.CopyStreamResult.html" class="code">CopyStreamResult</a>: + </p> + <table class="children sortable" id="id117"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.CopyStreamResult.html#startTestRun" class="code">startTestRun</a></td> + <td><span>Start a test run.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.CopyStreamResult.html#stopTestRun" class="code">stopTestRun</a></td> + <td><span>Stop a test run.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.real.StreamTagger.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, targets, add=None, discard=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.CopyStreamResult.html#__init__" class="code">testtools.testresult.CopyStreamResult.__init__</a></div> + <div>Create a StreamTagger.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">targets</td><td>A list of targets to forward events onto.</td></tr><tr><td></td><td class="fieldArg">add</td><td>Either None or an iterable of tags to add to each event.</td></tr><tr><td></td><td class="fieldArg">discard</td><td>Either None or an iterable of tags to discard from each +event.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamTagger.status"> + + </a> + <a name="status"> + + </a> + <div class="functionHeader"> + + def + status(self, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.CopyStreamResult.html#status" class="code">testtools.testresult.CopyStreamResult.status</a></div> + <div>Inform the result about a test status.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test_id</td><td>The test whose status is being reported. None to +report status about the test run as a whole.</td></tr><tr><td></td><td class="fieldArg">test_status</td><td><p>The status for the test. There are two sorts of +status - interim and final status events. As many interim events +can be generated as desired, but only one final event. After a +final status event any further file or status events from the +same test_id+route_code may be discarded or associated with a new +test by the StreamResult. (But no exception will be thrown).</p> +<dl class="rst-docutils"> +<dt>Interim states:</dt> +<dd><ul class="rst-first rst-last rst-simple"> +<li>None - no particular status is being reported, or status being +reported is not associated with a test (e.g. when reporting on +stdout / stderr chatter).</li> +<li>inprogress - the test is currently running. Emitted by tests when +they start running and at any intermediary point they might +choose to indicate their continual operation.</li> +</ul> +</dd> +<dt>Final states:</dt> +<dd><ul class="rst-first rst-last rst-simple"> +<li>exists - the test exists. This is used when a test is not being +executed. Typically this is when querying what tests could be run +in a test run (which is useful for selecting tests to run).</li> +<li>xfail - the test failed but that was expected. This is purely +informative - the test is not considered to be a failure.</li> +<li>uxsuccess - the test passed but was expected to fail. The test +will be considered a failure.</li> +<li>success - the test has finished without error.</li> +<li>fail - the test failed (or errored). The test will be considered +a failure.</li> +<li>skip - the test was selected to run but chose to be skipped. E.g. +a test dependency was missing. This is purely informative - the +test is not considered to be a failure.</li> +</ul> +</dd> +</dl></td></tr><tr><td></td><td class="fieldArg">test_tags</td><td>Optional set of tags to apply to the test. Tags +have no intrinsic meaning - that is up to the test author.</td></tr><tr><td></td><td class="fieldArg">runnable</td><td>Allows status reports to mark that they are for +tests which are not able to be explicitly run. For instance, +subtests will report themselves as non-runnable.</td></tr><tr><td></td><td class="fieldArg">file_name</td><td>The name for the file_bytes. Any unicode string may +be used. While there is no semantic value attached to the name +of any attachment, the names 'stdout' and 'stderr' and 'traceback' +are recommended for use only for output sent to stdout, stderr and +tracebacks of exceptions. When file_name is supplied, file_bytes +must be a bytes instance.</td></tr><tr><td></td><td class="fieldArg">file_bytes</td><td>A bytes object containing content for the named +file. This can just be a single chunk of the file - emitting +another file event with more later. Must be None unleses a +file_name is supplied.</td></tr><tr><td></td><td class="fieldArg">eof</td><td>True if this chunk is the last chunk of the file, any +additional chunks with the same name should be treated as an error +and discarded. Ignored unless file_name has been supplied.</td></tr><tr><td></td><td class="fieldArg">mime_type</td><td>An optional MIME type for the file. stdout and +stderr will generally be "text/plain; charset=utf8". If None, +defaults to application/octet-stream. Ignored unless file_name +has been supplied.</td></tr></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.real.StreamToDict.html b/apidocs/testtools.testresult.real.StreamToDict.html new file mode 100644 index 0000000..fd661dd --- /dev/null +++ b/apidocs/testtools.testresult.real.StreamToDict.html @@ -0,0 +1,250 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.real.StreamToDict : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.real.StreamToDict(<a href="testtools.testresult.real.StreamResult.html" class="code">StreamResult</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a>.<a href="testtools.testresult.real.html" class="code">real</a></code> + + <a href="classIndex.html#testtools.testresult.real.StreamToDict">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.testresult.real.StreamSummary.html" class="code">testtools.testresult.real.StreamSummary</a></p> + </div> + + <div class="moduleDocstring"> + <div><p>A specialised StreamResult that emits a callback as tests complete.</p> +<p>Top level file attachments are simply discarded. Hung tests are detected +by stopTestRun and notified there and then.</p> +<p>The callback is passed a dict with the following keys:</p> +<blockquote> +<ul class="rst-simple"> +<li>id: the test id.</li> +<li>tags: The tags for the test. A set of unicode strings.</li> +<li>details: A dict of file attachments - <tt class="rst-docutils literal">testtools.content.Content</tt> +objects.</li> +<li>status: One of the StreamResult status codes (including inprogress) or +'unknown' (used if only file events for a test were received...)</li> +<li>timestamps: A pair of timestamps - the first one received with this +test id, and the one in the event that triggered the notification. +Hung tests have a None for the second end event. Timestamps are not +compared - their ordering is purely order received in the stream.</li> +</ul> +</blockquote> +<p>Only the most recent tags observed in the stream are reported.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id118"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamToDict.html#__init__" class="code">__init__</a></td> + <td><span>Create a StreamToDict calling on_test on test completions.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamToDict.html#startTestRun" class="code">startTestRun</a></td> + <td><span>Start a test run.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamToDict.html#status" class="code">status</a></td> + <td><span>Inform the result about a test status.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamToDict.html#stopTestRun" class="code">stopTestRun</a></td> + <td><span>Stop a test run.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamToDict.html#_ensure_key" class="code">_ensure_key</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.real.StreamToDict.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, on_test): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.real.StreamSummary.html" class="code">testtools.testresult.real.StreamSummary</a></div> + <div>Create a StreamToDict calling on_test on test completions.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">on_test</td><td>A callback that accepts one parameter - a dict +describing a test.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamToDict.startTestRun"> + + </a> + <a name="startTestRun"> + + </a> + <div class="functionHeader"> + + def + startTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.StreamResult.html#startTestRun" class="code">testtools.testresult.real.StreamResult.startTestRun</a></div><div class="interfaceinfo">overridden in <a href="testtools.testresult.real.StreamSummary.html" class="code">testtools.testresult.real.StreamSummary</a></div> + <div><p>Start a test run.</p> +<p>This will prepare the test result to process results (which might imply +connecting to a database or remote machine).</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamToDict.status"> + + </a> + <a name="status"> + + </a> + <div class="functionHeader"> + + def + status(self, test_id=None, test_status=None, test_tags=None, runnable=True, file_name=None, file_bytes=None, eof=False, mime_type=None, route_code=None, timestamp=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.StreamResult.html#status" class="code">testtools.testresult.real.StreamResult.status</a></div> + <div>Inform the result about a test status.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test_id</td><td>The test whose status is being reported. None to +report status about the test run as a whole.</td></tr><tr><td></td><td class="fieldArg">test_status</td><td><p>The status for the test. There are two sorts of +status - interim and final status events. As many interim events +can be generated as desired, but only one final event. After a +final status event any further file or status events from the +same test_id+route_code may be discarded or associated with a new +test by the StreamResult. (But no exception will be thrown).</p> +<dl class="rst-docutils"> +<dt>Interim states:</dt> +<dd><ul class="rst-first rst-last rst-simple"> +<li>None - no particular status is being reported, or status being +reported is not associated with a test (e.g. when reporting on +stdout / stderr chatter).</li> +<li>inprogress - the test is currently running. Emitted by tests when +they start running and at any intermediary point they might +choose to indicate their continual operation.</li> +</ul> +</dd> +<dt>Final states:</dt> +<dd><ul class="rst-first rst-last rst-simple"> +<li>exists - the test exists. This is used when a test is not being +executed. Typically this is when querying what tests could be run +in a test run (which is useful for selecting tests to run).</li> +<li>xfail - the test failed but that was expected. This is purely +informative - the test is not considered to be a failure.</li> +<li>uxsuccess - the test passed but was expected to fail. The test +will be considered a failure.</li> +<li>success - the test has finished without error.</li> +<li>fail - the test failed (or errored). The test will be considered +a failure.</li> +<li>skip - the test was selected to run but chose to be skipped. E.g. +a test dependency was missing. This is purely informative - the +test is not considered to be a failure.</li> +</ul> +</dd> +</dl></td></tr><tr><td></td><td class="fieldArg">test_tags</td><td>Optional set of tags to apply to the test. Tags +have no intrinsic meaning - that is up to the test author.</td></tr><tr><td></td><td class="fieldArg">runnable</td><td>Allows status reports to mark that they are for +tests which are not able to be explicitly run. For instance, +subtests will report themselves as non-runnable.</td></tr><tr><td></td><td class="fieldArg">file_name</td><td>The name for the file_bytes. Any unicode string may +be used. While there is no semantic value attached to the name +of any attachment, the names 'stdout' and 'stderr' and 'traceback' +are recommended for use only for output sent to stdout, stderr and +tracebacks of exceptions. When file_name is supplied, file_bytes +must be a bytes instance.</td></tr><tr><td></td><td class="fieldArg">file_bytes</td><td>A bytes object containing content for the named +file. This can just be a single chunk of the file - emitting +another file event with more later. Must be None unleses a +file_name is supplied.</td></tr><tr><td></td><td class="fieldArg">eof</td><td>True if this chunk is the last chunk of the file, any +additional chunks with the same name should be treated as an error +and discarded. Ignored unless file_name has been supplied.</td></tr><tr><td></td><td class="fieldArg">mime_type</td><td>An optional MIME type for the file. stdout and +stderr will generally be "text/plain; charset=utf8". If None, +defaults to application/octet-stream. Ignored unless file_name +has been supplied.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamToDict.stopTestRun"> + + </a> + <a name="stopTestRun"> + + </a> + <div class="functionHeader"> + + def + stopTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.StreamResult.html#stopTestRun" class="code">testtools.testresult.real.StreamResult.stopTestRun</a></div> + <div><p>Stop a test run.</p> +<p>This informs the result that no more test updates will be received. At +this point any test ids that have started and not completed can be +considered failed-or-hung.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamToDict._ensure_key"> + + </a> + <a name="_ensure_key"> + + </a> + <div class="functionHeader"> + + def + _ensure_key(self, test_id, route_code, timestamp): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.real.StreamToExtendedDecorator.html b/apidocs/testtools.testresult.real.StreamToExtendedDecorator.html new file mode 100644 index 0000000..23ede81 --- /dev/null +++ b/apidocs/testtools.testresult.real.StreamToExtendedDecorator.html @@ -0,0 +1,236 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.real.StreamToExtendedDecorator : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.real.StreamToExtendedDecorator(<a href="testtools.testresult.real.StreamResult.html" class="code">StreamResult</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a>.<a href="testtools.testresult.real.html" class="code">real</a></code> + + <a href="classIndex.html#testtools.testresult.real.StreamToExtendedDecorator">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Convert StreamResult API calls into ExtendedTestResult calls.</p> +<p>This will buffer all calls for all concurrently active tests, and +then flush each test as they complete.</p> +<p>Incomplete tests will be flushed as errors when the test run stops.</p> +<p>Non test file attachments are accumulated into a test called +'testtools.extradata' flushed at the end of the run.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id132"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamToExtendedDecorator.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamToExtendedDecorator.html#status" class="code">status</a></td> + <td><span>Inform the result about a test status.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamToExtendedDecorator.html#startTestRun" class="code">startTestRun</a></td> + <td><span>Start a test run.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamToExtendedDecorator.html#stopTestRun" class="code">stopTestRun</a></td> + <td><span>Stop a test run.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamToExtendedDecorator.html#_handle_tests" class="code">_handle_tests</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.real.StreamToExtendedDecorator.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, decorated): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamToExtendedDecorator.status"> + + </a> + <a name="status"> + + </a> + <div class="functionHeader"> + + def + status(self, *args, test_id=None, test_status=None, **kwargs): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.StreamResult.html#status" class="code">testtools.testresult.real.StreamResult.status</a></div> + <div>Inform the result about a test status.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test_id</td><td>The test whose status is being reported. None to +report status about the test run as a whole.</td></tr><tr><td></td><td class="fieldArg">test_status</td><td><p>The status for the test. There are two sorts of +status - interim and final status events. As many interim events +can be generated as desired, but only one final event. After a +final status event any further file or status events from the +same test_id+route_code may be discarded or associated with a new +test by the StreamResult. (But no exception will be thrown).</p> +<dl class="rst-docutils"> +<dt>Interim states:</dt> +<dd><ul class="rst-first rst-last rst-simple"> +<li>None - no particular status is being reported, or status being +reported is not associated with a test (e.g. when reporting on +stdout / stderr chatter).</li> +<li>inprogress - the test is currently running. Emitted by tests when +they start running and at any intermediary point they might +choose to indicate their continual operation.</li> +</ul> +</dd> +<dt>Final states:</dt> +<dd><ul class="rst-first rst-last rst-simple"> +<li>exists - the test exists. This is used when a test is not being +executed. Typically this is when querying what tests could be run +in a test run (which is useful for selecting tests to run).</li> +<li>xfail - the test failed but that was expected. This is purely +informative - the test is not considered to be a failure.</li> +<li>uxsuccess - the test passed but was expected to fail. The test +will be considered a failure.</li> +<li>success - the test has finished without error.</li> +<li>fail - the test failed (or errored). The test will be considered +a failure.</li> +<li>skip - the test was selected to run but chose to be skipped. E.g. +a test dependency was missing. This is purely informative - the +test is not considered to be a failure.</li> +</ul> +</dd> +</dl></td></tr><tr><td></td><td class="fieldArg">test_tags</td><td>Optional set of tags to apply to the test. Tags +have no intrinsic meaning - that is up to the test author.</td></tr><tr><td></td><td class="fieldArg">runnable</td><td>Allows status reports to mark that they are for +tests which are not able to be explicitly run. For instance, +subtests will report themselves as non-runnable.</td></tr><tr><td></td><td class="fieldArg">file_name</td><td>The name for the file_bytes. Any unicode string may +be used. While there is no semantic value attached to the name +of any attachment, the names 'stdout' and 'stderr' and 'traceback' +are recommended for use only for output sent to stdout, stderr and +tracebacks of exceptions. When file_name is supplied, file_bytes +must be a bytes instance.</td></tr><tr><td></td><td class="fieldArg">file_bytes</td><td>A bytes object containing content for the named +file. This can just be a single chunk of the file - emitting +another file event with more later. Must be None unleses a +file_name is supplied.</td></tr><tr><td></td><td class="fieldArg">eof</td><td>True if this chunk is the last chunk of the file, any +additional chunks with the same name should be treated as an error +and discarded. Ignored unless file_name has been supplied.</td></tr><tr><td></td><td class="fieldArg">mime_type</td><td>An optional MIME type for the file. stdout and +stderr will generally be "text/plain; charset=utf8". If None, +defaults to application/octet-stream. Ignored unless file_name +has been supplied.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamToExtendedDecorator.startTestRun"> + + </a> + <a name="startTestRun"> + + </a> + <div class="functionHeader"> + + def + startTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.StreamResult.html#startTestRun" class="code">testtools.testresult.real.StreamResult.startTestRun</a></div> + <div><p>Start a test run.</p> +<p>This will prepare the test result to process results (which might imply +connecting to a database or remote machine).</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamToExtendedDecorator.stopTestRun"> + + </a> + <a name="stopTestRun"> + + </a> + <div class="functionHeader"> + + def + stopTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.StreamResult.html#stopTestRun" class="code">testtools.testresult.real.StreamResult.stopTestRun</a></div> + <div><p>Stop a test run.</p> +<p>This informs the result that no more test updates will be received. At +this point any test ids that have started and not completed can be +considered failed-or-hung.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamToExtendedDecorator._handle_tests"> + + </a> + <a name="_handle_tests"> + + </a> + <div class="functionHeader"> + + def + _handle_tests(self, test_dict): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.real.StreamToQueue.html b/apidocs/testtools.testresult.real.StreamToQueue.html new file mode 100644 index 0000000..93ada0c --- /dev/null +++ b/apidocs/testtools.testresult.real.StreamToQueue.html @@ -0,0 +1,252 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.real.StreamToQueue : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.real.StreamToQueue(<a href="testtools.testresult.real.StreamResult.html" class="code">StreamResult</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a>.<a href="testtools.testresult.real.html" class="code">real</a></code> + + <a href="classIndex.html#testtools.testresult.real.StreamToQueue">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>A StreamResult which enqueues events as a dict to a queue.Queue.</p> +<p>Events have their route code updated to include the route code +StreamToQueue was constructed with before they are submitted. If the event +route code is None, it is replaced with the StreamToQueue route code, +otherwise it is prefixed with the supplied code + a hyphen.</p> +<p>startTestRun and stopTestRun are forwarded to the queue. Implementors that +dequeue events back into StreamResult calls should take care not to call +startTestRun / stopTestRun on other StreamResult objects multiple times +(e.g. by filtering startTestRun and stopTestRun).</p> +<p><tt class="rst-docutils literal">StreamToQueue</tt> is typically used by +<tt class="rst-docutils literal">ConcurrentStreamTestSuite</tt>, which creates one <tt class="rst-docutils literal">StreamToQueue</tt> +per thread, forwards status events to the the StreamResult that +<tt class="rst-docutils literal">ConcurrentStreamTestSuite.run()</tt> was called with, and uses the +stopTestRun event to trigger calling join() on the each thread.</p> +<p>Unlike ThreadsafeForwardingResult which this supercedes, no buffering takes +place - any event supplied to a StreamToQueue will be inserted into the +queue immediately.</p> +<p>Events are forwarded as a dict with a key <tt class="rst-docutils literal">event</tt> which is one of +<tt class="rst-docutils literal">startTestRun</tt>, <tt class="rst-docutils literal">stopTestRun</tt> or <tt class="rst-docutils literal">status</tt>. When <tt class="rst-docutils literal">event</tt> is +<tt class="rst-docutils literal">status</tt> the dict also has keys matching the keyword arguments +of <tt class="rst-docutils literal">StreamResult.status</tt>, otherwise it has one other key <tt class="rst-docutils literal">result</tt> which +is the result that invoked <tt class="rst-docutils literal">startTestRun</tt>.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id133"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamToQueue.html#__init__" class="code">__init__</a></td> + <td><span>Create a StreamToQueue forwarding to target.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamToQueue.html#startTestRun" class="code">startTestRun</a></td> + <td><span>Start a test run.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamToQueue.html#status" class="code">status</a></td> + <td><span>Inform the result about a test status.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamToQueue.html#stopTestRun" class="code">stopTestRun</a></td> + <td><span>Stop a test run.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.StreamToQueue.html#route_code" class="code">route_code</a></td> + <td><span>Adjust route_code on the way through.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.real.StreamToQueue.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, queue, routing_code): + + </div> + <div class="docstring functionBody"> + + <div>Create a StreamToQueue forwarding to target.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">queue</td><td>A <tt class="rst-docutils literal">queue.Queue</tt> to receive events.</td></tr><tr><td></td><td class="fieldArg">routing_code</td><td>The routing code to apply to messages.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamToQueue.startTestRun"> + + </a> + <a name="startTestRun"> + + </a> + <div class="functionHeader"> + + def + startTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.StreamResult.html#startTestRun" class="code">testtools.testresult.real.StreamResult.startTestRun</a></div> + <div><p>Start a test run.</p> +<p>This will prepare the test result to process results (which might imply +connecting to a database or remote machine).</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamToQueue.status"> + + </a> + <a name="status"> + + </a> + <div class="functionHeader"> + + def + status(self, test_id=None, test_status=None, test_tags=None, runnable=True, file_name=None, file_bytes=None, eof=False, mime_type=None, route_code=None, timestamp=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.StreamResult.html#status" class="code">testtools.testresult.real.StreamResult.status</a></div> + <div>Inform the result about a test status.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test_id</td><td>The test whose status is being reported. None to +report status about the test run as a whole.</td></tr><tr><td></td><td class="fieldArg">test_status</td><td><p>The status for the test. There are two sorts of +status - interim and final status events. As many interim events +can be generated as desired, but only one final event. After a +final status event any further file or status events from the +same test_id+route_code may be discarded or associated with a new +test by the StreamResult. (But no exception will be thrown).</p> +<dl class="rst-docutils"> +<dt>Interim states:</dt> +<dd><ul class="rst-first rst-last rst-simple"> +<li>None - no particular status is being reported, or status being +reported is not associated with a test (e.g. when reporting on +stdout / stderr chatter).</li> +<li>inprogress - the test is currently running. Emitted by tests when +they start running and at any intermediary point they might +choose to indicate their continual operation.</li> +</ul> +</dd> +<dt>Final states:</dt> +<dd><ul class="rst-first rst-last rst-simple"> +<li>exists - the test exists. This is used when a test is not being +executed. Typically this is when querying what tests could be run +in a test run (which is useful for selecting tests to run).</li> +<li>xfail - the test failed but that was expected. This is purely +informative - the test is not considered to be a failure.</li> +<li>uxsuccess - the test passed but was expected to fail. The test +will be considered a failure.</li> +<li>success - the test has finished without error.</li> +<li>fail - the test failed (or errored). The test will be considered +a failure.</li> +<li>skip - the test was selected to run but chose to be skipped. E.g. +a test dependency was missing. This is purely informative - the +test is not considered to be a failure.</li> +</ul> +</dd> +</dl></td></tr><tr><td></td><td class="fieldArg">test_tags</td><td>Optional set of tags to apply to the test. Tags +have no intrinsic meaning - that is up to the test author.</td></tr><tr><td></td><td class="fieldArg">runnable</td><td>Allows status reports to mark that they are for +tests which are not able to be explicitly run. For instance, +subtests will report themselves as non-runnable.</td></tr><tr><td></td><td class="fieldArg">file_name</td><td>The name for the file_bytes. Any unicode string may +be used. While there is no semantic value attached to the name +of any attachment, the names 'stdout' and 'stderr' and 'traceback' +are recommended for use only for output sent to stdout, stderr and +tracebacks of exceptions. When file_name is supplied, file_bytes +must be a bytes instance.</td></tr><tr><td></td><td class="fieldArg">file_bytes</td><td>A bytes object containing content for the named +file. This can just be a single chunk of the file - emitting +another file event with more later. Must be None unleses a +file_name is supplied.</td></tr><tr><td></td><td class="fieldArg">eof</td><td>True if this chunk is the last chunk of the file, any +additional chunks with the same name should be treated as an error +and discarded. Ignored unless file_name has been supplied.</td></tr><tr><td></td><td class="fieldArg">mime_type</td><td>An optional MIME type for the file. stdout and +stderr will generally be "text/plain; charset=utf8". If None, +defaults to application/octet-stream. Ignored unless file_name +has been supplied.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamToQueue.stopTestRun"> + + </a> + <a name="stopTestRun"> + + </a> + <div class="functionHeader"> + + def + stopTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.StreamResult.html#stopTestRun" class="code">testtools.testresult.real.StreamResult.stopTestRun</a></div> + <div><p>Stop a test run.</p> +<p>This informs the result that no more test updates will be received. At +this point any test ids that have started and not completed can be +considered failed-or-hung.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.StreamToQueue.route_code"> + + </a> + <a name="route_code"> + + </a> + <div class="functionHeader"> + + def + route_code(self, route_code): + + </div> + <div class="docstring functionBody"> + + <div>Adjust route_code on the way through.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.real.Tagger.html b/apidocs/testtools.testresult.real.Tagger.html new file mode 100644 index 0000000..fde5d46 --- /dev/null +++ b/apidocs/testtools.testresult.real.Tagger.html @@ -0,0 +1,202 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.real.Tagger : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.real.Tagger(<a href="testtools.testresult.real.TestResultDecorator.html" class="code">TestResultDecorator</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a>.<a href="testtools.testresult.real.html" class="code">real</a></code> + + <a href="classIndex.html#testtools.testresult.real.Tagger">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tag each test individually.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id135"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.Tagger.html#__init__" class="code">__init__</a></td> + <td><span>Wrap 'decorated' such that each test is tagged.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.Tagger.html#startTest" class="code">startTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testresult.real.TestResultDecorator.html" class="code">TestResultDecorator</a>: + </p> + <table class="children sortable" id="id136"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#startTestRun" class="code">startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#stopTest" class="code">stopTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#stopTestRun" class="code">stopTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#addError" class="code">addError</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#addFailure" class="code">addFailure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#addSuccess" class="code">addSuccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#addSkip" class="code">addSkip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#addExpectedFailure" class="code">addExpectedFailure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#addUnexpectedSuccess" class="code">addUnexpectedSuccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#progress" class="code">progress</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#wasSuccessful" class="code">wasSuccessful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#current_tags" class="code">current_tags</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#shouldStop" class="code">shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#stop" class="code">stop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#testsRun" class="code">testsRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#tags" class="code">tags</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#time" class="code">time</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.real.Tagger.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, decorated, new_tags, gone_tags): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResultDecorator.html#__init__" class="code">testtools.testresult.real.TestResultDecorator.__init__</a></div> + <div>Wrap 'decorated' such that each test is tagged.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">new_tags</td><td>Tags to be added for each test.</td></tr><tr><td></td><td class="fieldArg">gone_tags</td><td>Tags to be removed for each test.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.Tagger.startTest"> + + </a> + <a name="startTest"> + + </a> + <div class="functionHeader"> + + def + startTest(self, test): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResultDecorator.html#startTest" class="code">testtools.testresult.real.TestResultDecorator.startTest</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.real.TestControl.html b/apidocs/testtools.testresult.real.TestControl.html new file mode 100644 index 0000000..7baf5e3 --- /dev/null +++ b/apidocs/testtools.testresult.real.TestControl.html @@ -0,0 +1,131 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.real.TestControl : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.real.TestControl(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a>.<a href="testtools.testresult.real.html" class="code">real</a></code> + + <a href="classIndex.html#testtools.testresult.real.TestControl">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.testresult.real.ExtendedToStreamDecorator.html" class="code">testtools.testresult.real.ExtendedToStreamDecorator</a></p> + </div> + + <div class="moduleDocstring"> + <div>Controls a running test run, allowing it to be interrupted.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id121"> + + <tr class="instancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testresult.real.TestControl.html#shouldStop" class="code">shouldStop</a></td> + <td>If True, tests should not run and should instead +return immediately. Similarly a TestSuite should check this between +each test and if set stop dispatching any new tests and return.</td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestControl.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestControl.html#stop" class="code">stop</a></td> + <td><span>Indicate that tests should stop running.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.real.TestControl.shouldStop"> + + </a> + <a name="shouldStop"> + + </a> + <div class="functionHeader"> + shouldStop = + </div> + <div class="functionBody"> + If True, tests should not run and should instead +return immediately. Similarly a TestSuite should check this between +each test and if set stop dispatching any new tests and return. + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestControl.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.real.ExtendedToStreamDecorator.html" class="code">testtools.testresult.real.ExtendedToStreamDecorator</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestControl.stop"> + + </a> + <a name="stop"> + + </a> + <div class="functionHeader"> + + def + stop(self): + + </div> + <div class="docstring functionBody"> + + <div>Indicate that tests should stop running.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.real.TestResult.html b/apidocs/testtools.testresult.real.TestResult.html new file mode 100644 index 0000000..157e07b --- /dev/null +++ b/apidocs/testtools.testresult.real.TestResult.html @@ -0,0 +1,541 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.real.TestResult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.real.TestResult(<span title="unittest.TestResult">unittest.TestResult</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a>.<a href="testtools.testresult.real.html" class="code">real</a></code> + + <a href="classIndex.html#testtools.testresult.real.TestResult">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.testresult.real.MultiTestResult.html" class="code">testtools.testresult.real.MultiTestResult</a>, <a href="testtools.testresult.real.ThreadsafeForwardingResult.html" class="code">testtools.testresult.real.ThreadsafeForwardingResult</a>, <a href="testtools.testresult.TestByTestResult.html" class="code">testtools.testresult.TestByTestResult</a>, <a href="testtools.testresult.TextTestResult.html" class="code">testtools.testresult.TextTestResult</a>, <a href="testtools.tests.helpers.LoggingResult.html" class="code">testtools.tests.helpers.LoggingResult</a></p> + </div> + + <div class="moduleDocstring"> + <div><p>Subclass of unittest.TestResult extending the protocol for flexability.</p> +<p>This test result supports an experimental protocol for providing additional +data to in test outcomes. All the outcome methods take an optional dict +'details'. If supplied any other detail parameters like 'err' or 'reason' +should not be provided. The details dict is a mapping from names to +MIME content objects (see testtools.content). This permits attaching +tracebacks, log files, or even large objects like databases that were +part of the test fixture. Until this API is accepted into upstream +Python it is considered experimental: it may be replaced at any point +by a newer version more in line with upstream Python. Compatibility would +be aimed for in this case, but may not be possible.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id112"> + + <tr class="instancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testresult.real.TestResult.html#skip_reasons" class="code">skip_reasons</a></td> + <td>A dict of skip-reasons -> list of tests. See addSkip.</td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#addExpectedFailure" class="code">addExpectedFailure</a></td> + <td><span>Called when a test has failed in an expected manner.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#addError" class="code">addError</a></td> + <td><span>Called when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#addFailure" class="code">addFailure</a></td> + <td><span>Called when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#addSkip" class="code">addSkip</a></td> + <td><span>Called when a test has been skipped rather than running.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#addSuccess" class="code">addSuccess</a></td> + <td><span>Called when a test succeeded.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#addUnexpectedSuccess" class="code">addUnexpectedSuccess</a></td> + <td><span>Called when a test was expected to fail, but succeed.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#wasSuccessful" class="code">wasSuccessful</a></td> + <td><span>Has this result been successful so far?</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#startTestRun" class="code">startTestRun</a></td> + <td><span>Called before a test run starts.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#stopTestRun" class="code">stopTestRun</a></td> + <td><span>Called after a test run completes</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#startTest" class="code">startTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#stopTest" class="code">stopTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#current_tags" class="code">current_tags</a></td> + <td><span>The currently set tags.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#tags" class="code">tags</a></td> + <td><span>Add and remove tags from the test.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#time" class="code">time</a></td> + <td><span>Provide a timestamp to represent the current time.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#done" class="code">done</a></td> + <td><span>Called when the test runner is done.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#_err_details_to_string" class="code">_err_details_to_string</a></td> + <td><span>Convert an error in exc_info form or a contents dict to a string.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#_exc_info_to_unicode" class="code">_exc_info_to_unicode</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#_now" class="code">_now</a></td> + <td><span>Return the current 'test time'.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.real.TestResult.skip_reasons"> + + </a> + <a name="skip_reasons"> + + </a> + <div class="functionHeader"> + skip_reasons = + </div> + <div class="functionBody"> + A dict of skip-reasons -> list of tests. See addSkip. + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResult.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, failfast=False, tb_locals=False): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.real.MultiTestResult.html" class="code">testtools.testresult.real.MultiTestResult</a>, <a href="testtools.testresult.real.ThreadsafeForwardingResult.html" class="code">testtools.testresult.real.ThreadsafeForwardingResult</a>, <a href="testtools.testresult.TestByTestResult.html" class="code">testtools.testresult.TestByTestResult</a>, <a href="testtools.testresult.TextTestResult.html" class="code">testtools.testresult.TextTestResult</a>, <a href="testtools.tests.helpers.LoggingResult.html" class="code">testtools.tests.helpers.LoggingResult</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResult.addExpectedFailure"> + + </a> + <a name="addExpectedFailure"> + + </a> + <div class="functionHeader"> + + def + addExpectedFailure(self, test, err=None, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.real.MultiTestResult.html" class="code">testtools.testresult.real.MultiTestResult</a>, <a href="testtools.testresult.real.ThreadsafeForwardingResult.html" class="code">testtools.testresult.real.ThreadsafeForwardingResult</a>, <a href="testtools.testresult.TestByTestResult.html" class="code">testtools.testresult.TestByTestResult</a></div> + <div><p>Called when a test has failed in an expected manner.</p> +<p>Like with addSuccess and addError, testStopped should still be called.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test</td><td>The test that has been skipped.</td></tr><tr><td></td><td class="fieldArg">err</td><td>The exc_info of the error that was raised.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">None</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResult.addError"> + + </a> + <a name="addError"> + + </a> + <div class="functionHeader"> + + def + addError(self, test, err=None, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.real.MultiTestResult.html" class="code">testtools.testresult.real.MultiTestResult</a>, <a href="testtools.testresult.real.ThreadsafeForwardingResult.html" class="code">testtools.testresult.real.ThreadsafeForwardingResult</a>, <a href="testtools.testresult.TestByTestResult.html" class="code">testtools.testresult.TestByTestResult</a>, <a href="testtools.tests.helpers.LoggingResult.html" class="code">testtools.tests.helpers.LoggingResult</a></div> + <div>Called when an error has occurred. 'err' is a tuple of values as +returned by sys.exc_info().<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">details</td><td>Alternative way to supply details about the outcome. +see the class docstring for more information.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResult.addFailure"> + + </a> + <a name="addFailure"> + + </a> + <div class="functionHeader"> + + def + addFailure(self, test, err=None, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.real.MultiTestResult.html" class="code">testtools.testresult.real.MultiTestResult</a>, <a href="testtools.testresult.real.ThreadsafeForwardingResult.html" class="code">testtools.testresult.real.ThreadsafeForwardingResult</a>, <a href="testtools.testresult.TestByTestResult.html" class="code">testtools.testresult.TestByTestResult</a>, <a href="testtools.tests.helpers.LoggingResult.html" class="code">testtools.tests.helpers.LoggingResult</a></div> + <div>Called when an error has occurred. 'err' is a tuple of values as +returned by sys.exc_info().<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">details</td><td>Alternative way to supply details about the outcome. +see the class docstring for more information.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResult.addSkip"> + + </a> + <a name="addSkip"> + + </a> + <div class="functionHeader"> + + def + addSkip(self, test, reason=None, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.real.MultiTestResult.html" class="code">testtools.testresult.real.MultiTestResult</a>, <a href="testtools.testresult.real.ThreadsafeForwardingResult.html" class="code">testtools.testresult.real.ThreadsafeForwardingResult</a>, <a href="testtools.testresult.TestByTestResult.html" class="code">testtools.testresult.TestByTestResult</a>, <a href="testtools.tests.helpers.LoggingResult.html" class="code">testtools.tests.helpers.LoggingResult</a></div> + <div><p>Called when a test has been skipped rather than running.</p> +<p>Like with addSuccess and addError, testStopped should still be called.</p> +<p>This must be called by the TestCase. 'addError' and 'addFailure' will +not call addSkip, since they have no assumptions about the kind of +errors that a test can raise.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test</td><td>The test that has been skipped.</td></tr><tr><td></td><td class="fieldArg">reason</td><td>The reason for the test being skipped. For instance, +u"pyGL is not available".</td></tr><tr><td></td><td class="fieldArg">details</td><td>Alternative way to supply details about the outcome. +see the class docstring for more information.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">None</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResult.addSuccess"> + + </a> + <a name="addSuccess"> + + </a> + <div class="functionHeader"> + + def + addSuccess(self, test, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.real.MultiTestResult.html" class="code">testtools.testresult.real.MultiTestResult</a>, <a href="testtools.testresult.real.ThreadsafeForwardingResult.html" class="code">testtools.testresult.real.ThreadsafeForwardingResult</a>, <a href="testtools.testresult.TestByTestResult.html" class="code">testtools.testresult.TestByTestResult</a>, <a href="testtools.tests.helpers.LoggingResult.html" class="code">testtools.tests.helpers.LoggingResult</a></div> + <div>Called when a test succeeded.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResult.addUnexpectedSuccess"> + + </a> + <a name="addUnexpectedSuccess"> + + </a> + <div class="functionHeader"> + + def + addUnexpectedSuccess(self, test, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.real.MultiTestResult.html" class="code">testtools.testresult.real.MultiTestResult</a>, <a href="testtools.testresult.real.ThreadsafeForwardingResult.html" class="code">testtools.testresult.real.ThreadsafeForwardingResult</a>, <a href="testtools.testresult.TestByTestResult.html" class="code">testtools.testresult.TestByTestResult</a></div> + <div>Called when a test was expected to fail, but succeed.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResult.wasSuccessful"> + + </a> + <a name="wasSuccessful"> + + </a> + <div class="functionHeader"> + + def + wasSuccessful(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.real.MultiTestResult.html" class="code">testtools.testresult.real.MultiTestResult</a>, <a href="testtools.testresult.real.ThreadsafeForwardingResult.html" class="code">testtools.testresult.real.ThreadsafeForwardingResult</a></div> + <div><p>Has this result been successful so far?</p> +<p>If there have been any errors, failures or unexpected successes, +return False. Otherwise, return True.</p> +<p>Note: This differs from standard unittest in that we consider +unexpected successes to be equivalent to failures, rather than +successes.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResult._err_details_to_string"> + + </a> + <a name="_err_details_to_string"> + + </a> + <div class="functionHeader"> + + def + _err_details_to_string(self, test, err=None, details=None): + + </div> + <div class="docstring functionBody"> + + <div>Convert an error in exc_info form or a contents dict to a string.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResult._exc_info_to_unicode"> + + </a> + <a name="_exc_info_to_unicode"> + + </a> + <div class="functionHeader"> + + def + _exc_info_to_unicode(self, err, test): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResult._now"> + + </a> + <a name="_now"> + + </a> + <div class="functionHeader"> + + def + _now(self): + + </div> + <div class="docstring functionBody"> + + <div><p>Return the current 'test time'.</p> +<p>If the time() method has not been called, this is equivalent to +datetime.now(), otherwise its the last supplied datestamp given to the +time() method.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResult.startTestRun"> + + </a> + <a name="startTestRun"> + + </a> + <div class="functionHeader"> + + def + startTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.real.MultiTestResult.html" class="code">testtools.testresult.real.MultiTestResult</a>, <a href="testtools.testresult.real.ThreadsafeForwardingResult.html" class="code">testtools.testresult.real.ThreadsafeForwardingResult</a>, <a href="testtools.testresult.TextTestResult.html" class="code">testtools.testresult.TextTestResult</a>, <a href="testtools.tests.helpers.LoggingResult.html" class="code">testtools.tests.helpers.LoggingResult</a></div> + <div><p>Called before a test run starts.</p> +<p>New in Python 2.7. The testtools version resets the result to a +pristine condition ready for use in another test run. Note that this +is different from Python 2.7's startTestRun, which does nothing.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResult.stopTestRun"> + + </a> + <a name="stopTestRun"> + + </a> + <div class="functionHeader"> + + def + stopTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.real.MultiTestResult.html" class="code">testtools.testresult.real.MultiTestResult</a>, <a href="testtools.testresult.real.ThreadsafeForwardingResult.html" class="code">testtools.testresult.real.ThreadsafeForwardingResult</a>, <a href="testtools.testresult.TextTestResult.html" class="code">testtools.testresult.TextTestResult</a>, <a href="testtools.tests.helpers.LoggingResult.html" class="code">testtools.tests.helpers.LoggingResult</a></div> + <div><p>Called after a test run completes</p> +<p>New in python 2.7</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResult.startTest"> + + </a> + <a name="startTest"> + + </a> + <div class="functionHeader"> + + def + startTest(self, test): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.real.MultiTestResult.html" class="code">testtools.testresult.real.MultiTestResult</a>, <a href="testtools.testresult.real.ThreadsafeForwardingResult.html" class="code">testtools.testresult.real.ThreadsafeForwardingResult</a>, <a href="testtools.testresult.TestByTestResult.html" class="code">testtools.testresult.TestByTestResult</a>, <a href="testtools.tests.helpers.LoggingResult.html" class="code">testtools.tests.helpers.LoggingResult</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResult.stopTest"> + + </a> + <a name="stopTest"> + + </a> + <div class="functionHeader"> + + def + stopTest(self, test): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.real.MultiTestResult.html" class="code">testtools.testresult.real.MultiTestResult</a>, <a href="testtools.testresult.TestByTestResult.html" class="code">testtools.testresult.TestByTestResult</a>, <a href="testtools.tests.helpers.LoggingResult.html" class="code">testtools.tests.helpers.LoggingResult</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResult.current_tags"> + + </a> + <a name="current_tags"> + + </a> + <div class="functionHeader"> + @property<br /> + def + current_tags(self): + + </div> + <div class="docstring functionBody"> + + <div>The currently set tags.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResult.tags"> + + </a> + <a name="tags"> + + </a> + <div class="functionHeader"> + + def + tags(self, new_tags, gone_tags): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.real.MultiTestResult.html" class="code">testtools.testresult.real.MultiTestResult</a>, <a href="testtools.testresult.real.ThreadsafeForwardingResult.html" class="code">testtools.testresult.real.ThreadsafeForwardingResult</a>, <a href="testtools.tests.helpers.LoggingResult.html" class="code">testtools.tests.helpers.LoggingResult</a></div> + <div>Add and remove tags from the test.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">new_tags</td><td>A set of tags to be added to the stream.</td></tr><tr><td></td><td class="fieldArg">gone_tags</td><td>A set of tags to be removed from the stream.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResult.time"> + + </a> + <a name="time"> + + </a> + <div class="functionHeader"> + + def + time(self, a_datetime): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.real.MultiTestResult.html" class="code">testtools.testresult.real.MultiTestResult</a>, <a href="testtools.tests.helpers.LoggingResult.html" class="code">testtools.tests.helpers.LoggingResult</a></div> + <div><p>Provide a timestamp to represent the current time.</p> +<p>This is useful when test activity is time delayed, or happening +concurrently and getting the system time between API calls will not +accurately represent the duration of tests (or the whole run).</p> +<p>Calling time() sets the datetime used by the TestResult object. +Time is permitted to go backwards when using this call.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">a_datetime</td><td>A datetime.datetime object with TZ information or +None to reset the TestResult to gathering time from the system.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResult.done"> + + </a> + <a name="done"> + + </a> + <div class="functionHeader"> + + def + done(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.real.MultiTestResult.html" class="code">testtools.testresult.real.MultiTestResult</a>, <a href="testtools.testresult.real.ThreadsafeForwardingResult.html" class="code">testtools.testresult.real.ThreadsafeForwardingResult</a>, <a href="testtools.tests.helpers.LoggingResult.html" class="code">testtools.tests.helpers.LoggingResult</a></div> + <div><p>Called when the test runner is done.</p> +<p>deprecated in favour of stopTestRun.</p><table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.real.TestResultDecorator.html b/apidocs/testtools.testresult.real.TestResultDecorator.html new file mode 100644 index 0000000..3d8d4ae --- /dev/null +++ b/apidocs/testtools.testresult.real.TestResultDecorator.html @@ -0,0 +1,485 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.real.TestResultDecorator : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.real.TestResultDecorator(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a>.<a href="testtools.testresult.real.html" class="code">real</a></code> + + <a href="classIndex.html#testtools.testresult.real.TestResultDecorator">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.testresult.real.Tagger.html" class="code">testtools.testresult.real.Tagger</a></p> + </div> + + <div class="moduleDocstring"> + <div><p>General pass-through decorator.</p> +<p>This provides a base that other TestResults can inherit from to +gain basic forwarding functionality.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id134"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#__init__" class="code">__init__</a></td> + <td><span>Create a TestResultDecorator forwarding to decorated.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#startTest" class="code">startTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#startTestRun" class="code">startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#stopTest" class="code">stopTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#stopTestRun" class="code">stopTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#addError" class="code">addError</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#addFailure" class="code">addFailure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#addSuccess" class="code">addSuccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#addSkip" class="code">addSkip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#addExpectedFailure" class="code">addExpectedFailure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#addUnexpectedSuccess" class="code">addUnexpectedSuccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#progress" class="code">progress</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#wasSuccessful" class="code">wasSuccessful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#current_tags" class="code">current_tags</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#shouldStop" class="code">shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#stop" class="code">stop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#testsRun" class="code">testsRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#tags" class="code">tags</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html#time" class="code">time</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.real.TestResultDecorator.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, decorated): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.real.Tagger.html" class="code">testtools.testresult.real.Tagger</a></div> + <div>Create a TestResultDecorator forwarding to decorated.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResultDecorator.startTest"> + + </a> + <a name="startTest"> + + </a> + <div class="functionHeader"> + + def + startTest(self, test): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.testresult.real.Tagger.html" class="code">testtools.testresult.real.Tagger</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResultDecorator.startTestRun"> + + </a> + <a name="startTestRun"> + + </a> + <div class="functionHeader"> + + def + startTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResultDecorator.stopTest"> + + </a> + <a name="stopTest"> + + </a> + <div class="functionHeader"> + + def + stopTest(self, test): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResultDecorator.stopTestRun"> + + </a> + <a name="stopTestRun"> + + </a> + <div class="functionHeader"> + + def + stopTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResultDecorator.addError"> + + </a> + <a name="addError"> + + </a> + <div class="functionHeader"> + + def + addError(self, test, err=None, details=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResultDecorator.addFailure"> + + </a> + <a name="addFailure"> + + </a> + <div class="functionHeader"> + + def + addFailure(self, test, err=None, details=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResultDecorator.addSuccess"> + + </a> + <a name="addSuccess"> + + </a> + <div class="functionHeader"> + + def + addSuccess(self, test, details=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResultDecorator.addSkip"> + + </a> + <a name="addSkip"> + + </a> + <div class="functionHeader"> + + def + addSkip(self, test, reason=None, details=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResultDecorator.addExpectedFailure"> + + </a> + <a name="addExpectedFailure"> + + </a> + <div class="functionHeader"> + + def + addExpectedFailure(self, test, err=None, details=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResultDecorator.addUnexpectedSuccess"> + + </a> + <a name="addUnexpectedSuccess"> + + </a> + <div class="functionHeader"> + + def + addUnexpectedSuccess(self, test, details=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResultDecorator.progress"> + + </a> + <a name="progress"> + + </a> + <div class="functionHeader"> + + def + progress(self, offset, whence): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResultDecorator.wasSuccessful"> + + </a> + <a name="wasSuccessful"> + + </a> + <div class="functionHeader"> + + def + wasSuccessful(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResultDecorator.current_tags"> + + </a> + <a name="current_tags"> + + </a> + <div class="functionHeader"> + @property<br /> + def + current_tags(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResultDecorator.shouldStop"> + + </a> + <a name="shouldStop"> + + </a> + <div class="functionHeader"> + @property<br /> + def + shouldStop(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResultDecorator.stop"> + + </a> + <a name="stop"> + + </a> + <div class="functionHeader"> + + def + stop(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResultDecorator.testsRun"> + + </a> + <a name="testsRun"> + + </a> + <div class="functionHeader"> + @property<br /> + def + testsRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResultDecorator.tags"> + + </a> + <a name="tags"> + + </a> + <div class="functionHeader"> + + def + tags(self, new_tags, gone_tags): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TestResultDecorator.time"> + + </a> + <a name="time"> + + </a> + <div class="functionHeader"> + + def + time(self, a_datetime): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.real.ThreadsafeForwardingResult.html b/apidocs/testtools.testresult.real.ThreadsafeForwardingResult.html new file mode 100644 index 0000000..0fcded1 --- /dev/null +++ b/apidocs/testtools.testresult.real.ThreadsafeForwardingResult.html @@ -0,0 +1,586 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.real.ThreadsafeForwardingResult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.real.ThreadsafeForwardingResult(<a href="testtools.testresult.real.TestResult.html" class="code">TestResult</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a>.<a href="testtools.testresult.real.html" class="code">real</a></code> + + <a href="classIndex.html#testtools.testresult.real.ThreadsafeForwardingResult">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>A TestResult which ensures the target does not receive mixed up calls.</p> +<p>Multiple <tt class="rst-docutils literal">ThreadsafeForwardingResults</tt> can forward to the same target +result, and that target result will only ever receive the complete set of +events for one test at a time.</p> +<p>This is enforced using a semaphore, which further guarantees that tests +will be sent atomically even if the <tt class="rst-docutils literal">ThreadsafeForwardingResults</tt> are in +different threads.</p> +<p><tt class="rst-docutils literal">ThreadsafeForwardingResult</tt> is typically used by +<tt class="rst-docutils literal">ConcurrentTestSuite</tt>, which creates one <tt class="rst-docutils literal">ThreadsafeForwardingResult</tt> +per thread, each of which wraps of the TestResult that +<tt class="rst-docutils literal">ConcurrentTestSuite.run()</tt> is called with.</p> +<p>target.startTestRun() and target.stopTestRun() are called once for each +ThreadsafeForwardingResult that forwards to the same target. If the target +takes special action on these events, it should take care to accommodate +this.</p> +<p>time() and tags() calls are batched to be adjacent to the test result and +in the case of tags() are coerced into test-local scope, avoiding the +opportunity for bugs around global state in the target.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id124"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#__init__" class="code">__init__</a></td> + <td><span>Create a ThreadsafeForwardingResult forwarding to target.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#addError" class="code">addError</a></td> + <td><span>Called when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#addExpectedFailure" class="code">addExpectedFailure</a></td> + <td><span>Called when a test has failed in an expected manner.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#addFailure" class="code">addFailure</a></td> + <td><span>Called when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#addSkip" class="code">addSkip</a></td> + <td><span>Called when a test has been skipped rather than running.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#addSuccess" class="code">addSuccess</a></td> + <td><span>Called when a test succeeded.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#addUnexpectedSuccess" class="code">addUnexpectedSuccess</a></td> + <td><span>Called when a test was expected to fail, but succeed.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#progress" class="code">progress</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#startTestRun" class="code">startTestRun</a></td> + <td><span>Called before a test run starts.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#stop" class="code">stop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#stopTestRun" class="code">stopTestRun</a></td> + <td><span>Called after a test run completes</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#done" class="code">done</a></td> + <td><span>Called when the test runner is done.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#startTest" class="code">startTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#wasSuccessful" class="code">wasSuccessful</a></td> + <td><span>Has this result been successful so far?</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#tags" class="code">tags</a></td> + <td><span>See <a href="testtools.testresult.real.TestResult.html"><code>TestResult</code></a>.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#_any_tags" class="code">_any_tags</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#_add_result_with_semaphore" class="code">_add_result_with_semaphore</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#_get_shouldStop" class="code">_get_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.ThreadsafeForwardingResult.html#_set_shouldStop" class="code">_set_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testresult.real.TestResult.html" class="code">TestResult</a>: + </p> + <table class="children sortable" id="id125"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testresult.real.TestResult.html#skip_reasons" class="code">skip_reasons</a></td> + <td>A dict of skip-reasons -> list of tests. See addSkip.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#stopTest" class="code">stopTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#current_tags" class="code">current_tags</a></td> + <td><span>The currently set tags.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#time" class="code">time</a></td> + <td><span>Provide a timestamp to represent the current time.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#_err_details_to_string" class="code">_err_details_to_string</a></td> + <td><span>Convert an error in exc_info form or a contents dict to a string.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#_exc_info_to_unicode" class="code">_exc_info_to_unicode</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#_now" class="code">_now</a></td> + <td><span>Return the current 'test time'.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.real.ThreadsafeForwardingResult.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, target, semaphore): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#__init__" class="code">testtools.testresult.real.TestResult.__init__</a></div> + <div>Create a ThreadsafeForwardingResult forwarding to target.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">target</td><td>A <tt class="rst-docutils literal">TestResult</tt>.</td></tr><tr><td></td><td class="fieldArg">semaphore</td><td>A <tt class="rst-docutils literal">threading.Semaphore</tt> with limit 1.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ThreadsafeForwardingResult.__repr__"> + + </a> + <a name="__repr__"> + + </a> + <div class="functionHeader"> + + def + __repr__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ThreadsafeForwardingResult._any_tags"> + + </a> + <a name="_any_tags"> + + </a> + <div class="functionHeader"> + + def + _any_tags(self, tags): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ThreadsafeForwardingResult._add_result_with_semaphore"> + + </a> + <a name="_add_result_with_semaphore"> + + </a> + <div class="functionHeader"> + + def + _add_result_with_semaphore(self, method, test, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ThreadsafeForwardingResult.addError"> + + </a> + <a name="addError"> + + </a> + <div class="functionHeader"> + + def + addError(self, test, err=None, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#addError" class="code">testtools.testresult.real.TestResult.addError</a></div> + <div>Called when an error has occurred. 'err' is a tuple of values as +returned by sys.exc_info().<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">details</td><td>Alternative way to supply details about the outcome. +see the class docstring for more information.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ThreadsafeForwardingResult.addExpectedFailure"> + + </a> + <a name="addExpectedFailure"> + + </a> + <div class="functionHeader"> + + def + addExpectedFailure(self, test, err=None, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#addExpectedFailure" class="code">testtools.testresult.real.TestResult.addExpectedFailure</a></div> + <div><p>Called when a test has failed in an expected manner.</p> +<p>Like with addSuccess and addError, testStopped should still be called.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test</td><td>The test that has been skipped.</td></tr><tr><td></td><td class="fieldArg">err</td><td>The exc_info of the error that was raised.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">None</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ThreadsafeForwardingResult.addFailure"> + + </a> + <a name="addFailure"> + + </a> + <div class="functionHeader"> + + def + addFailure(self, test, err=None, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#addFailure" class="code">testtools.testresult.real.TestResult.addFailure</a></div> + <div>Called when an error has occurred. 'err' is a tuple of values as +returned by sys.exc_info().<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">details</td><td>Alternative way to supply details about the outcome. +see the class docstring for more information.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ThreadsafeForwardingResult.addSkip"> + + </a> + <a name="addSkip"> + + </a> + <div class="functionHeader"> + + def + addSkip(self, test, reason=None, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#addSkip" class="code">testtools.testresult.real.TestResult.addSkip</a></div> + <div><p>Called when a test has been skipped rather than running.</p> +<p>Like with addSuccess and addError, testStopped should still be called.</p> +<p>This must be called by the TestCase. 'addError' and 'addFailure' will +not call addSkip, since they have no assumptions about the kind of +errors that a test can raise.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test</td><td>The test that has been skipped.</td></tr><tr><td></td><td class="fieldArg">reason</td><td>The reason for the test being skipped. For instance, +u"pyGL is not available".</td></tr><tr><td></td><td class="fieldArg">details</td><td>Alternative way to supply details about the outcome. +see the class docstring for more information.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">None</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ThreadsafeForwardingResult.addSuccess"> + + </a> + <a name="addSuccess"> + + </a> + <div class="functionHeader"> + + def + addSuccess(self, test, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#addSuccess" class="code">testtools.testresult.real.TestResult.addSuccess</a></div> + <div>Called when a test succeeded.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ThreadsafeForwardingResult.addUnexpectedSuccess"> + + </a> + <a name="addUnexpectedSuccess"> + + </a> + <div class="functionHeader"> + + def + addUnexpectedSuccess(self, test, details=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#addUnexpectedSuccess" class="code">testtools.testresult.real.TestResult.addUnexpectedSuccess</a></div> + <div>Called when a test was expected to fail, but succeed.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ThreadsafeForwardingResult.progress"> + + </a> + <a name="progress"> + + </a> + <div class="functionHeader"> + + def + progress(self, offset, whence): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ThreadsafeForwardingResult.startTestRun"> + + </a> + <a name="startTestRun"> + + </a> + <div class="functionHeader"> + + def + startTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#startTestRun" class="code">testtools.testresult.real.TestResult.startTestRun</a></div> + <div><p>Called before a test run starts.</p> +<p>New in Python 2.7. The testtools version resets the result to a +pristine condition ready for use in another test run. Note that this +is different from Python 2.7's startTestRun, which does nothing.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ThreadsafeForwardingResult._get_shouldStop"> + + </a> + <a name="_get_shouldStop"> + + </a> + <div class="functionHeader"> + + def + _get_shouldStop(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ThreadsafeForwardingResult._set_shouldStop"> + + </a> + <a name="_set_shouldStop"> + + </a> + <div class="functionHeader"> + + def + _set_shouldStop(self, value): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ThreadsafeForwardingResult.stop"> + + </a> + <a name="stop"> + + </a> + <div class="functionHeader"> + + def + stop(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ThreadsafeForwardingResult.stopTestRun"> + + </a> + <a name="stopTestRun"> + + </a> + <div class="functionHeader"> + + def + stopTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#stopTestRun" class="code">testtools.testresult.real.TestResult.stopTestRun</a></div> + <div><p>Called after a test run completes</p> +<p>New in python 2.7</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ThreadsafeForwardingResult.done"> + + </a> + <a name="done"> + + </a> + <div class="functionHeader"> + + def + done(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#done" class="code">testtools.testresult.real.TestResult.done</a></div> + <div><p>Called when the test runner is done.</p> +<p>deprecated in favour of stopTestRun.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ThreadsafeForwardingResult.startTest"> + + </a> + <a name="startTest"> + + </a> + <div class="functionHeader"> + + def + startTest(self, test): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#startTest" class="code">testtools.testresult.real.TestResult.startTest</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ThreadsafeForwardingResult.wasSuccessful"> + + </a> + <a name="wasSuccessful"> + + </a> + <div class="functionHeader"> + + def + wasSuccessful(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#wasSuccessful" class="code">testtools.testresult.real.TestResult.wasSuccessful</a></div> + <div><p>Has this result been successful so far?</p> +<p>If there have been any errors, failures or unexpected successes, +return False. Otherwise, return True.</p> +<p>Note: This differs from standard unittest in that we consider +unexpected successes to be equivalent to failures, rather than +successes.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.ThreadsafeForwardingResult.tags"> + + </a> + <a name="tags"> + + </a> + <div class="functionHeader"> + + def + tags(self, new_tags, gone_tags): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#tags" class="code">testtools.testresult.real.TestResult.tags</a></div> + <div>See <a href="testtools.testresult.real.TestResult.html"><code>TestResult</code></a>.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.real.TimestampingStreamResult.html b/apidocs/testtools.testresult.real.TimestampingStreamResult.html new file mode 100644 index 0000000..acfe256 --- /dev/null +++ b/apidocs/testtools.testresult.real.TimestampingStreamResult.html @@ -0,0 +1,179 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.real.TimestampingStreamResult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.real.TimestampingStreamResult(<a href="testtools.testresult.CopyStreamResult.html" class="code">CopyStreamResult</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a>.<a href="testtools.testresult.real.html" class="code">real</a></code> + + <a href="classIndex.html#testtools.testresult.real.TimestampingStreamResult">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>A StreamResult decorator that assigns a timestamp when none is present.</p> +<p>This is convenient for ensuring events are timestamped.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id137"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TimestampingStreamResult.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TimestampingStreamResult.html#status" class="code">status</a></td> + <td><span>Inform the result about a test status.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testresult.CopyStreamResult.html" class="code">CopyStreamResult</a>: + </p> + <table class="children sortable" id="id138"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.CopyStreamResult.html#startTestRun" class="code">startTestRun</a></td> + <td><span>Start a test run.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.CopyStreamResult.html#stopTestRun" class="code">stopTestRun</a></td> + <td><span>Stop a test run.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.real.TimestampingStreamResult.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, target): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.CopyStreamResult.html#__init__" class="code">testtools.testresult.CopyStreamResult.__init__</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.TimestampingStreamResult.status"> + + </a> + <a name="status"> + + </a> + <div class="functionHeader"> + + def + status(self, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.CopyStreamResult.html#status" class="code">testtools.testresult.CopyStreamResult.status</a></div> + <div>Inform the result about a test status.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test_id</td><td>The test whose status is being reported. None to +report status about the test run as a whole.</td></tr><tr><td></td><td class="fieldArg">test_status</td><td><p>The status for the test. There are two sorts of +status - interim and final status events. As many interim events +can be generated as desired, but only one final event. After a +final status event any further file or status events from the +same test_id+route_code may be discarded or associated with a new +test by the StreamResult. (But no exception will be thrown).</p> +<dl class="rst-docutils"> +<dt>Interim states:</dt> +<dd><ul class="rst-first rst-last rst-simple"> +<li>None - no particular status is being reported, or status being +reported is not associated with a test (e.g. when reporting on +stdout / stderr chatter).</li> +<li>inprogress - the test is currently running. Emitted by tests when +they start running and at any intermediary point they might +choose to indicate their continual operation.</li> +</ul> +</dd> +<dt>Final states:</dt> +<dd><ul class="rst-first rst-last rst-simple"> +<li>exists - the test exists. This is used when a test is not being +executed. Typically this is when querying what tests could be run +in a test run (which is useful for selecting tests to run).</li> +<li>xfail - the test failed but that was expected. This is purely +informative - the test is not considered to be a failure.</li> +<li>uxsuccess - the test passed but was expected to fail. The test +will be considered a failure.</li> +<li>success - the test has finished without error.</li> +<li>fail - the test failed (or errored). The test will be considered +a failure.</li> +<li>skip - the test was selected to run but chose to be skipped. E.g. +a test dependency was missing. This is purely informative - the +test is not considered to be a failure.</li> +</ul> +</dd> +</dl></td></tr><tr><td></td><td class="fieldArg">test_tags</td><td>Optional set of tags to apply to the test. Tags +have no intrinsic meaning - that is up to the test author.</td></tr><tr><td></td><td class="fieldArg">runnable</td><td>Allows status reports to mark that they are for +tests which are not able to be explicitly run. For instance, +subtests will report themselves as non-runnable.</td></tr><tr><td></td><td class="fieldArg">file_name</td><td>The name for the file_bytes. Any unicode string may +be used. While there is no semantic value attached to the name +of any attachment, the names 'stdout' and 'stderr' and 'traceback' +are recommended for use only for output sent to stdout, stderr and +tracebacks of exceptions. When file_name is supplied, file_bytes +must be a bytes instance.</td></tr><tr><td></td><td class="fieldArg">file_bytes</td><td>A bytes object containing content for the named +file. This can just be a single chunk of the file - emitting +another file event with more later. Must be None unleses a +file_name is supplied.</td></tr><tr><td></td><td class="fieldArg">eof</td><td>True if this chunk is the last chunk of the file, any +additional chunks with the same name should be treated as an error +and discarded. Ignored unless file_name has been supplied.</td></tr><tr><td></td><td class="fieldArg">mime_type</td><td>An optional MIME type for the file. stdout and +stderr will generally be "text/plain; charset=utf8". If None, +defaults to application/octet-stream. Ignored unless file_name +has been supplied.</td></tr></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.real.UTC.html b/apidocs/testtools.testresult.real.UTC.html new file mode 100644 index 0000000..a837f67 --- /dev/null +++ b/apidocs/testtools.testresult.real.UTC.html @@ -0,0 +1,131 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.real.UTC : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testresult.real.UTC(<span title="datetime.tzinfo">datetime.tzinfo</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a>.<a href="testtools.testresult.real.html" class="code">real</a></code> + + <a href="classIndex.html#testtools.testresult.real.UTC">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>UTC<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id111"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.UTC.html#utcoffset" class="code">utcoffset</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.UTC.html#tzname" class="code">tzname</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real.UTC.html#dst" class="code">dst</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.real.UTC.utcoffset"> + + </a> + <a name="utcoffset"> + + </a> + <div class="functionHeader"> + + def + utcoffset(self, dt): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.UTC.tzname"> + + </a> + <a name="tzname"> + + </a> + <div class="functionHeader"> + + def + tzname(self, dt): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.UTC.dst"> + + </a> + <a name="dst"> + + </a> + <div class="functionHeader"> + + def + dst(self, dt): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.real._StringException.html b/apidocs/testtools.testresult.real._StringException.html new file mode 100644 index 0000000..e430db6 --- /dev/null +++ b/apidocs/testtools.testresult.real._StringException.html @@ -0,0 +1,175 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.real._StringException : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class private"><code>testtools.testresult.real._StringException(<span title="Exception">Exception</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a>.<a href="testtools.testresult.real.html" class="code">real</a></code> + + <a href="classIndex.html#testtools.testresult.real._StringException">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>An exception made from an arbitrary string.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id139"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real._StringException.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real._StringException.html#__str__" class="code">__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real._StringException.html#__unicode__" class="code">__unicode__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real._StringException.html#__hash__" class="code">__hash__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testresult.real._StringException.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.real._StringException.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, string): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real._StringException.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real._StringException.__unicode__"> + + </a> + <a name="__unicode__"> + + </a> + <div class="functionHeader"> + + def + __unicode__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real._StringException.__hash__"> + + </a> + <a name="__hash__"> + + </a> + <div class="functionHeader"> + + def + __hash__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real._StringException.__eq__"> + + </a> + <a name="__eq__"> + + </a> + <div class="functionHeader"> + + def + __eq__(self, other): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testresult.real.html b/apidocs/testtools.testresult.real.html new file mode 100644 index 0000000..a2afa0c --- /dev/null +++ b/apidocs/testtools.testresult.real.html @@ -0,0 +1,267 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testresult.real : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.testresult.real</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testresult.html" class="code">testresult</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Test results and related things.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id110"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.real.UTC.html" class="code">UTC</a></td> + <td><span>UTC</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.real.TestResult.html" class="code">TestResult</a></td> + <td><span>Subclass of unittest.TestResult extending the protocol for flexability.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.real.StreamResult.html" class="code">StreamResult</a></td> + <td><span>A test result for reporting the activity of a test run.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.testresult.real.html#domap" class="code">domap</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.real.StreamFailFast.html" class="code">StreamFailFast</a></td> + <td><span>Call the supplied callback if an error is seen in a stream.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.real.StreamTagger.html" class="code">StreamTagger</a></td> + <td><span>Adds or discards tags from StreamResult events.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.real.StreamToDict.html" class="code">StreamToDict</a></td> + <td><span>A specialised StreamResult that emits a callback as tests complete.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.testresult.real.html#test_dict_to_case" class="code">test_dict_to_case</a></td> + <td><span>Convert a test dict into a TestCase object.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.real.StreamSummary.html" class="code">StreamSummary</a></td> + <td><span>A specialised StreamResult that summarises a stream.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.real.TestControl.html" class="code">TestControl</a></td> + <td><span>Controls a running test run, allowing it to be interrupted.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.real.MultiTestResult.html" class="code">MultiTestResult</a></td> + <td><span>A test result that dispatches to many test results.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.real.ThreadsafeForwardingResult.html" class="code">ThreadsafeForwardingResult</a></td> + <td><span>A TestResult which ensures the target does not receive mixed up calls.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.real.ExtendedToOriginalDecorator.html" class="code">ExtendedToOriginalDecorator</a></td> + <td><span>Permit new TestResult API code to degrade gracefully with old results.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.real.ExtendedToStreamDecorator.html" class="code">ExtendedToStreamDecorator</a></td> + <td><span>Permit using old TestResult API code with new StreamResult objects.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.real.StreamToExtendedDecorator.html" class="code">StreamToExtendedDecorator</a></td> + <td><span>Convert StreamResult API calls into ExtendedTestResult calls.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.real.StreamToQueue.html" class="code">StreamToQueue</a></td> + <td><span>A StreamResult which enqueues events as a dict to a queue.Queue.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.real.TestResultDecorator.html" class="code">TestResultDecorator</a></td> + <td><span>General pass-through decorator.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.real.Tagger.html" class="code">Tagger</a></td> + <td><span>Tag each test individually.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testresult.real.TimestampingStreamResult.html" class="code">TimestampingStreamResult</a></td> + <td><span>A StreamResult decorator that assigns a timestamp when none is present.</span></td> + </tr><tr class="function private"> + + <td>Function</td> + <td><a href="testtools.testresult.real.html#_merge_tags" class="code">_merge_tags</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class private"> + + <td>Class</td> + <td><a href="testtools.testresult.real._StringException.html" class="code">_StringException</a></td> + <td><span>An exception made from an arbitrary string.</span></td> + </tr><tr class="function private"> + + <td>Function</td> + <td><a href="testtools.testresult.real.html#_format_text_attachment" class="code">_format_text_attachment</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function private"> + + <td>Function</td> + <td><a href="testtools.testresult.real.html#_details_to_str" class="code">_details_to_str</a></td> + <td><span>Convert a details dict to a string.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testresult.real.domap"> + + </a> + <a name="domap"> + + </a> + <div class="functionHeader"> + + def + domap(*args, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real.test_dict_to_case"> + + </a> + <a name="test_dict_to_case"> + + </a> + <div class="functionHeader"> + + def + test_dict_to_case(test_dict): + + </div> + <div class="docstring functionBody"> + + <div>Convert a test dict into a TestCase object.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test_dict</td><td>A test dict as generated by StreamToDict.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">A PlaceHolder test object.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real._merge_tags"> + + </a> + <a name="_merge_tags"> + + </a> + <div class="functionHeader"> + + def + _merge_tags(existing, changed): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real._format_text_attachment"> + + </a> + <a name="_format_text_attachment"> + + </a> + <div class="functionHeader"> + + def + _format_text_attachment(name, text): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testresult.real._details_to_str"> + + </a> + <a name="_details_to_str"> + + </a> + <div class="functionHeader"> + + def + _details_to_str(details, special=None): + + </div> + <div class="docstring functionBody"> + + <div>Convert a details dict to a string.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">details</td><td>A dictionary mapping short names to <tt class="rst-docutils literal">Content</tt> objects.</td></tr><tr><td></td><td class="fieldArg">special</td><td>If specified, an attachment that should have special +attention drawn to it. The primary attachment. Normally it's the +traceback that caused the test to fail.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">A formatted string that can be included in text test results.</td></tr></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.__init__.html b/apidocs/testtools.tests.__init__.html new file mode 100644 index 0000000..b3be0ca --- /dev/null +++ b/apidocs/testtools.tests.__init__.html @@ -0,0 +1,87 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.__init__ : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.__init__</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests for testtools itself.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id321"> + + <tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.helpers.FullStackRunTest.html b/apidocs/testtools.tests.helpers.FullStackRunTest.html new file mode 100644 index 0000000..d419897 --- /dev/null +++ b/apidocs/testtools.tests.helpers.FullStackRunTest.html @@ -0,0 +1,167 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.helpers.FullStackRunTest : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.helpers.FullStackRunTest(<a href="testtools.runtest.RunTest.html" class="code">runtest.RunTest</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.helpers.html" class="code">helpers</a></code> + + <a href="classIndex.html#testtools.tests.helpers.FullStackRunTest">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id340"> + + <tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.helpers.FullStackRunTest.html#_run_user" class="code">_run_user</a></td> + <td><span>Run a user supplied function.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.runtest.RunTest.html" class="code">RunTest</a>: + </p> + <table class="children sortable" id="id341"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#case" class="code">case</a></td> + <td>The test case that is to be run.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#result" class="code">result</a></td> + <td>The result object a case is reporting to.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#handlers" class="code">handlers</a></td> + <td>A list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#exception_caught" class="code">exception_caught</a></td> + <td>An object returned when _run_user catches an +exception.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#__init__" class="code">__init__</a></td> + <td><span>Create a RunTest to run a case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#run" class="code">run</a></td> + <td><span>Run self.case reporting activity to result.</span></td> + </tr><tr class="baseinstancevariable private"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#_exceptions" class="code">_exceptions</a></td> + <td>A list of caught exceptions, used to do the single +reporting of error/failure/skip etc.</td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_one" class="code">_run_one</a></td> + <td><span>Run one test reporting to result.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_prepared_result" class="code">_run_prepared_result</a></td> + <td><span>Run one test reporting to result.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_core" class="code">_run_core</a></td> + <td><span>Run the user supplied test code.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_cleanups" class="code">_run_cleanups</a></td> + <td><span>Run the cleanups that have been added with addCleanup.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_got_user_exception" class="code">_got_user_exception</a></td> + <td><span>Called when user code raises an exception.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.helpers.FullStackRunTest._run_user"> + + </a> + <a name="_run_user"> + + </a> + <div class="functionHeader"> + + def + _run_user(self, fn, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.runtest.RunTest.html#_run_user" class="code">testtools.runtest.RunTest._run_user</a></div> + <div><p>Run a user supplied function.</p> +<p>Exceptions are processed by <a href="testtools.runtest.RunTest.html#_got_user_exception"><code>_got_user_exception</code></a>.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">Either whatever 'fn' returns or <tt class="rst-docutils literal">exception_caught</tt> if +'fn' raised an exception.</td></tr></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.helpers.LoggingResult.html b/apidocs/testtools.tests.helpers.LoggingResult.html new file mode 100644 index 0000000..8158620 --- /dev/null +++ b/apidocs/testtools.tests.helpers.LoggingResult.html @@ -0,0 +1,420 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.helpers.LoggingResult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.helpers.LoggingResult(<a href="testtools.testresult.real.TestResult.html" class="code">TestResult</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.helpers.html" class="code">helpers</a></code> + + <a href="classIndex.html#testtools.tests.helpers.LoggingResult">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>TestResult that logs its event to a list.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id338"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.helpers.LoggingResult.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.helpers.LoggingResult.html#startTest" class="code">startTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.helpers.LoggingResult.html#stop" class="code">stop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.helpers.LoggingResult.html#stopTest" class="code">stopTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.helpers.LoggingResult.html#addFailure" class="code">addFailure</a></td> + <td><span>Called when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.helpers.LoggingResult.html#addError" class="code">addError</a></td> + <td><span>Called when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.helpers.LoggingResult.html#addSkip" class="code">addSkip</a></td> + <td><span>Called when a test has been skipped rather than running.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.helpers.LoggingResult.html#addSuccess" class="code">addSuccess</a></td> + <td><span>Called when a test succeeded.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.helpers.LoggingResult.html#startTestRun" class="code">startTestRun</a></td> + <td><span>Called before a test run starts.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.helpers.LoggingResult.html#stopTestRun" class="code">stopTestRun</a></td> + <td><span>Called after a test run completes</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.helpers.LoggingResult.html#done" class="code">done</a></td> + <td><span>Called when the test runner is done.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.helpers.LoggingResult.html#tags" class="code">tags</a></td> + <td><span>Add and remove tags from the test.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.helpers.LoggingResult.html#time" class="code">time</a></td> + <td><span>Provide a timestamp to represent the current time.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testresult.real.TestResult.html" class="code">TestResult</a>: + </p> + <table class="children sortable" id="id339"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testresult.real.TestResult.html#skip_reasons" class="code">skip_reasons</a></td> + <td>A dict of skip-reasons -> list of tests. See addSkip.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#addExpectedFailure" class="code">addExpectedFailure</a></td> + <td><span>Called when a test has failed in an expected manner.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#addUnexpectedSuccess" class="code">addUnexpectedSuccess</a></td> + <td><span>Called when a test was expected to fail, but succeed.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#wasSuccessful" class="code">wasSuccessful</a></td> + <td><span>Has this result been successful so far?</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#current_tags" class="code">current_tags</a></td> + <td><span>The currently set tags.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#_err_details_to_string" class="code">_err_details_to_string</a></td> + <td><span>Convert an error in exc_info form or a contents dict to a string.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#_exc_info_to_unicode" class="code">_exc_info_to_unicode</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testresult.real.TestResult.html#_now" class="code">_now</a></td> + <td><span>Return the current 'test time'.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.helpers.LoggingResult.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, log): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#__init__" class="code">testtools.testresult.real.TestResult.__init__</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.helpers.LoggingResult.startTest"> + + </a> + <a name="startTest"> + + </a> + <div class="functionHeader"> + + def + startTest(self, test): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#startTest" class="code">testtools.testresult.real.TestResult.startTest</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.helpers.LoggingResult.stop"> + + </a> + <a name="stop"> + + </a> + <div class="functionHeader"> + + def + stop(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.helpers.LoggingResult.stopTest"> + + </a> + <a name="stopTest"> + + </a> + <div class="functionHeader"> + + def + stopTest(self, test): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#stopTest" class="code">testtools.testresult.real.TestResult.stopTest</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.helpers.LoggingResult.addFailure"> + + </a> + <a name="addFailure"> + + </a> + <div class="functionHeader"> + + def + addFailure(self, test, error): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#addFailure" class="code">testtools.testresult.real.TestResult.addFailure</a></div> + <div>Called when an error has occurred. 'err' is a tuple of values as +returned by sys.exc_info().<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">details</td><td>Alternative way to supply details about the outcome. +see the class docstring for more information.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.helpers.LoggingResult.addError"> + + </a> + <a name="addError"> + + </a> + <div class="functionHeader"> + + def + addError(self, test, error): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#addError" class="code">testtools.testresult.real.TestResult.addError</a></div> + <div>Called when an error has occurred. 'err' is a tuple of values as +returned by sys.exc_info().<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">details</td><td>Alternative way to supply details about the outcome. +see the class docstring for more information.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.helpers.LoggingResult.addSkip"> + + </a> + <a name="addSkip"> + + </a> + <div class="functionHeader"> + + def + addSkip(self, test, reason): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#addSkip" class="code">testtools.testresult.real.TestResult.addSkip</a></div> + <div><p>Called when a test has been skipped rather than running.</p> +<p>Like with addSuccess and addError, testStopped should still be called.</p> +<p>This must be called by the TestCase. 'addError' and 'addFailure' will +not call addSkip, since they have no assumptions about the kind of +errors that a test can raise.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">test</td><td>The test that has been skipped.</td></tr><tr><td></td><td class="fieldArg">reason</td><td>The reason for the test being skipped. For instance, +u"pyGL is not available".</td></tr><tr><td></td><td class="fieldArg">details</td><td>Alternative way to supply details about the outcome. +see the class docstring for more information.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">None</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.helpers.LoggingResult.addSuccess"> + + </a> + <a name="addSuccess"> + + </a> + <div class="functionHeader"> + + def + addSuccess(self, test): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#addSuccess" class="code">testtools.testresult.real.TestResult.addSuccess</a></div> + <div>Called when a test succeeded.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.helpers.LoggingResult.startTestRun"> + + </a> + <a name="startTestRun"> + + </a> + <div class="functionHeader"> + + def + startTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#startTestRun" class="code">testtools.testresult.real.TestResult.startTestRun</a></div> + <div><p>Called before a test run starts.</p> +<p>New in Python 2.7. The testtools version resets the result to a +pristine condition ready for use in another test run. Note that this +is different from Python 2.7's startTestRun, which does nothing.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.helpers.LoggingResult.stopTestRun"> + + </a> + <a name="stopTestRun"> + + </a> + <div class="functionHeader"> + + def + stopTestRun(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#stopTestRun" class="code">testtools.testresult.real.TestResult.stopTestRun</a></div> + <div><p>Called after a test run completes</p> +<p>New in python 2.7</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.helpers.LoggingResult.done"> + + </a> + <a name="done"> + + </a> + <div class="functionHeader"> + + def + done(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#done" class="code">testtools.testresult.real.TestResult.done</a></div> + <div><p>Called when the test runner is done.</p> +<p>deprecated in favour of stopTestRun.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.helpers.LoggingResult.tags"> + + </a> + <a name="tags"> + + </a> + <div class="functionHeader"> + + def + tags(self, new_tags, gone_tags): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#tags" class="code">testtools.testresult.real.TestResult.tags</a></div> + <div>Add and remove tags from the test.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">new_tags</td><td>A set of tags to be added to the stream.</td></tr><tr><td></td><td class="fieldArg">gone_tags</td><td>A set of tags to be removed from the stream.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.helpers.LoggingResult.time"> + + </a> + <a name="time"> + + </a> + <div class="functionHeader"> + + def + time(self, a_datetime): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testresult.real.TestResult.html#time" class="code">testtools.testresult.real.TestResult.time</a></div> + <div><p>Provide a timestamp to represent the current time.</p> +<p>This is useful when test activity is time delayed, or happening +concurrently and getting the system time between API calls will not +accurately represent the duration of tests (or the whole run).</p> +<p>Calling time() sets the datetime used by the TestResult object. +Time is permitted to go backwards when using this call.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">a_datetime</td><td>A datetime.datetime object with TZ information or +None to reset the TestResult to gathering time from the system.</td></tr></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.helpers.html b/apidocs/testtools.tests.helpers.html new file mode 100644 index 0000000..860b4d4 --- /dev/null +++ b/apidocs/testtools.tests.helpers.html @@ -0,0 +1,141 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.helpers : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.helpers</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Helpers for tests.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id337"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.helpers.LoggingResult.html" class="code">LoggingResult</a></td> + <td><span>TestResult that logs its event to a list.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.helpers.html#is_stack_hidden" class="code">is_stack_hidden</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.helpers.html#hide_testtools_stack" class="code">hide_testtools_stack</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.helpers.html#run_with_stack_hidden" class="code">run_with_stack_hidden</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.helpers.FullStackRunTest.html" class="code">FullStackRunTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.helpers.is_stack_hidden"> + + </a> + <a name="is_stack_hidden"> + + </a> + <div class="functionHeader"> + + def + is_stack_hidden(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.helpers.hide_testtools_stack"> + + </a> + <a name="hide_testtools_stack"> + + </a> + <div class="functionHeader"> + + def + hide_testtools_stack(should_hide=True): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.helpers.run_with_stack_hidden"> + + </a> + <a name="run_with_stack_hidden"> + + </a> + <div class="functionHeader"> + + def + run_with_stack_hidden(should_hide, f, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.html b/apidocs/testtools.tests.html new file mode 100644 index 0000000..7179a1d --- /dev/null +++ b/apidocs/testtools.tests.html @@ -0,0 +1,185 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="package"><code>testtools.tests</code> <small>package documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests for testtools itself.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id171"> + + <tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.helpers.html" class="code">helpers</a></td> + <td><span>Helpers for tests.</span></td> + </tr><tr class="package"> + + <td>Package</td> + <td><a href="testtools.tests.matchers.html" class="code">matchers</a></td> + <td><span class="undocumented">No package docstring; 1/9 modules documented</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.test_assert_that.html" class="code">test_assert_that</a></td> + <td><span class="undocumented">No module docstring; 1/3 classes, 0/1 functions documented</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.test_compat.html" class="code">test_compat</a></td> + <td><span>Tests for miscellaneous compatibility functions</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.test_content.html" class="code">test_content</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.test_content_type.html" class="code">test_content_type</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.test_deferredruntest.html" class="code">test_deferredruntest</a></td> + <td><span>Tests for the DeferredRunTest single test execution logic.</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.test_distutilscmd.html" class="code">test_distutilscmd</a></td> + <td><span>Tests for the distutils test command logic.</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.test_fixturesupport.html" class="code">test_fixturesupport</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.test_helpers.html" class="code">test_helpers</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.test_monkey.html" class="code">test_monkey</a></td> + <td><span>Tests for testtools.monkey.</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.test_run.html" class="code">test_run</a></td> + <td><span>Tests for the test runner logic.</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.test_runtest.html" class="code">test_runtest</a></td> + <td><span>Tests for the RunTest single test execution logic.</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.test_spinner.html" class="code">test_spinner</a></td> + <td><span>Tests for the evil Twisted reactor-spinning we do.</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.test_tags.html" class="code">test_tags</a></td> + <td><span>Test tag support.</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.test_testcase.html" class="code">test_testcase</a></td> + <td><span>Tests for extensions to the base test library.</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></td> + <td><span>Test TestResults and related things.</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.test_testsuite.html" class="code">test_testsuite</a></td> + <td><span>Test ConcurrentTestSuite and related things.</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.test_with_with.html" class="code">test_with_with</a></td> + <td><span class="undocumented">No module docstring; 1/1 classes, 0/1 functions documented</span></td> + </tr> +</table> + + + <p class="fromInitPy">From the <code>__init__.py</code> module:</p><table class="children sortable" id="id172"> + + <tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.__init__.html b/apidocs/testtools.tests.matchers.__init__.html new file mode 100644 index 0000000..b35a1a3 --- /dev/null +++ b/apidocs/testtools.tests.matchers.__init__.html @@ -0,0 +1,87 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.__init__ : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.matchers.__init__</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id218"> + + <tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.matchers.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.helpers.TestMatchersInterface.html b/apidocs/testtools.tests.matchers.helpers.TestMatchersInterface.html new file mode 100644 index 0000000..e45c991 --- /dev/null +++ b/apidocs/testtools.tests.matchers.helpers.TestMatchersInterface.html @@ -0,0 +1,153 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.helpers.TestMatchersInterface : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.helpers.TestMatchersInterface(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.helpers.html" class="code">helpers</a></code> + + <a href="classIndex.html#testtools.tests.matchers.helpers.TestMatchersInterface">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.tests.matchers.test_basic.TestContainsInterface.html" class="code">testtools.tests.matchers.test_basic.TestContainsInterface</a>, <a href="testtools.tests.matchers.test_basic.TestEqualsInterface.html" class="code">testtools.tests.matchers.test_basic.TestEqualsInterface</a>, <a href="testtools.tests.matchers.test_basic.TestGreaterThanInterface.html" class="code">testtools.tests.matchers.test_basic.TestGreaterThanInterface</a>, <a href="testtools.tests.matchers.test_basic.TestHasLength.html" class="code">testtools.tests.matchers.test_basic.TestHasLength</a>, <a href="testtools.tests.matchers.test_basic.TestIsInstanceInterface.html" class="code">testtools.tests.matchers.test_basic.TestIsInstanceInterface</a>, <a href="testtools.tests.matchers.test_basic.TestIsInterface.html" class="code">testtools.tests.matchers.test_basic.TestIsInterface</a>, <a href="testtools.tests.matchers.test_basic.TestLessThanInterface.html" class="code">testtools.tests.matchers.test_basic.TestLessThanInterface</a>, <a href="testtools.tests.matchers.test_basic.TestMatchesRegex.html" class="code">testtools.tests.matchers.test_basic.TestMatchesRegex</a>, <a href="testtools.tests.matchers.test_basic.TestNotEqualsInterface.html" class="code">testtools.tests.matchers.test_basic.TestNotEqualsInterface</a>, <a href="testtools.tests.matchers.test_basic.TestSameMembers.html" class="code">testtools.tests.matchers.test_basic.TestSameMembers</a>, <a href="testtools.tests.matchers.test_datastructures.TestContainsAllInterface.html" class="code">testtools.tests.matchers.test_datastructures.TestContainsAllInterface</a>, <a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.html" class="code">testtools.tests.matchers.test_datastructures.TestMatchesStructure</a>, <a href="testtools.tests.matchers.test_dict.TestContainedByDict.html" class="code">testtools.tests.matchers.test_dict.TestContainedByDict</a>, <a href="testtools.tests.matchers.test_dict.TestContainsDict.html" class="code">testtools.tests.matchers.test_dict.TestContainsDict</a>, <a href="testtools.tests.matchers.test_dict.TestKeysEqualWithList.html" class="code">testtools.tests.matchers.test_dict.TestKeysEqualWithList</a>, <a href="testtools.tests.matchers.test_dict.TestMatchesAllDictInterface.html" class="code">testtools.tests.matchers.test_dict.TestMatchesAllDictInterface</a>, <a href="testtools.tests.matchers.test_dict.TestMatchesDict.html" class="code">testtools.tests.matchers.test_dict.TestMatchesDict</a>, <a href="testtools.tests.matchers.test_dict.TestSubDictOf.html" class="code">testtools.tests.matchers.test_dict.TestSubDictOf</a>, <a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface.html" class="code">testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface</a>, <a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode.html" class="code">testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode</a>, <a href="testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface</a>, <a href="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface</a>, <a href="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface</a>, <a href="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface</a>, <a href="testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.html" class="code">testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface</a>, <a href="testtools.tests.matchers.test_exception.TestRaisesInterface.html" class="code">testtools.tests.matchers.test_exception.TestRaisesInterface</a>, <a href="testtools.tests.matchers.test_higherorder.TestAfterPreprocessing.html" class="code">testtools.tests.matchers.test_higherorder.TestAfterPreprocessing</a>, <a href="testtools.tests.matchers.test_higherorder.TestAllMatch.html" class="code">testtools.tests.matchers.test_higherorder.TestAllMatch</a>, <a href="testtools.tests.matchers.test_higherorder.TestAnnotate.html" class="code">testtools.tests.matchers.test_higherorder.TestAnnotate</a>, <a href="testtools.tests.matchers.test_higherorder.TestAnyMatch.html" class="code">testtools.tests.matchers.test_higherorder.TestAnyMatch</a>, <a href="testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface</a>, <a href="testtools.tests.matchers.test_higherorder.TestMatchesAllInterface.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchesAllInterface</a>, <a href="testtools.tests.matchers.test_higherorder.TestMatchesPredicate.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchesPredicate</a>, <a href="testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams</a>, <a href="testtools.tests.matchers.test_higherorder.TestNotInterface.html" class="code">testtools.tests.matchers.test_higherorder.TestNotInterface</a></p> + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id220"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.helpers.TestMatchersInterface.test_matches_match"> + + </a> + <a name="test_matches_match"> + + </a> + <div class="functionHeader"> + + def + test_matches_match(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.helpers.TestMatchersInterface.test__str__"> + + </a> + <a name="test__str__"> + + </a> + <div class="functionHeader"> + + def + test__str__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.helpers.TestMatchersInterface.test_describe_difference"> + + </a> + <a name="test_describe_difference"> + + </a> + <div class="functionHeader"> + + def + test_describe_difference(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.helpers.TestMatchersInterface.test_mismatch_details"> + + </a> + <a name="test_mismatch_details"> + + </a> + <div class="functionHeader"> + + def + test_mismatch_details(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.helpers.html b/apidocs/testtools.tests.matchers.helpers.html new file mode 100644 index 0000000..c0a515c --- /dev/null +++ b/apidocs/testtools.tests.matchers.helpers.html @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.helpers : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.matchers.helpers</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id219"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.html b/apidocs/testtools.tests.matchers.html new file mode 100644 index 0000000..63b0cc1 --- /dev/null +++ b/apidocs/testtools.tests.matchers.html @@ -0,0 +1,135 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="package"><code>testtools.tests.matchers</code> <small>package documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">No package docstring</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id173"> + + <tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.matchers.helpers.html" class="code">helpers</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.matchers.test_basic.html" class="code">test_basic</a></td> + <td><span class="undocumented">No module docstring; 1/15 classes, 0/1 functions documented</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.matchers.test_datastructures.html" class="code">test_datastructures</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.matchers.test_dict.html" class="code">test_dict</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.matchers.test_doctest.html" class="code">test_doctest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.matchers.test_exception.html" class="code">test_exception</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.matchers.test_filesystem.html" class="code">test_filesystem</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.matchers.test_higherorder.html" class="code">test_higherorder</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="module"> + + <td>Module</td> + <td><a href="testtools.tests.matchers.test_impl.html" class="code">test_impl</a></td> + <td><span>Tests for matchers.</span></td> + </tr> +</table> + + + <p class="fromInitPy">From the <code>__init__.py</code> module:</p><table class="children sortable" id="id174"> + + <tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.matchers.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.DoesNotEndWithTests.html b/apidocs/testtools.tests.matchers.test_basic.DoesNotEndWithTests.html new file mode 100644 index 0000000..37e42ac --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.DoesNotEndWithTests.html @@ -0,0 +1,379 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_basic.DoesNotEndWithTests : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_basic.DoesNotEndWithTests(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_basic.html" class="code">test_basic</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_basic.DoesNotEndWithTests">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id311"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.DoesNotEndWithTests.html#test_describe" class="code">test_describe</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.DoesNotEndWithTests.html#test_describe_non_ascii_unicode" class="code">test_describe_non_ascii_unicode</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.DoesNotEndWithTests.html#test_describe_non_ascii_bytes" class="code">test_describe_non_ascii_bytes</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id312"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_basic.DoesNotEndWithTests.test_describe"> + + </a> + <a name="test_describe"> + + </a> + <div class="functionHeader"> + + def + test_describe(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_basic.DoesNotEndWithTests.test_describe_non_ascii_unicode"> + + </a> + <a name="test_describe_non_ascii_unicode"> + + </a> + <div class="functionHeader"> + + def + test_describe_non_ascii_unicode(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_basic.DoesNotEndWithTests.test_describe_non_ascii_bytes"> + + </a> + <a name="test_describe_non_ascii_bytes"> + + </a> + <div class="functionHeader"> + + def + test_describe_non_ascii_bytes(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.DoesNotStartWithTests.html b/apidocs/testtools.tests.matchers.test_basic.DoesNotStartWithTests.html new file mode 100644 index 0000000..a057801 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.DoesNotStartWithTests.html @@ -0,0 +1,379 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_basic.DoesNotStartWithTests : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_basic.DoesNotStartWithTests(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_basic.html" class="code">test_basic</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_basic.DoesNotStartWithTests">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id307"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.DoesNotStartWithTests.html#test_describe" class="code">test_describe</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.DoesNotStartWithTests.html#test_describe_non_ascii_unicode" class="code">test_describe_non_ascii_unicode</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.DoesNotStartWithTests.html#test_describe_non_ascii_bytes" class="code">test_describe_non_ascii_bytes</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id308"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_basic.DoesNotStartWithTests.test_describe"> + + </a> + <a name="test_describe"> + + </a> + <div class="functionHeader"> + + def + test_describe(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_basic.DoesNotStartWithTests.test_describe_non_ascii_unicode"> + + </a> + <a name="test_describe_non_ascii_unicode"> + + </a> + <div class="functionHeader"> + + def + test_describe_non_ascii_unicode(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_basic.DoesNotStartWithTests.test_describe_non_ascii_bytes"> + + </a> + <a name="test_describe_non_ascii_bytes"> + + </a> + <div class="functionHeader"> + + def + test_describe_non_ascii_bytes(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.EndsWithTests.html b/apidocs/testtools.tests.matchers.test_basic.EndsWithTests.html new file mode 100644 index 0000000..dd5e913 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.EndsWithTests.html @@ -0,0 +1,467 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_basic.EndsWithTests : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_basic.EndsWithTests(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_basic.html" class="code">test_basic</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_basic.EndsWithTests">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id313"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.EndsWithTests.html#test_str" class="code">test_str</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.EndsWithTests.html#test_str_with_bytes" class="code">test_str_with_bytes</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.EndsWithTests.html#test_str_with_unicode" class="code">test_str_with_unicode</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.EndsWithTests.html#test_match" class="code">test_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.EndsWithTests.html#test_mismatch_returns_does_not_end_with" class="code">test_mismatch_returns_does_not_end_with</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.EndsWithTests.html#test_mismatch_sets_matchee" class="code">test_mismatch_sets_matchee</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.EndsWithTests.html#test_mismatch_sets_expected" class="code">test_mismatch_sets_expected</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id314"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_basic.EndsWithTests.test_str"> + + </a> + <a name="test_str"> + + </a> + <div class="functionHeader"> + + def + test_str(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_basic.EndsWithTests.test_str_with_bytes"> + + </a> + <a name="test_str_with_bytes"> + + </a> + <div class="functionHeader"> + + def + test_str_with_bytes(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_basic.EndsWithTests.test_str_with_unicode"> + + </a> + <a name="test_str_with_unicode"> + + </a> + <div class="functionHeader"> + + def + test_str_with_unicode(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_basic.EndsWithTests.test_match"> + + </a> + <a name="test_match"> + + </a> + <div class="functionHeader"> + + def + test_match(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_basic.EndsWithTests.test_mismatch_returns_does_not_end_with"> + + </a> + <a name="test_mismatch_returns_does_not_end_with"> + + </a> + <div class="functionHeader"> + + def + test_mismatch_returns_does_not_end_with(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_basic.EndsWithTests.test_mismatch_sets_matchee"> + + </a> + <a name="test_mismatch_sets_matchee"> + + </a> + <div class="functionHeader"> + + def + test_mismatch_sets_matchee(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_basic.EndsWithTests.test_mismatch_sets_expected"> + + </a> + <a name="test_mismatch_sets_expected"> + + </a> + <div class="functionHeader"> + + def + test_mismatch_sets_expected(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.StartsWithTests.html b/apidocs/testtools.tests.matchers.test_basic.StartsWithTests.html new file mode 100644 index 0000000..4836d7b --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.StartsWithTests.html @@ -0,0 +1,467 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_basic.StartsWithTests : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_basic.StartsWithTests(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_basic.html" class="code">test_basic</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_basic.StartsWithTests">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id309"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.StartsWithTests.html#test_str" class="code">test_str</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.StartsWithTests.html#test_str_with_bytes" class="code">test_str_with_bytes</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.StartsWithTests.html#test_str_with_unicode" class="code">test_str_with_unicode</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.StartsWithTests.html#test_match" class="code">test_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.StartsWithTests.html#test_mismatch_returns_does_not_start_with" class="code">test_mismatch_returns_does_not_start_with</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.StartsWithTests.html#test_mismatch_sets_matchee" class="code">test_mismatch_sets_matchee</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.StartsWithTests.html#test_mismatch_sets_expected" class="code">test_mismatch_sets_expected</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id310"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_basic.StartsWithTests.test_str"> + + </a> + <a name="test_str"> + + </a> + <div class="functionHeader"> + + def + test_str(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_basic.StartsWithTests.test_str_with_bytes"> + + </a> + <a name="test_str_with_bytes"> + + </a> + <div class="functionHeader"> + + def + test_str_with_bytes(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_basic.StartsWithTests.test_str_with_unicode"> + + </a> + <a name="test_str_with_unicode"> + + </a> + <div class="functionHeader"> + + def + test_str_with_unicode(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_basic.StartsWithTests.test_match"> + + </a> + <a name="test_match"> + + </a> + <div class="functionHeader"> + + def + test_match(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_basic.StartsWithTests.test_mismatch_returns_does_not_start_with"> + + </a> + <a name="test_mismatch_returns_does_not_start_with"> + + </a> + <div class="functionHeader"> + + def + test_mismatch_returns_does_not_start_with(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_basic.StartsWithTests.test_mismatch_sets_matchee"> + + </a> + <a name="test_mismatch_sets_matchee"> + + </a> + <div class="functionHeader"> + + def + test_mismatch_sets_matchee(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_basic.StartsWithTests.test_mismatch_sets_expected"> + + </a> + <a name="test_mismatch_sets_expected"> + + </a> + <div class="functionHeader"> + + def + test_mismatch_sets_expected(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.TestContainsInterface.html b/apidocs/testtools.tests.matchers.test_basic.TestContainsInterface.html new file mode 100644 index 0000000..d49d142 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.TestContainsInterface.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_basic.TestContainsInterface : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_basic.TestContainsInterface(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_basic.html" class="code">test_basic</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_basic.TestContainsInterface">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id306"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id306"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.TestEqualsInterface.html b/apidocs/testtools.tests.matchers.test_basic.TestEqualsInterface.html new file mode 100644 index 0000000..e68e012 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.TestEqualsInterface.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_basic.TestEqualsInterface : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_basic.TestEqualsInterface(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_basic.html" class="code">test_basic</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_basic.TestEqualsInterface">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id293"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id293"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.TestGreaterThanInterface.html b/apidocs/testtools.tests.matchers.test_basic.TestGreaterThanInterface.html new file mode 100644 index 0000000..a689543 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.TestGreaterThanInterface.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_basic.TestGreaterThanInterface : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_basic.TestGreaterThanInterface(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_basic.html" class="code">test_basic</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_basic.TestGreaterThanInterface">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id304"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id304"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.TestHasLength.html b/apidocs/testtools.tests.matchers.test_basic.TestHasLength.html new file mode 100644 index 0000000..716f34e --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.TestHasLength.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_basic.TestHasLength : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_basic.TestHasLength(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_basic.html" class="code">test_basic</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_basic.TestHasLength">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id320"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id320"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.TestIsInstanceInterface.Foo.html b/apidocs/testtools.tests.matchers.test_basic.TestIsInstanceInterface.Foo.html new file mode 100644 index 0000000..e719384 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.TestIsInstanceInterface.Foo.html @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_basic.TestIsInstanceInterface.Foo : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_basic.TestIsInstanceInterface.Foo</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_basic.html" class="code">test_basic</a>.<a href="testtools.tests.matchers.test_basic.TestIsInstanceInterface.html" class="code">TestIsInstanceInterface</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_basic.TestIsInstanceInterface.Foo">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.TestIsInstanceInterface.html b/apidocs/testtools.tests.matchers.test_basic.TestIsInstanceInterface.html new file mode 100644 index 0000000..78b9c35 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.TestIsInstanceInterface.html @@ -0,0 +1,126 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_basic.TestIsInstanceInterface : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_basic.TestIsInstanceInterface(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_basic.html" class="code">test_basic</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_basic.TestIsInstanceInterface">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id298"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_basic.TestIsInstanceInterface.Foo.html" class="code">Foo</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id300"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id300"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.TestIsInterface.html b/apidocs/testtools.tests.matchers.test_basic.TestIsInterface.html new file mode 100644 index 0000000..67fe059 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.TestIsInterface.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_basic.TestIsInterface : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_basic.TestIsInterface(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_basic.html" class="code">test_basic</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_basic.TestIsInterface">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id297"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id297"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.TestLessThanInterface.html b/apidocs/testtools.tests.matchers.test_basic.TestLessThanInterface.html new file mode 100644 index 0000000..17b0f9a --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.TestLessThanInterface.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_basic.TestLessThanInterface : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_basic.TestLessThanInterface(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_basic.html" class="code">test_basic</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_basic.TestLessThanInterface">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id302"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id302"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.TestMatchesRegex.html b/apidocs/testtools.tests.matchers.test_basic.TestMatchesRegex.html new file mode 100644 index 0000000..937c2ca --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.TestMatchesRegex.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_basic.TestMatchesRegex : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_basic.TestMatchesRegex(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_basic.html" class="code">test_basic</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_basic.TestMatchesRegex">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id318"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id318"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.TestNotEqualsInterface.html b/apidocs/testtools.tests.matchers.test_basic.TestNotEqualsInterface.html new file mode 100644 index 0000000..6d12206 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.TestNotEqualsInterface.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_basic.TestNotEqualsInterface : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_basic.TestNotEqualsInterface(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_basic.html" class="code">test_basic</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_basic.TestNotEqualsInterface">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id295"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id295"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.TestSameMembers.html b/apidocs/testtools.tests.matchers.test_basic.TestSameMembers.html new file mode 100644 index 0000000..542a073 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.TestSameMembers.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_basic.TestSameMembers : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_basic.TestSameMembers(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_basic.html" class="code">test_basic</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_basic.TestSameMembers">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id316"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id316"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr.html b/apidocs/testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr.html new file mode 100644 index 0000000..8138817 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr.html @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_basic.html" class="code">test_basic</a>.<a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html" class="code">Test_BinaryMismatch</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id291"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, repr_string): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr.__repr__"> + + </a> + <a name="__repr__"> + + </a> + <div class="functionHeader"> + + def + __repr__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.Test_BinaryMismatch.html b/apidocs/testtools.tests.matchers.test_basic.Test_BinaryMismatch.html new file mode 100644 index 0000000..eaff811 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.Test_BinaryMismatch.html @@ -0,0 +1,472 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_basic.Test_BinaryMismatch : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_basic.Test_BinaryMismatch(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_basic.html" class="code">test_basic</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_basic.Test_BinaryMismatch">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Mismatches from binary comparisons need useful describe output<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id289"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr.html" class="code">CustomRepr</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html#test_short_objects" class="code">test_short_objects</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html#test_short_mixed_strings" class="code">test_short_mixed_strings</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html#test_long_bytes" class="code">test_long_bytes</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html#test_long_unicode" class="code">test_long_unicode</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html#test_long_mixed_strings" class="code">test_long_mixed_strings</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html#test_long_bytes_and_object" class="code">test_long_bytes_and_object</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html#test_long_unicode_and_object" class="code">test_long_unicode_and_object</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id290"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_basic.Test_BinaryMismatch.test_short_objects"> + + </a> + <a name="test_short_objects"> + + </a> + <div class="functionHeader"> + + def + test_short_objects(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_basic.Test_BinaryMismatch.test_short_mixed_strings"> + + </a> + <a name="test_short_mixed_strings"> + + </a> + <div class="functionHeader"> + + def + test_short_mixed_strings(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_basic.Test_BinaryMismatch.test_long_bytes"> + + </a> + <a name="test_long_bytes"> + + </a> + <div class="functionHeader"> + + def + test_long_bytes(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_basic.Test_BinaryMismatch.test_long_unicode"> + + </a> + <a name="test_long_unicode"> + + </a> + <div class="functionHeader"> + + def + test_long_unicode(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_basic.Test_BinaryMismatch.test_long_mixed_strings"> + + </a> + <a name="test_long_mixed_strings"> + + </a> + <div class="functionHeader"> + + def + test_long_mixed_strings(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_basic.Test_BinaryMismatch.test_long_bytes_and_object"> + + </a> + <a name="test_long_bytes_and_object"> + + </a> + <div class="functionHeader"> + + def + test_long_bytes_and_object(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_basic.Test_BinaryMismatch.test_long_unicode_and_object"> + + </a> + <a name="test_long_unicode_and_object"> + + </a> + <div class="functionHeader"> + + def + test_long_unicode_and_object(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.html b/apidocs/testtools.tests.matchers.test_basic.html new file mode 100644 index 0000000..491f417 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.html @@ -0,0 +1,162 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_basic : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.matchers.test_basic</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">No module docstring</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id288"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html" class="code">Test_BinaryMismatch</a></td> + <td><span>Mismatches from binary comparisons need useful describe output</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_basic.TestEqualsInterface.html" class="code">TestEqualsInterface</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_basic.TestNotEqualsInterface.html" class="code">TestNotEqualsInterface</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_basic.TestIsInterface.html" class="code">TestIsInterface</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_basic.TestIsInstanceInterface.html" class="code">TestIsInstanceInterface</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_basic.TestLessThanInterface.html" class="code">TestLessThanInterface</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_basic.TestGreaterThanInterface.html" class="code">TestGreaterThanInterface</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_basic.TestContainsInterface.html" class="code">TestContainsInterface</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_basic.DoesNotStartWithTests.html" class="code">DoesNotStartWithTests</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_basic.StartsWithTests.html" class="code">StartsWithTests</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_basic.DoesNotEndWithTests.html" class="code">DoesNotEndWithTests</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_basic.EndsWithTests.html" class="code">EndsWithTests</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_basic.TestSameMembers.html" class="code">TestSameMembers</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_basic.TestMatchesRegex.html" class="code">TestMatchesRegex</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_basic.TestHasLength.html" class="code">TestHasLength</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.matchers.test_basic.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_basic.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_datastructures.TestContainsAllInterface.html b/apidocs/testtools.tests.matchers.test_datastructures.TestContainsAllInterface.html new file mode 100644 index 0000000..1d8b275 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_datastructures.TestContainsAllInterface.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_datastructures.TestContainsAllInterface : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_datastructures.TestContainsAllInterface(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_datastructures.html" class="code">test_datastructures</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_datastructures.TestContainsAllInterface">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id245"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id245"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesListwise.html b/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesListwise.html new file mode 100644 index 0000000..dc05440 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesListwise.html @@ -0,0 +1,335 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_datastructures.TestMatchesListwise : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_datastructures.TestMatchesListwise(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_datastructures.html" class="code">test_datastructures</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_datastructures.TestMatchesListwise">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id236"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_datastructures.TestMatchesListwise.html#test_docstring" class="code">test_docstring</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id237"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_datastructures.TestMatchesListwise.test_docstring"> + + </a> + <a name="test_docstring"> + + </a> + <div class="functionHeader"> + + def + test_docstring(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html b/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html new file mode 100644 index 0000000..3d36a0a --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html @@ -0,0 +1,555 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_datastructures.TestMatchesSetwise : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_datastructures.TestMatchesSetwise(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_datastructures.html" class="code">test_datastructures</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_datastructures.TestMatchesSetwise">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id242"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#assertMismatchWithDescriptionMatching" class="code">assertMismatchWithDescriptionMatching</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_matches" class="code">test_matches</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_mismatches" class="code">test_mismatches</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_too_many_matchers" class="code">test_too_many_matchers</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_too_many_values" class="code">test_too_many_values</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_two_too_many_matchers" class="code">test_two_too_many_matchers</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_two_too_many_values" class="code">test_two_too_many_values</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_mismatch_and_too_many_matchers" class="code">test_mismatch_and_too_many_matchers</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_mismatch_and_too_many_values" class="code">test_mismatch_and_too_many_values</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_mismatch_and_two_too_many_matchers" class="code">test_mismatch_and_two_too_many_matchers</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_mismatch_and_two_too_many_values" class="code">test_mismatch_and_two_too_many_values</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id243"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.assertMismatchWithDescriptionMatching"> + + </a> + <a name="assertMismatchWithDescriptionMatching"> + + </a> + <div class="functionHeader"> + + def + assertMismatchWithDescriptionMatching(self, value, matcher, description_matcher): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_matches"> + + </a> + <a name="test_matches"> + + </a> + <div class="functionHeader"> + + def + test_matches(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_mismatches"> + + </a> + <a name="test_mismatches"> + + </a> + <div class="functionHeader"> + + def + test_mismatches(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_too_many_matchers"> + + </a> + <a name="test_too_many_matchers"> + + </a> + <div class="functionHeader"> + + def + test_too_many_matchers(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_too_many_values"> + + </a> + <a name="test_too_many_values"> + + </a> + <div class="functionHeader"> + + def + test_too_many_values(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_two_too_many_matchers"> + + </a> + <a name="test_two_too_many_matchers"> + + </a> + <div class="functionHeader"> + + def + test_two_too_many_matchers(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_two_too_many_values"> + + </a> + <a name="test_two_too_many_values"> + + </a> + <div class="functionHeader"> + + def + test_two_too_many_values(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_mismatch_and_too_many_matchers"> + + </a> + <a name="test_mismatch_and_too_many_matchers"> + + </a> + <div class="functionHeader"> + + def + test_mismatch_and_too_many_matchers(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_mismatch_and_too_many_values"> + + </a> + <a name="test_mismatch_and_too_many_values"> + + </a> + <div class="functionHeader"> + + def + test_mismatch_and_too_many_values(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_mismatch_and_two_too_many_matchers"> + + </a> + <a name="test_mismatch_and_two_too_many_matchers"> + + </a> + <div class="functionHeader"> + + def + test_mismatch_and_two_too_many_matchers(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_mismatch_and_two_too_many_values"> + + </a> + <a name="test_mismatch_and_two_too_many_values"> + + </a> + <div class="functionHeader"> + + def + test_mismatch_and_two_too_many_values(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass.html b/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass.html new file mode 100644 index 0000000..3e1408c --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass.html @@ -0,0 +1,87 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_datastructures.html" class="code">test_datastructures</a>.<a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.html" class="code">TestMatchesStructure</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id241"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, x, y): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesStructure.html b/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesStructure.html new file mode 100644 index 0000000..3f55561 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesStructure.html @@ -0,0 +1,236 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_datastructures.TestMatchesStructure : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_datastructures.TestMatchesStructure(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_datastructures.html" class="code">test_datastructures</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_datastructures.TestMatchesStructure">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id238"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass.html" class="code">SimpleClass</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.html#test_fromExample" class="code">test_fromExample</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.html#test_byEquality" class="code">test_byEquality</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.html#test_withStructure" class="code">test_withStructure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.html#test_update" class="code">test_update</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.html#test_update_none" class="code">test_update_none</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id240"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id240"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_datastructures.TestMatchesStructure.test_fromExample"> + + </a> + <a name="test_fromExample"> + + </a> + <div class="functionHeader"> + + def + test_fromExample(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_datastructures.TestMatchesStructure.test_byEquality"> + + </a> + <a name="test_byEquality"> + + </a> + <div class="functionHeader"> + + def + test_byEquality(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_datastructures.TestMatchesStructure.test_withStructure"> + + </a> + <a name="test_withStructure"> + + </a> + <div class="functionHeader"> + + def + test_withStructure(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_datastructures.TestMatchesStructure.test_update"> + + </a> + <a name="test_update"> + + </a> + <div class="functionHeader"> + + def + test_update(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_datastructures.TestMatchesStructure.test_update_none"> + + </a> + <a name="test_update_none"> + + </a> + <div class="functionHeader"> + + def + test_update_none(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_datastructures.html b/apidocs/testtools.tests.matchers.test_datastructures.html new file mode 100644 index 0000000..28b1999 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_datastructures.html @@ -0,0 +1,129 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_datastructures : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.matchers.test_datastructures</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id235"> + + <tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.matchers.test_datastructures.html#run_doctest" class="code">run_doctest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_datastructures.TestMatchesListwise.html" class="code">TestMatchesListwise</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.html" class="code">TestMatchesStructure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html" class="code">TestMatchesSetwise</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_datastructures.TestContainsAllInterface.html" class="code">TestContainsAllInterface</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.matchers.test_datastructures.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_datastructures.run_doctest"> + + </a> + <a name="run_doctest"> + + </a> + <div class="functionHeader"> + + def + run_doctest(obj, name): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_datastructures.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_dict.TestContainedByDict.html b/apidocs/testtools.tests.matchers.test_dict.TestContainedByDict.html new file mode 100644 index 0000000..0a8d613 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_dict.TestContainedByDict.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_dict.TestContainedByDict : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_dict.TestContainedByDict(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_dict.html" class="code">test_dict</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_dict.TestContainedByDict">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id217"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id217"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_dict.TestContainsDict.html b/apidocs/testtools.tests.matchers.test_dict.TestContainsDict.html new file mode 100644 index 0000000..ba73b99 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_dict.TestContainsDict.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_dict.TestContainsDict : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_dict.TestContainsDict(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_dict.html" class="code">test_dict</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_dict.TestContainsDict">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id215"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id215"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_dict.TestKeysEqualWithDict.html b/apidocs/testtools.tests.matchers.test_dict.TestKeysEqualWithDict.html new file mode 100644 index 0000000..b850132 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_dict.TestKeysEqualWithDict.html @@ -0,0 +1,146 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_dict.TestKeysEqualWithDict : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_dict.TestKeysEqualWithDict(<a href="testtools.tests.matchers.test_dict.TestKeysEqualWithList.html" class="code">TestKeysEqualWithList</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_dict.html" class="code">test_dict</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_dict.TestKeysEqualWithDict">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a> (via <a href="testtools.tests.matchers.test_dict.TestKeysEqualWithList.html" class="code">TestKeysEqualWithList</a>): + </p> + <table class="children sortable" id="id209"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a> (via <a href="testtools.tests.matchers.test_dict.TestKeysEqualWithList.html" class="code">TestKeysEqualWithList</a>): + </p> + <table class="children sortable" id="id209"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a> (via <a href="testtools.tests.matchers.test_dict.TestKeysEqualWithList.html" class="code">TestKeysEqualWithList</a>): + </p> + <table class="children sortable" id="id209"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_dict.TestKeysEqualWithList.html b/apidocs/testtools.tests.matchers.test_dict.TestKeysEqualWithList.html new file mode 100644 index 0000000..3fb2a5f --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_dict.TestKeysEqualWithList.html @@ -0,0 +1,143 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_dict.TestKeysEqualWithList : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_dict.TestKeysEqualWithList(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_dict.html" class="code">test_dict</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_dict.TestKeysEqualWithList">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.tests.matchers.test_dict.TestKeysEqualWithDict.html" class="code">testtools.tests.matchers.test_dict.TestKeysEqualWithDict</a></p> + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id204"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_dict.TestKeysEqualWithList.html#test_description" class="code">test_description</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id206"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id206"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_dict.TestKeysEqualWithList.test_description"> + + </a> + <a name="test_description"> + + </a> + <div class="functionHeader"> + + def + test_description(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_dict.TestMatchesAllDictInterface.html b/apidocs/testtools.tests.matchers.test_dict.TestMatchesAllDictInterface.html new file mode 100644 index 0000000..964d773 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_dict.TestMatchesAllDictInterface.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_dict.TestMatchesAllDictInterface : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_dict.TestMatchesAllDictInterface(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_dict.html" class="code">test_dict</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_dict.TestMatchesAllDictInterface">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id203"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id203"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_dict.TestMatchesDict.html b/apidocs/testtools.tests.matchers.test_dict.TestMatchesDict.html new file mode 100644 index 0000000..e670290 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_dict.TestMatchesDict.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_dict.TestMatchesDict : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_dict.TestMatchesDict(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_dict.html" class="code">test_dict</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_dict.TestMatchesDict">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id213"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id213"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_dict.TestSubDictOf.html b/apidocs/testtools.tests.matchers.test_dict.TestSubDictOf.html new file mode 100644 index 0000000..a558819 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_dict.TestSubDictOf.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_dict.TestSubDictOf : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_dict.TestSubDictOf(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_dict.html" class="code">test_dict</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_dict.TestSubDictOf">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id211"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id211"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_dict.html b/apidocs/testtools.tests.matchers.test_dict.html new file mode 100644 index 0000000..191b930 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_dict.html @@ -0,0 +1,122 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_dict : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.matchers.test_dict</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id201"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_dict.TestMatchesAllDictInterface.html" class="code">TestMatchesAllDictInterface</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_dict.TestKeysEqualWithList.html" class="code">TestKeysEqualWithList</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_dict.TestKeysEqualWithDict.html" class="code">TestKeysEqualWithDict</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_dict.TestSubDictOf.html" class="code">TestSubDictOf</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_dict.TestMatchesDict.html" class="code">TestMatchesDict</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_dict.TestContainsDict.html" class="code">TestContainsDict</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_dict.TestContainedByDict.html" class="code">TestContainedByDict</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.matchers.test_dict.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_dict.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface.html b/apidocs/testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface.html new file mode 100644 index 0000000..41f7af6 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_doctest.html" class="code">test_doctest</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id230"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id230"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode.html b/apidocs/testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode.html new file mode 100644 index 0000000..f9c0558 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_doctest.html" class="code">test_doctest</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id232"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id232"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.html b/apidocs/testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.html new file mode 100644 index 0000000..054615a --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.html @@ -0,0 +1,382 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_doctest.html" class="code">test_doctest</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">No class docstring</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id233"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.html#test___init__simple" class="code">test___init__simple</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.html#test___init__flags" class="code">test___init__flags</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.html#test_describe_non_ascii_bytes" class="code">test_describe_non_ascii_bytes</a></td> + <td><span>Even with bytestrings, the mismatch should be coercible to unicode</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id234"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.test___init__simple"> + + </a> + <a name="test___init__simple"> + + </a> + <div class="functionHeader"> + + def + test___init__simple(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.test___init__flags"> + + </a> + <a name="test___init__flags"> + + </a> + <div class="functionHeader"> + + def + test___init__flags(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.test_describe_non_ascii_bytes"> + + </a> + <a name="test_describe_non_ascii_bytes"> + + </a> + <div class="functionHeader"> + + def + test_describe_non_ascii_bytes(self): + + </div> + <div class="docstring functionBody"> + + <div><p>Even with bytestrings, the mismatch should be coercible to unicode</p> +<p>DocTestMatches is intended for text, but the Python 2 str type also +permits arbitrary binary inputs. This is a slightly bogus thing to do, +and under Python 3 using bytes objects will reasonably raise an error.</p><table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_doctest.html b/apidocs/testtools.tests.matchers.test_doctest.html new file mode 100644 index 0000000..9900a90 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_doctest.html @@ -0,0 +1,102 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_doctest : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.matchers.test_doctest</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id228"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface.html" class="code">TestDocTestMatchesInterface</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode.html" class="code">TestDocTestMatchesInterfaceUnicode</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.html" class="code">TestDocTestMatchesSpecific</a></td> + <td><span class="undocumented">No class docstring; 1/3 methods documented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.matchers.test_doctest.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_doctest.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface.html b/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface.html new file mode 100644 index 0000000..53b18e8 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_exception.html" class="code">test_exception</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id248"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id248"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface.html b/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface.html new file mode 100644 index 0000000..00fda36 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_exception.html" class="code">test_exception</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id250"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id250"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface.html b/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface.html new file mode 100644 index 0000000..ff3b600 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_exception.html" class="code">test_exception</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id254"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id254"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface.html b/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface.html new file mode 100644 index 0000000..348997b --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_exception.html" class="code">test_exception</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id252"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id252"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html b/apidocs/testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html new file mode 100644 index 0000000..862d7cc --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_exception.TestRaisesBaseTypes : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_exception.TestRaisesBaseTypes(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_exception.html" class="code">test_exception</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_exception.TestRaisesBaseTypes">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id261"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html#raiser" class="code">raiser</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html#test_KeyboardInterrupt_matched" class="code">test_KeyboardInterrupt_matched</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html#test_KeyboardInterrupt_propogates" class="code">test_KeyboardInterrupt_propogates</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html#test_KeyboardInterrupt_match_Exception_propogates" class="code">test_KeyboardInterrupt_match_Exception_propogates</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id262"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_exception.TestRaisesBaseTypes.raiser"> + + </a> + <a name="raiser"> + + </a> + <div class="functionHeader"> + + def + raiser(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_exception.TestRaisesBaseTypes.test_KeyboardInterrupt_matched"> + + </a> + <a name="test_KeyboardInterrupt_matched"> + + </a> + <div class="functionHeader"> + + def + test_KeyboardInterrupt_matched(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_exception.TestRaisesBaseTypes.test_KeyboardInterrupt_propogates"> + + </a> + <a name="test_KeyboardInterrupt_propogates"> + + </a> + <div class="functionHeader"> + + def + test_KeyboardInterrupt_propogates(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_exception.TestRaisesBaseTypes.test_KeyboardInterrupt_match_Exception_propogates"> + + </a> + <a name="test_KeyboardInterrupt_match_Exception_propogates"> + + </a> + <div class="functionHeader"> + + def + test_KeyboardInterrupt_match_Exception_propogates(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_exception.TestRaisesConvenience.html b/apidocs/testtools.tests.matchers.test_exception.TestRaisesConvenience.html new file mode 100644 index 0000000..6f61b89 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_exception.TestRaisesConvenience.html @@ -0,0 +1,357 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_exception.TestRaisesConvenience : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_exception.TestRaisesConvenience(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_exception.html" class="code">test_exception</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_exception.TestRaisesConvenience">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id263"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_exception.TestRaisesConvenience.html#test_exc_type" class="code">test_exc_type</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_exception.TestRaisesConvenience.html#test_exc_value" class="code">test_exc_value</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id264"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_exception.TestRaisesConvenience.test_exc_type"> + + </a> + <a name="test_exc_type"> + + </a> + <div class="functionHeader"> + + def + test_exc_type(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_exception.TestRaisesConvenience.test_exc_value"> + + </a> + <a name="test_exc_value"> + + </a> + <div class="functionHeader"> + + def + test_exc_value(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.html b/apidocs/testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.html new file mode 100644 index 0000000..0345b29 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.html @@ -0,0 +1,165 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_exception.html" class="code">test_exception</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id258"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.html#boom_bar" class="code">boom_bar</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.html#boom_foo" class="code">boom_foo</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id260"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id260"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.boom_bar"> + + </a> + <a name="boom_bar"> + + </a> + <div class="functionHeader"> + + def + boom_bar(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.boom_foo"> + + </a> + <a name="boom_foo"> + + </a> + <div class="functionHeader"> + + def + boom_foo(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_exception.TestRaisesInterface.html b/apidocs/testtools.tests.matchers.test_exception.TestRaisesInterface.html new file mode 100644 index 0000000..05ee713 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_exception.TestRaisesInterface.html @@ -0,0 +1,143 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_exception.TestRaisesInterface : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_exception.TestRaisesInterface(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_exception.html" class="code">test_exception</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_exception.TestRaisesInterface">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id255"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_exception.TestRaisesInterface.html#boom" class="code">boom</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id257"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id257"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_exception.TestRaisesInterface.boom"> + + </a> + <a name="boom"> + + </a> + <div class="functionHeader"> + + def + boom(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_exception.html b/apidocs/testtools.tests.matchers.test_exception.html new file mode 100644 index 0000000..b9f46fe --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_exception.html @@ -0,0 +1,149 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_exception : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.matchers.test_exception</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id246"> + + <tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.matchers.test_exception.html#make_error" class="code">make_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface.html" class="code">TestMatchesExceptionInstanceInterface</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface.html" class="code">TestMatchesExceptionTypeInterface</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface.html" class="code">TestMatchesExceptionTypeReInterface</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface.html" class="code">TestMatchesExceptionTypeMatcherInterface</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_exception.TestRaisesInterface.html" class="code">TestRaisesInterface</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.html" class="code">TestRaisesExceptionMatcherInterface</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html" class="code">TestRaisesBaseTypes</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_exception.TestRaisesConvenience.html" class="code">TestRaisesConvenience</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.matchers.test_exception.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_exception.make_error"> + + </a> + <a name="make_error"> + + </a> + <div class="functionHeader"> + + def + make_error(type, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_exception.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_filesystem.PathHelpers.html b/apidocs/testtools.tests.matchers.test_filesystem.PathHelpers.html new file mode 100644 index 0000000..1ab074e --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_filesystem.PathHelpers.html @@ -0,0 +1,131 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_filesystem.PathHelpers : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_filesystem.PathHelpers(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_filesystem.html" class="code">test_filesystem</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_filesystem.PathHelpers">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.tests.matchers.test_filesystem.TestDirContains.html" class="code">testtools.tests.matchers.test_filesystem.TestDirContains</a>, <a href="testtools.tests.matchers.test_filesystem.TestDirExists.html" class="code">testtools.tests.matchers.test_filesystem.TestDirExists</a>, <a href="testtools.tests.matchers.test_filesystem.TestFileContains.html" class="code">testtools.tests.matchers.test_filesystem.TestFileContains</a>, <a href="testtools.tests.matchers.test_filesystem.TestFileExists.html" class="code">testtools.tests.matchers.test_filesystem.TestFileExists</a>, <a href="testtools.tests.matchers.test_filesystem.TestHasPermissions.html" class="code">testtools.tests.matchers.test_filesystem.TestHasPermissions</a>, <a href="testtools.tests.matchers.test_filesystem.TestPathExists.html" class="code">testtools.tests.matchers.test_filesystem.TestPathExists</a>, <a href="testtools.tests.matchers.test_filesystem.TestSamePath.html" class="code">testtools.tests.matchers.test_filesystem.TestSamePath</a>, <a href="testtools.tests.matchers.test_filesystem.TestTarballContains.html" class="code">testtools.tests.matchers.test_filesystem.TestTarballContains</a></p> + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id176"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#mkdtemp" class="code">mkdtemp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#create_file" class="code">create_file</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#touch" class="code">touch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_filesystem.PathHelpers.mkdtemp"> + + </a> + <a name="mkdtemp"> + + </a> + <div class="functionHeader"> + + def + mkdtemp(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_filesystem.PathHelpers.create_file"> + + </a> + <a name="create_file"> + + </a> + <div class="functionHeader"> + + def + create_file(self, filename, contents=''): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_filesystem.PathHelpers.touch"> + + </a> + <a name="touch"> + + </a> + <div class="functionHeader"> + + def + touch(self, filename): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_filesystem.TestDirContains.html b/apidocs/testtools.tests.matchers.test_filesystem.TestDirContains.html new file mode 100644 index 0000000..30d4bf8 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_filesystem.TestDirContains.html @@ -0,0 +1,265 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_filesystem.TestDirContains : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_filesystem.TestDirContains(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_filesystem.html" class="code">test_filesystem</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_filesystem.TestDirContains">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id186"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestDirContains.html#test_empty" class="code">test_empty</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestDirContains.html#test_not_exists" class="code">test_not_exists</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestDirContains.html#test_contains_files" class="code">test_contains_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestDirContains.html#test_matcher" class="code">test_matcher</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestDirContains.html#test_neither_specified" class="code">test_neither_specified</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestDirContains.html#test_both_specified" class="code">test_both_specified</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestDirContains.html#test_does_not_contain_files" class="code">test_does_not_contain_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>: + </p> + <table class="children sortable" id="id188"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#mkdtemp" class="code">mkdtemp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#create_file" class="code">create_file</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#touch" class="code">touch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>: + </p> + <table class="children sortable" id="id188"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#mkdtemp" class="code">mkdtemp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#create_file" class="code">create_file</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#touch" class="code">touch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestDirContains.test_empty"> + + </a> + <a name="test_empty"> + + </a> + <div class="functionHeader"> + + def + test_empty(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestDirContains.test_not_exists"> + + </a> + <a name="test_not_exists"> + + </a> + <div class="functionHeader"> + + def + test_not_exists(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestDirContains.test_contains_files"> + + </a> + <a name="test_contains_files"> + + </a> + <div class="functionHeader"> + + def + test_contains_files(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestDirContains.test_matcher"> + + </a> + <a name="test_matcher"> + + </a> + <div class="functionHeader"> + + def + test_matcher(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestDirContains.test_neither_specified"> + + </a> + <a name="test_neither_specified"> + + </a> + <div class="functionHeader"> + + def + test_neither_specified(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestDirContains.test_both_specified"> + + </a> + <a name="test_both_specified"> + + </a> + <div class="functionHeader"> + + def + test_both_specified(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestDirContains.test_does_not_contain_files"> + + </a> + <a name="test_does_not_contain_files"> + + </a> + <div class="functionHeader"> + + def + test_does_not_contain_files(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_filesystem.TestDirExists.html b/apidocs/testtools.tests.matchers.test_filesystem.TestDirExists.html new file mode 100644 index 0000000..e585e6a --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_filesystem.TestDirExists.html @@ -0,0 +1,177 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_filesystem.TestDirExists : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_filesystem.TestDirExists(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_filesystem.html" class="code">test_filesystem</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_filesystem.TestDirExists">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id180"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestDirExists.html#test_exists" class="code">test_exists</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestDirExists.html#test_not_exists" class="code">test_not_exists</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestDirExists.html#test_not_a_directory" class="code">test_not_a_directory</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>: + </p> + <table class="children sortable" id="id182"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#mkdtemp" class="code">mkdtemp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#create_file" class="code">create_file</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#touch" class="code">touch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>: + </p> + <table class="children sortable" id="id182"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#mkdtemp" class="code">mkdtemp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#create_file" class="code">create_file</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#touch" class="code">touch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestDirExists.test_exists"> + + </a> + <a name="test_exists"> + + </a> + <div class="functionHeader"> + + def + test_exists(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestDirExists.test_not_exists"> + + </a> + <a name="test_not_exists"> + + </a> + <div class="functionHeader"> + + def + test_not_exists(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestDirExists.test_not_a_directory"> + + </a> + <a name="test_not_a_directory"> + + </a> + <div class="functionHeader"> + + def + test_not_a_directory(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_filesystem.TestFileContains.html b/apidocs/testtools.tests.matchers.test_filesystem.TestFileContains.html new file mode 100644 index 0000000..544ce93 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_filesystem.TestFileContains.html @@ -0,0 +1,243 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_filesystem.TestFileContains : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_filesystem.TestFileContains(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_filesystem.html" class="code">test_filesystem</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_filesystem.TestFileContains">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id189"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestFileContains.html#test_not_exists" class="code">test_not_exists</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestFileContains.html#test_contains" class="code">test_contains</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestFileContains.html#test_matcher" class="code">test_matcher</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestFileContains.html#test_neither_specified" class="code">test_neither_specified</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestFileContains.html#test_both_specified" class="code">test_both_specified</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestFileContains.html#test_does_not_contain" class="code">test_does_not_contain</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>: + </p> + <table class="children sortable" id="id191"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#mkdtemp" class="code">mkdtemp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#create_file" class="code">create_file</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#touch" class="code">touch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>: + </p> + <table class="children sortable" id="id191"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#mkdtemp" class="code">mkdtemp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#create_file" class="code">create_file</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#touch" class="code">touch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestFileContains.test_not_exists"> + + </a> + <a name="test_not_exists"> + + </a> + <div class="functionHeader"> + + def + test_not_exists(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestFileContains.test_contains"> + + </a> + <a name="test_contains"> + + </a> + <div class="functionHeader"> + + def + test_contains(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestFileContains.test_matcher"> + + </a> + <a name="test_matcher"> + + </a> + <div class="functionHeader"> + + def + test_matcher(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestFileContains.test_neither_specified"> + + </a> + <a name="test_neither_specified"> + + </a> + <div class="functionHeader"> + + def + test_neither_specified(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestFileContains.test_both_specified"> + + </a> + <a name="test_both_specified"> + + </a> + <div class="functionHeader"> + + def + test_both_specified(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestFileContains.test_does_not_contain"> + + </a> + <a name="test_does_not_contain"> + + </a> + <div class="functionHeader"> + + def + test_does_not_contain(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_filesystem.TestFileExists.html b/apidocs/testtools.tests.matchers.test_filesystem.TestFileExists.html new file mode 100644 index 0000000..28e1b96 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_filesystem.TestFileExists.html @@ -0,0 +1,177 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_filesystem.TestFileExists : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_filesystem.TestFileExists(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_filesystem.html" class="code">test_filesystem</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_filesystem.TestFileExists">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id183"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestFileExists.html#test_exists" class="code">test_exists</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestFileExists.html#test_not_exists" class="code">test_not_exists</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestFileExists.html#test_not_a_file" class="code">test_not_a_file</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>: + </p> + <table class="children sortable" id="id185"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#mkdtemp" class="code">mkdtemp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#create_file" class="code">create_file</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#touch" class="code">touch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>: + </p> + <table class="children sortable" id="id185"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#mkdtemp" class="code">mkdtemp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#create_file" class="code">create_file</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#touch" class="code">touch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestFileExists.test_exists"> + + </a> + <a name="test_exists"> + + </a> + <div class="functionHeader"> + + def + test_exists(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestFileExists.test_not_exists"> + + </a> + <a name="test_not_exists"> + + </a> + <div class="functionHeader"> + + def + test_not_exists(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestFileExists.test_not_a_file"> + + </a> + <a name="test_not_a_file"> + + </a> + <div class="functionHeader"> + + def + test_not_a_file(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_filesystem.TestHasPermissions.html b/apidocs/testtools.tests.matchers.test_filesystem.TestHasPermissions.html new file mode 100644 index 0000000..3b188ca --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_filesystem.TestHasPermissions.html @@ -0,0 +1,133 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_filesystem.TestHasPermissions : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_filesystem.TestHasPermissions(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_filesystem.html" class="code">test_filesystem</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_filesystem.TestHasPermissions">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id198"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestHasPermissions.html#test_match" class="code">test_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>: + </p> + <table class="children sortable" id="id200"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#mkdtemp" class="code">mkdtemp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#create_file" class="code">create_file</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#touch" class="code">touch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>: + </p> + <table class="children sortable" id="id200"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#mkdtemp" class="code">mkdtemp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#create_file" class="code">create_file</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#touch" class="code">touch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestHasPermissions.test_match"> + + </a> + <a name="test_match"> + + </a> + <div class="functionHeader"> + + def + test_match(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_filesystem.TestPathExists.html b/apidocs/testtools.tests.matchers.test_filesystem.TestPathExists.html new file mode 100644 index 0000000..dc93e14 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_filesystem.TestPathExists.html @@ -0,0 +1,155 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_filesystem.TestPathExists : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_filesystem.TestPathExists(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_filesystem.html" class="code">test_filesystem</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_filesystem.TestPathExists">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id177"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestPathExists.html#test_exists" class="code">test_exists</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestPathExists.html#test_not_exists" class="code">test_not_exists</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>: + </p> + <table class="children sortable" id="id179"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#mkdtemp" class="code">mkdtemp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#create_file" class="code">create_file</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#touch" class="code">touch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>: + </p> + <table class="children sortable" id="id179"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#mkdtemp" class="code">mkdtemp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#create_file" class="code">create_file</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#touch" class="code">touch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestPathExists.test_exists"> + + </a> + <a name="test_exists"> + + </a> + <div class="functionHeader"> + + def + test_exists(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestPathExists.test_not_exists"> + + </a> + <a name="test_not_exists"> + + </a> + <div class="functionHeader"> + + def + test_not_exists(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_filesystem.TestSamePath.html b/apidocs/testtools.tests.matchers.test_filesystem.TestSamePath.html new file mode 100644 index 0000000..8594630 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_filesystem.TestSamePath.html @@ -0,0 +1,177 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_filesystem.TestSamePath : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_filesystem.TestSamePath(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_filesystem.html" class="code">test_filesystem</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_filesystem.TestSamePath">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id195"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestSamePath.html#test_same_string" class="code">test_same_string</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestSamePath.html#test_relative_and_absolute" class="code">test_relative_and_absolute</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestSamePath.html#test_real_path" class="code">test_real_path</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>: + </p> + <table class="children sortable" id="id197"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#mkdtemp" class="code">mkdtemp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#create_file" class="code">create_file</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#touch" class="code">touch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>: + </p> + <table class="children sortable" id="id197"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#mkdtemp" class="code">mkdtemp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#create_file" class="code">create_file</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#touch" class="code">touch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestSamePath.test_same_string"> + + </a> + <a name="test_same_string"> + + </a> + <div class="functionHeader"> + + def + test_same_string(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestSamePath.test_relative_and_absolute"> + + </a> + <a name="test_relative_and_absolute"> + + </a> + <div class="functionHeader"> + + def + test_relative_and_absolute(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestSamePath.test_real_path"> + + </a> + <a name="test_real_path"> + + </a> + <div class="functionHeader"> + + def + test_real_path(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_filesystem.TestTarballContains.html b/apidocs/testtools.tests.matchers.test_filesystem.TestTarballContains.html new file mode 100644 index 0000000..f4fa974 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_filesystem.TestTarballContains.html @@ -0,0 +1,155 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_filesystem.TestTarballContains : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_filesystem.TestTarballContains(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_filesystem.html" class="code">test_filesystem</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_filesystem.TestTarballContains">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id192"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestTarballContains.html#test_match" class="code">test_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestTarballContains.html#test_mismatch" class="code">test_mismatch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>: + </p> + <table class="children sortable" id="id194"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#mkdtemp" class="code">mkdtemp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#create_file" class="code">create_file</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#touch" class="code">touch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a>: + </p> + <table class="children sortable" id="id194"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#mkdtemp" class="code">mkdtemp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#create_file" class="code">create_file</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#touch" class="code">touch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestTarballContains.test_match"> + + </a> + <a name="test_match"> + + </a> + <div class="functionHeader"> + + def + test_match(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_filesystem.TestTarballContains.test_mismatch"> + + </a> + <a name="test_mismatch"> + + </a> + <div class="functionHeader"> + + def + test_mismatch(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_filesystem.html b/apidocs/testtools.tests.matchers.test_filesystem.html new file mode 100644 index 0000000..001a1fe --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_filesystem.html @@ -0,0 +1,132 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_filesystem : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.matchers.test_filesystem</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id175"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">PathHelpers</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestPathExists.html" class="code">TestPathExists</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestDirExists.html" class="code">TestDirExists</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestFileExists.html" class="code">TestFileExists</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestDirContains.html" class="code">TestDirContains</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestFileContains.html" class="code">TestFileContains</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestTarballContains.html" class="code">TestTarballContains</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestSamePath.html" class="code">TestSamePath</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_filesystem.TestHasPermissions.html" class="code">TestHasPermissions</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.matchers.test_filesystem.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_filesystem.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_higherorder.TestAfterPreprocessing.html b/apidocs/testtools.tests.matchers.test_higherorder.TestAfterPreprocessing.html new file mode 100644 index 0000000..a4666f4 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_higherorder.TestAfterPreprocessing.html @@ -0,0 +1,143 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_higherorder.TestAfterPreprocessing : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_higherorder.TestAfterPreprocessing(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_higherorder.html" class="code">test_higherorder</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_higherorder.TestAfterPreprocessing">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id270"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_higherorder.TestAfterPreprocessing.html#parity" class="code">parity</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id272"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id272"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_higherorder.TestAfterPreprocessing.parity"> + + </a> + <a name="parity"> + + </a> + <div class="functionHeader"> + + def + parity(x): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_higherorder.TestAllMatch.html b/apidocs/testtools.tests.matchers.test_higherorder.TestAllMatch.html new file mode 100644 index 0000000..392dd80 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_higherorder.TestAllMatch.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_higherorder.TestAllMatch : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_higherorder.TestAllMatch(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_higherorder.html" class="code">test_higherorder</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_higherorder.TestAllMatch">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id267"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id267"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_higherorder.TestAnnotate.html b/apidocs/testtools.tests.matchers.test_higherorder.TestAnnotate.html new file mode 100644 index 0000000..9189ce3 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_higherorder.TestAnnotate.html @@ -0,0 +1,165 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_higherorder.TestAnnotate : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_higherorder.TestAnnotate(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_higherorder.html" class="code">test_higherorder</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_higherorder.TestAnnotate">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id277"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_higherorder.TestAnnotate.html#test_if_message_no_message" class="code">test_if_message_no_message</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_higherorder.TestAnnotate.html#test_if_message_given_message" class="code">test_if_message_given_message</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id279"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id279"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_higherorder.TestAnnotate.test_if_message_no_message"> + + </a> + <a name="test_if_message_no_message"> + + </a> + <div class="functionHeader"> + + def + test_if_message_no_message(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_higherorder.TestAnnotate.test_if_message_given_message"> + + </a> + <a name="test_if_message_given_message"> + + </a> + <div class="functionHeader"> + + def + test_if_message_given_message(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch.html b/apidocs/testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch.html new file mode 100644 index 0000000..09fb132 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch.html @@ -0,0 +1,335 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_higherorder.html" class="code">test_higherorder</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id280"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch.html#test_forwards_details" class="code">test_forwards_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id281"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch.test_forwards_details"> + + </a> + <a name="test_forwards_details"> + + </a> + <div class="functionHeader"> + + def + test_forwards_details(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_higherorder.TestAnyMatch.html b/apidocs/testtools.tests.matchers.test_higherorder.TestAnyMatch.html new file mode 100644 index 0000000..556ad46 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_higherorder.TestAnyMatch.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_higherorder.TestAnyMatch : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_higherorder.TestAnyMatch(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_higherorder.html" class="code">test_higherorder</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_higherorder.TestAnyMatch">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id269"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id269"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface.html b/apidocs/testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface.html new file mode 100644 index 0000000..84c5bc1 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_higherorder.html" class="code">test_higherorder</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id274"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id274"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_higherorder.TestMatchesAllInterface.html b/apidocs/testtools.tests.matchers.test_higherorder.TestMatchesAllInterface.html new file mode 100644 index 0000000..2c30a2e --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_higherorder.TestMatchesAllInterface.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_higherorder.TestMatchesAllInterface : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_higherorder.TestMatchesAllInterface(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_higherorder.html" class="code">test_higherorder</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_higherorder.TestMatchesAllInterface">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id276"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id276"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_higherorder.TestMatchesPredicate.html b/apidocs/testtools.tests.matchers.test_higherorder.TestMatchesPredicate.html new file mode 100644 index 0000000..336c5e5 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_higherorder.TestMatchesPredicate.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_higherorder.TestMatchesPredicate : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_higherorder.TestMatchesPredicate(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_higherorder.html" class="code">test_higherorder</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_higherorder.TestMatchesPredicate">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id285"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id285"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams.html b/apidocs/testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams.html new file mode 100644 index 0000000..a111ca3 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_higherorder.html" class="code">test_higherorder</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id287"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id287"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_higherorder.TestNotInterface.html b/apidocs/testtools.tests.matchers.test_higherorder.TestNotInterface.html new file mode 100644 index 0000000..7825eaa --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_higherorder.TestNotInterface.html @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_higherorder.TestNotInterface : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_higherorder.TestNotInterface(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_higherorder.html" class="code">test_higherorder</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_higherorder.TestNotInterface">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id283"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">TestMatchersInterface</a>: + </p> + <table class="children sortable" id="id283"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">test_matches_match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">test__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">test_describe_difference</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">test_mismatch_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_higherorder.html b/apidocs/testtools.tests.matchers.test_higherorder.html new file mode 100644 index 0000000..34af7d2 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_higherorder.html @@ -0,0 +1,181 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_higherorder : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.matchers.test_higherorder</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id265"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_higherorder.TestAllMatch.html" class="code">TestAllMatch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_higherorder.TestAnyMatch.html" class="code">TestAnyMatch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_higherorder.TestAfterPreprocessing.html" class="code">TestAfterPreprocessing</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface.html" class="code">TestMatchersAnyInterface</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_higherorder.TestMatchesAllInterface.html" class="code">TestMatchesAllInterface</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_higherorder.TestAnnotate.html" class="code">TestAnnotate</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch.html" class="code">TestAnnotatedMismatch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_higherorder.TestNotInterface.html" class="code">TestNotInterface</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.matchers.test_higherorder.html#is_even" class="code">is_even</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_higherorder.TestMatchesPredicate.html" class="code">TestMatchesPredicate</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.matchers.test_higherorder.html#between" class="code">between</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams.html" class="code">TestMatchesPredicateWithParams</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.matchers.test_higherorder.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_higherorder.is_even"> + + </a> + <a name="is_even"> + + </a> + <div class="functionHeader"> + + def + is_even(x): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_higherorder.between"> + + </a> + <a name="between"> + + </a> + <div class="functionHeader"> + + def + between(x, low, high): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_higherorder.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_impl.TestMismatch.html b/apidocs/testtools.tests.matchers.test_impl.TestMismatch.html new file mode 100644 index 0000000..8fb17f8 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_impl.TestMismatch.html @@ -0,0 +1,357 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_impl.TestMismatch : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_impl.TestMismatch(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_impl.html" class="code">test_impl</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_impl.TestMismatch">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id222"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_impl.TestMismatch.html#test_constructor_arguments" class="code">test_constructor_arguments</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_impl.TestMismatch.html#test_constructor_no_arguments" class="code">test_constructor_no_arguments</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id223"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_impl.TestMismatch.test_constructor_arguments"> + + </a> + <a name="test_constructor_arguments"> + + </a> + <div class="functionHeader"> + + def + test_constructor_arguments(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_impl.TestMismatch.test_constructor_no_arguments"> + + </a> + <a name="test_constructor_no_arguments"> + + </a> + <div class="functionHeader"> + + def + test_constructor_no_arguments(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_impl.TestMismatchDecorator.html b/apidocs/testtools.tests.matchers.test_impl.TestMismatchDecorator.html new file mode 100644 index 0000000..1dc4434 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_impl.TestMismatchDecorator.html @@ -0,0 +1,379 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_impl.TestMismatchDecorator : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_impl.TestMismatchDecorator(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_impl.html" class="code">test_impl</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_impl.TestMismatchDecorator">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id226"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_impl.TestMismatchDecorator.html#test_forwards_description" class="code">test_forwards_description</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_impl.TestMismatchDecorator.html#test_forwards_details" class="code">test_forwards_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_impl.TestMismatchDecorator.html#test_repr" class="code">test_repr</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id227"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_impl.TestMismatchDecorator.test_forwards_description"> + + </a> + <a name="test_forwards_description"> + + </a> + <div class="functionHeader"> + + def + test_forwards_description(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_impl.TestMismatchDecorator.test_forwards_details"> + + </a> + <a name="test_forwards_details"> + + </a> + <div class="functionHeader"> + + def + test_forwards_details(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_impl.TestMismatchDecorator.test_repr"> + + </a> + <a name="test_repr"> + + </a> + <div class="functionHeader"> + + def + test_repr(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_impl.TestMismatchError.html b/apidocs/testtools.tests.matchers.test_impl.TestMismatchError.html new file mode 100644 index 0000000..06ad317 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_impl.TestMismatchError.html @@ -0,0 +1,423 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_impl.TestMismatchError : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.matchers.test_impl.TestMismatchError(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a>.<a href="testtools.tests.matchers.test_impl.html" class="code">test_impl</a></code> + + <a href="classIndex.html#testtools.tests.matchers.test_impl.TestMismatchError">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id224"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_impl.TestMismatchError.html#test_is_assertion_error" class="code">test_is_assertion_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_impl.TestMismatchError.html#test_default_description_is_mismatch" class="code">test_default_description_is_mismatch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_impl.TestMismatchError.html#test_default_description_unicode" class="code">test_default_description_unicode</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_impl.TestMismatchError.html#test_verbose_description" class="code">test_verbose_description</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.matchers.test_impl.TestMismatchError.html#test_verbose_unicode" class="code">test_verbose_unicode</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id225"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_impl.TestMismatchError.test_is_assertion_error"> + + </a> + <a name="test_is_assertion_error"> + + </a> + <div class="functionHeader"> + + def + test_is_assertion_error(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_impl.TestMismatchError.test_default_description_is_mismatch"> + + </a> + <a name="test_default_description_is_mismatch"> + + </a> + <div class="functionHeader"> + + def + test_default_description_is_mismatch(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_impl.TestMismatchError.test_default_description_unicode"> + + </a> + <a name="test_default_description_unicode"> + + </a> + <div class="functionHeader"> + + def + test_default_description_unicode(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_impl.TestMismatchError.test_verbose_description"> + + </a> + <a name="test_verbose_description"> + + </a> + <div class="functionHeader"> + + def + test_verbose_description(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.matchers.test_impl.TestMismatchError.test_verbose_unicode"> + + </a> + <a name="test_verbose_unicode"> + + </a> + <div class="functionHeader"> + + def + test_verbose_unicode(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_impl.html b/apidocs/testtools.tests.matchers.test_impl.html new file mode 100644 index 0000000..e207c74 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_impl.html @@ -0,0 +1,102 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.matchers.test_impl : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.matchers.test_impl</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.matchers.html" class="code">matchers</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests for matchers.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id221"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_impl.TestMismatch.html" class="code">TestMismatch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_impl.TestMismatchError.html" class="code">TestMismatchError</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.matchers.test_impl.TestMismatchDecorator.html" class="code">TestMismatchDecorator</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.matchers.test_impl.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.matchers.test_impl.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_assert_that.AssertThatTests.html b/apidocs/testtools.tests.test_assert_that.AssertThatTests.html new file mode 100644 index 0000000..3d19a10 --- /dev/null +++ b/apidocs/testtools.tests.test_assert_that.AssertThatTests.html @@ -0,0 +1,270 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_assert_that.AssertThatTests : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_assert_that.AssertThatTests(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_assert_that.html" class="code">test_assert_that</a></code> + + <a href="classIndex.html#testtools.tests.test_assert_that.AssertThatTests">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.tests.test_assert_that.TestAssertThatFunction.html" class="code">testtools.tests.test_assert_that.TestAssertThatFunction</a>, <a href="testtools.tests.test_assert_that.TestAssertThatMethod.html" class="code">testtools.tests.test_assert_that.TestAssertThatMethod</a></p> + </div> + + <div class="moduleDocstring"> + <div>A mixin containing shared tests for assertThat and assert_that.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id707"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_assert_that.AssertThatTests.html#assert_that_callable" class="code">assert_that_callable</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_assert_that.AssertThatTests.html#assertFails" class="code">assertFails</a></td> + <td><span>Assert that function raises a failure with the given message.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_assert_that.AssertThatTests.html#test_assertThat_matches_clean" class="code">test_assertThat_matches_clean</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_assert_that.AssertThatTests.html#test_assertThat_mismatch_raises_description" class="code">test_assertThat_mismatch_raises_description</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_assert_that.AssertThatTests.html#test_assertThat_output" class="code">test_assertThat_output</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_assert_that.AssertThatTests.html#test_assertThat_message_is_annotated" class="code">test_assertThat_message_is_annotated</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_assert_that.AssertThatTests.html#test_assertThat_verbose_output" class="code">test_assertThat_verbose_output</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_assert_that.AssertThatTests.html#get_error_string" class="code">get_error_string</a></td> + <td><span>Get the string showing how 'e' would be formatted in test output.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_assert_that.AssertThatTests.html#test_assertThat_verbose_unicode" class="code">test_assertThat_verbose_unicode</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_assert_that.AssertThatTests.assert_that_callable"> + + </a> + <a name="assert_that_callable"> + + </a> + <div class="functionHeader"> + + def + assert_that_callable(self, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.tests.test_assert_that.TestAssertThatFunction.html" class="code">testtools.tests.test_assert_that.TestAssertThatFunction</a>, <a href="testtools.tests.test_assert_that.TestAssertThatMethod.html" class="code">testtools.tests.test_assert_that.TestAssertThatMethod</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_assert_that.AssertThatTests.assertFails"> + + </a> + <a name="assertFails"> + + </a> + <div class="functionHeader"> + + def + assertFails(self, message, function, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div>Assert that function raises a failure with the given message.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_assert_that.AssertThatTests.test_assertThat_matches_clean"> + + </a> + <a name="test_assertThat_matches_clean"> + + </a> + <div class="functionHeader"> + + def + test_assertThat_matches_clean(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_assert_that.AssertThatTests.test_assertThat_mismatch_raises_description"> + + </a> + <a name="test_assertThat_mismatch_raises_description"> + + </a> + <div class="functionHeader"> + + def + test_assertThat_mismatch_raises_description(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_assert_that.AssertThatTests.test_assertThat_output"> + + </a> + <a name="test_assertThat_output"> + + </a> + <div class="functionHeader"> + + def + test_assertThat_output(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_assert_that.AssertThatTests.test_assertThat_message_is_annotated"> + + </a> + <a name="test_assertThat_message_is_annotated"> + + </a> + <div class="functionHeader"> + + def + test_assertThat_message_is_annotated(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_assert_that.AssertThatTests.test_assertThat_verbose_output"> + + </a> + <a name="test_assertThat_verbose_output"> + + </a> + <div class="functionHeader"> + + def + test_assertThat_verbose_output(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_assert_that.AssertThatTests.get_error_string"> + + </a> + <a name="get_error_string"> + + </a> + <div class="functionHeader"> + + def + get_error_string(self, e): + + </div> + <div class="docstring functionBody"> + + <div><p>Get the string showing how 'e' would be formatted in test output.</p> +<p>This is a little bit hacky, since it's designed to give consistent +output regardless of Python version.</p> +<p>In testtools, TestResult._exc_info_to_unicode is the point of dispatch +between various different implementations of methods that format +exceptions, so that's what we have to call. However, that method cares +about stack traces and formats the exception class. We don't care +about either of these, so we take its output and parse it a little.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_assert_that.AssertThatTests.test_assertThat_verbose_unicode"> + + </a> + <a name="test_assertThat_verbose_unicode"> + + </a> + <div class="functionHeader"> + + def + test_assertThat_verbose_unicode(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_assert_that.TestAssertThatFunction.html b/apidocs/testtools.tests.test_assert_that.TestAssertThatFunction.html new file mode 100644 index 0000000..c6f00a4 --- /dev/null +++ b/apidocs/testtools.tests.test_assert_that.TestAssertThatFunction.html @@ -0,0 +1,583 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_assert_that.TestAssertThatFunction : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_assert_that.TestAssertThatFunction(<a href="testtools.tests.test_assert_that.AssertThatTests.html" class="code">AssertThatTests</a>, <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_assert_that.html" class="code">test_assert_that</a></code> + + <a href="classIndex.html#testtools.tests.test_assert_that.TestAssertThatFunction">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id708"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_assert_that.TestAssertThatFunction.html#assert_that_callable" class="code">assert_that_callable</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id710"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id710"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_assert_that.TestAssertThatFunction.assert_that_callable"> + + </a> + <a name="assert_that_callable"> + + </a> + <div class="functionHeader"> + + def + assert_that_callable(self, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_assert_that.AssertThatTests.html#assert_that_callable" class="code">testtools.tests.test_assert_that.AssertThatTests.assert_that_callable</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_assert_that.TestAssertThatMethod.html b/apidocs/testtools.tests.test_assert_that.TestAssertThatMethod.html new file mode 100644 index 0000000..37dc5e7 --- /dev/null +++ b/apidocs/testtools.tests.test_assert_that.TestAssertThatMethod.html @@ -0,0 +1,583 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_assert_that.TestAssertThatMethod : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_assert_that.TestAssertThatMethod(<a href="testtools.tests.test_assert_that.AssertThatTests.html" class="code">AssertThatTests</a>, <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_assert_that.html" class="code">test_assert_that</a></code> + + <a href="classIndex.html#testtools.tests.test_assert_that.TestAssertThatMethod">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id711"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_assert_that.TestAssertThatMethod.html#assert_that_callable" class="code">assert_that_callable</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id713"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id713"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_assert_that.TestAssertThatMethod.assert_that_callable"> + + </a> + <a name="assert_that_callable"> + + </a> + <div class="functionHeader"> + + def + assert_that_callable(self, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_assert_that.AssertThatTests.html#assert_that_callable" class="code">testtools.tests.test_assert_that.AssertThatTests.assert_that_callable</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_assert_that.html b/apidocs/testtools.tests.test_assert_that.html new file mode 100644 index 0000000..3f08c84 --- /dev/null +++ b/apidocs/testtools.tests.test_assert_that.html @@ -0,0 +1,102 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_assert_that : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.test_assert_that</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">No module docstring</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id706"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_assert_that.AssertThatTests.html" class="code">AssertThatTests</a></td> + <td><span>A mixin containing shared tests for assertThat and assert_that.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_assert_that.TestAssertThatFunction.html" class="code">TestAssertThatFunction</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_assert_that.TestAssertThatMethod.html" class="code">TestAssertThatMethod</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_assert_that.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_assert_that.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_compat.TestReraise.html b/apidocs/testtools.tests.test_compat.TestReraise.html new file mode 100644 index 0000000..0b42008 --- /dev/null +++ b/apidocs/testtools.tests.test_compat.TestReraise.html @@ -0,0 +1,357 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_compat.TestReraise : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_compat.TestReraise(<a href="testtools.testcase.TestCase.html" class="code">testtools.TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_compat.html" class="code">test_compat</a></code> + + <a href="classIndex.html#testtools.tests.test_compat.TestReraise">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests for trivial reraise wrapper needed for Python 2/3 changes<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id658"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat.TestReraise.html#test_exc_info" class="code">test_exc_info</a></td> + <td><span>After reraise exc_info matches plus some extra traceback</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat.TestReraise.html#test_custom_exception_no_args" class="code">test_custom_exception_no_args</a></td> + <td><span>Reraising does not require args attribute to contain params</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id659"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_compat.TestReraise.test_exc_info"> + + </a> + <a name="test_exc_info"> + + </a> + <div class="functionHeader"> + + def + test_exc_info(self): + + </div> + <div class="docstring functionBody"> + + <div>After reraise exc_info matches plus some extra traceback<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_compat.TestReraise.test_custom_exception_no_args"> + + </a> + <a name="test_custom_exception_no_args"> + + </a> + <div class="functionHeader"> + + def + test_custom_exception_no_args(self): + + </div> + <div class="docstring functionBody"> + + <div>Reraising does not require args attribute to contain params<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_compat.TestTextRepr.html b/apidocs/testtools.tests.test_compat.TestTextRepr.html new file mode 100644 index 0000000..68b7762 --- /dev/null +++ b/apidocs/testtools.tests.test_compat.TestTextRepr.html @@ -0,0 +1,533 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_compat.TestTextRepr : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_compat.TestTextRepr(<a href="testtools.testcase.TestCase.html" class="code">testtools.TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_compat.html" class="code">test_compat</a></code> + + <a href="classIndex.html#testtools.tests.test_compat.TestTextRepr">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Ensure in extending repr, basic behaviours are not being broken<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id656"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat.TestTextRepr.html#test_ascii_examples_oneline_bytes" class="code">test_ascii_examples_oneline_bytes</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat.TestTextRepr.html#test_ascii_examples_oneline_unicode" class="code">test_ascii_examples_oneline_unicode</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat.TestTextRepr.html#test_ascii_examples_multiline_bytes" class="code">test_ascii_examples_multiline_bytes</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat.TestTextRepr.html#test_ascii_examples_multiline_unicode" class="code">test_ascii_examples_multiline_unicode</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat.TestTextRepr.html#test_ascii_examples_defaultline_bytes" class="code">test_ascii_examples_defaultline_bytes</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat.TestTextRepr.html#test_ascii_examples_defaultline_unicode" class="code">test_ascii_examples_defaultline_unicode</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat.TestTextRepr.html#test_bytes_examples_oneline" class="code">test_bytes_examples_oneline</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat.TestTextRepr.html#test_bytes_examples_multiline" class="code">test_bytes_examples_multiline</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat.TestTextRepr.html#test_unicode_examples_oneline" class="code">test_unicode_examples_oneline</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat.TestTextRepr.html#test_unicode_examples_multiline" class="code">test_unicode_examples_multiline</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id657"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_compat.TestTextRepr.test_ascii_examples_oneline_bytes"> + + </a> + <a name="test_ascii_examples_oneline_bytes"> + + </a> + <div class="functionHeader"> + + def + test_ascii_examples_oneline_bytes(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_compat.TestTextRepr.test_ascii_examples_oneline_unicode"> + + </a> + <a name="test_ascii_examples_oneline_unicode"> + + </a> + <div class="functionHeader"> + + def + test_ascii_examples_oneline_unicode(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_compat.TestTextRepr.test_ascii_examples_multiline_bytes"> + + </a> + <a name="test_ascii_examples_multiline_bytes"> + + </a> + <div class="functionHeader"> + + def + test_ascii_examples_multiline_bytes(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_compat.TestTextRepr.test_ascii_examples_multiline_unicode"> + + </a> + <a name="test_ascii_examples_multiline_unicode"> + + </a> + <div class="functionHeader"> + + def + test_ascii_examples_multiline_unicode(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_compat.TestTextRepr.test_ascii_examples_defaultline_bytes"> + + </a> + <a name="test_ascii_examples_defaultline_bytes"> + + </a> + <div class="functionHeader"> + + def + test_ascii_examples_defaultline_bytes(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_compat.TestTextRepr.test_ascii_examples_defaultline_unicode"> + + </a> + <a name="test_ascii_examples_defaultline_unicode"> + + </a> + <div class="functionHeader"> + + def + test_ascii_examples_defaultline_unicode(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_compat.TestTextRepr.test_bytes_examples_oneline"> + + </a> + <a name="test_bytes_examples_oneline"> + + </a> + <div class="functionHeader"> + + def + test_bytes_examples_oneline(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_compat.TestTextRepr.test_bytes_examples_multiline"> + + </a> + <a name="test_bytes_examples_multiline"> + + </a> + <div class="functionHeader"> + + def + test_bytes_examples_multiline(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_compat.TestTextRepr.test_unicode_examples_oneline"> + + </a> + <a name="test_unicode_examples_oneline"> + + </a> + <div class="functionHeader"> + + def + test_unicode_examples_oneline(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_compat.TestTextRepr.test_unicode_examples_multiline"> + + </a> + <a name="test_unicode_examples_multiline"> + + </a> + <div class="functionHeader"> + + def + test_unicode_examples_multiline(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_compat.TestUnicodeOutputStream.html b/apidocs/testtools.tests.test_compat.TestUnicodeOutputStream.html new file mode 100644 index 0000000..b752a8f --- /dev/null +++ b/apidocs/testtools.tests.test_compat.TestUnicodeOutputStream.html @@ -0,0 +1,550 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_compat.TestUnicodeOutputStream : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_compat.TestUnicodeOutputStream(<a href="testtools.testcase.TestCase.html" class="code">testtools.TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_compat.html" class="code">test_compat</a></code> + + <a href="classIndex.html#testtools.tests.test_compat.TestUnicodeOutputStream">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Test wrapping output streams so they work with arbitrary unicode<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id654"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_no_encoding_becomes_ascii" class="code">test_no_encoding_becomes_ascii</a></td> + <td><span>A stream with no encoding attribute gets ascii/replace strings</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_encoding_as_none_becomes_ascii" class="code">test_encoding_as_none_becomes_ascii</a></td> + <td><span>A stream with encoding value of None gets ascii/replace strings</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_bogus_encoding_becomes_ascii" class="code">test_bogus_encoding_becomes_ascii</a></td> + <td><span>A stream with a bogus encoding gets ascii/replace strings</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_partial_encoding_replace" class="code">test_partial_encoding_replace</a></td> + <td><span>A string which can be partly encoded correctly should be</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_unicode_encodings_wrapped_when_str_is_not_unicode" class="code">test_unicode_encodings_wrapped_when_str_is_not_unicode</a></td> + <td><span>A unicode encoding is wrapped but needs no error handler</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_unicode_encodings_not_wrapped_when_str_is_unicode" class="code">test_unicode_encodings_not_wrapped_when_str_is_unicode</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_stringio" class="code">test_stringio</a></td> + <td><span>A StringIO object should maybe get an ascii native str type</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_io_stringio" class="code">test_io_stringio</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_io_bytesio" class="code">test_io_bytesio</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_io_textwrapper" class="code">test_io_textwrapper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id655"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_compat.TestUnicodeOutputStream.setUp"> + + </a> + <a name="setUp"> + + </a> + <div class="functionHeader"> + + def + setUp(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testcase.TestCase.html#setUp" class="code">testtools.testcase.TestCase.setUp</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_compat.TestUnicodeOutputStream.test_no_encoding_becomes_ascii"> + + </a> + <a name="test_no_encoding_becomes_ascii"> + + </a> + <div class="functionHeader"> + + def + test_no_encoding_becomes_ascii(self): + + </div> + <div class="docstring functionBody"> + + <div>A stream with no encoding attribute gets ascii/replace strings<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_compat.TestUnicodeOutputStream.test_encoding_as_none_becomes_ascii"> + + </a> + <a name="test_encoding_as_none_becomes_ascii"> + + </a> + <div class="functionHeader"> + + def + test_encoding_as_none_becomes_ascii(self): + + </div> + <div class="docstring functionBody"> + + <div>A stream with encoding value of None gets ascii/replace strings<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_compat.TestUnicodeOutputStream.test_bogus_encoding_becomes_ascii"> + + </a> + <a name="test_bogus_encoding_becomes_ascii"> + + </a> + <div class="functionHeader"> + + def + test_bogus_encoding_becomes_ascii(self): + + </div> + <div class="docstring functionBody"> + + <div>A stream with a bogus encoding gets ascii/replace strings<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_compat.TestUnicodeOutputStream.test_partial_encoding_replace"> + + </a> + <a name="test_partial_encoding_replace"> + + </a> + <div class="functionHeader"> + + def + test_partial_encoding_replace(self): + + </div> + <div class="docstring functionBody"> + + <div>A string which can be partly encoded correctly should be<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_compat.TestUnicodeOutputStream.test_unicode_encodings_wrapped_when_str_is_not_unicode"> + + </a> + <a name="test_unicode_encodings_wrapped_when_str_is_not_unicode"> + + </a> + <div class="functionHeader"> + @testtools.skipIf(str_is_unicode, 'Tests behaviour when str is not unicode')<br /> + def + test_unicode_encodings_wrapped_when_str_is_not_unicode(self): + + </div> + <div class="docstring functionBody"> + + <div>A unicode encoding is wrapped but needs no error handler<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_compat.TestUnicodeOutputStream.test_unicode_encodings_not_wrapped_when_str_is_unicode"> + + </a> + <a name="test_unicode_encodings_not_wrapped_when_str_is_unicode"> + + </a> + <div class="functionHeader"> + @testtools.skipIf(str_is_unicode, 'Tests behaviour when str is unicode')<br /> + def + test_unicode_encodings_not_wrapped_when_str_is_unicode(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_compat.TestUnicodeOutputStream.test_stringio"> + + </a> + <a name="test_stringio"> + + </a> + <div class="functionHeader"> + + def + test_stringio(self): + + </div> + <div class="docstring functionBody"> + + <div>A StringIO object should maybe get an ascii native str type<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_compat.TestUnicodeOutputStream.test_io_stringio"> + + </a> + <a name="test_io_stringio"> + + </a> + <div class="functionHeader"> + + def + test_io_stringio(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_compat.TestUnicodeOutputStream.test_io_bytesio"> + + </a> + <a name="test_io_bytesio"> + + </a> + <div class="functionHeader"> + + def + test_io_bytesio(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_compat.TestUnicodeOutputStream.test_io_textwrapper"> + + </a> + <a name="test_io_textwrapper"> + + </a> + <div class="functionHeader"> + + def + test_io_textwrapper(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_compat._FakeOutputStream.html b/apidocs/testtools.tests.test_compat._FakeOutputStream.html new file mode 100644 index 0000000..78a1828 --- /dev/null +++ b/apidocs/testtools.tests.test_compat._FakeOutputStream.html @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_compat._FakeOutputStream : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class private"><code>testtools.tests.test_compat._FakeOutputStream(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_compat.html" class="code">test_compat</a></code> + + <a href="classIndex.html#testtools.tests.test_compat._FakeOutputStream">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>A simple file-like object for testing<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id653"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat._FakeOutputStream.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_compat._FakeOutputStream.html#write" class="code">write</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_compat._FakeOutputStream.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_compat._FakeOutputStream.write"> + + </a> + <a name="write"> + + </a> + <div class="functionHeader"> + + def + write(self, obj): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_compat.html b/apidocs/testtools.tests.test_compat.html new file mode 100644 index 0000000..518ceed --- /dev/null +++ b/apidocs/testtools.tests.test_compat.html @@ -0,0 +1,107 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_compat : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.test_compat</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests for miscellaneous compatibility functions<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id652"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_compat.TestUnicodeOutputStream.html" class="code">TestUnicodeOutputStream</a></td> + <td><span>Test wrapping output streams so they work with arbitrary unicode</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_compat.TestTextRepr.html" class="code">TestTextRepr</a></td> + <td><span>Ensure in extending repr, basic behaviours are not being broken</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_compat.TestReraise.html" class="code">TestReraise</a></td> + <td><span>Tests for trivial reraise wrapper needed for Python 2/3 changes</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_compat.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class private"> + + <td>Class</td> + <td><a href="testtools.tests.test_compat._FakeOutputStream.html" class="code">_FakeOutputStream</a></td> + <td><span>A simple file-like object for testing</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_compat.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_content.TestAttachFile.html b/apidocs/testtools.tests.test_content.TestAttachFile.html new file mode 100644 index 0000000..f3e5afb --- /dev/null +++ b/apidocs/testtools.tests.test_content.TestAttachFile.html @@ -0,0 +1,423 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_content.TestAttachFile : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_content.TestAttachFile(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_content.html" class="code">test_content</a></code> + + <a href="classIndex.html#testtools.tests.test_content.TestAttachFile">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id704"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestAttachFile.html#make_file" class="code">make_file</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestAttachFile.html#test_simple" class="code">test_simple</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestAttachFile.html#test_optional_name" class="code">test_optional_name</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestAttachFile.html#test_lazy_read" class="code">test_lazy_read</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestAttachFile.html#test_eager_read_by_default" class="code">test_eager_read_by_default</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id705"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_content.TestAttachFile.make_file"> + + </a> + <a name="make_file"> + + </a> + <div class="functionHeader"> + + def + make_file(self, data): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestAttachFile.test_simple"> + + </a> + <a name="test_simple"> + + </a> + <div class="functionHeader"> + + def + test_simple(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestAttachFile.test_optional_name"> + + </a> + <a name="test_optional_name"> + + </a> + <div class="functionHeader"> + + def + test_optional_name(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestAttachFile.test_lazy_read"> + + </a> + <a name="test_lazy_read"> + + </a> + <div class="functionHeader"> + + def + test_lazy_read(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestAttachFile.test_eager_read_by_default"> + + </a> + <a name="test_eager_read_by_default"> + + </a> + <div class="functionHeader"> + + def + test_eager_read_by_default(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_content.TestContent.html b/apidocs/testtools.tests.test_content.TestContent.html new file mode 100644 index 0000000..102f999 --- /dev/null +++ b/apidocs/testtools.tests.test_content.TestContent.html @@ -0,0 +1,819 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_content.TestContent : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_content.TestContent(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_content.html" class="code">test_content</a></code> + + <a href="classIndex.html#testtools.tests.test_content.TestContent">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id696"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestContent.html#test___init___None_errors" class="code">test___init___None_errors</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestContent.html#test___init___sets_ivars" class="code">test___init___sets_ivars</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestContent.html#test___eq__" class="code">test___eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestContent.html#test___repr__" class="code">test___repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestContent.html#test_iter_text_not_text_errors" class="code">test_iter_text_not_text_errors</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestContent.html#test_iter_text_decodes" class="code">test_iter_text_decodes</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestContent.html#test_iter_text_default_charset_iso_8859_1" class="code">test_iter_text_default_charset_iso_8859_1</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestContent.html#test_as_text" class="code">test_as_text</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestContent.html#test_from_file" class="code">test_from_file</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestContent.html#test_from_nonexistent_file" class="code">test_from_nonexistent_file</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestContent.html#test_from_file_default_type" class="code">test_from_file_default_type</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestContent.html#test_from_file_eager_loading" class="code">test_from_file_eager_loading</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestContent.html#test_from_file_with_simple_seek" class="code">test_from_file_with_simple_seek</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestContent.html#test_from_file_with_whence_seek" class="code">test_from_file_with_whence_seek</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestContent.html#test_from_stream" class="code">test_from_stream</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestContent.html#test_from_stream_default_type" class="code">test_from_stream_default_type</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestContent.html#test_from_stream_eager_loading" class="code">test_from_stream_eager_loading</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestContent.html#test_from_stream_with_simple_seek" class="code">test_from_stream_with_simple_seek</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestContent.html#test_from_stream_with_whence_seek" class="code">test_from_stream_with_whence_seek</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestContent.html#test_from_text" class="code">test_from_text</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestContent.html#test_text_content_raises_TypeError_when_passed_bytes" class="code">test_text_content_raises_TypeError_when_passed_bytes</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestContent.html#test_text_content_raises_TypeError_when_passed_non_text" class="code">test_text_content_raises_TypeError_when_passed_non_text</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestContent.html#test_json_content" class="code">test_json_content</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id697"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_content.TestContent.test___init___None_errors"> + + </a> + <a name="test___init___None_errors"> + + </a> + <div class="functionHeader"> + + def + test___init___None_errors(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestContent.test___init___sets_ivars"> + + </a> + <a name="test___init___sets_ivars"> + + </a> + <div class="functionHeader"> + + def + test___init___sets_ivars(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestContent.test___eq__"> + + </a> + <a name="test___eq__"> + + </a> + <div class="functionHeader"> + + def + test___eq__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestContent.test___repr__"> + + </a> + <a name="test___repr__"> + + </a> + <div class="functionHeader"> + + def + test___repr__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestContent.test_iter_text_not_text_errors"> + + </a> + <a name="test_iter_text_not_text_errors"> + + </a> + <div class="functionHeader"> + + def + test_iter_text_not_text_errors(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestContent.test_iter_text_decodes"> + + </a> + <a name="test_iter_text_decodes"> + + </a> + <div class="functionHeader"> + + def + test_iter_text_decodes(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestContent.test_iter_text_default_charset_iso_8859_1"> + + </a> + <a name="test_iter_text_default_charset_iso_8859_1"> + + </a> + <div class="functionHeader"> + + def + test_iter_text_default_charset_iso_8859_1(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestContent.test_as_text"> + + </a> + <a name="test_as_text"> + + </a> + <div class="functionHeader"> + + def + test_as_text(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestContent.test_from_file"> + + </a> + <a name="test_from_file"> + + </a> + <div class="functionHeader"> + + def + test_from_file(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestContent.test_from_nonexistent_file"> + + </a> + <a name="test_from_nonexistent_file"> + + </a> + <div class="functionHeader"> + + def + test_from_nonexistent_file(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestContent.test_from_file_default_type"> + + </a> + <a name="test_from_file_default_type"> + + </a> + <div class="functionHeader"> + + def + test_from_file_default_type(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestContent.test_from_file_eager_loading"> + + </a> + <a name="test_from_file_eager_loading"> + + </a> + <div class="functionHeader"> + + def + test_from_file_eager_loading(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestContent.test_from_file_with_simple_seek"> + + </a> + <a name="test_from_file_with_simple_seek"> + + </a> + <div class="functionHeader"> + + def + test_from_file_with_simple_seek(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestContent.test_from_file_with_whence_seek"> + + </a> + <a name="test_from_file_with_whence_seek"> + + </a> + <div class="functionHeader"> + + def + test_from_file_with_whence_seek(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestContent.test_from_stream"> + + </a> + <a name="test_from_stream"> + + </a> + <div class="functionHeader"> + + def + test_from_stream(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestContent.test_from_stream_default_type"> + + </a> + <a name="test_from_stream_default_type"> + + </a> + <div class="functionHeader"> + + def + test_from_stream_default_type(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestContent.test_from_stream_eager_loading"> + + </a> + <a name="test_from_stream_eager_loading"> + + </a> + <div class="functionHeader"> + + def + test_from_stream_eager_loading(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestContent.test_from_stream_with_simple_seek"> + + </a> + <a name="test_from_stream_with_simple_seek"> + + </a> + <div class="functionHeader"> + + def + test_from_stream_with_simple_seek(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestContent.test_from_stream_with_whence_seek"> + + </a> + <a name="test_from_stream_with_whence_seek"> + + </a> + <div class="functionHeader"> + + def + test_from_stream_with_whence_seek(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestContent.test_from_text"> + + </a> + <a name="test_from_text"> + + </a> + <div class="functionHeader"> + + def + test_from_text(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestContent.test_text_content_raises_TypeError_when_passed_bytes"> + + </a> + <a name="test_text_content_raises_TypeError_when_passed_bytes"> + + </a> + <div class="functionHeader"> + @skipUnless(str_is_unicode, 'Test only applies in python 3.')<br /> + def + test_text_content_raises_TypeError_when_passed_bytes(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestContent.test_text_content_raises_TypeError_when_passed_non_text"> + + </a> + <a name="test_text_content_raises_TypeError_when_passed_non_text"> + + </a> + <div class="functionHeader"> + + def + test_text_content_raises_TypeError_when_passed_non_text(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestContent.test_json_content"> + + </a> + <a name="test_json_content"> + + </a> + <div class="functionHeader"> + + def + test_json_content(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_content.TestStackLinesContent.html b/apidocs/testtools.tests.test_content.TestStackLinesContent.html new file mode 100644 index 0000000..7de2af3 --- /dev/null +++ b/apidocs/testtools.tests.test_content.TestStackLinesContent.html @@ -0,0 +1,423 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_content.TestStackLinesContent : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_content.TestStackLinesContent(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_content.html" class="code">test_content</a></code> + + <a href="classIndex.html#testtools.tests.test_content.TestStackLinesContent">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id698"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestStackLinesContent.html#test_single_stack_line" class="code">test_single_stack_line</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestStackLinesContent.html#test_prefix_content" class="code">test_prefix_content</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestStackLinesContent.html#test_postfix_content" class="code">test_postfix_content</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestStackLinesContent.html#test___init___sets_content_type" class="code">test___init___sets_content_type</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestStackLinesContent.html#_get_stack_line_and_expected_output" class="code">_get_stack_line_and_expected_output</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id699"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_content.TestStackLinesContent._get_stack_line_and_expected_output"> + + </a> + <a name="_get_stack_line_and_expected_output"> + + </a> + <div class="functionHeader"> + + def + _get_stack_line_and_expected_output(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestStackLinesContent.test_single_stack_line"> + + </a> + <a name="test_single_stack_line"> + + </a> + <div class="functionHeader"> + + def + test_single_stack_line(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestStackLinesContent.test_prefix_content"> + + </a> + <a name="test_prefix_content"> + + </a> + <div class="functionHeader"> + + def + test_prefix_content(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestStackLinesContent.test_postfix_content"> + + </a> + <a name="test_postfix_content"> + + </a> + <div class="functionHeader"> + + def + test_postfix_content(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestStackLinesContent.test___init___sets_content_type"> + + </a> + <a name="test___init___sets_content_type"> + + </a> + <div class="functionHeader"> + + def + test___init___sets_content_type(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_content.TestStacktraceContent.html b/apidocs/testtools.tests.test_content.TestStacktraceContent.html new file mode 100644 index 0000000..b761e0f --- /dev/null +++ b/apidocs/testtools.tests.test_content.TestStacktraceContent.html @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_content.TestStacktraceContent : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_content.TestStacktraceContent(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_content.html" class="code">test_content</a></code> + + <a href="classIndex.html#testtools.tests.test_content.TestStacktraceContent">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id702"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestStacktraceContent.html#test___init___sets_ivars" class="code">test___init___sets_ivars</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestStacktraceContent.html#test_prefix_is_used" class="code">test_prefix_is_used</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestStacktraceContent.html#test_postfix_is_used" class="code">test_postfix_is_used</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestStacktraceContent.html#test_top_frame_is_skipped_when_no_stack_is_specified" class="code">test_top_frame_is_skipped_when_no_stack_is_specified</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id703"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_content.TestStacktraceContent.test___init___sets_ivars"> + + </a> + <a name="test___init___sets_ivars"> + + </a> + <div class="functionHeader"> + + def + test___init___sets_ivars(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestStacktraceContent.test_prefix_is_used"> + + </a> + <a name="test_prefix_is_used"> + + </a> + <div class="functionHeader"> + + def + test_prefix_is_used(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestStacktraceContent.test_postfix_is_used"> + + </a> + <a name="test_postfix_is_used"> + + </a> + <div class="functionHeader"> + + def + test_postfix_is_used(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestStacktraceContent.test_top_frame_is_skipped_when_no_stack_is_specified"> + + </a> + <a name="test_top_frame_is_skipped_when_no_stack_is_specified"> + + </a> + <div class="functionHeader"> + + def + test_top_frame_is_skipped_when_no_stack_is_specified(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_content.TestTracebackContent.html b/apidocs/testtools.tests.test_content.TestTracebackContent.html new file mode 100644 index 0000000..fd8d3b3 --- /dev/null +++ b/apidocs/testtools.tests.test_content.TestTracebackContent.html @@ -0,0 +1,357 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_content.TestTracebackContent : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_content.TestTracebackContent(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_content.html" class="code">test_content</a></code> + + <a href="classIndex.html#testtools.tests.test_content.TestTracebackContent">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id700"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestTracebackContent.html#test___init___None_errors" class="code">test___init___None_errors</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content.TestTracebackContent.html#test___init___sets_ivars" class="code">test___init___sets_ivars</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id701"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_content.TestTracebackContent.test___init___None_errors"> + + </a> + <a name="test___init___None_errors"> + + </a> + <div class="functionHeader"> + + def + test___init___None_errors(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content.TestTracebackContent.test___init___sets_ivars"> + + </a> + <a name="test___init___sets_ivars"> + + </a> + <div class="functionHeader"> + + def + test___init___sets_ivars(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_content.html b/apidocs/testtools.tests.test_content.html new file mode 100644 index 0000000..6c5029f --- /dev/null +++ b/apidocs/testtools.tests.test_content.html @@ -0,0 +1,112 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_content : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.test_content</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id695"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_content.TestContent.html" class="code">TestContent</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_content.TestStackLinesContent.html" class="code">TestStackLinesContent</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_content.TestTracebackContent.html" class="code">TestTracebackContent</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_content.TestStacktraceContent.html" class="code">TestStacktraceContent</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_content.TestAttachFile.html" class="code">TestAttachFile</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_content.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_content.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_content_type.TestBuiltinContentTypes.html b/apidocs/testtools.tests.test_content_type.TestBuiltinContentTypes.html new file mode 100644 index 0000000..5a96f5e --- /dev/null +++ b/apidocs/testtools.tests.test_content_type.TestBuiltinContentTypes.html @@ -0,0 +1,357 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_content_type.TestBuiltinContentTypes : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_content_type.TestBuiltinContentTypes(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_content_type.html" class="code">test_content_type</a></code> + + <a href="classIndex.html#testtools.tests.test_content_type.TestBuiltinContentTypes">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id690"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content_type.TestBuiltinContentTypes.html#test_plain_text" class="code">test_plain_text</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content_type.TestBuiltinContentTypes.html#test_json_content" class="code">test_json_content</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id691"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_content_type.TestBuiltinContentTypes.test_plain_text"> + + </a> + <a name="test_plain_text"> + + </a> + <div class="functionHeader"> + + def + test_plain_text(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content_type.TestBuiltinContentTypes.test_json_content"> + + </a> + <a name="test_json_content"> + + </a> + <div class="functionHeader"> + + def + test_json_content(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_content_type.TestContentType.html b/apidocs/testtools.tests.test_content_type.TestContentType.html new file mode 100644 index 0000000..b4cc9b9 --- /dev/null +++ b/apidocs/testtools.tests.test_content_type.TestContentType.html @@ -0,0 +1,445 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_content_type.TestContentType : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_content_type.TestContentType(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_content_type.html" class="code">test_content_type</a></code> + + <a href="classIndex.html#testtools.tests.test_content_type.TestContentType">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id688"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content_type.TestContentType.html#test___init___None_errors" class="code">test___init___None_errors</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content_type.TestContentType.html#test___init___sets_ivars" class="code">test___init___sets_ivars</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content_type.TestContentType.html#test___init___with_parameters" class="code">test___init___with_parameters</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content_type.TestContentType.html#test___eq__" class="code">test___eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content_type.TestContentType.html#test_basic_repr" class="code">test_basic_repr</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_content_type.TestContentType.html#test_extended_repr" class="code">test_extended_repr</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id689"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_content_type.TestContentType.test___init___None_errors"> + + </a> + <a name="test___init___None_errors"> + + </a> + <div class="functionHeader"> + + def + test___init___None_errors(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content_type.TestContentType.test___init___sets_ivars"> + + </a> + <a name="test___init___sets_ivars"> + + </a> + <div class="functionHeader"> + + def + test___init___sets_ivars(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content_type.TestContentType.test___init___with_parameters"> + + </a> + <a name="test___init___with_parameters"> + + </a> + <div class="functionHeader"> + + def + test___init___with_parameters(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content_type.TestContentType.test___eq__"> + + </a> + <a name="test___eq__"> + + </a> + <div class="functionHeader"> + + def + test___eq__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content_type.TestContentType.test_basic_repr"> + + </a> + <a name="test_basic_repr"> + + </a> + <div class="functionHeader"> + + def + test_basic_repr(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_content_type.TestContentType.test_extended_repr"> + + </a> + <a name="test_extended_repr"> + + </a> + <div class="functionHeader"> + + def + test_extended_repr(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_content_type.html b/apidocs/testtools.tests.test_content_type.html new file mode 100644 index 0000000..2b65b05 --- /dev/null +++ b/apidocs/testtools.tests.test_content_type.html @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_content_type : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.test_content_type</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id687"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_content_type.TestContentType.html" class="code">TestContentType</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_content_type.TestBuiltinContentTypes.html" class="code">TestBuiltinContentTypes</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_content_type.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_content_type.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.AsText.html b/apidocs/testtools.tests.test_deferredruntest.AsText.html new file mode 100644 index 0000000..5666f18 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.AsText.html @@ -0,0 +1,113 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_deferredruntest.AsText : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_deferredruntest.AsText(<a href="testtools.matchers._higherorder.AfterPreprocessing.html" class="code">AfterPreprocessing</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_deferredruntest.html" class="code">test_deferredruntest</a></code> + + <a href="classIndex.html#testtools.tests.test_deferredruntest.AsText">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Match the text of a Content instance.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id614"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.AsText.html#__init__" class="code">__init__</a></td> + <td><span>Create an AfterPreprocessing matcher.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.matchers._higherorder.AfterPreprocessing.html" class="code">AfterPreprocessing</a>: + </p> + <table class="children sortable" id="id615"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.AfterPreprocessing.html#__str__" class="code">__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.AfterPreprocessing.html#match" class="code">match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.matchers._higherorder.AfterPreprocessing.html#_str_preprocessor" class="code">_str_preprocessor</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_deferredruntest.AsText.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, matcher, annotate=True): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.matchers._higherorder.AfterPreprocessing.html#__init__" class="code">testtools.matchers._higherorder.AfterPreprocessing.__init__</a></div> + <div>Create an AfterPreprocessing matcher.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">preprocessor</td><td>A function called with the matchee before +matching.</td></tr><tr><td></td><td class="fieldArg">matcher</td><td>What to match the preprocessed matchee against.</td></tr><tr><td></td><td class="fieldArg">annotate</td><td>Whether or not to annotate the matcher with +something explaining how we transformed the matchee. Defaults +to True.</td></tr></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.MatchesEvents.html b/apidocs/testtools.tests.test_deferredruntest.MatchesEvents.html new file mode 100644 index 0000000..9fbc2d9 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.MatchesEvents.html @@ -0,0 +1,134 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_deferredruntest.MatchesEvents : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_deferredruntest.MatchesEvents(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_deferredruntest.html" class="code">test_deferredruntest</a></code> + + <a href="classIndex.html#testtools.tests.test_deferredruntest.MatchesEvents">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Match a list of test result events.</p> +<p>Specify events as a data structure. Ordinary Python objects within this +structure will be compared exactly, but you can also use matchers at any +point.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id613"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.MatchesEvents.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.MatchesEvents.html#match" class="code">match</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.MatchesEvents.html#_make_matcher" class="code">_make_matcher</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_deferredruntest.MatchesEvents.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, *expected): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.MatchesEvents._make_matcher"> + + </a> + <a name="_make_matcher"> + + </a> + <div class="functionHeader"> + + def + _make_matcher(self, obj): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.MatchesEvents.match"> + + </a> + <a name="match"> + + </a> + <div class="functionHeader"> + + def + match(self, observed): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.TestAssertFailsWith.html b/apidocs/testtools.tests.test_deferredruntest.TestAssertFailsWith.html new file mode 100644 index 0000000..9813438 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.TestAssertFailsWith.html @@ -0,0 +1,661 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_deferredruntest.TestAssertFailsWith : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_deferredruntest.TestAssertFailsWith(<a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_deferredruntest.html" class="code">test_deferredruntest</a></code> + + <a href="classIndex.html#testtools.tests.test_deferredruntest.TestAssertFailsWith">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests for <a href="testtools.deferredruntest.html#assert_fails_with"><code>assert_fails_with</code></a>.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id646"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAssertFailsWith.html#test_assert_fails_with_success" class="code">test_assert_fails_with_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAssertFailsWith.html#test_assert_fails_with_success_multiple_types" class="code">test_assert_fails_with_success_multiple_types</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAssertFailsWith.html#test_assert_fails_with_wrong_exception" class="code">test_assert_fails_with_wrong_exception</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAssertFailsWith.html#test_assert_fails_with_expected_exception" class="code">test_assert_fails_with_expected_exception</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAssertFailsWith.html#test_custom_failure_exception" class="code">test_custom_failure_exception</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>): + </p> + <table class="children sortable" id="id648"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>): + </p> + <table class="children sortable" id="id648"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAssertFailsWith.test_assert_fails_with_success"> + + </a> + <a name="test_assert_fails_with_success"> + + </a> + <div class="functionHeader"> + + def + test_assert_fails_with_success(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAssertFailsWith.test_assert_fails_with_success_multiple_types"> + + </a> + <a name="test_assert_fails_with_success_multiple_types"> + + </a> + <div class="functionHeader"> + + def + test_assert_fails_with_success_multiple_types(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAssertFailsWith.test_assert_fails_with_wrong_exception"> + + </a> + <a name="test_assert_fails_with_wrong_exception"> + + </a> + <div class="functionHeader"> + + def + test_assert_fails_with_wrong_exception(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAssertFailsWith.test_assert_fails_with_expected_exception"> + + </a> + <a name="test_assert_fails_with_expected_exception"> + + </a> + <div class="functionHeader"> + + def + test_assert_fails_with_expected_exception(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAssertFailsWith.test_custom_failure_exception"> + + </a> + <a name="test_custom_failure_exception"> + + </a> + <div class="functionHeader"> + + def + test_custom_failure_exception(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html b/apidocs/testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html new file mode 100644 index 0000000..fd26b26 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html @@ -0,0 +1,1123 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest(<a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_deferredruntest.html" class="code">test_deferredruntest</a></code> + + <a href="classIndex.html#testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id643"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#make_reactor" class="code">make_reactor</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#make_result" class="code">make_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#make_runner" class="code">make_runner</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#make_timeout" class="code">make_timeout</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_setUp_returns_deferred_that_fires_later" class="code">test_setUp_returns_deferred_that_fires_later</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_calls_setUp_test_tearDown_in_sequence" class="code">test_calls_setUp_test_tearDown_in_sequence</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_async_cleanups" class="code">test_async_cleanups</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_clean_reactor" class="code">test_clean_reactor</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_exports_reactor" class="code">test_exports_reactor</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_unhandled_error_from_deferred" class="code">test_unhandled_error_from_deferred</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_unhandled_error_from_deferred_combined_with_error" class="code">test_unhandled_error_from_deferred_combined_with_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_keyboard_interrupt_stops_test_run" class="code">test_keyboard_interrupt_stops_test_run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_fast_keyboard_interrupt_stops_test_run" class="code">test_fast_keyboard_interrupt_stops_test_run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_timeout_causes_test_error" class="code">test_timeout_causes_test_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_convenient_construction" class="code">test_convenient_construction</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_use_convenient_factory" class="code">test_use_convenient_factory</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_convenient_construction_default_reactor" class="code">test_convenient_construction_default_reactor</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_convenient_construction_default_timeout" class="code">test_convenient_construction_default_timeout</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_convenient_construction_default_debugging" class="code">test_convenient_construction_default_debugging</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_deferred_error" class="code">test_deferred_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_only_addError_once" class="code">test_only_addError_once</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_log_err_is_error" class="code">test_log_err_is_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_log_err_flushed_is_success" class="code">test_log_err_flushed_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_log_in_details" class="code">test_log_in_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_debugging_unchanged_during_test_by_default" class="code">test_debugging_unchanged_during_test_by_default</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_debugging_enabled_during_test_with_debug_flag" class="code">test_debugging_enabled_during_test_with_debug_flag</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>): + </p> + <table class="children sortable" id="id645"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>): + </p> + <table class="children sortable" id="id645"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.make_reactor"> + + </a> + <a name="make_reactor"> + + </a> + <div class="functionHeader"> + + def + make_reactor(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.make_result"> + + </a> + <a name="make_result"> + + </a> + <div class="functionHeader"> + + def + make_result(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.make_runner"> + + </a> + <a name="make_runner"> + + </a> + <div class="functionHeader"> + + def + make_runner(self, test, timeout=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.make_timeout"> + + </a> + <a name="make_timeout"> + + </a> + <div class="functionHeader"> + + def + make_timeout(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_setUp_returns_deferred_that_fires_later"> + + </a> + <a name="test_setUp_returns_deferred_that_fires_later"> + + </a> + <div class="functionHeader"> + + def + test_setUp_returns_deferred_that_fires_later(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_calls_setUp_test_tearDown_in_sequence"> + + </a> + <a name="test_calls_setUp_test_tearDown_in_sequence"> + + </a> + <div class="functionHeader"> + + def + test_calls_setUp_test_tearDown_in_sequence(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_async_cleanups"> + + </a> + <a name="test_async_cleanups"> + + </a> + <div class="functionHeader"> + + def + test_async_cleanups(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_clean_reactor"> + + </a> + <a name="test_clean_reactor"> + + </a> + <div class="functionHeader"> + + def + test_clean_reactor(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_exports_reactor"> + + </a> + <a name="test_exports_reactor"> + + </a> + <div class="functionHeader"> + + def + test_exports_reactor(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_unhandled_error_from_deferred"> + + </a> + <a name="test_unhandled_error_from_deferred"> + + </a> + <div class="functionHeader"> + + def + test_unhandled_error_from_deferred(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_unhandled_error_from_deferred_combined_with_error"> + + </a> + <a name="test_unhandled_error_from_deferred_combined_with_error"> + + </a> + <div class="functionHeader"> + + def + test_unhandled_error_from_deferred_combined_with_error(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_keyboard_interrupt_stops_test_run"> + + </a> + <a name="test_keyboard_interrupt_stops_test_run"> + + </a> + <div class="functionHeader"> + @skipIf(os.name != 'posix', 'Sending SIGINT with os.kill is posix only')<br /> + def + test_keyboard_interrupt_stops_test_run(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_fast_keyboard_interrupt_stops_test_run"> + + </a> + <a name="test_fast_keyboard_interrupt_stops_test_run"> + + </a> + <div class="functionHeader"> + @skipIf(os.name != 'posix', 'Sending SIGINT with os.kill is posix only')<br /> + def + test_fast_keyboard_interrupt_stops_test_run(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_timeout_causes_test_error"> + + </a> + <a name="test_timeout_causes_test_error"> + + </a> + <div class="functionHeader"> + + def + test_timeout_causes_test_error(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_convenient_construction"> + + </a> + <a name="test_convenient_construction"> + + </a> + <div class="functionHeader"> + + def + test_convenient_construction(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_use_convenient_factory"> + + </a> + <a name="test_use_convenient_factory"> + + </a> + <div class="functionHeader"> + + def + test_use_convenient_factory(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_convenient_construction_default_reactor"> + + </a> + <a name="test_convenient_construction_default_reactor"> + + </a> + <div class="functionHeader"> + + def + test_convenient_construction_default_reactor(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_convenient_construction_default_timeout"> + + </a> + <a name="test_convenient_construction_default_timeout"> + + </a> + <div class="functionHeader"> + + def + test_convenient_construction_default_timeout(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_convenient_construction_default_debugging"> + + </a> + <a name="test_convenient_construction_default_debugging"> + + </a> + <div class="functionHeader"> + + def + test_convenient_construction_default_debugging(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_deferred_error"> + + </a> + <a name="test_deferred_error"> + + </a> + <div class="functionHeader"> + + def + test_deferred_error(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_only_addError_once"> + + </a> + <a name="test_only_addError_once"> + + </a> + <div class="functionHeader"> + + def + test_only_addError_once(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_log_err_is_error"> + + </a> + <a name="test_log_err_is_error"> + + </a> + <div class="functionHeader"> + + def + test_log_err_is_error(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_log_err_flushed_is_success"> + + </a> + <a name="test_log_err_flushed_is_success"> + + </a> + <div class="functionHeader"> + + def + test_log_err_flushed_is_success(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_log_in_details"> + + </a> + <a name="test_log_in_details"> + + </a> + <div class="functionHeader"> + + def + test_log_in_details(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_debugging_unchanged_during_test_by_default"> + + </a> + <a name="test_debugging_unchanged_during_test_by_default"> + + </a> + <div class="functionHeader"> + + def + test_debugging_unchanged_during_test_by_default(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_debugging_enabled_during_test_with_debug_flag"> + + </a> + <a name="test_debugging_enabled_during_test_with_debug_flag"> + + </a> + <div class="functionHeader"> + + def + test_debugging_enabled_during_test_with_debug_flag(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.TestRunWithLogObservers.html b/apidocs/testtools.tests.test_deferredruntest.TestRunWithLogObservers.html new file mode 100644 index 0000000..aae6ad1 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.TestRunWithLogObservers.html @@ -0,0 +1,573 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_deferredruntest.TestRunWithLogObservers : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_deferredruntest.TestRunWithLogObservers(<a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_deferredruntest.html" class="code">test_deferredruntest</a></code> + + <a href="classIndex.html#testtools.tests.test_deferredruntest.TestRunWithLogObservers">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id649"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestRunWithLogObservers.html#test_restores_observers" class="code">test_restores_observers</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>): + </p> + <table class="children sortable" id="id651"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>): + </p> + <table class="children sortable" id="id651"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_deferredruntest.TestRunWithLogObservers.test_restores_observers"> + + </a> + <a name="test_restores_observers"> + + </a> + <div class="functionHeader"> + + def + test_restores_observers(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html b/apidocs/testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html new file mode 100644 index 0000000..9adf3fd --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html @@ -0,0 +1,661 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest(<a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_deferredruntest.html" class="code">test_deferredruntest</a></code> + + <a href="classIndex.html#testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id640"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html#make_result" class="code">make_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html#make_runner" class="code">make_runner</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html#test_success" class="code">test_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html#test_failure" class="code">test_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html#test_setUp_followed_by_test" class="code">test_setUp_followed_by_test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>): + </p> + <table class="children sortable" id="id642"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>): + </p> + <table class="children sortable" id="id642"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.make_result"> + + </a> + <a name="make_result"> + + </a> + <div class="functionHeader"> + + def + make_result(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.make_runner"> + + </a> + <a name="make_runner"> + + </a> + <div class="functionHeader"> + + def + make_runner(self, test): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.test_success"> + + </a> + <a name="test_success"> + + </a> + <div class="functionHeader"> + + def + test_success(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.test_failure"> + + </a> + <a name="test_failure"> + + </a> + <div class="functionHeader"> + + def + test_failure(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.test_setUp_followed_by_test"> + + </a> + <a name="test_setUp_followed_by_test"> + + </a> + <div class="functionHeader"> + + def + test_setUp_followed_by_test(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.X.Base.html b/apidocs/testtools.tests.test_deferredruntest.X.Base.html new file mode 100644 index 0000000..9a88410 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.X.Base.html @@ -0,0 +1,369 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_deferredruntest.X.Base : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_deferredruntest.X.Base(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_deferredruntest.html" class="code">test_deferredruntest</a>.<a href="testtools.tests.test_deferredruntest.X.html" class="code">X</a></code> + + <a href="classIndex.html#testtools.tests.test_deferredruntest.X.Base">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.tests.test_deferredruntest.X.BaseExceptionRaised.html" class="code">testtools.tests.test_deferredruntest.X.BaseExceptionRaised</a>, <a href="testtools.tests.test_deferredruntest.X.ErrorInCleanup.html" class="code">testtools.tests.test_deferredruntest.X.ErrorInCleanup</a>, <a href="testtools.tests.test_deferredruntest.X.ErrorInSetup.html" class="code">testtools.tests.test_deferredruntest.X.ErrorInSetup</a>, <a href="testtools.tests.test_deferredruntest.X.ErrorInTearDown.html" class="code">testtools.tests.test_deferredruntest.X.ErrorInTearDown</a>, <a href="testtools.tests.test_deferredruntest.X.ErrorInTest.html" class="code">testtools.tests.test_deferredruntest.X.ErrorInTest</a>, <a href="testtools.tests.test_deferredruntest.X.FailureInTest.html" class="code">testtools.tests.test_deferredruntest.X.FailureInTest</a></p> + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id617"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.X.Base.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.X.Base.html#test_something" class="code">test_something</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.X.Base.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id618"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_deferredruntest.X.Base.setUp"> + + </a> + <a name="setUp"> + + </a> + <div class="functionHeader"> + + def + setUp(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testcase.TestCase.html#setUp" class="code">testtools.testcase.TestCase.setUp</a></div><div class="interfaceinfo">overridden in <a href="testtools.tests.test_deferredruntest.X.ErrorInSetup.html" class="code">testtools.tests.test_deferredruntest.X.ErrorInSetup</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.X.Base.test_something"> + + </a> + <a name="test_something"> + + </a> + <div class="functionHeader"> + + def + test_something(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.tests.test_deferredruntest.X.BaseExceptionRaised.html" class="code">testtools.tests.test_deferredruntest.X.BaseExceptionRaised</a>, <a href="testtools.tests.test_deferredruntest.X.ErrorInCleanup.html" class="code">testtools.tests.test_deferredruntest.X.ErrorInCleanup</a>, <a href="testtools.tests.test_deferredruntest.X.ErrorInTest.html" class="code">testtools.tests.test_deferredruntest.X.ErrorInTest</a>, <a href="testtools.tests.test_deferredruntest.X.FailureInTest.html" class="code">testtools.tests.test_deferredruntest.X.FailureInTest</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.X.Base.tearDown"> + + </a> + <a name="tearDown"> + + </a> + <div class="functionHeader"> + + def + tearDown(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testcase.TestCase.html#tearDown" class="code">testtools.testcase.TestCase.tearDown</a></div><div class="interfaceinfo">overridden in <a href="testtools.tests.test_deferredruntest.X.ErrorInTearDown.html" class="code">testtools.tests.test_deferredruntest.X.ErrorInTearDown</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.X.BaseExceptionRaised.html b/apidocs/testtools.tests.test_deferredruntest.X.BaseExceptionRaised.html new file mode 100644 index 0000000..27b89e1 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.X.BaseExceptionRaised.html @@ -0,0 +1,563 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_deferredruntest.X.BaseExceptionRaised : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_deferredruntest.X.BaseExceptionRaised(<a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">Base</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_deferredruntest.html" class="code">test_deferredruntest</a>.<a href="testtools.tests.test_deferredruntest.X.html" class="code">X</a></code> + + <a href="classIndex.html#testtools.tests.test_deferredruntest.X.BaseExceptionRaised">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id619"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.X.BaseExceptionRaised.html#test_something" class="code">test_something</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">Base</a>): + </p> + <table class="children sortable" id="id621"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">Base</a>): + </p> + <table class="children sortable" id="id621"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_deferredruntest.X.BaseExceptionRaised.test_something"> + + </a> + <a name="test_something"> + + </a> + <div class="functionHeader"> + + def + test_something(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_deferredruntest.X.Base.html#test_something" class="code">testtools.tests.test_deferredruntest.X.Base.test_something</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.X.ErrorInCleanup.html b/apidocs/testtools.tests.test_deferredruntest.X.ErrorInCleanup.html new file mode 100644 index 0000000..67b8738 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.X.ErrorInCleanup.html @@ -0,0 +1,563 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_deferredruntest.X.ErrorInCleanup : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_deferredruntest.X.ErrorInCleanup(<a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">Base</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_deferredruntest.html" class="code">test_deferredruntest</a>.<a href="testtools.tests.test_deferredruntest.X.html" class="code">X</a></code> + + <a href="classIndex.html#testtools.tests.test_deferredruntest.X.ErrorInCleanup">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id634"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.X.ErrorInCleanup.html#test_something" class="code">test_something</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">Base</a>): + </p> + <table class="children sortable" id="id636"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">Base</a>): + </p> + <table class="children sortable" id="id636"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_deferredruntest.X.ErrorInCleanup.test_something"> + + </a> + <a name="test_something"> + + </a> + <div class="functionHeader"> + + def + test_something(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_deferredruntest.X.Base.html#test_something" class="code">testtools.tests.test_deferredruntest.X.Base.test_something</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.X.ErrorInSetup.html b/apidocs/testtools.tests.test_deferredruntest.X.ErrorInSetup.html new file mode 100644 index 0000000..2ff1824 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.X.ErrorInSetup.html @@ -0,0 +1,563 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_deferredruntest.X.ErrorInSetup : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_deferredruntest.X.ErrorInSetup(<a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">Base</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_deferredruntest.html" class="code">test_deferredruntest</a>.<a href="testtools.tests.test_deferredruntest.X.html" class="code">X</a></code> + + <a href="classIndex.html#testtools.tests.test_deferredruntest.X.ErrorInSetup">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id622"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.X.ErrorInSetup.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">Base</a>): + </p> + <table class="children sortable" id="id624"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">Base</a>): + </p> + <table class="children sortable" id="id624"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_deferredruntest.X.ErrorInSetup.setUp"> + + </a> + <a name="setUp"> + + </a> + <div class="functionHeader"> + + def + setUp(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_deferredruntest.X.Base.html#setUp" class="code">testtools.tests.test_deferredruntest.X.Base.setUp</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.X.ErrorInTearDown.html b/apidocs/testtools.tests.test_deferredruntest.X.ErrorInTearDown.html new file mode 100644 index 0000000..ba90092 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.X.ErrorInTearDown.html @@ -0,0 +1,563 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_deferredruntest.X.ErrorInTearDown : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_deferredruntest.X.ErrorInTearDown(<a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">Base</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_deferredruntest.html" class="code">test_deferredruntest</a>.<a href="testtools.tests.test_deferredruntest.X.html" class="code">X</a></code> + + <a href="classIndex.html#testtools.tests.test_deferredruntest.X.ErrorInTearDown">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id631"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.X.ErrorInTearDown.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">Base</a>): + </p> + <table class="children sortable" id="id633"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">Base</a>): + </p> + <table class="children sortable" id="id633"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_deferredruntest.X.ErrorInTearDown.tearDown"> + + </a> + <a name="tearDown"> + + </a> + <div class="functionHeader"> + + def + tearDown(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_deferredruntest.X.Base.html#tearDown" class="code">testtools.tests.test_deferredruntest.X.Base.tearDown</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.X.ErrorInTest.html b/apidocs/testtools.tests.test_deferredruntest.X.ErrorInTest.html new file mode 100644 index 0000000..9af0e0a --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.X.ErrorInTest.html @@ -0,0 +1,563 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_deferredruntest.X.ErrorInTest : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_deferredruntest.X.ErrorInTest(<a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">Base</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_deferredruntest.html" class="code">test_deferredruntest</a>.<a href="testtools.tests.test_deferredruntest.X.html" class="code">X</a></code> + + <a href="classIndex.html#testtools.tests.test_deferredruntest.X.ErrorInTest">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id625"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.X.ErrorInTest.html#test_something" class="code">test_something</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">Base</a>): + </p> + <table class="children sortable" id="id627"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">Base</a>): + </p> + <table class="children sortable" id="id627"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_deferredruntest.X.ErrorInTest.test_something"> + + </a> + <a name="test_something"> + + </a> + <div class="functionHeader"> + + def + test_something(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_deferredruntest.X.Base.html#test_something" class="code">testtools.tests.test_deferredruntest.X.Base.test_something</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.X.FailureInTest.html b/apidocs/testtools.tests.test_deferredruntest.X.FailureInTest.html new file mode 100644 index 0000000..5488ede --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.X.FailureInTest.html @@ -0,0 +1,563 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_deferredruntest.X.FailureInTest : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_deferredruntest.X.FailureInTest(<a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">Base</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_deferredruntest.html" class="code">test_deferredruntest</a>.<a href="testtools.tests.test_deferredruntest.X.html" class="code">X</a></code> + + <a href="classIndex.html#testtools.tests.test_deferredruntest.X.FailureInTest">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id628"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.X.FailureInTest.html#test_something" class="code">test_something</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">Base</a>): + </p> + <table class="children sortable" id="id630"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">Base</a>): + </p> + <table class="children sortable" id="id630"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_deferredruntest.X.FailureInTest.test_something"> + + </a> + <a name="test_something"> + + </a> + <div class="functionHeader"> + + def + test_something(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_deferredruntest.X.Base.html#test_something" class="code">testtools.tests.test_deferredruntest.X.Base.test_something</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.X.TestIntegration.html b/apidocs/testtools.tests.test_deferredruntest.X.TestIntegration.html new file mode 100644 index 0000000..8824daa --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.X.TestIntegration.html @@ -0,0 +1,595 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_deferredruntest.X.TestIntegration : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_deferredruntest.X.TestIntegration(<a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_deferredruntest.html" class="code">test_deferredruntest</a>.<a href="testtools.tests.test_deferredruntest.X.html" class="code">X</a></code> + + <a href="classIndex.html#testtools.tests.test_deferredruntest.X.TestIntegration">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id637"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.X.TestIntegration.html#assertResultsMatch" class="code">assertResultsMatch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_deferredruntest.X.TestIntegration.html#test_runner" class="code">test_runner</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>): + </p> + <table class="children sortable" id="id639"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>): + </p> + <table class="children sortable" id="id639"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_deferredruntest.X.TestIntegration.assertResultsMatch"> + + </a> + <a name="assertResultsMatch"> + + </a> + <div class="functionHeader"> + + def + assertResultsMatch(self, test, result): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.X.TestIntegration.test_runner"> + + </a> + <a name="test_runner"> + + </a> + <div class="functionHeader"> + + def + test_runner(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.X.html b/apidocs/testtools.tests.test_deferredruntest.X.html new file mode 100644 index 0000000..d2a9f93 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.X.html @@ -0,0 +1,105 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_deferredruntest.X : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_deferredruntest.X(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_deferredruntest.html" class="code">test_deferredruntest</a></code> + + <a href="classIndex.html#testtools.tests.test_deferredruntest.X">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests that we run as part of our tests, nested to avoid discovery.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id616"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">Base</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_deferredruntest.X.BaseExceptionRaised.html" class="code">BaseExceptionRaised</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_deferredruntest.X.ErrorInSetup.html" class="code">ErrorInSetup</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_deferredruntest.X.ErrorInTest.html" class="code">ErrorInTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_deferredruntest.X.FailureInTest.html" class="code">FailureInTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_deferredruntest.X.ErrorInTearDown.html" class="code">ErrorInTearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_deferredruntest.X.ErrorInCleanup.html" class="code">ErrorInCleanup</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_deferredruntest.X.TestIntegration.html" class="code">TestIntegration</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.html b/apidocs/testtools.tests.test_deferredruntest.html new file mode 100644 index 0000000..128f317 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.html @@ -0,0 +1,166 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_deferredruntest : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.test_deferredruntest</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests for the DeferredRunTest single test execution logic.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id612"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_deferredruntest.MatchesEvents.html" class="code">MatchesEvents</a></td> + <td><span>Match a list of test result events.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_deferredruntest.AsText.html" class="code">AsText</a></td> + <td><span>Match the text of a Content instance.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_deferredruntest.X.html" class="code">X</a></td> + <td><span>Tests that we run as part of our tests, nested to avoid discovery.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_deferredruntest.html#make_integration_tests" class="code">make_integration_tests</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html" class="code">TestSynchronousDeferredRunTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html" class="code">TestAsynchronousDeferredRunTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_deferredruntest.TestAssertFailsWith.html" class="code">TestAssertFailsWith</a></td> + <td><span>Tests for <a href="testtools.deferredruntest.html#assert_fails_with"><code>assert_fails_with</code></a>.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_deferredruntest.TestRunWithLogObservers.html" class="code">TestRunWithLogObservers</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_deferredruntest.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_deferredruntest.html#load_tests" class="code">load_tests</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_deferredruntest.make_integration_tests"> + + </a> + <a name="make_integration_tests"> + + </a> + <div class="functionHeader"> + + def + make_integration_tests(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_deferredruntest.load_tests"> + + </a> + <a name="load_tests"> + + </a> + <div class="functionHeader"> + + def + load_tests(loader, tests, pattern): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_distutilscmd.SampleTestFixture.html b/apidocs/testtools.tests.test_distutilscmd.SampleTestFixture.html new file mode 100644 index 0000000..e184b8a --- /dev/null +++ b/apidocs/testtools.tests.test_distutilscmd.SampleTestFixture.html @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_distutilscmd.SampleTestFixture : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_distutilscmd.SampleTestFixture(<span title="fixtures.Fixture">fixtures.Fixture</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_distutilscmd.html" class="code">test_distutilscmd</a></code> + + <a href="classIndex.html#testtools.tests.test_distutilscmd.SampleTestFixture">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Creates testtools.runexample temporarily.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id552"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_distutilscmd.SampleTestFixture.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_distutilscmd.SampleTestFixture.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_distutilscmd.SampleTestFixture.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_distutilscmd.SampleTestFixture.setUp"> + + </a> + <a name="setUp"> + + </a> + <div class="functionHeader"> + + def + setUp(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_distutilscmd.TestCommandTest.html b/apidocs/testtools.tests.test_distutilscmd.TestCommandTest.html new file mode 100644 index 0000000..a2ed2e1 --- /dev/null +++ b/apidocs/testtools.tests.test_distutilscmd.TestCommandTest.html @@ -0,0 +1,374 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_distutilscmd.TestCommandTest : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_distutilscmd.TestCommandTest(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_distutilscmd.html" class="code">test_distutilscmd</a></code> + + <a href="classIndex.html#testtools.tests.test_distutilscmd.TestCommandTest">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id553"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_distutilscmd.TestCommandTest.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_distutilscmd.TestCommandTest.html#test_test_module" class="code">test_test_module</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_distutilscmd.TestCommandTest.html#test_test_suite" class="code">test_test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id554"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_distutilscmd.TestCommandTest.setUp"> + + </a> + <a name="setUp"> + + </a> + <div class="functionHeader"> + + def + setUp(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testcase.TestCase.html#setUp" class="code">testtools.testcase.TestCase.setUp</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_distutilscmd.TestCommandTest.test_test_module"> + + </a> + <a name="test_test_module"> + + </a> + <div class="functionHeader"> + + def + test_test_module(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_distutilscmd.TestCommandTest.test_test_suite"> + + </a> + <a name="test_test_suite"> + + </a> + <div class="functionHeader"> + + def + test_test_suite(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_distutilscmd.html b/apidocs/testtools.tests.test_distutilscmd.html new file mode 100644 index 0000000..b8e720a --- /dev/null +++ b/apidocs/testtools.tests.test_distutilscmd.html @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_distutilscmd : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.test_distutilscmd</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests for the distutils test command logic.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id551"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_distutilscmd.SampleTestFixture.html" class="code">SampleTestFixture</a></td> + <td><span>Creates testtools.runexample temporarily.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_distutilscmd.TestCommandTest.html" class="code">TestCommandTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_distutilscmd.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_distutilscmd.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_fixturesupport.TestFixtureSupport.html b/apidocs/testtools.tests.test_fixturesupport.TestFixtureSupport.html new file mode 100644 index 0000000..4f9d74e --- /dev/null +++ b/apidocs/testtools.tests.test_fixturesupport.TestFixtureSupport.html @@ -0,0 +1,462 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_fixturesupport.TestFixtureSupport : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_fixturesupport.TestFixtureSupport(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_fixturesupport.html" class="code">test_fixturesupport</a></code> + + <a href="classIndex.html#testtools.tests.test_fixturesupport.TestFixtureSupport">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id685"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html#test_useFixture" class="code">test_useFixture</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html#test_useFixture_cleanups_raise_caught" class="code">test_useFixture_cleanups_raise_caught</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html#test_useFixture_details_captured" class="code">test_useFixture_details_captured</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html#test_useFixture_multiple_details_captured" class="code">test_useFixture_multiple_details_captured</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html#test_useFixture_details_captured_from_setUp" class="code">test_useFixture_details_captured_from_setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html#test_useFixture_original_exception_raised_if_gather_details_fails" class="code">test_useFixture_original_exception_raised_if_gather_details_fails</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id686"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_fixturesupport.TestFixtureSupport.setUp"> + + </a> + <a name="setUp"> + + </a> + <div class="functionHeader"> + + def + setUp(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testcase.TestCase.html#setUp" class="code">testtools.testcase.TestCase.setUp</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_fixturesupport.TestFixtureSupport.test_useFixture"> + + </a> + <a name="test_useFixture"> + + </a> + <div class="functionHeader"> + + def + test_useFixture(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_fixturesupport.TestFixtureSupport.test_useFixture_cleanups_raise_caught"> + + </a> + <a name="test_useFixture_cleanups_raise_caught"> + + </a> + <div class="functionHeader"> + + def + test_useFixture_cleanups_raise_caught(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_fixturesupport.TestFixtureSupport.test_useFixture_details_captured"> + + </a> + <a name="test_useFixture_details_captured"> + + </a> + <div class="functionHeader"> + + def + test_useFixture_details_captured(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_fixturesupport.TestFixtureSupport.test_useFixture_multiple_details_captured"> + + </a> + <a name="test_useFixture_multiple_details_captured"> + + </a> + <div class="functionHeader"> + + def + test_useFixture_multiple_details_captured(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_fixturesupport.TestFixtureSupport.test_useFixture_details_captured_from_setUp"> + + </a> + <a name="test_useFixture_details_captured_from_setUp"> + + </a> + <div class="functionHeader"> + + def + test_useFixture_details_captured_from_setUp(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_fixturesupport.TestFixtureSupport.test_useFixture_original_exception_raised_if_gather_details_fails"> + + </a> + <a name="test_useFixture_original_exception_raised_if_gather_details_fails"> + + </a> + <div class="functionHeader"> + + def + test_useFixture_original_exception_raised_if_gather_details_fails(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_fixturesupport.html b/apidocs/testtools.tests.test_fixturesupport.html new file mode 100644 index 0000000..f6f19dd --- /dev/null +++ b/apidocs/testtools.tests.test_fixturesupport.html @@ -0,0 +1,92 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_fixturesupport : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.test_fixturesupport</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id684"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html" class="code">TestFixtureSupport</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_fixturesupport.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_fixturesupport.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_helpers.TestStackHiding.html b/apidocs/testtools.tests.test_helpers.TestStackHiding.html new file mode 100644 index 0000000..7719407 --- /dev/null +++ b/apidocs/testtools.tests.test_helpers.TestStackHiding.html @@ -0,0 +1,374 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_helpers.TestStackHiding : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_helpers.TestStackHiding(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_helpers.html" class="code">test_helpers</a></code> + + <a href="classIndex.html#testtools.tests.test_helpers.TestStackHiding">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id549"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_helpers.TestStackHiding.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_helpers.TestStackHiding.html#test_is_stack_hidden_consistent_true" class="code">test_is_stack_hidden_consistent_true</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_helpers.TestStackHiding.html#test_is_stack_hidden_consistent_false" class="code">test_is_stack_hidden_consistent_false</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id550"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_helpers.TestStackHiding.setUp"> + + </a> + <a name="setUp"> + + </a> + <div class="functionHeader"> + + def + setUp(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testcase.TestCase.html#setUp" class="code">testtools.testcase.TestCase.setUp</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_helpers.TestStackHiding.test_is_stack_hidden_consistent_true"> + + </a> + <a name="test_is_stack_hidden_consistent_true"> + + </a> + <div class="functionHeader"> + + def + test_is_stack_hidden_consistent_true(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_helpers.TestStackHiding.test_is_stack_hidden_consistent_false"> + + </a> + <a name="test_is_stack_hidden_consistent_false"> + + </a> + <div class="functionHeader"> + + def + test_is_stack_hidden_consistent_false(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_helpers.html b/apidocs/testtools.tests.test_helpers.html new file mode 100644 index 0000000..f76daf8 --- /dev/null +++ b/apidocs/testtools.tests.test_helpers.html @@ -0,0 +1,92 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_helpers : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.test_helpers</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id548"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_helpers.TestStackHiding.html" class="code">TestStackHiding</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_helpers.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_helpers.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_monkey.MonkeyPatcherTest.html b/apidocs/testtools.tests.test_monkey.MonkeyPatcherTest.html new file mode 100644 index 0000000..2d242ff --- /dev/null +++ b/apidocs/testtools.tests.test_monkey.MonkeyPatcherTest.html @@ -0,0 +1,572 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_monkey.MonkeyPatcherTest : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_monkey.MonkeyPatcherTest(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_monkey.html" class="code">test_monkey</a></code> + + <a href="classIndex.html#testtools.tests.test_monkey.MonkeyPatcherTest">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests for 'MonkeyPatcher' monkey-patching class.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id557"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_empty" class="code">test_empty</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_construct_with_patches" class="code">test_construct_with_patches</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_patch_existing" class="code">test_patch_existing</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_patch_non_existing" class="code">test_patch_non_existing</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_restore_non_existing" class="code">test_restore_non_existing</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_patch_already_patched" class="code">test_patch_already_patched</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_restore_twice_is_a_no_op" class="code">test_restore_twice_is_a_no_op</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_run_with_patches_decoration" class="code">test_run_with_patches_decoration</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_repeated_run_with_patches" class="code">test_repeated_run_with_patches</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_run_with_patches_restores" class="code">test_run_with_patches_restores</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_run_with_patches_restores_on_exception" class="code">test_run_with_patches_restores_on_exception</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id558"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_monkey.MonkeyPatcherTest.setUp"> + + </a> + <a name="setUp"> + + </a> + <div class="functionHeader"> + + def + setUp(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testcase.TestCase.html#setUp" class="code">testtools.testcase.TestCase.setUp</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_monkey.MonkeyPatcherTest.test_empty"> + + </a> + <a name="test_empty"> + + </a> + <div class="functionHeader"> + + def + test_empty(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_monkey.MonkeyPatcherTest.test_construct_with_patches"> + + </a> + <a name="test_construct_with_patches"> + + </a> + <div class="functionHeader"> + + def + test_construct_with_patches(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_monkey.MonkeyPatcherTest.test_patch_existing"> + + </a> + <a name="test_patch_existing"> + + </a> + <div class="functionHeader"> + + def + test_patch_existing(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_monkey.MonkeyPatcherTest.test_patch_non_existing"> + + </a> + <a name="test_patch_non_existing"> + + </a> + <div class="functionHeader"> + + def + test_patch_non_existing(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_monkey.MonkeyPatcherTest.test_restore_non_existing"> + + </a> + <a name="test_restore_non_existing"> + + </a> + <div class="functionHeader"> + + def + test_restore_non_existing(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_monkey.MonkeyPatcherTest.test_patch_already_patched"> + + </a> + <a name="test_patch_already_patched"> + + </a> + <div class="functionHeader"> + + def + test_patch_already_patched(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_monkey.MonkeyPatcherTest.test_restore_twice_is_a_no_op"> + + </a> + <a name="test_restore_twice_is_a_no_op"> + + </a> + <div class="functionHeader"> + + def + test_restore_twice_is_a_no_op(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_monkey.MonkeyPatcherTest.test_run_with_patches_decoration"> + + </a> + <a name="test_run_with_patches_decoration"> + + </a> + <div class="functionHeader"> + + def + test_run_with_patches_decoration(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_monkey.MonkeyPatcherTest.test_repeated_run_with_patches"> + + </a> + <a name="test_repeated_run_with_patches"> + + </a> + <div class="functionHeader"> + + def + test_repeated_run_with_patches(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_monkey.MonkeyPatcherTest.test_run_with_patches_restores"> + + </a> + <a name="test_run_with_patches_restores"> + + </a> + <div class="functionHeader"> + + def + test_run_with_patches_restores(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_monkey.MonkeyPatcherTest.test_run_with_patches_restores_on_exception"> + + </a> + <a name="test_run_with_patches_restores_on_exception"> + + </a> + <div class="functionHeader"> + + def + test_run_with_patches_restores_on_exception(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_monkey.TestObj.html b/apidocs/testtools.tests.test_monkey.TestObj.html new file mode 100644 index 0000000..bbdb233 --- /dev/null +++ b/apidocs/testtools.tests.test_monkey.TestObj.html @@ -0,0 +1,87 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_monkey.TestObj : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_monkey.TestObj</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_monkey.html" class="code">test_monkey</a></code> + + <a href="classIndex.html#testtools.tests.test_monkey.TestObj">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id556"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_monkey.TestObj.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_monkey.TestObj.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_monkey.TestPatchHelper.html b/apidocs/testtools.tests.test_monkey.TestPatchHelper.html new file mode 100644 index 0000000..f1a73ba --- /dev/null +++ b/apidocs/testtools.tests.test_monkey.TestPatchHelper.html @@ -0,0 +1,357 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_monkey.TestPatchHelper : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_monkey.TestPatchHelper(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_monkey.html" class="code">test_monkey</a></code> + + <a href="classIndex.html#testtools.tests.test_monkey.TestPatchHelper">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id559"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_monkey.TestPatchHelper.html#test_patch_patches" class="code">test_patch_patches</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_monkey.TestPatchHelper.html#test_patch_returns_cleanup" class="code">test_patch_returns_cleanup</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id560"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_monkey.TestPatchHelper.test_patch_patches"> + + </a> + <a name="test_patch_patches"> + + </a> + <div class="functionHeader"> + + def + test_patch_patches(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_monkey.TestPatchHelper.test_patch_returns_cleanup"> + + </a> + <a name="test_patch_returns_cleanup"> + + </a> + <div class="functionHeader"> + + def + test_patch_returns_cleanup(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_monkey.html b/apidocs/testtools.tests.test_monkey.html new file mode 100644 index 0000000..3e7ee77 --- /dev/null +++ b/apidocs/testtools.tests.test_monkey.html @@ -0,0 +1,102 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_monkey : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.test_monkey</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests for testtools.monkey.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id555"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_monkey.TestObj.html" class="code">TestObj</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_monkey.MonkeyPatcherTest.html" class="code">MonkeyPatcherTest</a></td> + <td><span>Tests for 'MonkeyPatcher' monkey-patching class.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_monkey.TestPatchHelper.html" class="code">TestPatchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_monkey.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_monkey.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_run.SampleLoadTestsPackage.html b/apidocs/testtools.tests.test_run.SampleLoadTestsPackage.html new file mode 100644 index 0000000..67b18e2 --- /dev/null +++ b/apidocs/testtools.tests.test_run.SampleLoadTestsPackage.html @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_run.SampleLoadTestsPackage : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_run.SampleLoadTestsPackage(<span title="fixtures.Fixture">fixtures.Fixture</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_run.html" class="code">test_run</a></code> + + <a href="classIndex.html#testtools.tests.test_run.SampleLoadTestsPackage">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Creates a test suite package using load_tests.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id663"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_run.SampleLoadTestsPackage.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_run.SampleLoadTestsPackage.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_run.SampleLoadTestsPackage.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_run.SampleLoadTestsPackage.setUp"> + + </a> + <a name="setUp"> + + </a> + <div class="functionHeader"> + + def + setUp(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_run.SampleResourcedFixture.html b/apidocs/testtools.tests.test_run.SampleResourcedFixture.html new file mode 100644 index 0000000..9954ef6 --- /dev/null +++ b/apidocs/testtools.tests.test_run.SampleResourcedFixture.html @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_run.SampleResourcedFixture : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_run.SampleResourcedFixture(<span title="fixtures.Fixture">fixtures.Fixture</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_run.html" class="code">test_run</a></code> + + <a href="classIndex.html#testtools.tests.test_run.SampleResourcedFixture">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Creates a test suite that uses testresources.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id662"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_run.SampleResourcedFixture.html#__init__" class="code">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_run.SampleResourcedFixture.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_run.SampleResourcedFixture.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_run.SampleResourcedFixture.setUp"> + + </a> + <a name="setUp"> + + </a> + <div class="functionHeader"> + + def + setUp(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_run.SampleTestFixture.html b/apidocs/testtools.tests.test_run.SampleTestFixture.html new file mode 100644 index 0000000..019fd78 --- /dev/null +++ b/apidocs/testtools.tests.test_run.SampleTestFixture.html @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_run.SampleTestFixture : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_run.SampleTestFixture(<span title="fixtures.Fixture">fixtures.Fixture</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_run.html" class="code">test_run</a></code> + + <a href="classIndex.html#testtools.tests.test_run.SampleTestFixture">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Creates testtools.runexample temporarily.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id661"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_run.SampleTestFixture.html#__init__" class="code">__init__</a></td> + <td><span>Create a SampleTestFixture.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_run.SampleTestFixture.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_run.SampleTestFixture.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, broken=False): + + </div> + <div class="docstring functionBody"> + + <div>Create a SampleTestFixture.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">broken</td><td>If True, the sample file will not be importable.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_run.SampleTestFixture.setUp"> + + </a> + <a name="setUp"> + + </a> + <div class="functionHeader"> + + def + setUp(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_run.TestRun.html b/apidocs/testtools.tests.test_run.TestRun.html new file mode 100644 index 0000000..a0af1a1 --- /dev/null +++ b/apidocs/testtools.tests.test_run.TestRun.html @@ -0,0 +1,572 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_run.TestRun : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_run.TestRun(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_run.html" class="code">test_run</a></code> + + <a href="classIndex.html#testtools.tests.test_run.TestRun">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id664"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_run.TestRun.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_run.TestRun.html#test_run_custom_list" class="code">test_run_custom_list</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_run.TestRun.html#test_run_list_with_loader" class="code">test_run_list_with_loader</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_run.TestRun.html#test_run_list" class="code">test_run_list</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_run.TestRun.html#test_run_list_failed_import" class="code">test_run_list_failed_import</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_run.TestRun.html#test_run_orders_tests" class="code">test_run_orders_tests</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_run.TestRun.html#test_run_load_list" class="code">test_run_load_list</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_run.TestRun.html#test_load_list_preserves_custom_suites" class="code">test_load_list_preserves_custom_suites</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_run.TestRun.html#test_run_failfast" class="code">test_run_failfast</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_run.TestRun.html#test_run_locals" class="code">test_run_locals</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_run.TestRun.html#test_stdout_honoured" class="code">test_stdout_honoured</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_run.TestRun.html#test_issue_16662" class="code">test_issue_16662</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id665"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_run.TestRun.setUp"> + + </a> + <a name="setUp"> + + </a> + <div class="functionHeader"> + + def + setUp(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testcase.TestCase.html#setUp" class="code">testtools.testcase.TestCase.setUp</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_run.TestRun.test_run_custom_list"> + + </a> + <a name="test_run_custom_list"> + + </a> + <div class="functionHeader"> + + def + test_run_custom_list(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_run.TestRun.test_run_list_with_loader"> + + </a> + <a name="test_run_list_with_loader"> + + </a> + <div class="functionHeader"> + + def + test_run_list_with_loader(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_run.TestRun.test_run_list"> + + </a> + <a name="test_run_list"> + + </a> + <div class="functionHeader"> + + def + test_run_list(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_run.TestRun.test_run_list_failed_import"> + + </a> + <a name="test_run_list_failed_import"> + + </a> + <div class="functionHeader"> + + def + test_run_list_failed_import(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_run.TestRun.test_run_orders_tests"> + + </a> + <a name="test_run_orders_tests"> + + </a> + <div class="functionHeader"> + + def + test_run_orders_tests(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_run.TestRun.test_run_load_list"> + + </a> + <a name="test_run_load_list"> + + </a> + <div class="functionHeader"> + + def + test_run_load_list(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_run.TestRun.test_load_list_preserves_custom_suites"> + + </a> + <a name="test_load_list_preserves_custom_suites"> + + </a> + <div class="functionHeader"> + + def + test_load_list_preserves_custom_suites(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_run.TestRun.test_run_failfast"> + + </a> + <a name="test_run_failfast"> + + </a> + <div class="functionHeader"> + + def + test_run_failfast(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_run.TestRun.test_run_locals"> + + </a> + <a name="test_run_locals"> + + </a> + <div class="functionHeader"> + + def + test_run_locals(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_run.TestRun.test_stdout_honoured"> + + </a> + <a name="test_stdout_honoured"> + + </a> + <div class="functionHeader"> + + def + test_stdout_honoured(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_run.TestRun.test_issue_16662"> + + </a> + <a name="test_issue_16662"> + + </a> + <div class="functionHeader"> + @skipUnless(fixtures, 'fixtures not present')<br /> + def + test_issue_16662(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_run.html b/apidocs/testtools.tests.test_run.html new file mode 100644 index 0000000..3fde9f9 --- /dev/null +++ b/apidocs/testtools.tests.test_run.html @@ -0,0 +1,107 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_run : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.test_run</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests for the test runner logic.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id660"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_run.SampleTestFixture.html" class="code">SampleTestFixture</a></td> + <td><span>Creates testtools.runexample temporarily.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_run.SampleResourcedFixture.html" class="code">SampleResourcedFixture</a></td> + <td><span>Creates a test suite that uses testresources.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_run.SampleLoadTestsPackage.html" class="code">SampleLoadTestsPackage</a></td> + <td><span>Creates a test suite package using load_tests.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_run.TestRun.html" class="code">TestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_run.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_run.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_runtest.CustomRunTest.html b/apidocs/testtools.tests.test_runtest.CustomRunTest.html new file mode 100644 index 0000000..3f0bebf --- /dev/null +++ b/apidocs/testtools.tests.test_runtest.CustomRunTest.html @@ -0,0 +1,165 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_runtest.CustomRunTest : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_runtest.CustomRunTest(<a href="testtools.runtest.RunTest.html" class="code">RunTest</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_runtest.html" class="code">test_runtest</a></code> + + <a href="classIndex.html#testtools.tests.test_runtest.CustomRunTest">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id669"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.CustomRunTest.html#run" class="code">run</a></td> + <td><span>Run self.case reporting activity to result.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.runtest.RunTest.html" class="code">RunTest</a>: + </p> + <table class="children sortable" id="id670"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#case" class="code">case</a></td> + <td>The test case that is to be run.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#result" class="code">result</a></td> + <td>The result object a case is reporting to.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#handlers" class="code">handlers</a></td> + <td>A list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#exception_caught" class="code">exception_caught</a></td> + <td>An object returned when _run_user catches an +exception.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#__init__" class="code">__init__</a></td> + <td><span>Create a RunTest to run a case.</span></td> + </tr><tr class="baseinstancevariable private"> + + <td>Instance Variable</td> + <td><a href="testtools.runtest.RunTest.html#_exceptions" class="code">_exceptions</a></td> + <td>A list of caught exceptions, used to do the single +reporting of error/failure/skip etc.</td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_one" class="code">_run_one</a></td> + <td><span>Run one test reporting to result.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_prepared_result" class="code">_run_prepared_result</a></td> + <td><span>Run one test reporting to result.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_core" class="code">_run_core</a></td> + <td><span>Run the user supplied test code.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_cleanups" class="code">_run_cleanups</a></td> + <td><span>Run the cleanups that have been added with addCleanup.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_run_user" class="code">_run_user</a></td> + <td><span>Run a user supplied function.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.runtest.RunTest.html#_got_user_exception" class="code">_got_user_exception</a></td> + <td><span>Called when user code raises an exception.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_runtest.CustomRunTest.run"> + + </a> + <a name="run"> + + </a> + <div class="functionHeader"> + + def + run(self, result=None): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.runtest.RunTest.html#run" class="code">testtools.runtest.RunTest.run</a></div> + <div>Run self.case reporting activity to result.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">result</td><td>Optional testtools.TestResult to report activity to.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">The result object the test was run against.</td></tr></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_runtest.TestRunTest.html b/apidocs/testtools.tests.test_runtest.TestRunTest.html new file mode 100644 index 0000000..c742bda --- /dev/null +++ b/apidocs/testtools.tests.test_runtest.TestRunTest.html @@ -0,0 +1,687 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_runtest.TestRunTest : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_runtest.TestRunTest(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_runtest.html" class="code">test_runtest</a></code> + + <a href="classIndex.html#testtools.tests.test_runtest.TestRunTest">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id667"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestRunTest.html#make_case" class="code">make_case</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestRunTest.html#test___init___short" class="code">test___init___short</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestRunTest.html#test__init____handlers" class="code">test__init____handlers</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestRunTest.html#test__init____handlers_last_resort" class="code">test__init____handlers_last_resort</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestRunTest.html#test_run_with_result" class="code">test_run_with_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestRunTest.html#test_run_no_result_manages_new_result" class="code">test_run_no_result_manages_new_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestRunTest.html#test__run_core_called" class="code">test__run_core_called</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestRunTest.html#test__run_prepared_result_does_not_mask_keyboard" class="code">test__run_prepared_result_does_not_mask_keyboard</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestRunTest.html#test__run_user_calls_onException" class="code">test__run_user_calls_onException</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestRunTest.html#test__run_user_can_catch_Exception" class="code">test__run_user_can_catch_Exception</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestRunTest.html#test__run_prepared_result_uncaught_Exception_raised" class="code">test__run_prepared_result_uncaught_Exception_raised</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestRunTest.html#test__run_prepared_result_uncaught_Exception_triggers_error" class="code">test__run_prepared_result_uncaught_Exception_triggers_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestRunTest.html#test__run_user_uncaught_Exception_from_exception_handler_raised" class="code">test__run_user_uncaught_Exception_from_exception_handler_raised</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestRunTest.html#test__run_user_returns_result" class="code">test__run_user_returns_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestRunTest.html#test__run_one_decorates_result" class="code">test__run_one_decorates_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestRunTest.html#test__run_prepared_result_calls_start_and_stop_test" class="code">test__run_prepared_result_calls_start_and_stop_test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestRunTest.html#test__run_prepared_result_calls_stop_test_always" class="code">test__run_prepared_result_calls_stop_test_always</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id668"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_runtest.TestRunTest.make_case"> + + </a> + <a name="make_case"> + + </a> + <div class="functionHeader"> + + def + make_case(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_runtest.TestRunTest.test___init___short"> + + </a> + <a name="test___init___short"> + + </a> + <div class="functionHeader"> + + def + test___init___short(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_runtest.TestRunTest.test__init____handlers"> + + </a> + <a name="test__init____handlers"> + + </a> + <div class="functionHeader"> + + def + test__init____handlers(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_runtest.TestRunTest.test__init____handlers_last_resort"> + + </a> + <a name="test__init____handlers_last_resort"> + + </a> + <div class="functionHeader"> + + def + test__init____handlers_last_resort(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_runtest.TestRunTest.test_run_with_result"> + + </a> + <a name="test_run_with_result"> + + </a> + <div class="functionHeader"> + + def + test_run_with_result(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_runtest.TestRunTest.test_run_no_result_manages_new_result"> + + </a> + <a name="test_run_no_result_manages_new_result"> + + </a> + <div class="functionHeader"> + + def + test_run_no_result_manages_new_result(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_runtest.TestRunTest.test__run_core_called"> + + </a> + <a name="test__run_core_called"> + + </a> + <div class="functionHeader"> + + def + test__run_core_called(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_runtest.TestRunTest.test__run_prepared_result_does_not_mask_keyboard"> + + </a> + <a name="test__run_prepared_result_does_not_mask_keyboard"> + + </a> + <div class="functionHeader"> + + def + test__run_prepared_result_does_not_mask_keyboard(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_runtest.TestRunTest.test__run_user_calls_onException"> + + </a> + <a name="test__run_user_calls_onException"> + + </a> + <div class="functionHeader"> + + def + test__run_user_calls_onException(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_runtest.TestRunTest.test__run_user_can_catch_Exception"> + + </a> + <a name="test__run_user_can_catch_Exception"> + + </a> + <div class="functionHeader"> + + def + test__run_user_can_catch_Exception(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_runtest.TestRunTest.test__run_prepared_result_uncaught_Exception_raised"> + + </a> + <a name="test__run_prepared_result_uncaught_Exception_raised"> + + </a> + <div class="functionHeader"> + + def + test__run_prepared_result_uncaught_Exception_raised(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_runtest.TestRunTest.test__run_prepared_result_uncaught_Exception_triggers_error"> + + </a> + <a name="test__run_prepared_result_uncaught_Exception_triggers_error"> + + </a> + <div class="functionHeader"> + + def + test__run_prepared_result_uncaught_Exception_triggers_error(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_runtest.TestRunTest.test__run_user_uncaught_Exception_from_exception_handler_raised"> + + </a> + <a name="test__run_user_uncaught_Exception_from_exception_handler_raised"> + + </a> + <div class="functionHeader"> + + def + test__run_user_uncaught_Exception_from_exception_handler_raised(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_runtest.TestRunTest.test__run_user_returns_result"> + + </a> + <a name="test__run_user_returns_result"> + + </a> + <div class="functionHeader"> + + def + test__run_user_returns_result(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_runtest.TestRunTest.test__run_one_decorates_result"> + + </a> + <a name="test__run_one_decorates_result"> + + </a> + <div class="functionHeader"> + + def + test__run_one_decorates_result(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_runtest.TestRunTest.test__run_prepared_result_calls_start_and_stop_test"> + + </a> + <a name="test__run_prepared_result_calls_start_and_stop_test"> + + </a> + <div class="functionHeader"> + + def + test__run_prepared_result_calls_start_and_stop_test(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_runtest.TestRunTest.test__run_prepared_result_calls_stop_test_always"> + + </a> + <a name="test__run_prepared_result_calls_stop_test_always"> + + </a> + <div class="functionHeader"> + + def + test__run_prepared_result_calls_stop_test_always(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html b/apidocs/testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html new file mode 100644 index 0000000..cafe814 --- /dev/null +++ b/apidocs/testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html @@ -0,0 +1,467 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_runtest.TestTestCaseSupportForRunTest : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_runtest.TestTestCaseSupportForRunTest(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_runtest.html" class="code">test_runtest</a></code> + + <a href="classIndex.html#testtools.tests.test_runtest.TestTestCaseSupportForRunTest">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id671"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html#test_pass_custom_run_test" class="code">test_pass_custom_run_test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html#test_default_is_runTest_class_variable" class="code">test_default_is_runTest_class_variable</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html#test_constructor_argument_overrides_class_variable" class="code">test_constructor_argument_overrides_class_variable</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html#test_decorator_for_run_test" class="code">test_decorator_for_run_test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html#test_extended_decorator_for_run_test" class="code">test_extended_decorator_for_run_test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html#test_works_as_inner_decorator" class="code">test_works_as_inner_decorator</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html#test_constructor_overrides_decorator" class="code">test_constructor_overrides_decorator</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id672"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.test_pass_custom_run_test"> + + </a> + <a name="test_pass_custom_run_test"> + + </a> + <div class="functionHeader"> + + def + test_pass_custom_run_test(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.test_default_is_runTest_class_variable"> + + </a> + <a name="test_default_is_runTest_class_variable"> + + </a> + <div class="functionHeader"> + + def + test_default_is_runTest_class_variable(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.test_constructor_argument_overrides_class_variable"> + + </a> + <a name="test_constructor_argument_overrides_class_variable"> + + </a> + <div class="functionHeader"> + + def + test_constructor_argument_overrides_class_variable(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.test_decorator_for_run_test"> + + </a> + <a name="test_decorator_for_run_test"> + + </a> + <div class="functionHeader"> + + def + test_decorator_for_run_test(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.test_extended_decorator_for_run_test"> + + </a> + <a name="test_extended_decorator_for_run_test"> + + </a> + <div class="functionHeader"> + + def + test_extended_decorator_for_run_test(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.test_works_as_inner_decorator"> + + </a> + <a name="test_works_as_inner_decorator"> + + </a> + <div class="functionHeader"> + + def + test_works_as_inner_decorator(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.test_constructor_overrides_decorator"> + + </a> + <a name="test_constructor_overrides_decorator"> + + </a> + <div class="functionHeader"> + + def + test_constructor_overrides_decorator(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_runtest.html b/apidocs/testtools.tests.test_runtest.html new file mode 100644 index 0000000..e6773d8 --- /dev/null +++ b/apidocs/testtools.tests.test_runtest.html @@ -0,0 +1,102 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_runtest : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.test_runtest</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests for the RunTest single test execution logic.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id666"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_runtest.TestRunTest.html" class="code">TestRunTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_runtest.CustomRunTest.html" class="code">CustomRunTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html" class="code">TestTestCaseSupportForRunTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_runtest.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_runtest.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_spinner.NeedsTwistedTestCase.html b/apidocs/testtools.tests.test_spinner.NeedsTwistedTestCase.html new file mode 100644 index 0000000..63de62a --- /dev/null +++ b/apidocs/testtools.tests.test_spinner.NeedsTwistedTestCase.html @@ -0,0 +1,330 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_spinner.NeedsTwistedTestCase : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_spinner.NeedsTwistedTestCase(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_spinner.html" class="code">test_spinner</a></code> + + <a href="classIndex.html#testtools.tests.test_spinner.NeedsTwistedTestCase">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.tests.test_deferredruntest.TestAssertFailsWith.html" class="code">testtools.tests.test_deferredruntest.TestAssertFailsWith</a>, <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest</a>, <a href="testtools.tests.test_deferredruntest.TestRunWithLogObservers.html" class="code">testtools.tests.test_deferredruntest.TestRunWithLogObservers</a>, <a href="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html" class="code">testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest</a>, <a href="testtools.tests.test_deferredruntest.X.TestIntegration.html" class="code">testtools.tests.test_deferredruntest.X.TestIntegration</a>, <a href="testtools.tests.test_spinner.TestExtractResult.html" class="code">testtools.tests.test_spinner.TestExtractResult</a>, <a href="testtools.tests.test_spinner.TestNotReentrant.html" class="code">testtools.tests.test_spinner.TestNotReentrant</a>, <a href="testtools.tests.test_spinner.TestRunInReactor.html" class="code">testtools.tests.test_spinner.TestRunInReactor</a>, <a href="testtools.tests.test_spinner.TestTrapUnhandledErrors.html" class="code">testtools.tests.test_spinner.TestTrapUnhandledErrors</a></p> + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id323"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id324"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_spinner.NeedsTwistedTestCase.setUp"> + + </a> + <a name="setUp"> + + </a> + <div class="functionHeader"> + + def + setUp(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testcase.TestCase.html#setUp" class="code">testtools.testcase.TestCase.setUp</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_spinner.TestExtractResult.html b/apidocs/testtools.tests.test_spinner.TestExtractResult.html new file mode 100644 index 0000000..b0b726f --- /dev/null +++ b/apidocs/testtools.tests.test_spinner.TestExtractResult.html @@ -0,0 +1,617 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_spinner.TestExtractResult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_spinner.TestExtractResult(<a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_spinner.html" class="code">test_spinner</a></code> + + <a href="classIndex.html#testtools.tests.test_spinner.TestExtractResult">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id328"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestExtractResult.html#test_not_fired" class="code">test_not_fired</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestExtractResult.html#test_success" class="code">test_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestExtractResult.html#test_failure" class="code">test_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>): + </p> + <table class="children sortable" id="id330"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>): + </p> + <table class="children sortable" id="id330"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_spinner.TestExtractResult.test_not_fired"> + + </a> + <a name="test_not_fired"> + + </a> + <div class="functionHeader"> + + def + test_not_fired(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestExtractResult.test_success"> + + </a> + <a name="test_success"> + + </a> + <div class="functionHeader"> + + def + test_success(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestExtractResult.test_failure"> + + </a> + <a name="test_failure"> + + </a> + <div class="functionHeader"> + + def + test_failure(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_spinner.TestNotReentrant.html b/apidocs/testtools.tests.test_spinner.TestNotReentrant.html new file mode 100644 index 0000000..9d3ad9a --- /dev/null +++ b/apidocs/testtools.tests.test_spinner.TestNotReentrant.html @@ -0,0 +1,595 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_spinner.TestNotReentrant : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_spinner.TestNotReentrant(<a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_spinner.html" class="code">test_spinner</a></code> + + <a href="classIndex.html#testtools.tests.test_spinner.TestNotReentrant">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id325"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestNotReentrant.html#test_not_reentrant" class="code">test_not_reentrant</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestNotReentrant.html#test_deeper_stack" class="code">test_deeper_stack</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>): + </p> + <table class="children sortable" id="id327"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>): + </p> + <table class="children sortable" id="id327"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_spinner.TestNotReentrant.test_not_reentrant"> + + </a> + <a name="test_not_reentrant"> + + </a> + <div class="functionHeader"> + + def + test_not_reentrant(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestNotReentrant.test_deeper_stack"> + + </a> + <a name="test_deeper_stack"> + + </a> + <div class="functionHeader"> + + def + test_deeper_stack(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_spinner.TestRunInReactor.html b/apidocs/testtools.tests.test_spinner.TestRunInReactor.html new file mode 100644 index 0000000..e1f4459 --- /dev/null +++ b/apidocs/testtools.tests.test_spinner.TestRunInReactor.html @@ -0,0 +1,1079 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_spinner.TestRunInReactor : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_spinner.TestRunInReactor(<a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_spinner.html" class="code">test_spinner</a></code> + + <a href="classIndex.html#testtools.tests.test_spinner.TestRunInReactor">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id334"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#make_reactor" class="code">make_reactor</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#make_spinner" class="code">make_spinner</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#make_timeout" class="code">make_timeout</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#test_function_called" class="code">test_function_called</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#test_return_value_returned" class="code">test_return_value_returned</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#test_exception_reraised" class="code">test_exception_reraised</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#test_keyword_arguments" class="code">test_keyword_arguments</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#test_not_reentrant" class="code">test_not_reentrant</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#test_deferred_value_returned" class="code">test_deferred_value_returned</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#test_preserve_signal_handler" class="code">test_preserve_signal_handler</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#test_timeout" class="code">test_timeout</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#test_no_junk_by_default" class="code">test_no_junk_by_default</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#test_clean_do_nothing" class="code">test_clean_do_nothing</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#test_clean_delayed_call" class="code">test_clean_delayed_call</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#test_clean_delayed_call_cancelled" class="code">test_clean_delayed_call_cancelled</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#test_clean_selectables" class="code">test_clean_selectables</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#test_clean_running_threads" class="code">test_clean_running_threads</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#test_leftover_junk_available" class="code">test_leftover_junk_available</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#test_will_not_run_with_previous_junk" class="code">test_will_not_run_with_previous_junk</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#test_clear_junk_clears_previous_junk" class="code">test_clear_junk_clears_previous_junk</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#test_sigint_raises_no_result_error" class="code">test_sigint_raises_no_result_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#test_sigint_raises_no_result_error_second_time" class="code">test_sigint_raises_no_result_error_second_time</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#test_fast_sigint_raises_no_result_error" class="code">test_fast_sigint_raises_no_result_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html#test_fast_sigint_raises_no_result_error_second_time" class="code">test_fast_sigint_raises_no_result_error_second_time</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>): + </p> + <table class="children sortable" id="id336"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>): + </p> + <table class="children sortable" id="id336"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.make_reactor"> + + </a> + <a name="make_reactor"> + + </a> + <div class="functionHeader"> + + def + make_reactor(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.make_spinner"> + + </a> + <a name="make_spinner"> + + </a> + <div class="functionHeader"> + + def + make_spinner(self, reactor=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.make_timeout"> + + </a> + <a name="make_timeout"> + + </a> + <div class="functionHeader"> + + def + make_timeout(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.test_function_called"> + + </a> + <a name="test_function_called"> + + </a> + <div class="functionHeader"> + + def + test_function_called(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.test_return_value_returned"> + + </a> + <a name="test_return_value_returned"> + + </a> + <div class="functionHeader"> + + def + test_return_value_returned(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.test_exception_reraised"> + + </a> + <a name="test_exception_reraised"> + + </a> + <div class="functionHeader"> + + def + test_exception_reraised(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.test_keyword_arguments"> + + </a> + <a name="test_keyword_arguments"> + + </a> + <div class="functionHeader"> + + def + test_keyword_arguments(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.test_not_reentrant"> + + </a> + <a name="test_not_reentrant"> + + </a> + <div class="functionHeader"> + + def + test_not_reentrant(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.test_deferred_value_returned"> + + </a> + <a name="test_deferred_value_returned"> + + </a> + <div class="functionHeader"> + + def + test_deferred_value_returned(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.test_preserve_signal_handler"> + + </a> + <a name="test_preserve_signal_handler"> + + </a> + <div class="functionHeader"> + + def + test_preserve_signal_handler(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.test_timeout"> + + </a> + <a name="test_timeout"> + + </a> + <div class="functionHeader"> + + def + test_timeout(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.test_no_junk_by_default"> + + </a> + <a name="test_no_junk_by_default"> + + </a> + <div class="functionHeader"> + + def + test_no_junk_by_default(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.test_clean_do_nothing"> + + </a> + <a name="test_clean_do_nothing"> + + </a> + <div class="functionHeader"> + + def + test_clean_do_nothing(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.test_clean_delayed_call"> + + </a> + <a name="test_clean_delayed_call"> + + </a> + <div class="functionHeader"> + + def + test_clean_delayed_call(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.test_clean_delayed_call_cancelled"> + + </a> + <a name="test_clean_delayed_call_cancelled"> + + </a> + <div class="functionHeader"> + + def + test_clean_delayed_call_cancelled(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.test_clean_selectables"> + + </a> + <a name="test_clean_selectables"> + + </a> + <div class="functionHeader"> + + def + test_clean_selectables(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.test_clean_running_threads"> + + </a> + <a name="test_clean_running_threads"> + + </a> + <div class="functionHeader"> + + def + test_clean_running_threads(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.test_leftover_junk_available"> + + </a> + <a name="test_leftover_junk_available"> + + </a> + <div class="functionHeader"> + + def + test_leftover_junk_available(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.test_will_not_run_with_previous_junk"> + + </a> + <a name="test_will_not_run_with_previous_junk"> + + </a> + <div class="functionHeader"> + + def + test_will_not_run_with_previous_junk(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.test_clear_junk_clears_previous_junk"> + + </a> + <a name="test_clear_junk_clears_previous_junk"> + + </a> + <div class="functionHeader"> + + def + test_clear_junk_clears_previous_junk(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.test_sigint_raises_no_result_error"> + + </a> + <a name="test_sigint_raises_no_result_error"> + + </a> + <div class="functionHeader"> + @skipIf(os.name != 'posix', 'Sending SIGINT with os.kill is posix only')<br /> + def + test_sigint_raises_no_result_error(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.test_sigint_raises_no_result_error_second_time"> + + </a> + <a name="test_sigint_raises_no_result_error_second_time"> + + </a> + <div class="functionHeader"> + @skipIf(os.name != 'posix', 'Sending SIGINT with os.kill is posix only')<br /> + def + test_sigint_raises_no_result_error_second_time(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.test_fast_sigint_raises_no_result_error"> + + </a> + <a name="test_fast_sigint_raises_no_result_error"> + + </a> + <div class="functionHeader"> + @skipIf(os.name != 'posix', 'Sending SIGINT with os.kill is posix only')<br /> + def + test_fast_sigint_raises_no_result_error(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestRunInReactor.test_fast_sigint_raises_no_result_error_second_time"> + + </a> + <a name="test_fast_sigint_raises_no_result_error_second_time"> + + </a> + <div class="functionHeader"> + @skipIf(os.name != 'posix', 'Sending SIGINT with os.kill is posix only')<br /> + def + test_fast_sigint_raises_no_result_error_second_time(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_spinner.TestTrapUnhandledErrors.html b/apidocs/testtools.tests.test_spinner.TestTrapUnhandledErrors.html new file mode 100644 index 0000000..55f9c49 --- /dev/null +++ b/apidocs/testtools.tests.test_spinner.TestTrapUnhandledErrors.html @@ -0,0 +1,595 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_spinner.TestTrapUnhandledErrors : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_spinner.TestTrapUnhandledErrors(<a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_spinner.html" class="code">test_spinner</a></code> + + <a href="classIndex.html#testtools.tests.test_spinner.TestTrapUnhandledErrors">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id331"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestTrapUnhandledErrors.html#test_no_deferreds" class="code">test_no_deferreds</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_spinner.TestTrapUnhandledErrors.html#test_unhandled_error" class="code">test_unhandled_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>): + </p> + <table class="children sortable" id="id333"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a>): + </p> + <table class="children sortable" id="id333"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_spinner.TestTrapUnhandledErrors.test_no_deferreds"> + + </a> + <a name="test_no_deferreds"> + + </a> + <div class="functionHeader"> + + def + test_no_deferreds(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_spinner.TestTrapUnhandledErrors.test_unhandled_error"> + + </a> + <a name="test_unhandled_error"> + + </a> + <div class="functionHeader"> + + def + test_unhandled_error(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_spinner.html b/apidocs/testtools.tests.test_spinner.html new file mode 100644 index 0000000..624282b --- /dev/null +++ b/apidocs/testtools.tests.test_spinner.html @@ -0,0 +1,112 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_spinner : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.test_spinner</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests for the evil Twisted reactor-spinning we do.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id322"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">NeedsTwistedTestCase</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_spinner.TestNotReentrant.html" class="code">TestNotReentrant</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_spinner.TestExtractResult.html" class="code">TestExtractResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_spinner.TestTrapUnhandledErrors.html" class="code">TestTrapUnhandledErrors</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_spinner.TestRunInReactor.html" class="code">TestRunInReactor</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_spinner.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_spinner.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_tags.TestTags.html b/apidocs/testtools.tests.test_tags.TestTags.html new file mode 100644 index 0000000..93596aa --- /dev/null +++ b/apidocs/testtools.tests.test_tags.TestTags.html @@ -0,0 +1,511 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_tags.TestTags : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_tags.TestTags(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_tags.html" class="code">test_tags</a></code> + + <a href="classIndex.html#testtools.tests.test_tags.TestTags">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id562"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_tags.TestTags.html#test_no_tags" class="code">test_no_tags</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_tags.TestTags.html#test_add_tag" class="code">test_add_tag</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_tags.TestTags.html#test_add_tag_twice" class="code">test_add_tag_twice</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_tags.TestTags.html#test_change_tags_returns_tags" class="code">test_change_tags_returns_tags</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_tags.TestTags.html#test_remove_tag" class="code">test_remove_tag</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_tags.TestTags.html#test_child_context" class="code">test_child_context</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_tags.TestTags.html#test_add_to_child" class="code">test_add_to_child</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_tags.TestTags.html#test_remove_in_child" class="code">test_remove_in_child</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_tags.TestTags.html#test_parent" class="code">test_parent</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id563"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_tags.TestTags.test_no_tags"> + + </a> + <a name="test_no_tags"> + + </a> + <div class="functionHeader"> + + def + test_no_tags(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_tags.TestTags.test_add_tag"> + + </a> + <a name="test_add_tag"> + + </a> + <div class="functionHeader"> + + def + test_add_tag(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_tags.TestTags.test_add_tag_twice"> + + </a> + <a name="test_add_tag_twice"> + + </a> + <div class="functionHeader"> + + def + test_add_tag_twice(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_tags.TestTags.test_change_tags_returns_tags"> + + </a> + <a name="test_change_tags_returns_tags"> + + </a> + <div class="functionHeader"> + + def + test_change_tags_returns_tags(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_tags.TestTags.test_remove_tag"> + + </a> + <a name="test_remove_tag"> + + </a> + <div class="functionHeader"> + + def + test_remove_tag(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_tags.TestTags.test_child_context"> + + </a> + <a name="test_child_context"> + + </a> + <div class="functionHeader"> + + def + test_child_context(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_tags.TestTags.test_add_to_child"> + + </a> + <a name="test_add_to_child"> + + </a> + <div class="functionHeader"> + + def + test_add_to_child(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_tags.TestTags.test_remove_in_child"> + + </a> + <a name="test_remove_in_child"> + + </a> + <div class="functionHeader"> + + def + test_remove_in_child(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_tags.TestTags.test_parent"> + + </a> + <a name="test_parent"> + + </a> + <div class="functionHeader"> + + def + test_parent(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_tags.html b/apidocs/testtools.tests.test_tags.html new file mode 100644 index 0000000..277c808 --- /dev/null +++ b/apidocs/testtools.tests.test_tags.html @@ -0,0 +1,92 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_tags : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.test_tags</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Test tag support.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id561"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_tags.TestTags.html" class="code">TestTags</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_tags.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_tags.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.Attributes.html b/apidocs/testtools.tests.test_testcase.Attributes.html new file mode 100644 index 0000000..4d677f6 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.Attributes.html @@ -0,0 +1,627 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testcase.Attributes : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testcase.Attributes(<a href="testtools.testcase.WithAttributes.html" class="code">WithAttributes</a>, <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testcase.html" class="code">test_testcase</a></code> + + <a href="classIndex.html#testtools.tests.test_testcase.Attributes">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id605"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.Attributes.html#simple" class="code">simple</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.Attributes.html#many" class="code">many</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.Attributes.html#decorated" class="code">decorated</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id607"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id607"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testcase.Attributes.simple"> + + </a> + <a name="simple"> + + </a> + <div class="functionHeader"> + @attr('foo')<br /> + def + simple(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.Attributes.many"> + + </a> + <a name="many"> + + </a> + <div class="functionHeader"> + @attr('foo', 'quux', 'bar')<br /> + def + many(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.Attributes.decorated"> + + </a> + <a name="decorated"> + + </a> + <div class="functionHeader"> + @attr('bar')<br />@attr('quux')<br />@attr('foo')<br /> + def + decorated(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html b/apidocs/testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html new file mode 100644 index 0000000..12d1ede --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html @@ -0,0 +1,413 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testcase.TestAddCleanup.LoggingTest : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testcase.TestAddCleanup.LoggingTest(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testcase.html" class="code">test_testcase</a>.<a href="testtools.tests.test_testcase.TestAddCleanup.html" class="code">TestAddCleanup</a></code> + + <a href="classIndex.html#testtools.tests.test_testcase.TestAddCleanup.LoggingTest">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>A test that logs calls to setUp, runTest and tearDown.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id575"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html#brokenSetUp" class="code">brokenSetUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html#runTest" class="code">runTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html#brokenTest" class="code">brokenTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id576"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.setUp"> + + </a> + <a name="setUp"> + + </a> + <div class="functionHeader"> + + def + setUp(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testcase.TestCase.html#setUp" class="code">testtools.testcase.TestCase.setUp</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.brokenSetUp"> + + </a> + <a name="brokenSetUp"> + + </a> + <div class="functionHeader"> + + def + brokenSetUp(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.runTest"> + + </a> + <a name="runTest"> + + </a> + <div class="functionHeader"> + + def + runTest(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.brokenTest"> + + </a> + <a name="brokenTest"> + + </a> + <div class="functionHeader"> + + def + brokenTest(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.tearDown"> + + </a> + <a name="tearDown"> + + </a> + <div class="functionHeader"> + + def + tearDown(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testcase.TestCase.html#tearDown" class="code">testtools.testcase.TestCase.tearDown</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestAddCleanup.html b/apidocs/testtools.tests.test_testcase.TestAddCleanup.html new file mode 100644 index 0000000..13171c8 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestAddCleanup.html @@ -0,0 +1,647 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testcase.TestAddCleanup : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testcase.TestAddCleanup(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testcase.html" class="code">test_testcase</a></code> + + <a href="classIndex.html#testtools.tests.test_testcase.TestAddCleanup">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests for TestCase.addCleanup.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id573"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html" class="code">LoggingTest</a></td> + <td><span>A test that logs calls to setUp, runTest and tearDown.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAddCleanup.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAddCleanup.html#assertErrorLogEqual" class="code">assertErrorLogEqual</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAddCleanup.html#assertTestLogEqual" class="code">assertTestLogEqual</a></td> + <td><span>Assert that the call log equals 'messages'.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAddCleanup.html#logAppender" class="code">logAppender</a></td> + <td><span>A cleanup that appends 'message' to the tests log.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAddCleanup.html#test_fixture" class="code">test_fixture</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAddCleanup.html#test_cleanup_run_before_tearDown" class="code">test_cleanup_run_before_tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAddCleanup.html#test_add_cleanup_called_if_setUp_fails" class="code">test_add_cleanup_called_if_setUp_fails</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAddCleanup.html#test_addCleanup_called_in_reverse_order" class="code">test_addCleanup_called_in_reverse_order</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAddCleanup.html#test_tearDown_runs_after_cleanup_failure" class="code">test_tearDown_runs_after_cleanup_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAddCleanup.html#test_cleanups_continue_running_after_error" class="code">test_cleanups_continue_running_after_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAddCleanup.html#test_error_in_cleanups_are_captured" class="code">test_error_in_cleanups_are_captured</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAddCleanup.html#test_keyboard_interrupt_not_caught" class="code">test_keyboard_interrupt_not_caught</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAddCleanup.html#test_all_errors_from_MultipleExceptions_reported" class="code">test_all_errors_from_MultipleExceptions_reported</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAddCleanup.html#test_multipleCleanupErrorsReported" class="code">test_multipleCleanupErrorsReported</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAddCleanup.html#test_multipleErrorsCoreAndCleanupReported" class="code">test_multipleErrorsCoreAndCleanupReported</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id574"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testcase.TestAddCleanup.setUp"> + + </a> + <a name="setUp"> + + </a> + <div class="functionHeader"> + + def + setUp(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testcase.TestCase.html#setUp" class="code">testtools.testcase.TestCase.setUp</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAddCleanup.assertErrorLogEqual"> + + </a> + <a name="assertErrorLogEqual"> + + </a> + <div class="functionHeader"> + + def + assertErrorLogEqual(self, messages): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAddCleanup.assertTestLogEqual"> + + </a> + <a name="assertTestLogEqual"> + + </a> + <div class="functionHeader"> + + def + assertTestLogEqual(self, messages): + + </div> + <div class="docstring functionBody"> + + <div>Assert that the call log equals 'messages'.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAddCleanup.logAppender"> + + </a> + <a name="logAppender"> + + </a> + <div class="functionHeader"> + + def + logAppender(self, message): + + </div> + <div class="docstring functionBody"> + + <div><p>A cleanup that appends 'message' to the tests log.</p> +<p>Cleanups are callables that are added to a test by addCleanup. To +verify that our cleanups run in the right order, we add strings to a +list that acts as a log. This method returns a cleanup that will add +the given message to that log when run.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAddCleanup.test_fixture"> + + </a> + <a name="test_fixture"> + + </a> + <div class="functionHeader"> + + def + test_fixture(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAddCleanup.test_cleanup_run_before_tearDown"> + + </a> + <a name="test_cleanup_run_before_tearDown"> + + </a> + <div class="functionHeader"> + + def + test_cleanup_run_before_tearDown(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAddCleanup.test_add_cleanup_called_if_setUp_fails"> + + </a> + <a name="test_add_cleanup_called_if_setUp_fails"> + + </a> + <div class="functionHeader"> + + def + test_add_cleanup_called_if_setUp_fails(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAddCleanup.test_addCleanup_called_in_reverse_order"> + + </a> + <a name="test_addCleanup_called_in_reverse_order"> + + </a> + <div class="functionHeader"> + + def + test_addCleanup_called_in_reverse_order(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAddCleanup.test_tearDown_runs_after_cleanup_failure"> + + </a> + <a name="test_tearDown_runs_after_cleanup_failure"> + + </a> + <div class="functionHeader"> + + def + test_tearDown_runs_after_cleanup_failure(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAddCleanup.test_cleanups_continue_running_after_error"> + + </a> + <a name="test_cleanups_continue_running_after_error"> + + </a> + <div class="functionHeader"> + + def + test_cleanups_continue_running_after_error(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAddCleanup.test_error_in_cleanups_are_captured"> + + </a> + <a name="test_error_in_cleanups_are_captured"> + + </a> + <div class="functionHeader"> + + def + test_error_in_cleanups_are_captured(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAddCleanup.test_keyboard_interrupt_not_caught"> + + </a> + <a name="test_keyboard_interrupt_not_caught"> + + </a> + <div class="functionHeader"> + + def + test_keyboard_interrupt_not_caught(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAddCleanup.test_all_errors_from_MultipleExceptions_reported"> + + </a> + <a name="test_all_errors_from_MultipleExceptions_reported"> + + </a> + <div class="functionHeader"> + + def + test_all_errors_from_MultipleExceptions_reported(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAddCleanup.test_multipleCleanupErrorsReported"> + + </a> + <a name="test_multipleCleanupErrorsReported"> + + </a> + <div class="functionHeader"> + + def + test_multipleCleanupErrorsReported(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAddCleanup.test_multipleErrorsCoreAndCleanupReported"> + + </a> + <a name="test_multipleErrorsCoreAndCleanupReported"> + + </a> + <div class="functionHeader"> + + def + test_multipleErrorsCoreAndCleanupReported(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestAssertions.html b/apidocs/testtools.tests.test_testcase.TestAssertions.html new file mode 100644 index 0000000..eecacad --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestAssertions.html @@ -0,0 +1,1354 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testcase.TestAssertions : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testcase.TestAssertions(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testcase.html" class="code">test_testcase</a></code> + + <a href="classIndex.html#testtools.tests.test_testcase.TestAssertions">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Test assertions in TestCase.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id571"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#raiseError" class="code">raiseError</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_formatTypes_single" class="code">test_formatTypes_single</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_formatTypes_multiple" class="code">test_formatTypes_multiple</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises" class="code">test_assertRaises</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises_exception_w_metaclass" class="code">test_assertRaises_exception_w_metaclass</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises_fails_when_no_error_raised" class="code">test_assertRaises_fails_when_no_error_raised</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises_fails_when_different_error_raised" class="code">test_assertRaises_fails_when_different_error_raised</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises_returns_the_raised_exception" class="code">test_assertRaises_returns_the_raised_exception</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises_with_multiple_exceptions" class="code">test_assertRaises_with_multiple_exceptions</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises_with_multiple_exceptions_failure_mode" class="code">test_assertRaises_with_multiple_exceptions_failure_mode</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises_function_repr_in_exception" class="code">test_assertRaises_function_repr_in_exception</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#assertFails" class="code">assertFails</a></td> + <td><span>Assert that function raises a failure with the given message.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIn_success" class="code">test_assertIn_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIn_failure" class="code">test_assertIn_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIn_failure_with_message" class="code">test_assertIn_failure_with_message</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertNotIn_success" class="code">test_assertNotIn_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertNotIn_failure" class="code">test_assertNotIn_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertNotIn_failure_with_message" class="code">test_assertNotIn_failure_with_message</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsInstance" class="code">test_assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsInstance_multiple_classes" class="code">test_assertIsInstance_multiple_classes</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsInstance_failure" class="code">test_assertIsInstance_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsInstance_failure_multiple_classes" class="code">test_assertIsInstance_failure_multiple_classes</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsInstance_overridden_message" class="code">test_assertIsInstance_overridden_message</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIs" class="code">test_assertIs</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIs_fails" class="code">test_assertIs_fails</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIs_fails_with_message" class="code">test_assertIs_fails_with_message</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsNot" class="code">test_assertIsNot</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsNot_fails" class="code">test_assertIsNot_fails</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsNot_fails_with_message" class="code">test_assertIsNot_fails_with_message</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertThat_matches_clean" class="code">test_assertThat_matches_clean</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertThat_mismatch_raises_description" class="code">test_assertThat_mismatch_raises_description</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertThat_output" class="code">test_assertThat_output</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertThat_message_is_annotated" class="code">test_assertThat_message_is_annotated</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertThat_verbose_output" class="code">test_assertThat_verbose_output</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_expectThat_matches_clean" class="code">test_expectThat_matches_clean</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_expectThat_mismatch_fails_test" class="code">test_expectThat_mismatch_fails_test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_expectThat_does_not_exit_test" class="code">test_expectThat_does_not_exit_test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_expectThat_adds_detail" class="code">test_expectThat_adds_detail</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test__force_failure_fails_test" class="code">test__force_failure_fails_test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#get_error_string" class="code">get_error_string</a></td> + <td><span>Get the string showing how 'e' would be formatted in test output.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertThat_verbose_unicode" class="code">test_assertThat_verbose_unicode</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertEqual_nice_formatting" class="code">test_assertEqual_nice_formatting</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertEqual_formatting_no_message" class="code">test_assertEqual_formatting_no_message</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertEqual_non_ascii_str_with_newlines" class="code">test_assertEqual_non_ascii_str_with_newlines</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsNone" class="code">test_assertIsNone</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsNotNone" class="code">test_assertIsNotNone</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html#test_fail_preserves_traceback_detail" class="code">test_fail_preserves_traceback_detail</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id572"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.raiseError"> + + </a> + <a name="raiseError"> + + </a> + <div class="functionHeader"> + + def + raiseError(self, exceptionFactory, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_formatTypes_single"> + + </a> + <a name="test_formatTypes_single"> + + </a> + <div class="functionHeader"> + + def + test_formatTypes_single(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_formatTypes_multiple"> + + </a> + <a name="test_formatTypes_multiple"> + + </a> + <div class="functionHeader"> + + def + test_formatTypes_multiple(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertRaises"> + + </a> + <a name="test_assertRaises"> + + </a> + <div class="functionHeader"> + + def + test_assertRaises(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertRaises_exception_w_metaclass"> + + </a> + <a name="test_assertRaises_exception_w_metaclass"> + + </a> + <div class="functionHeader"> + + def + test_assertRaises_exception_w_metaclass(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertRaises_fails_when_no_error_raised"> + + </a> + <a name="test_assertRaises_fails_when_no_error_raised"> + + </a> + <div class="functionHeader"> + + def + test_assertRaises_fails_when_no_error_raised(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertRaises_fails_when_different_error_raised"> + + </a> + <a name="test_assertRaises_fails_when_different_error_raised"> + + </a> + <div class="functionHeader"> + + def + test_assertRaises_fails_when_different_error_raised(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertRaises_returns_the_raised_exception"> + + </a> + <a name="test_assertRaises_returns_the_raised_exception"> + + </a> + <div class="functionHeader"> + + def + test_assertRaises_returns_the_raised_exception(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertRaises_with_multiple_exceptions"> + + </a> + <a name="test_assertRaises_with_multiple_exceptions"> + + </a> + <div class="functionHeader"> + + def + test_assertRaises_with_multiple_exceptions(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertRaises_with_multiple_exceptions_failure_mode"> + + </a> + <a name="test_assertRaises_with_multiple_exceptions_failure_mode"> + + </a> + <div class="functionHeader"> + + def + test_assertRaises_with_multiple_exceptions_failure_mode(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertRaises_function_repr_in_exception"> + + </a> + <a name="test_assertRaises_function_repr_in_exception"> + + </a> + <div class="functionHeader"> + + def + test_assertRaises_function_repr_in_exception(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.assertFails"> + + </a> + <a name="assertFails"> + + </a> + <div class="functionHeader"> + + def + assertFails(self, message, function, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div>Assert that function raises a failure with the given message.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertIn_success"> + + </a> + <a name="test_assertIn_success"> + + </a> + <div class="functionHeader"> + + def + test_assertIn_success(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertIn_failure"> + + </a> + <a name="test_assertIn_failure"> + + </a> + <div class="functionHeader"> + + def + test_assertIn_failure(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertIn_failure_with_message"> + + </a> + <a name="test_assertIn_failure_with_message"> + + </a> + <div class="functionHeader"> + + def + test_assertIn_failure_with_message(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertNotIn_success"> + + </a> + <a name="test_assertNotIn_success"> + + </a> + <div class="functionHeader"> + + def + test_assertNotIn_success(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertNotIn_failure"> + + </a> + <a name="test_assertNotIn_failure"> + + </a> + <div class="functionHeader"> + + def + test_assertNotIn_failure(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertNotIn_failure_with_message"> + + </a> + <a name="test_assertNotIn_failure_with_message"> + + </a> + <div class="functionHeader"> + + def + test_assertNotIn_failure_with_message(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertIsInstance"> + + </a> + <a name="test_assertIsInstance"> + + </a> + <div class="functionHeader"> + + def + test_assertIsInstance(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertIsInstance_multiple_classes"> + + </a> + <a name="test_assertIsInstance_multiple_classes"> + + </a> + <div class="functionHeader"> + + def + test_assertIsInstance_multiple_classes(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertIsInstance_failure"> + + </a> + <a name="test_assertIsInstance_failure"> + + </a> + <div class="functionHeader"> + + def + test_assertIsInstance_failure(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertIsInstance_failure_multiple_classes"> + + </a> + <a name="test_assertIsInstance_failure_multiple_classes"> + + </a> + <div class="functionHeader"> + + def + test_assertIsInstance_failure_multiple_classes(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertIsInstance_overridden_message"> + + </a> + <a name="test_assertIsInstance_overridden_message"> + + </a> + <div class="functionHeader"> + + def + test_assertIsInstance_overridden_message(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertIs"> + + </a> + <a name="test_assertIs"> + + </a> + <div class="functionHeader"> + + def + test_assertIs(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertIs_fails"> + + </a> + <a name="test_assertIs_fails"> + + </a> + <div class="functionHeader"> + + def + test_assertIs_fails(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertIs_fails_with_message"> + + </a> + <a name="test_assertIs_fails_with_message"> + + </a> + <div class="functionHeader"> + + def + test_assertIs_fails_with_message(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertIsNot"> + + </a> + <a name="test_assertIsNot"> + + </a> + <div class="functionHeader"> + + def + test_assertIsNot(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertIsNot_fails"> + + </a> + <a name="test_assertIsNot_fails"> + + </a> + <div class="functionHeader"> + + def + test_assertIsNot_fails(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertIsNot_fails_with_message"> + + </a> + <a name="test_assertIsNot_fails_with_message"> + + </a> + <div class="functionHeader"> + + def + test_assertIsNot_fails_with_message(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertThat_matches_clean"> + + </a> + <a name="test_assertThat_matches_clean"> + + </a> + <div class="functionHeader"> + + def + test_assertThat_matches_clean(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertThat_mismatch_raises_description"> + + </a> + <a name="test_assertThat_mismatch_raises_description"> + + </a> + <div class="functionHeader"> + + def + test_assertThat_mismatch_raises_description(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertThat_output"> + + </a> + <a name="test_assertThat_output"> + + </a> + <div class="functionHeader"> + + def + test_assertThat_output(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertThat_message_is_annotated"> + + </a> + <a name="test_assertThat_message_is_annotated"> + + </a> + <div class="functionHeader"> + + def + test_assertThat_message_is_annotated(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertThat_verbose_output"> + + </a> + <a name="test_assertThat_verbose_output"> + + </a> + <div class="functionHeader"> + + def + test_assertThat_verbose_output(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_expectThat_matches_clean"> + + </a> + <a name="test_expectThat_matches_clean"> + + </a> + <div class="functionHeader"> + + def + test_expectThat_matches_clean(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_expectThat_mismatch_fails_test"> + + </a> + <a name="test_expectThat_mismatch_fails_test"> + + </a> + <div class="functionHeader"> + + def + test_expectThat_mismatch_fails_test(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_expectThat_does_not_exit_test"> + + </a> + <a name="test_expectThat_does_not_exit_test"> + + </a> + <div class="functionHeader"> + + def + test_expectThat_does_not_exit_test(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_expectThat_adds_detail"> + + </a> + <a name="test_expectThat_adds_detail"> + + </a> + <div class="functionHeader"> + + def + test_expectThat_adds_detail(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test__force_failure_fails_test"> + + </a> + <a name="test__force_failure_fails_test"> + + </a> + <div class="functionHeader"> + + def + test__force_failure_fails_test(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.get_error_string"> + + </a> + <a name="get_error_string"> + + </a> + <div class="functionHeader"> + + def + get_error_string(self, e): + + </div> + <div class="docstring functionBody"> + + <div><p>Get the string showing how 'e' would be formatted in test output.</p> +<p>This is a little bit hacky, since it's designed to give consistent +output regardless of Python version.</p> +<p>In testtools, TestResult._exc_info_to_unicode is the point of dispatch +between various different implementations of methods that format +exceptions, so that's what we have to call. However, that method cares +about stack traces and formats the exception class. We don't care +about either of these, so we take its output and parse it a little.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertThat_verbose_unicode"> + + </a> + <a name="test_assertThat_verbose_unicode"> + + </a> + <div class="functionHeader"> + + def + test_assertThat_verbose_unicode(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertEqual_nice_formatting"> + + </a> + <a name="test_assertEqual_nice_formatting"> + + </a> + <div class="functionHeader"> + + def + test_assertEqual_nice_formatting(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertEqual_formatting_no_message"> + + </a> + <a name="test_assertEqual_formatting_no_message"> + + </a> + <div class="functionHeader"> + + def + test_assertEqual_formatting_no_message(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertEqual_non_ascii_str_with_newlines"> + + </a> + <a name="test_assertEqual_non_ascii_str_with_newlines"> + + </a> + <div class="functionHeader"> + + def + test_assertEqual_non_ascii_str_with_newlines(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertIsNone"> + + </a> + <a name="test_assertIsNone"> + + </a> + <div class="functionHeader"> + + def + test_assertIsNone(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_assertIsNotNone"> + + </a> + <a name="test_assertIsNotNone"> + + </a> + <div class="functionHeader"> + + def + test_assertIsNotNone(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAssertions.test_fail_preserves_traceback_detail"> + + </a> + <a name="test_fail_preserves_traceback_detail"> + + </a> + <div class="functionHeader"> + + def + test_fail_preserves_traceback_detail(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestAttributes.html b/apidocs/testtools.tests.test_testcase.TestAttributes.html new file mode 100644 index 0000000..2634024 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestAttributes.html @@ -0,0 +1,379 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testcase.TestAttributes : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testcase.TestAttributes(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testcase.html" class="code">test_testcase</a></code> + + <a href="classIndex.html#testtools.tests.test_testcase.TestAttributes">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id608"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAttributes.html#test_simple_attr" class="code">test_simple_attr</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAttributes.html#test_multiple_attributes" class="code">test_multiple_attributes</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestAttributes.html#test_multiple_attr_decorators" class="code">test_multiple_attr_decorators</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id609"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testcase.TestAttributes.test_simple_attr"> + + </a> + <a name="test_simple_attr"> + + </a> + <div class="functionHeader"> + + def + test_simple_attr(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAttributes.test_multiple_attributes"> + + </a> + <a name="test_multiple_attributes"> + + </a> + <div class="functionHeader"> + + def + test_multiple_attributes(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestAttributes.test_multiple_attr_decorators"> + + </a> + <a name="test_multiple_attr_decorators"> + + </a> + <div class="functionHeader"> + + def + test_multiple_attr_decorators(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestCloneTestWithNewId.html b/apidocs/testtools.tests.test_testcase.TestCloneTestWithNewId.html new file mode 100644 index 0000000..3b3b335 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestCloneTestWithNewId.html @@ -0,0 +1,357 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testcase.TestCloneTestWithNewId : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testcase.TestCloneTestWithNewId(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testcase.html" class="code">test_testcase</a></code> + + <a href="classIndex.html#testtools.tests.test_testcase.TestCloneTestWithNewId">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests for clone_test_with_new_id.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id586"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestCloneTestWithNewId.html#test_clone_test_with_new_id" class="code">test_clone_test_with_new_id</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestCloneTestWithNewId.html#test_cloned_testcase_does_not_share_details" class="code">test_cloned_testcase_does_not_share_details</a></td> + <td><span>A cloned TestCase does not share the details dict.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id587"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testcase.TestCloneTestWithNewId.test_clone_test_with_new_id"> + + </a> + <a name="test_clone_test_with_new_id"> + + </a> + <div class="functionHeader"> + + def + test_clone_test_with_new_id(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestCloneTestWithNewId.test_cloned_testcase_does_not_share_details"> + + </a> + <a name="test_cloned_testcase_does_not_share_details"> + + </a> + <div class="functionHeader"> + + def + test_cloned_testcase_does_not_share_details(self): + + </div> + <div class="docstring functionBody"> + + <div>A cloned TestCase does not share the details dict.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestDecorateTestCaseResult.html b/apidocs/testtools.tests.test_testcase.TestDecorateTestCaseResult.html new file mode 100644 index 0000000..f4a26b9 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestDecorateTestCaseResult.html @@ -0,0 +1,440 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testcase.TestDecorateTestCaseResult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testcase.TestDecorateTestCaseResult(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testcase.html" class="code">test_testcase</a></code> + + <a href="classIndex.html#testtools.tests.test_testcase.TestDecorateTestCaseResult">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id610"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html#make_result" class="code">make_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html#test___call__" class="code">test___call__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html#test_run" class="code">test_run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html#test_before_after_hooks" class="code">test_before_after_hooks</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html#test_other_attribute" class="code">test_other_attribute</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id611"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testcase.TestDecorateTestCaseResult.setUp"> + + </a> + <a name="setUp"> + + </a> + <div class="functionHeader"> + + def + setUp(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testcase.TestCase.html#setUp" class="code">testtools.testcase.TestCase.setUp</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestDecorateTestCaseResult.make_result"> + + </a> + <a name="make_result"> + + </a> + <div class="functionHeader"> + + def + make_result(self, result): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestDecorateTestCaseResult.test___call__"> + + </a> + <a name="test___call__"> + + </a> + <div class="functionHeader"> + + def + test___call__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestDecorateTestCaseResult.test_run"> + + </a> + <a name="test_run"> + + </a> + <div class="functionHeader"> + + def + test_run(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestDecorateTestCaseResult.test_before_after_hooks"> + + </a> + <a name="test_before_after_hooks"> + + </a> + <div class="functionHeader"> + + def + test_before_after_hooks(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestDecorateTestCaseResult.test_other_attribute"> + + </a> + <a name="test_other_attribute"> + + </a> + <div class="functionHeader"> + + def + test_other_attribute(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestDetailsProvided.html b/apidocs/testtools.tests.test_testcase.TestDetailsProvided.html new file mode 100644 index 0000000..ac43132 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestDetailsProvided.html @@ -0,0 +1,781 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testcase.TestDetailsProvided : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testcase.TestDetailsProvided(<a href="testtools.tests.test_testcase.TestWithDetails.html" class="code">TestWithDetails</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testcase.html" class="code">test_testcase</a></code> + + <a href="classIndex.html#testtools.tests.test_testcase.TestDetailsProvided">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id588"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addDetail" class="code">test_addDetail</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addError" class="code">test_addError</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addFailure" class="code">test_addFailure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addSkip" class="code">test_addSkip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addSucccess" class="code">test_addSucccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addUnexpectedSuccess" class="code">test_addUnexpectedSuccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addDetails_from_Mismatch" class="code">test_addDetails_from_Mismatch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_multiple_addDetails_from_Mismatch" class="code">test_multiple_addDetails_from_Mismatch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addDetails_with_same_name_as_key_from_get_details" class="code">test_addDetails_with_same_name_as_key_from_get_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addDetailUniqueName_works" class="code">test_addDetailUniqueName_works</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testcase.TestWithDetails.html" class="code">TestWithDetails</a>): + </p> + <table class="children sortable" id="id590"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testcase.TestWithDetails.html" class="code">TestWithDetails</a>): + </p> + <table class="children sortable" id="id590"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testcase.TestDetailsProvided.test_addDetail"> + + </a> + <a name="test_addDetail"> + + </a> + <div class="functionHeader"> + + def + test_addDetail(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestDetailsProvided.test_addError"> + + </a> + <a name="test_addError"> + + </a> + <div class="functionHeader"> + + def + test_addError(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestDetailsProvided.test_addFailure"> + + </a> + <a name="test_addFailure"> + + </a> + <div class="functionHeader"> + + def + test_addFailure(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestDetailsProvided.test_addSkip"> + + </a> + <a name="test_addSkip"> + + </a> + <div class="functionHeader"> + + def + test_addSkip(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestDetailsProvided.test_addSucccess"> + + </a> + <a name="test_addSucccess"> + + </a> + <div class="functionHeader"> + + def + test_addSucccess(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestDetailsProvided.test_addUnexpectedSuccess"> + + </a> + <a name="test_addUnexpectedSuccess"> + + </a> + <div class="functionHeader"> + + def + test_addUnexpectedSuccess(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestDetailsProvided.test_addDetails_from_Mismatch"> + + </a> + <a name="test_addDetails_from_Mismatch"> + + </a> + <div class="functionHeader"> + + def + test_addDetails_from_Mismatch(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestDetailsProvided.test_multiple_addDetails_from_Mismatch"> + + </a> + <a name="test_multiple_addDetails_from_Mismatch"> + + </a> + <div class="functionHeader"> + + def + test_multiple_addDetails_from_Mismatch(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestDetailsProvided.test_addDetails_with_same_name_as_key_from_get_details"> + + </a> + <a name="test_addDetails_with_same_name_as_key_from_get_details"> + + </a> + <div class="functionHeader"> + + def + test_addDetails_with_same_name_as_key_from_get_details(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestDetailsProvided.test_addDetailUniqueName_works"> + + </a> + <a name="test_addDetailUniqueName_works"> + + </a> + <div class="functionHeader"> + + def + test_addDetailUniqueName_works(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestEquality.html b/apidocs/testtools.tests.test_testcase.TestEquality.html new file mode 100644 index 0000000..ff67d4e --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestEquality.html @@ -0,0 +1,357 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testcase.TestEquality : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testcase.TestEquality(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testcase.html" class="code">test_testcase</a></code> + + <a href="classIndex.html#testtools.tests.test_testcase.TestEquality">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Test <tt class="rst-docutils literal">TestCase</tt>'s equality implementation.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id569"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestEquality.html#test_identicalIsEqual" class="code">test_identicalIsEqual</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestEquality.html#test_nonIdenticalInUnequal" class="code">test_nonIdenticalInUnequal</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id570"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testcase.TestEquality.test_identicalIsEqual"> + + </a> + <a name="test_identicalIsEqual"> + + </a> + <div class="functionHeader"> + + def + test_identicalIsEqual(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestEquality.test_nonIdenticalInUnequal"> + + </a> + <a name="test_nonIdenticalInUnequal"> + + </a> + <div class="functionHeader"> + + def + test_nonIdenticalInUnequal(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestErrorHolder.html b/apidocs/testtools.tests.test_testcase.TestErrorHolder.html new file mode 100644 index 0000000..209a01a --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestErrorHolder.html @@ -0,0 +1,555 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testcase.TestErrorHolder : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testcase.TestErrorHolder(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testcase.html" class="code">test_testcase</a></code> + + <a href="classIndex.html#testtools.tests.test_testcase.TestErrorHolder">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id567"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestErrorHolder.html#makeException" class="code">makeException</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestErrorHolder.html#makePlaceHolder" class="code">makePlaceHolder</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestErrorHolder.html#test_id_comes_from_constructor" class="code">test_id_comes_from_constructor</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestErrorHolder.html#test_shortDescription_is_id" class="code">test_shortDescription_is_id</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestErrorHolder.html#test_shortDescription_specified" class="code">test_shortDescription_specified</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestErrorHolder.html#test_counts_as_one_test" class="code">test_counts_as_one_test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestErrorHolder.html#test_str_is_id" class="code">test_str_is_id</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestErrorHolder.html#test_runs_as_error" class="code">test_runs_as_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestErrorHolder.html#test_call_is_run" class="code">test_call_is_run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestErrorHolder.html#test_runs_without_result" class="code">test_runs_without_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestErrorHolder.html#test_debug" class="code">test_debug</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id568"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testcase.TestErrorHolder.makeException"> + + </a> + <a name="makeException"> + + </a> + <div class="functionHeader"> + + def + makeException(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestErrorHolder.makePlaceHolder"> + + </a> + <a name="makePlaceHolder"> + + </a> + <div class="functionHeader"> + + def + makePlaceHolder(self, test_id='foo', error=None, short_description=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestErrorHolder.test_id_comes_from_constructor"> + + </a> + <a name="test_id_comes_from_constructor"> + + </a> + <div class="functionHeader"> + + def + test_id_comes_from_constructor(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestErrorHolder.test_shortDescription_is_id"> + + </a> + <a name="test_shortDescription_is_id"> + + </a> + <div class="functionHeader"> + + def + test_shortDescription_is_id(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestErrorHolder.test_shortDescription_specified"> + + </a> + <a name="test_shortDescription_specified"> + + </a> + <div class="functionHeader"> + + def + test_shortDescription_specified(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestErrorHolder.test_counts_as_one_test"> + + </a> + <a name="test_counts_as_one_test"> + + </a> + <div class="functionHeader"> + + def + test_counts_as_one_test(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestErrorHolder.test_str_is_id"> + + </a> + <a name="test_str_is_id"> + + </a> + <div class="functionHeader"> + + def + test_str_is_id(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestErrorHolder.test_runs_as_error"> + + </a> + <a name="test_runs_as_error"> + + </a> + <div class="functionHeader"> + + def + test_runs_as_error(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestErrorHolder.test_call_is_run"> + + </a> + <a name="test_call_is_run"> + + </a> + <div class="functionHeader"> + + def + test_call_is_run(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestErrorHolder.test_runs_without_result"> + + </a> + <a name="test_runs_without_result"> + + </a> + <div class="functionHeader"> + + def + test_runs_without_result(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestErrorHolder.test_debug"> + + </a> + <a name="test_debug"> + + </a> + <div class="functionHeader"> + + def + test_debug(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestExpectedFailure.html b/apidocs/testtools.tests.test_testcase.TestExpectedFailure.html new file mode 100644 index 0000000..f388c69 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestExpectedFailure.html @@ -0,0 +1,759 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testcase.TestExpectedFailure : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testcase.TestExpectedFailure(<a href="testtools.tests.test_testcase.TestWithDetails.html" class="code">TestWithDetails</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testcase.html" class="code">test_testcase</a></code> + + <a href="classIndex.html#testtools.tests.test_testcase.TestExpectedFailure">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests for expected failures and unexpected successess.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id581"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestExpectedFailure.html#make_unexpected_case" class="code">make_unexpected_case</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestExpectedFailure.html#test_raising__UnexpectedSuccess_py27" class="code">test_raising__UnexpectedSuccess_py27</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestExpectedFailure.html#test_raising__UnexpectedSuccess_extended" class="code">test_raising__UnexpectedSuccess_extended</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestExpectedFailure.html#make_xfail_case_xfails" class="code">make_xfail_case_xfails</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestExpectedFailure.html#make_xfail_case_succeeds" class="code">make_xfail_case_succeeds</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestExpectedFailure.html#test_expectFailure_KnownFailure_extended" class="code">test_expectFailure_KnownFailure_extended</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestExpectedFailure.html#test_expectFailure_KnownFailure_unexpected_success" class="code">test_expectFailure_KnownFailure_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestExpectedFailure.html#test_unittest_expectedFailure_decorator_works_with_failure" class="code">test_unittest_expectedFailure_decorator_works_with_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestExpectedFailure.html#test_unittest_expectedFailure_decorator_works_with_success" class="code">test_unittest_expectedFailure_decorator_works_with_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testcase.TestWithDetails.html" class="code">TestWithDetails</a>): + </p> + <table class="children sortable" id="id583"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testcase.TestWithDetails.html" class="code">TestWithDetails</a>): + </p> + <table class="children sortable" id="id583"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testcase.TestExpectedFailure.make_unexpected_case"> + + </a> + <a name="make_unexpected_case"> + + </a> + <div class="functionHeader"> + + def + make_unexpected_case(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestExpectedFailure.test_raising__UnexpectedSuccess_py27"> + + </a> + <a name="test_raising__UnexpectedSuccess_py27"> + + </a> + <div class="functionHeader"> + + def + test_raising__UnexpectedSuccess_py27(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestExpectedFailure.test_raising__UnexpectedSuccess_extended"> + + </a> + <a name="test_raising__UnexpectedSuccess_extended"> + + </a> + <div class="functionHeader"> + + def + test_raising__UnexpectedSuccess_extended(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestExpectedFailure.make_xfail_case_xfails"> + + </a> + <a name="make_xfail_case_xfails"> + + </a> + <div class="functionHeader"> + + def + make_xfail_case_xfails(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestExpectedFailure.make_xfail_case_succeeds"> + + </a> + <a name="make_xfail_case_succeeds"> + + </a> + <div class="functionHeader"> + + def + make_xfail_case_succeeds(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestExpectedFailure.test_expectFailure_KnownFailure_extended"> + + </a> + <a name="test_expectFailure_KnownFailure_extended"> + + </a> + <div class="functionHeader"> + + def + test_expectFailure_KnownFailure_extended(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestExpectedFailure.test_expectFailure_KnownFailure_unexpected_success"> + + </a> + <a name="test_expectFailure_KnownFailure_unexpected_success"> + + </a> + <div class="functionHeader"> + + def + test_expectFailure_KnownFailure_unexpected_success(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestExpectedFailure.test_unittest_expectedFailure_decorator_works_with_failure"> + + </a> + <a name="test_unittest_expectedFailure_decorator_works_with_failure"> + + </a> + <div class="functionHeader"> + @skipIf(hasattr(unittest, 'expectedFailure'), 'Need py27+')<br /> + def + test_unittest_expectedFailure_decorator_works_with_failure(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestExpectedFailure.test_unittest_expectedFailure_decorator_works_with_success"> + + </a> + <a name="test_unittest_expectedFailure_decorator_works_with_success"> + + </a> + <div class="functionHeader"> + @skipIf(hasattr(unittest, 'expectedFailure'), 'Need py27+')<br /> + def + test_unittest_expectedFailure_decorator_works_with_success(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestNullary.html b/apidocs/testtools.tests.test_testcase.TestNullary.html new file mode 100644 index 0000000..5a30150 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestNullary.html @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testcase.TestNullary : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testcase.TestNullary(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testcase.html" class="code">test_testcase</a></code> + + <a href="classIndex.html#testtools.tests.test_testcase.TestNullary">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id603"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestNullary.html#test_repr" class="code">test_repr</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestNullary.html#test_called_with_arguments" class="code">test_called_with_arguments</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestNullary.html#test_returns_wrapped" class="code">test_returns_wrapped</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestNullary.html#test_raises" class="code">test_raises</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id604"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testcase.TestNullary.test_repr"> + + </a> + <a name="test_repr"> + + </a> + <div class="functionHeader"> + + def + test_repr(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestNullary.test_called_with_arguments"> + + </a> + <a name="test_called_with_arguments"> + + </a> + <div class="functionHeader"> + + def + test_called_with_arguments(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestNullary.test_returns_wrapped"> + + </a> + <a name="test_returns_wrapped"> + + </a> + <div class="functionHeader"> + + def + test_returns_wrapped(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestNullary.test_raises"> + + </a> + <a name="test_raises"> + + </a> + <div class="functionHeader"> + + def + test_raises(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestOnException.html b/apidocs/testtools.tests.test_testcase.TestOnException.html new file mode 100644 index 0000000..0908746 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestOnException.html @@ -0,0 +1,379 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testcase.TestOnException : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testcase.TestOnException(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testcase.html" class="code">test_testcase</a></code> + + <a href="classIndex.html#testtools.tests.test_testcase.TestOnException">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id595"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestOnException.html#test_default_works" class="code">test_default_works</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestOnException.html#test_added_handler_works" class="code">test_added_handler_works</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestOnException.html#test_handler_that_raises_is_not_caught" class="code">test_handler_that_raises_is_not_caught</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id596"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testcase.TestOnException.test_default_works"> + + </a> + <a name="test_default_works"> + + </a> + <div class="functionHeader"> + + def + test_default_works(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestOnException.test_added_handler_works"> + + </a> + <a name="test_added_handler_works"> + + </a> + <div class="functionHeader"> + + def + test_added_handler_works(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestOnException.test_handler_that_raises_is_not_caught"> + + </a> + <a name="test_handler_that_raises_is_not_caught"> + + </a> + <div class="functionHeader"> + + def + test_handler_that_raises_is_not_caught(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestPatchSupport.Case.html b/apidocs/testtools.tests.test_testcase.TestPatchSupport.Case.html new file mode 100644 index 0000000..5fe02fe --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestPatchSupport.Case.html @@ -0,0 +1,335 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testcase.TestPatchSupport.Case : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testcase.TestPatchSupport.Case(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testcase.html" class="code">test_testcase</a>.<a href="testtools.tests.test_testcase.TestPatchSupport.html" class="code">TestPatchSupport</a></code> + + <a href="classIndex.html#testtools.tests.test_testcase.TestPatchSupport.Case">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id599"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestPatchSupport.Case.html#test" class="code">test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id600"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testcase.TestPatchSupport.Case.test"> + + </a> + <a name="test"> + + </a> + <div class="functionHeader"> + + def + test(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestPatchSupport.html b/apidocs/testtools.tests.test_testcase.TestPatchSupport.html new file mode 100644 index 0000000..278b3b6 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestPatchSupport.html @@ -0,0 +1,450 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testcase.TestPatchSupport : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testcase.TestPatchSupport(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testcase.html" class="code">test_testcase</a></code> + + <a href="classIndex.html#testtools.tests.test_testcase.TestPatchSupport">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id597"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testcase.TestPatchSupport.Case.html" class="code">Case</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestPatchSupport.html#test_patch" class="code">test_patch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestPatchSupport.html#test_patch_restored_after_run" class="code">test_patch_restored_after_run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestPatchSupport.html#test_successive_patches_apply" class="code">test_successive_patches_apply</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestPatchSupport.html#test_successive_patches_restored_after_run" class="code">test_successive_patches_restored_after_run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestPatchSupport.html#test_patch_nonexistent_attribute" class="code">test_patch_nonexistent_attribute</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestPatchSupport.html#test_restore_nonexistent_attribute" class="code">test_restore_nonexistent_attribute</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id598"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testcase.TestPatchSupport.test_patch"> + + </a> + <a name="test_patch"> + + </a> + <div class="functionHeader"> + + def + test_patch(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestPatchSupport.test_patch_restored_after_run"> + + </a> + <a name="test_patch_restored_after_run"> + + </a> + <div class="functionHeader"> + + def + test_patch_restored_after_run(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestPatchSupport.test_successive_patches_apply"> + + </a> + <a name="test_successive_patches_apply"> + + </a> + <div class="functionHeader"> + + def + test_successive_patches_apply(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestPatchSupport.test_successive_patches_restored_after_run"> + + </a> + <a name="test_successive_patches_restored_after_run"> + + </a> + <div class="functionHeader"> + + def + test_successive_patches_restored_after_run(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestPatchSupport.test_patch_nonexistent_attribute"> + + </a> + <a name="test_patch_nonexistent_attribute"> + + </a> + <div class="functionHeader"> + + def + test_patch_nonexistent_attribute(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestPatchSupport.test_restore_nonexistent_attribute"> + + </a> + <a name="test_restore_nonexistent_attribute"> + + </a> + <div class="functionHeader"> + + def + test_restore_nonexistent_attribute(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestPlaceHolder.html b/apidocs/testtools.tests.test_testcase.TestPlaceHolder.html new file mode 100644 index 0000000..5da6d65 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestPlaceHolder.html @@ -0,0 +1,665 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testcase.TestPlaceHolder : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testcase.TestPlaceHolder(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testcase.html" class="code">test_testcase</a></code> + + <a href="classIndex.html#testtools.tests.test_testcase.TestPlaceHolder">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id565"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestPlaceHolder.html#makePlaceHolder" class="code">makePlaceHolder</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_id_comes_from_constructor" class="code">test_id_comes_from_constructor</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_shortDescription_is_id" class="code">test_shortDescription_is_id</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_shortDescription_specified" class="code">test_shortDescription_specified</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_repr_just_id" class="code">test_repr_just_id</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_repr_with_description" class="code">test_repr_with_description</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_repr_custom_outcome" class="code">test_repr_custom_outcome</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_counts_as_one_test" class="code">test_counts_as_one_test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_str_is_id" class="code">test_str_is_id</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_runs_as_success" class="code">test_runs_as_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_supplies_details" class="code">test_supplies_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_supplies_timestamps" class="code">test_supplies_timestamps</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_call_is_run" class="code">test_call_is_run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_runs_without_result" class="code">test_runs_without_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_debug" class="code">test_debug</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_supports_tags" class="code">test_supports_tags</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id566"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testcase.TestPlaceHolder.makePlaceHolder"> + + </a> + <a name="makePlaceHolder"> + + </a> + <div class="functionHeader"> + + def + makePlaceHolder(self, test_id='foo', short_description=None): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestPlaceHolder.test_id_comes_from_constructor"> + + </a> + <a name="test_id_comes_from_constructor"> + + </a> + <div class="functionHeader"> + + def + test_id_comes_from_constructor(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestPlaceHolder.test_shortDescription_is_id"> + + </a> + <a name="test_shortDescription_is_id"> + + </a> + <div class="functionHeader"> + + def + test_shortDescription_is_id(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestPlaceHolder.test_shortDescription_specified"> + + </a> + <a name="test_shortDescription_specified"> + + </a> + <div class="functionHeader"> + + def + test_shortDescription_specified(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestPlaceHolder.test_repr_just_id"> + + </a> + <a name="test_repr_just_id"> + + </a> + <div class="functionHeader"> + + def + test_repr_just_id(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestPlaceHolder.test_repr_with_description"> + + </a> + <a name="test_repr_with_description"> + + </a> + <div class="functionHeader"> + + def + test_repr_with_description(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestPlaceHolder.test_repr_custom_outcome"> + + </a> + <a name="test_repr_custom_outcome"> + + </a> + <div class="functionHeader"> + + def + test_repr_custom_outcome(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestPlaceHolder.test_counts_as_one_test"> + + </a> + <a name="test_counts_as_one_test"> + + </a> + <div class="functionHeader"> + + def + test_counts_as_one_test(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestPlaceHolder.test_str_is_id"> + + </a> + <a name="test_str_is_id"> + + </a> + <div class="functionHeader"> + + def + test_str_is_id(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestPlaceHolder.test_runs_as_success"> + + </a> + <a name="test_runs_as_success"> + + </a> + <div class="functionHeader"> + + def + test_runs_as_success(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestPlaceHolder.test_supplies_details"> + + </a> + <a name="test_supplies_details"> + + </a> + <div class="functionHeader"> + + def + test_supplies_details(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestPlaceHolder.test_supplies_timestamps"> + + </a> + <a name="test_supplies_timestamps"> + + </a> + <div class="functionHeader"> + + def + test_supplies_timestamps(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestPlaceHolder.test_call_is_run"> + + </a> + <a name="test_call_is_run"> + + </a> + <div class="functionHeader"> + + def + test_call_is_run(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestPlaceHolder.test_runs_without_result"> + + </a> + <a name="test_runs_without_result"> + + </a> + <div class="functionHeader"> + + def + test_runs_without_result(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestPlaceHolder.test_debug"> + + </a> + <a name="test_debug"> + + </a> + <div class="functionHeader"> + + def + test_debug(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestPlaceHolder.test_supports_tags"> + + </a> + <a name="test_supports_tags"> + + </a> + <div class="functionHeader"> + + def + test_supports_tags(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestRunTestUsage.html b/apidocs/testtools.tests.test_testcase.TestRunTestUsage.html new file mode 100644 index 0000000..3695df3 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestRunTestUsage.html @@ -0,0 +1,335 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testcase.TestRunTestUsage : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testcase.TestRunTestUsage(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testcase.html" class="code">test_testcase</a></code> + + <a href="classIndex.html#testtools.tests.test_testcase.TestRunTestUsage">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id577"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestRunTestUsage.html#test_last_resort_in_place" class="code">test_last_resort_in_place</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id578"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testcase.TestRunTestUsage.test_last_resort_in_place"> + + </a> + <a name="test_last_resort_in_place"> + + </a> + <div class="functionHeader"> + + def + test_last_resort_in_place(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestSetupTearDown.html b/apidocs/testtools.tests.test_testcase.TestSetupTearDown.html new file mode 100644 index 0000000..038434d --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestSetupTearDown.html @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testcase.TestSetupTearDown : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testcase.TestSetupTearDown(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testcase.html" class="code">test_testcase</a></code> + + <a href="classIndex.html#testtools.tests.test_testcase.TestSetupTearDown">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id591"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestSetupTearDown.html#test_setUpCalledTwice" class="code">test_setUpCalledTwice</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestSetupTearDown.html#test_setUpNotCalled" class="code">test_setUpNotCalled</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestSetupTearDown.html#test_tearDownCalledTwice" class="code">test_tearDownCalledTwice</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestSetupTearDown.html#test_tearDownNotCalled" class="code">test_tearDownNotCalled</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id592"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testcase.TestSetupTearDown.test_setUpCalledTwice"> + + </a> + <a name="test_setUpCalledTwice"> + + </a> + <div class="functionHeader"> + + def + test_setUpCalledTwice(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestSetupTearDown.test_setUpNotCalled"> + + </a> + <a name="test_setUpNotCalled"> + + </a> + <div class="functionHeader"> + + def + test_setUpNotCalled(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestSetupTearDown.test_tearDownCalledTwice"> + + </a> + <a name="test_tearDownCalledTwice"> + + </a> + <div class="functionHeader"> + + def + test_tearDownCalledTwice(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestSetupTearDown.test_tearDownNotCalled"> + + </a> + <a name="test_tearDownNotCalled"> + + </a> + <div class="functionHeader"> + + def + test_tearDownNotCalled(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestSkipping.html b/apidocs/testtools.tests.test_testcase.TestSkipping.html new file mode 100644 index 0000000..1f326bd --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestSkipping.html @@ -0,0 +1,687 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testcase.TestSkipping : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testcase.TestSkipping(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testcase.html" class="code">test_testcase</a></code> + + <a href="classIndex.html#testtools.tests.test_testcase.TestSkipping">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests for skipping of tests functionality.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id593"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestSkipping.html#test_skip_causes_skipException" class="code">test_skip_causes_skipException</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestSkipping.html#test_can_use_skipTest" class="code">test_can_use_skipTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestSkipping.html#test_skip_without_reason_works" class="code">test_skip_without_reason_works</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestSkipping.html#test_skipException_in_setup_calls_result_addSkip" class="code">test_skipException_in_setup_calls_result_addSkip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestSkipping.html#test_skipException_in_test_method_calls_result_addSkip" class="code">test_skipException_in_test_method_calls_result_addSkip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestSkipping.html#test_skip__in_setup_with_old_result_object_calls_addSuccess" class="code">test_skip__in_setup_with_old_result_object_calls_addSuccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestSkipping.html#test_skip_with_old_result_object_calls_addError" class="code">test_skip_with_old_result_object_calls_addError</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestSkipping.html#test_skip_decorator" class="code">test_skip_decorator</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestSkipping.html#test_skipIf_decorator" class="code">test_skipIf_decorator</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestSkipping.html#test_skipUnless_decorator" class="code">test_skipUnless_decorator</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestSkipping.html#check_skip_decorator_does_not_run_setup" class="code">check_skip_decorator_does_not_run_setup</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestSkipping.html#test_testtools_skip_decorator_does_not_run_setUp" class="code">test_testtools_skip_decorator_does_not_run_setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestSkipping.html#test_testtools_skipIf_decorator_does_not_run_setUp" class="code">test_testtools_skipIf_decorator_does_not_run_setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestSkipping.html#test_testtools_skipUnless_decorator_does_not_run_setUp" class="code">test_testtools_skipUnless_decorator_does_not_run_setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestSkipping.html#test_unittest_skip_decorator_does_not_run_setUp" class="code">test_unittest_skip_decorator_does_not_run_setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestSkipping.html#test_unittest_skipIf_decorator_does_not_run_setUp" class="code">test_unittest_skipIf_decorator_does_not_run_setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestSkipping.html#test_unittest_skipUnless_decorator_does_not_run_setUp" class="code">test_unittest_skipUnless_decorator_does_not_run_setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id594"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testcase.TestSkipping.test_skip_causes_skipException"> + + </a> + <a name="test_skip_causes_skipException"> + + </a> + <div class="functionHeader"> + + def + test_skip_causes_skipException(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestSkipping.test_can_use_skipTest"> + + </a> + <a name="test_can_use_skipTest"> + + </a> + <div class="functionHeader"> + + def + test_can_use_skipTest(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestSkipping.test_skip_without_reason_works"> + + </a> + <a name="test_skip_without_reason_works"> + + </a> + <div class="functionHeader"> + + def + test_skip_without_reason_works(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestSkipping.test_skipException_in_setup_calls_result_addSkip"> + + </a> + <a name="test_skipException_in_setup_calls_result_addSkip"> + + </a> + <div class="functionHeader"> + + def + test_skipException_in_setup_calls_result_addSkip(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestSkipping.test_skipException_in_test_method_calls_result_addSkip"> + + </a> + <a name="test_skipException_in_test_method_calls_result_addSkip"> + + </a> + <div class="functionHeader"> + + def + test_skipException_in_test_method_calls_result_addSkip(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestSkipping.test_skip__in_setup_with_old_result_object_calls_addSuccess"> + + </a> + <a name="test_skip__in_setup_with_old_result_object_calls_addSuccess"> + + </a> + <div class="functionHeader"> + + def + test_skip__in_setup_with_old_result_object_calls_addSuccess(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestSkipping.test_skip_with_old_result_object_calls_addError"> + + </a> + <a name="test_skip_with_old_result_object_calls_addError"> + + </a> + <div class="functionHeader"> + + def + test_skip_with_old_result_object_calls_addError(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestSkipping.test_skip_decorator"> + + </a> + <a name="test_skip_decorator"> + + </a> + <div class="functionHeader"> + + def + test_skip_decorator(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestSkipping.test_skipIf_decorator"> + + </a> + <a name="test_skipIf_decorator"> + + </a> + <div class="functionHeader"> + + def + test_skipIf_decorator(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestSkipping.test_skipUnless_decorator"> + + </a> + <a name="test_skipUnless_decorator"> + + </a> + <div class="functionHeader"> + + def + test_skipUnless_decorator(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestSkipping.check_skip_decorator_does_not_run_setup"> + + </a> + <a name="check_skip_decorator_does_not_run_setup"> + + </a> + <div class="functionHeader"> + + def + check_skip_decorator_does_not_run_setup(self, decorator, reason): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestSkipping.test_testtools_skip_decorator_does_not_run_setUp"> + + </a> + <a name="test_testtools_skip_decorator_does_not_run_setUp"> + + </a> + <div class="functionHeader"> + + def + test_testtools_skip_decorator_does_not_run_setUp(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestSkipping.test_testtools_skipIf_decorator_does_not_run_setUp"> + + </a> + <a name="test_testtools_skipIf_decorator_does_not_run_setUp"> + + </a> + <div class="functionHeader"> + + def + test_testtools_skipIf_decorator_does_not_run_setUp(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestSkipping.test_testtools_skipUnless_decorator_does_not_run_setUp"> + + </a> + <a name="test_testtools_skipUnless_decorator_does_not_run_setUp"> + + </a> + <div class="functionHeader"> + + def + test_testtools_skipUnless_decorator_does_not_run_setUp(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestSkipping.test_unittest_skip_decorator_does_not_run_setUp"> + + </a> + <a name="test_unittest_skip_decorator_does_not_run_setUp"> + + </a> + <div class="functionHeader"> + @require_py27_minimum<br /> + def + test_unittest_skip_decorator_does_not_run_setUp(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestSkipping.test_unittest_skipIf_decorator_does_not_run_setUp"> + + </a> + <a name="test_unittest_skipIf_decorator_does_not_run_setUp"> + + </a> + <div class="functionHeader"> + @require_py27_minimum<br /> + def + test_unittest_skipIf_decorator_does_not_run_setUp(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestSkipping.test_unittest_skipUnless_decorator_does_not_run_setUp"> + + </a> + <a name="test_unittest_skipUnless_decorator_does_not_run_setUp"> + + </a> + <div class="functionHeader"> + @require_py27_minimum<br /> + def + test_unittest_skipUnless_decorator_does_not_run_setUp(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestTestCaseSuper.html b/apidocs/testtools.tests.test_testcase.TestTestCaseSuper.html new file mode 100644 index 0000000..5c46aac --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestTestCaseSuper.html @@ -0,0 +1,357 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testcase.TestTestCaseSuper : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testcase.TestTestCaseSuper(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testcase.html" class="code">test_testcase</a></code> + + <a href="classIndex.html#testtools.tests.test_testcase.TestTestCaseSuper">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id601"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestTestCaseSuper.html#test_setup_uses_super" class="code">test_setup_uses_super</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestTestCaseSuper.html#test_teardown_uses_super" class="code">test_teardown_uses_super</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id602"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testcase.TestTestCaseSuper.test_setup_uses_super"> + + </a> + <a name="test_setup_uses_super"> + + </a> + <div class="functionHeader"> + + def + test_setup_uses_super(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestTestCaseSuper.test_teardown_uses_super"> + + </a> + <a name="test_teardown_uses_super"> + + </a> + <div class="functionHeader"> + + def + test_teardown_uses_super(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestUniqueFactories.html b/apidocs/testtools.tests.test_testcase.TestUniqueFactories.html new file mode 100644 index 0000000..a48623f --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestUniqueFactories.html @@ -0,0 +1,379 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testcase.TestUniqueFactories : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testcase.TestUniqueFactories(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testcase.html" class="code">test_testcase</a></code> + + <a href="classIndex.html#testtools.tests.test_testcase.TestUniqueFactories">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests for getUniqueString and getUniqueInteger.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id584"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestUniqueFactories.html#test_getUniqueInteger" class="code">test_getUniqueInteger</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestUniqueFactories.html#test_getUniqueString" class="code">test_getUniqueString</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestUniqueFactories.html#test_getUniqueString_prefix" class="code">test_getUniqueString_prefix</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id585"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testcase.TestUniqueFactories.test_getUniqueInteger"> + + </a> + <a name="test_getUniqueInteger"> + + </a> + <div class="functionHeader"> + + def + test_getUniqueInteger(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestUniqueFactories.test_getUniqueString"> + + </a> + <a name="test_getUniqueString"> + + </a> + <div class="functionHeader"> + + def + test_getUniqueString(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestUniqueFactories.test_getUniqueString_prefix"> + + </a> + <a name="test_getUniqueString_prefix"> + + </a> + <div class="functionHeader"> + + def + test_getUniqueString_prefix(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestWithDetails.html b/apidocs/testtools.tests.test_testcase.TestWithDetails.html new file mode 100644 index 0000000..64c7c84 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestWithDetails.html @@ -0,0 +1,357 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testcase.TestWithDetails : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testcase.TestWithDetails(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testcase.html" class="code">test_testcase</a></code> + + <a href="classIndex.html#testtools.tests.test_testcase.TestWithDetails">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.tests.test_testcase.TestDetailsProvided.html" class="code">testtools.tests.test_testcase.TestDetailsProvided</a>, <a href="testtools.tests.test_testcase.TestExpectedFailure.html" class="code">testtools.tests.test_testcase.TestExpectedFailure</a></p> + </div> + + <div class="moduleDocstring"> + <div class="undocumented">No class docstring</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id579"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestWithDetails.html#assertDetailsProvided" class="code">assertDetailsProvided</a></td> + <td><span>Assert that when case is run, details are provided to the result.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testcase.TestWithDetails.html#get_content" class="code">get_content</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id580"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testcase.TestWithDetails.assertDetailsProvided"> + + </a> + <a name="assertDetailsProvided"> + + </a> + <div class="functionHeader"> + + def + assertDetailsProvided(self, case, expected_outcome, expected_keys): + + </div> + <div class="docstring functionBody"> + + <div>Assert that when case is run, details are provided to the result.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">case</td><td>A TestCase to run.</td></tr><tr><td></td><td class="fieldArg">expected_outcome</td><td>The call that should be made.</td></tr><tr><td></td><td class="fieldArg">expected_keys</td><td>The keys to look for.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testcase.TestWithDetails.get_content"> + + </a> + <a name="get_content"> + + </a> + <div class="functionHeader"> + + def + get_content(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.html b/apidocs/testtools.tests.test_testcase.html new file mode 100644 index 0000000..b4efbad --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.html @@ -0,0 +1,187 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testcase : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.test_testcase</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests for extensions to the base test library.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id564"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testcase.TestPlaceHolder.html" class="code">TestPlaceHolder</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testcase.TestErrorHolder.html" class="code">TestErrorHolder</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testcase.TestEquality.html" class="code">TestEquality</a></td> + <td><span>Test <tt class="rst-docutils literal">TestCase</tt>'s equality implementation.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testcase.TestAssertions.html" class="code">TestAssertions</a></td> + <td><span>Test assertions in TestCase.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testcase.TestAddCleanup.html" class="code">TestAddCleanup</a></td> + <td><span>Tests for TestCase.addCleanup.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testcase.TestRunTestUsage.html" class="code">TestRunTestUsage</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testcase.TestWithDetails.html" class="code">TestWithDetails</a></td> + <td><span class="undocumented">No class docstring; 1/2 methods documented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testcase.TestExpectedFailure.html" class="code">TestExpectedFailure</a></td> + <td><span>Tests for expected failures and unexpected successess.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testcase.TestUniqueFactories.html" class="code">TestUniqueFactories</a></td> + <td><span>Tests for getUniqueString and getUniqueInteger.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testcase.TestCloneTestWithNewId.html" class="code">TestCloneTestWithNewId</a></td> + <td><span>Tests for clone_test_with_new_id.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testcase.TestDetailsProvided.html" class="code">TestDetailsProvided</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testcase.TestSetupTearDown.html" class="code">TestSetupTearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testcase.TestSkipping.html" class="code">TestSkipping</a></td> + <td><span>Tests for skipping of tests functionality.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testcase.TestOnException.html" class="code">TestOnException</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testcase.TestPatchSupport.html" class="code">TestPatchSupport</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testcase.TestTestCaseSuper.html" class="code">TestTestCaseSuper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testcase.TestNullary.html" class="code">TestNullary</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testcase.Attributes.html" class="code">Attributes</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testcase.TestAttributes.html" class="code">TestAttributes</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html" class="code">TestDecorateTestCaseResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_testcase.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testcase.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.DetailsContract.html b/apidocs/testtools.tests.test_testresult.DetailsContract.html new file mode 100644 index 0000000..64dc85e --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.DetailsContract.html @@ -0,0 +1,296 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.DetailsContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.DetailsContract(<a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.DetailsContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">testtools.tests.test_testresult.FallbackContract</a>, <a href="testtools.tests.test_testresult.TestAdaptedPython27TestResultContract.html" class="code">testtools.tests.test_testresult.TestAdaptedPython27TestResultContract</a>, <a href="testtools.tests.test_testresult.TestAdaptedStreamResult.html" class="code">testtools.tests.test_testresult.TestAdaptedStreamResult</a>, <a href="testtools.tests.test_testresult.TestStreamToExtendedContract.html" class="code">testtools.tests.test_testresult.TestStreamToExtendedContract</a></p> + </div> + + <div class="moduleDocstring"> + <div>Tests for the details API of TestResults.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id349"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.DetailsContract.html#test_addExpectedFailure_details" class="code">test_addExpectedFailure_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.DetailsContract.html#test_addError_details" class="code">test_addError_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.DetailsContract.html#test_addFailure_details" class="code">test_addFailure_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.DetailsContract.html#test_addSkipped_details" class="code">test_addSkipped_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.DetailsContract.html#test_addUnexpectedSuccess_details" class="code">test_addUnexpectedSuccess_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.DetailsContract.html#test_addSuccess_details" class="code">test_addSuccess_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id352"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id352"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id352"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.DetailsContract.test_addExpectedFailure_details"> + + </a> + <a name="test_addExpectedFailure_details"> + + </a> + <div class="functionHeader"> + + def + test_addExpectedFailure_details(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.DetailsContract.test_addError_details"> + + </a> + <a name="test_addError_details"> + + </a> + <div class="functionHeader"> + + def + test_addError_details(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.DetailsContract.test_addFailure_details"> + + </a> + <a name="test_addFailure_details"> + + </a> + <div class="functionHeader"> + + def + test_addFailure_details(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.DetailsContract.test_addSkipped_details"> + + </a> + <a name="test_addSkipped_details"> + + </a> + <div class="functionHeader"> + + def + test_addSkipped_details(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.DetailsContract.test_addUnexpectedSuccess_details"> + + </a> + <a name="test_addUnexpectedSuccess_details"> + + </a> + <div class="functionHeader"> + + def + test_addUnexpectedSuccess_details(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.DetailsContract.test_addSuccess_details"> + + </a> + <a name="test_addSuccess_details"> + + </a> + <div class="functionHeader"> + + def + test_addSuccess_details(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.FallbackContract.html b/apidocs/testtools.tests.test_testresult.FallbackContract.html new file mode 100644 index 0000000..2ce0dea --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.FallbackContract.html @@ -0,0 +1,220 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.FallbackContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.FallbackContract(<a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.FallbackContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">testtools.tests.test_testresult.StartTestRunContract</a>, <a href="testtools.tests.test_testresult.TestAdaptedPython26TestResultContract.html" class="code">testtools.tests.test_testresult.TestAdaptedPython26TestResultContract</a></p> + </div> + + <div class="moduleDocstring"> + <div><p>When we fallback we take our policy choice to map calls.</p> +<p>For instance, we map unexpectedSuccess to an error code, not to success.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id353"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.FallbackContract.html#test_addUnexpectedSuccess_was_successful" class="code">test_addUnexpectedSuccess_was_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id357"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id357"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id357"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id357"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.FallbackContract.test_addUnexpectedSuccess_was_successful"> + + </a> + <a name="test_addUnexpectedSuccess_was_successful"> + + </a> + <div class="functionHeader"> + + def + test_addUnexpectedSuccess_was_successful(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_testresult.Python27Contract.html#test_addUnexpectedSuccess_was_successful" class="code">testtools.tests.test_testresult.Python27Contract.test_addUnexpectedSuccess_was_successful</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.Python26Contract.html b/apidocs/testtools.tests.test_testresult.Python26Contract.html new file mode 100644 index 0000000..a5b29b4 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.Python26Contract.html @@ -0,0 +1,175 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.Python26Contract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.Python26Contract(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.Python26Contract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">testtools.tests.test_testresult.Python27Contract</a>, <a href="testtools.tests.test_testresult.TestPython26TestResultContract.html" class="code">testtools.tests.test_testresult.TestPython26TestResultContract</a></p> + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id343"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.Python26Contract.test_fresh_result_is_successful"> + + </a> + <a name="test_fresh_result_is_successful"> + + </a> + <div class="functionHeader"> + + def + test_fresh_result_is_successful(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.Python26Contract.test_addError_is_failure"> + + </a> + <a name="test_addError_is_failure"> + + </a> + <div class="functionHeader"> + + def + test_addError_is_failure(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.Python26Contract.test_addFailure_is_failure"> + + </a> + <a name="test_addFailure_is_failure"> + + </a> + <div class="functionHeader"> + + def + test_addFailure_is_failure(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.Python26Contract.test_addSuccess_is_success"> + + </a> + <a name="test_addSuccess_is_success"> + + </a> + <div class="functionHeader"> + + def + test_addSuccess_is_success(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.Python26Contract.test_stop_sets_shouldStop"> + + </a> + <a name="test_stop_sets_shouldStop"> + + </a> + <div class="functionHeader"> + + def + test_stop_sets_shouldStop(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.Python27Contract.html b/apidocs/testtools.tests.test_testresult.Python27Contract.html new file mode 100644 index 0000000..14417cd --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.Python27Contract.html @@ -0,0 +1,274 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.Python27Contract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.Python27Contract(<a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.Python27Contract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.tests.test_testresult.TagsContract.html" class="code">testtools.tests.test_testresult.TagsContract</a>, <a href="testtools.tests.test_testresult.TestPython27TestResultContract.html" class="code">testtools.tests.test_testresult.TestPython27TestResultContract</a></p> + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id344"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python27Contract.html#test_addExpectedFailure" class="code">test_addExpectedFailure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python27Contract.html#test_addExpectedFailure_is_success" class="code">test_addExpectedFailure_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python27Contract.html#test_addSkipped" class="code">test_addSkipped</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python27Contract.html#test_addSkip_is_success" class="code">test_addSkip_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python27Contract.html#test_addUnexpectedSuccess" class="code">test_addUnexpectedSuccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python27Contract.html#test_addUnexpectedSuccess_was_successful" class="code">test_addUnexpectedSuccess_was_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python27Contract.html#test_startStopTestRun" class="code">test_startStopTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python27Contract.html#test_failfast" class="code">test_failfast</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a>: + </p> + <table class="children sortable" id="id345"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.Python27Contract.test_addExpectedFailure"> + + </a> + <a name="test_addExpectedFailure"> + + </a> + <div class="functionHeader"> + + def + test_addExpectedFailure(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.Python27Contract.test_addExpectedFailure_is_success"> + + </a> + <a name="test_addExpectedFailure_is_success"> + + </a> + <div class="functionHeader"> + + def + test_addExpectedFailure_is_success(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.Python27Contract.test_addSkipped"> + + </a> + <a name="test_addSkipped"> + + </a> + <div class="functionHeader"> + + def + test_addSkipped(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.Python27Contract.test_addSkip_is_success"> + + </a> + <a name="test_addSkip_is_success"> + + </a> + <div class="functionHeader"> + + def + test_addSkip_is_success(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.Python27Contract.test_addUnexpectedSuccess"> + + </a> + <a name="test_addUnexpectedSuccess"> + + </a> + <div class="functionHeader"> + + def + test_addUnexpectedSuccess(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.Python27Contract.test_addUnexpectedSuccess_was_successful"> + + </a> + <a name="test_addUnexpectedSuccess_was_successful"> + + </a> + <div class="functionHeader"> + + def + test_addUnexpectedSuccess_was_successful(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">testtools.tests.test_testresult.FallbackContract</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.Python27Contract.test_startStopTestRun"> + + </a> + <a name="test_startStopTestRun"> + + </a> + <div class="functionHeader"> + + def + test_startStopTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.Python27Contract.test_failfast"> + + </a> + <a name="test_failfast"> + + </a> + <div class="functionHeader"> + + def + test_failfast(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.StartTestRunContract.html b/apidocs/testtools.tests.test_testresult.StartTestRunContract.html new file mode 100644 index 0000000..90aa772 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.StartTestRunContract.html @@ -0,0 +1,298 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.StartTestRunContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.StartTestRunContract(<a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.StartTestRunContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.tests.test_testresult.TestExtendedTestResultContract.html" class="code">testtools.tests.test_testresult.TestExtendedTestResultContract</a>, <a href="testtools.tests.test_testresult.TestMultiTestResultContract.html" class="code">testtools.tests.test_testresult.TestMultiTestResultContract</a>, <a href="testtools.tests.test_testresult.TestTestResultContract.html" class="code">testtools.tests.test_testresult.TestTestResultContract</a>, <a href="testtools.tests.test_testresult.TestTestResultDecoratorContract.html" class="code">testtools.tests.test_testresult.TestTestResultDecoratorContract</a>, <a href="testtools.tests.test_testresult.TestTextTestResultContract.html" class="code">testtools.tests.test_testresult.TestTextTestResultContract</a>, <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResultContract.html" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResultContract</a></p> + </div> + + <div class="moduleDocstring"> + <div><p>Defines the contract for testtools policy choices.</p> +<p>That is things which are not simply extensions to unittest but choices we +have made differently.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id358"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.StartTestRunContract.html#test_startTestRun_resets_unexpected_success" class="code">test_startTestRun_resets_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.StartTestRunContract.html#test_startTestRun_resets_failure" class="code">test_startTestRun_resets_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.StartTestRunContract.html#test_startTestRun_resets_errors" class="code">test_startTestRun_resets_errors</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id363"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id363"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id363"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id363"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id363"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.StartTestRunContract.test_startTestRun_resets_unexpected_success"> + + </a> + <a name="test_startTestRun_resets_unexpected_success"> + + </a> + <div class="functionHeader"> + + def + test_startTestRun_resets_unexpected_success(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.StartTestRunContract.test_startTestRun_resets_failure"> + + </a> + <a name="test_startTestRun_resets_failure"> + + </a> + <div class="functionHeader"> + + def + test_startTestRun_resets_failure(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.StartTestRunContract.test_startTestRun_resets_errors"> + + </a> + <a name="test_startTestRun_resets_errors"> + + </a> + <div class="functionHeader"> + + def + test_startTestRun_resets_errors(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TagsContract.html b/apidocs/testtools.tests.test_testresult.TagsContract.html new file mode 100644 index 0000000..d425e2e --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TagsContract.html @@ -0,0 +1,308 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TagsContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TagsContract(<a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TagsContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">testtools.tests.test_testresult.DetailsContract</a></p> + </div> + + <div class="moduleDocstring"> + <div><p>Tests to ensure correct tagging behaviour.</p> +<p>See the subunit docs for guidelines on how this is supposed to work.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id346"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TagsContract.html#test_no_tags_by_default" class="code">test_no_tags_by_default</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TagsContract.html#test_adding_tags" class="code">test_adding_tags</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TagsContract.html#test_removing_tags" class="code">test_removing_tags</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TagsContract.html#test_startTestRun_resets_tags" class="code">test_startTestRun_resets_tags</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TagsContract.html#test_add_tags_within_test" class="code">test_add_tags_within_test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TagsContract.html#test_tags_added_in_test_are_reverted" class="code">test_tags_added_in_test_are_reverted</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TagsContract.html#test_tags_removed_in_test" class="code">test_tags_removed_in_test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TagsContract.html#test_tags_removed_in_test_are_restored" class="code">test_tags_removed_in_test_are_restored</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id348"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id348"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TagsContract.test_no_tags_by_default"> + + </a> + <a name="test_no_tags_by_default"> + + </a> + <div class="functionHeader"> + + def + test_no_tags_by_default(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TagsContract.test_adding_tags"> + + </a> + <a name="test_adding_tags"> + + </a> + <div class="functionHeader"> + + def + test_adding_tags(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TagsContract.test_removing_tags"> + + </a> + <a name="test_removing_tags"> + + </a> + <div class="functionHeader"> + + def + test_removing_tags(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TagsContract.test_startTestRun_resets_tags"> + + </a> + <a name="test_startTestRun_resets_tags"> + + </a> + <div class="functionHeader"> + + def + test_startTestRun_resets_tags(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TagsContract.test_add_tags_within_test"> + + </a> + <a name="test_add_tags_within_test"> + + </a> + <div class="functionHeader"> + + def + test_add_tags_within_test(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TagsContract.test_tags_added_in_test_are_reverted"> + + </a> + <a name="test_tags_added_in_test_are_reverted"> + + </a> + <div class="functionHeader"> + + def + test_tags_added_in_test_are_reverted(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TagsContract.test_tags_removed_in_test"> + + </a> + <a name="test_tags_removed_in_test"> + + </a> + <div class="functionHeader"> + + def + test_tags_removed_in_test(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TagsContract.test_tags_removed_in_test_are_restored"> + + </a> + <a name="test_tags_removed_in_test_are_restored"> + + </a> + <div class="functionHeader"> + + def + test_tags_removed_in_test_are_restored(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestAdaptedPython26TestResultContract.html b/apidocs/testtools.tests.test_testresult.TestAdaptedPython26TestResultContract.html new file mode 100644 index 0000000..bfaf009 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestAdaptedPython26TestResultContract.html @@ -0,0 +1,285 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestAdaptedPython26TestResultContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestAdaptedPython26TestResultContract(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestAdaptedPython26TestResultContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id407"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestAdaptedPython26TestResultContract.html#makeResult" class="code">makeResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id413"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id413"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id413"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id413"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id413"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id413"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestAdaptedPython26TestResultContract.makeResult"> + + </a> + <a name="makeResult"> + + </a> + <div class="functionHeader"> + + def + makeResult(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestAdaptedPython27TestResultContract.html b/apidocs/testtools.tests.test_testresult.TestAdaptedPython27TestResultContract.html new file mode 100644 index 0000000..34e4518 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestAdaptedPython27TestResultContract.html @@ -0,0 +1,252 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestAdaptedPython27TestResultContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestAdaptedPython27TestResultContract(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestAdaptedPython27TestResultContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id418"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestAdaptedPython27TestResultContract.html#makeResult" class="code">makeResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id423"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id423"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id423"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id423"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id423"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestAdaptedPython27TestResultContract.makeResult"> + + </a> + <a name="makeResult"> + + </a> + <div class="functionHeader"> + + def + makeResult(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestAdaptedStreamResult.html b/apidocs/testtools.tests.test_testresult.TestAdaptedStreamResult.html new file mode 100644 index 0000000..1be716b --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestAdaptedStreamResult.html @@ -0,0 +1,252 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestAdaptedStreamResult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestAdaptedStreamResult(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestAdaptedStreamResult">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id424"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestAdaptedStreamResult.html#makeResult" class="code">makeResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id429"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id429"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id429"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id429"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id429"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestAdaptedStreamResult.makeResult"> + + </a> + <a name="makeResult"> + + </a> + <div class="functionHeader"> + + def + makeResult(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestBaseStreamResultContract.html b/apidocs/testtools.tests.test_testresult.TestBaseStreamResultContract.html new file mode 100644 index 0000000..fd6b34c --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestBaseStreamResultContract.html @@ -0,0 +1,143 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestBaseStreamResultContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestBaseStreamResultContract(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestBaseStreamResultContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id445"> + + <tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestBaseStreamResultContract.html#_make_result" class="code">_make_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>: + </p> + <table class="children sortable" id="id447"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">test_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">test_test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">_power_set</a></td> + <td><span>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>: + </p> + <table class="children sortable" id="id447"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">test_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">test_test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">_power_set</a></td> + <td><span>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestBaseStreamResultContract._make_result"> + + </a> + <a name="_make_result"> + + </a> + <div class="functionHeader"> + + def + _make_result(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_testresult.TestStreamResultContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamResultContract._make_result</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestByTestResultTests.html b/apidocs/testtools.tests.test_testresult.TestByTestResultTests.html new file mode 100644 index 0000000..f0631dc --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestByTestResultTests.html @@ -0,0 +1,704 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestByTestResultTests : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestByTestResultTests(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestByTestResultTests">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id542"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestByTestResultTests.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestByTestResultTests.html#assertCalled" class="code">assertCalled</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestByTestResultTests.html#on_test" class="code">on_test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_no_tests_nothing_reported" class="code">test_no_tests_nothing_reported</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_success" class="code">test_add_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_success_details" class="code">test_add_success_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_global_tags" class="code">test_global_tags</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_local_tags" class="code">test_local_tags</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_error" class="code">test_add_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_error_details" class="code">test_add_error_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_failure" class="code">test_add_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_failure_details" class="code">test_add_failure_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_xfail" class="code">test_add_xfail</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_xfail_details" class="code">test_add_xfail_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_unexpected_success" class="code">test_add_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_skip_reason" class="code">test_add_skip_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_skip_details" class="code">test_add_skip_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_twice" class="code">test_twice</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id543"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestByTestResultTests.setUp"> + + </a> + <a name="setUp"> + + </a> + <div class="functionHeader"> + + def + setUp(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testcase.TestCase.html#setUp" class="code">testtools.testcase.TestCase.setUp</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestByTestResultTests.assertCalled"> + + </a> + <a name="assertCalled"> + + </a> + <div class="functionHeader"> + + def + assertCalled(self, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestByTestResultTests.on_test"> + + </a> + <a name="on_test"> + + </a> + <div class="functionHeader"> + + def + on_test(self, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestByTestResultTests.test_no_tests_nothing_reported"> + + </a> + <a name="test_no_tests_nothing_reported"> + + </a> + <div class="functionHeader"> + + def + test_no_tests_nothing_reported(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestByTestResultTests.test_add_success"> + + </a> + <a name="test_add_success"> + + </a> + <div class="functionHeader"> + + def + test_add_success(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestByTestResultTests.test_add_success_details"> + + </a> + <a name="test_add_success_details"> + + </a> + <div class="functionHeader"> + + def + test_add_success_details(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestByTestResultTests.test_global_tags"> + + </a> + <a name="test_global_tags"> + + </a> + <div class="functionHeader"> + + def + test_global_tags(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestByTestResultTests.test_local_tags"> + + </a> + <a name="test_local_tags"> + + </a> + <div class="functionHeader"> + + def + test_local_tags(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestByTestResultTests.test_add_error"> + + </a> + <a name="test_add_error"> + + </a> + <div class="functionHeader"> + + def + test_add_error(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestByTestResultTests.test_add_error_details"> + + </a> + <a name="test_add_error_details"> + + </a> + <div class="functionHeader"> + + def + test_add_error_details(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestByTestResultTests.test_add_failure"> + + </a> + <a name="test_add_failure"> + + </a> + <div class="functionHeader"> + + def + test_add_failure(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestByTestResultTests.test_add_failure_details"> + + </a> + <a name="test_add_failure_details"> + + </a> + <div class="functionHeader"> + + def + test_add_failure_details(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestByTestResultTests.test_add_xfail"> + + </a> + <a name="test_add_xfail"> + + </a> + <div class="functionHeader"> + + def + test_add_xfail(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestByTestResultTests.test_add_xfail_details"> + + </a> + <a name="test_add_xfail_details"> + + </a> + <div class="functionHeader"> + + def + test_add_xfail_details(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestByTestResultTests.test_add_unexpected_success"> + + </a> + <a name="test_add_unexpected_success"> + + </a> + <div class="functionHeader"> + + def + test_add_unexpected_success(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestByTestResultTests.test_add_skip_reason"> + + </a> + <a name="test_add_skip_reason"> + + </a> + <div class="functionHeader"> + + def + test_add_skip_reason(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestByTestResultTests.test_add_skip_details"> + + </a> + <a name="test_add_skip_details"> + + </a> + <div class="functionHeader"> + + def + test_add_skip_details(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestByTestResultTests.test_twice"> + + </a> + <a name="test_twice"> + + </a> + <div class="functionHeader"> + + def + test_twice(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestCopyStreamResultContract.html b/apidocs/testtools.tests.test_testresult.TestCopyStreamResultContract.html new file mode 100644 index 0000000..b79803c --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestCopyStreamResultContract.html @@ -0,0 +1,143 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestCopyStreamResultContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestCopyStreamResultContract(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestCopyStreamResultContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id448"> + + <tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestCopyStreamResultContract.html#_make_result" class="code">_make_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>: + </p> + <table class="children sortable" id="id450"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">test_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">test_test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">_power_set</a></td> + <td><span>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>: + </p> + <table class="children sortable" id="id450"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">test_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">test_test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">_power_set</a></td> + <td><span>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestCopyStreamResultContract._make_result"> + + </a> + <a name="_make_result"> + + </a> + <div class="functionHeader"> + + def + _make_result(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_testresult.TestStreamResultContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamResultContract._make_result</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestCopyStreamResultCopies.html b/apidocs/testtools.tests.test_testresult.TestCopyStreamResultCopies.html new file mode 100644 index 0000000..488314e --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestCopyStreamResultCopies.html @@ -0,0 +1,396 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestCopyStreamResultCopies : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestCopyStreamResultCopies(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestCopyStreamResultCopies">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id480"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestCopyStreamResultCopies.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestCopyStreamResultCopies.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestCopyStreamResultCopies.html#test_stopTestRun" class="code">test_stopTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestCopyStreamResultCopies.html#test_status" class="code">test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id481"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestCopyStreamResultCopies.setUp"> + + </a> + <a name="setUp"> + + </a> + <div class="functionHeader"> + + def + setUp(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testcase.TestCase.html#setUp" class="code">testtools.testcase.TestCase.setUp</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestCopyStreamResultCopies.test_startTestRun"> + + </a> + <a name="test_startTestRun"> + + </a> + <div class="functionHeader"> + + def + test_startTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestCopyStreamResultCopies.test_stopTestRun"> + + </a> + <a name="test_stopTestRun"> + + </a> + <div class="functionHeader"> + + def + test_stopTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestCopyStreamResultCopies.test_status"> + + </a> + <a name="test_status"> + + </a> + <div class="functionHeader"> + + def + test_status(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestDetailsToStr.html b/apidocs/testtools.tests.test_testresult.TestDetailsToStr.html new file mode 100644 index 0000000..b5cab4c --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestDetailsToStr.html @@ -0,0 +1,489 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestDetailsToStr : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestDetailsToStr(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestDetailsToStr">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id540"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_no_details" class="code">test_no_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_binary_content" class="code">test_binary_content</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_single_line_content" class="code">test_single_line_content</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_multi_line_text_content" class="code">test_multi_line_text_content</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_special_text_content" class="code">test_special_text_content</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_multiple_text_content" class="code">test_multiple_text_content</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_empty_attachment" class="code">test_empty_attachment</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_lots_of_different_attachments" class="code">test_lots_of_different_attachments</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id541"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestDetailsToStr.test_no_details"> + + </a> + <a name="test_no_details"> + + </a> + <div class="functionHeader"> + + def + test_no_details(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestDetailsToStr.test_binary_content"> + + </a> + <a name="test_binary_content"> + + </a> + <div class="functionHeader"> + + def + test_binary_content(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestDetailsToStr.test_single_line_content"> + + </a> + <a name="test_single_line_content"> + + </a> + <div class="functionHeader"> + + def + test_single_line_content(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestDetailsToStr.test_multi_line_text_content"> + + </a> + <a name="test_multi_line_text_content"> + + </a> + <div class="functionHeader"> + + def + test_multi_line_text_content(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestDetailsToStr.test_special_text_content"> + + </a> + <a name="test_special_text_content"> + + </a> + <div class="functionHeader"> + + def + test_special_text_content(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestDetailsToStr.test_multiple_text_content"> + + </a> + <a name="test_multiple_text_content"> + + </a> + <div class="functionHeader"> + + def + test_multiple_text_content(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestDetailsToStr.test_empty_attachment"> + + </a> + <a name="test_empty_attachment"> + + </a> + <div class="functionHeader"> + + def + test_empty_attachment(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestDetailsToStr.test_lots_of_different_attachments"> + + </a> + <a name="test_lots_of_different_attachments"> + + </a> + <div class="functionHeader"> + + def + test_lots_of_different_attachments(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestDoubleStreamResultContract.html b/apidocs/testtools.tests.test_testresult.TestDoubleStreamResultContract.html new file mode 100644 index 0000000..f59b3bb --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestDoubleStreamResultContract.html @@ -0,0 +1,143 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestDoubleStreamResultContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestDoubleStreamResultContract(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestDoubleStreamResultContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id451"> + + <tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestDoubleStreamResultContract.html#_make_result" class="code">_make_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>: + </p> + <table class="children sortable" id="id453"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">test_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">test_test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">_power_set</a></td> + <td><span>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>: + </p> + <table class="children sortable" id="id453"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">test_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">test_test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">_power_set</a></td> + <td><span>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestDoubleStreamResultContract._make_result"> + + </a> + <a name="_make_result"> + + </a> + <div class="functionHeader"> + + def + _make_result(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_testresult.TestStreamResultContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamResultContract._make_result</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestDoubleStreamResultEvents.html b/apidocs/testtools.tests.test_testresult.TestDoubleStreamResultEvents.html new file mode 100644 index 0000000..11977c0 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestDoubleStreamResultEvents.html @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestDoubleStreamResultEvents : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestDoubleStreamResultEvents(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestDoubleStreamResultEvents">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id478"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestDoubleStreamResultEvents.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestDoubleStreamResultEvents.html#test_stopTestRun" class="code">test_stopTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestDoubleStreamResultEvents.html#test_file" class="code">test_file</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestDoubleStreamResultEvents.html#test_status" class="code">test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id479"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestDoubleStreamResultEvents.test_startTestRun"> + + </a> + <a name="test_startTestRun"> + + </a> + <div class="functionHeader"> + + def + test_startTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestDoubleStreamResultEvents.test_stopTestRun"> + + </a> + <a name="test_stopTestRun"> + + </a> + <div class="functionHeader"> + + def + test_stopTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestDoubleStreamResultEvents.test_file"> + + </a> + <a name="test_file"> + + </a> + <div class="functionHeader"> + + def + test_file(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestDoubleStreamResultEvents.test_status"> + + </a> + <a name="test_status"> + + </a> + <div class="functionHeader"> + + def + test_status(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedTestResultContract.html b/apidocs/testtools.tests.test_testresult.TestExtendedTestResultContract.html new file mode 100644 index 0000000..5ea8f70 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedTestResultContract.html @@ -0,0 +1,318 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestExtendedTestResultContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestExtendedTestResultContract(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestExtendedTestResultContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id396"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedTestResultContract.html#makeResult" class="code">makeResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id403"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id403"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id403"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id403"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id403"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id403"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id403"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedTestResultContract.makeResult"> + + </a> + <a name="makeResult"> + + </a> + <div class="functionHeader"> + + def + makeResult(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddError.html b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddError.html new file mode 100644 index 0000000..dc10ea1 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddError.html @@ -0,0 +1,715 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestExtendedToOriginalAddError : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestExtendedToOriginalAddError(<a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestExtendedToOriginalAddError">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure</a>, <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddFailure.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddFailure</a></p> + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id513"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html#test_outcome_Original_py26" class="code">test_outcome_Original_py26</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html#test_outcome_Original_py27" class="code">test_outcome_Original_py27</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html#test_outcome_Original_pyextended" class="code">test_outcome_Original_pyextended</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html#test_outcome_Extended_py26" class="code">test_outcome_Extended_py26</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html#test_outcome_Extended_py27" class="code">test_outcome_Extended_py27</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html#test_outcome_Extended_pyextended" class="code">test_outcome_Extended_pyextended</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html#test_outcome__no_details" class="code">test_outcome__no_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>): + </p> + <table class="children sortable" id="id515"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>): + </p> + <table class="children sortable" id="id515"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddError.test_outcome_Original_py26"> + + </a> + <a name="test_outcome_Original_py26"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Original_py26(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddError.test_outcome_Original_py27"> + + </a> + <a name="test_outcome_Original_py27"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Original_py27(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddError.test_outcome_Original_pyextended"> + + </a> + <a name="test_outcome_Original_pyextended"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Original_pyextended(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddError.test_outcome_Extended_py26"> + + </a> + <a name="test_outcome_Extended_py26"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Extended_py26(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddError.test_outcome_Extended_py27"> + + </a> + <a name="test_outcome_Extended_py27"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Extended_py27(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddError.test_outcome_Extended_pyextended"> + + </a> + <a name="test_outcome_Extended_pyextended"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Extended_pyextended(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddError.test_outcome__no_details"> + + </a> + <a name="test_outcome__no_details"> + + </a> + <div class="functionHeader"> + + def + test_outcome__no_details(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.html b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.html new file mode 100644 index 0000000..a065f33 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.html @@ -0,0 +1,853 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure(<a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html" class="code">TestExtendedToOriginalAddError</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id519"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.html#test_outcome_Original_py26" class="code">test_outcome_Original_py26</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.html#test_outcome_Extended_py26" class="code">test_outcome_Extended_py26</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html" class="code">TestExtendedToOriginalAddError</a>, <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>): + </p> + <table class="children sortable" id="id522"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html" class="code">TestExtendedToOriginalAddError</a>, <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>): + </p> + <table class="children sortable" id="id522"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html" class="code">TestExtendedToOriginalAddError</a>, <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>): + </p> + <table class="children sortable" id="id522"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.test_outcome_Original_py26"> + + </a> + <a name="test_outcome_Original_py26"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Original_py26(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html#test_outcome_Original_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddError.test_outcome_Original_py26</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.test_outcome_Extended_py26"> + + </a> + <a name="test_outcome_Extended_py26"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Extended_py26(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html#test_outcome_Extended_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddError.test_outcome_Extended_py26</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddFailure.html b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddFailure.html new file mode 100644 index 0000000..dd60683 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddFailure.html @@ -0,0 +1,806 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestExtendedToOriginalAddFailure : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestExtendedToOriginalAddFailure(<a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html" class="code">TestExtendedToOriginalAddError</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestExtendedToOriginalAddFailure">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html" class="code">TestExtendedToOriginalAddError</a>, <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>): + </p> + <table class="children sortable" id="id518"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html" class="code">TestExtendedToOriginalAddError</a>, <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>): + </p> + <table class="children sortable" id="id518"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html" class="code">TestExtendedToOriginalAddError</a>, <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>): + </p> + <table class="children sortable" id="id518"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html new file mode 100644 index 0000000..7fbb407 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html @@ -0,0 +1,737 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestExtendedToOriginalAddSkip : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestExtendedToOriginalAddSkip(<a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestExtendedToOriginalAddSkip">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id523"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome_Original_py26" class="code">test_outcome_Original_py26</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome_Original_py27" class="code">test_outcome_Original_py27</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome_Original_pyextended" class="code">test_outcome_Original_pyextended</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome_Extended_py26" class="code">test_outcome_Extended_py26</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome_Extended_py27_no_reason" class="code">test_outcome_Extended_py27_no_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome_Extended_py27_reason" class="code">test_outcome_Extended_py27_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome_Extended_pyextended" class="code">test_outcome_Extended_pyextended</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome__no_details" class="code">test_outcome__no_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>): + </p> + <table class="children sortable" id="id525"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>): + </p> + <table class="children sortable" id="id525"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome_Original_py26"> + + </a> + <a name="test_outcome_Original_py26"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Original_py26(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome_Original_py27"> + + </a> + <a name="test_outcome_Original_py27"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Original_py27(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome_Original_pyextended"> + + </a> + <a name="test_outcome_Original_pyextended"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Original_pyextended(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome_Extended_py26"> + + </a> + <a name="test_outcome_Extended_py26"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Extended_py26(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome_Extended_py27_no_reason"> + + </a> + <a name="test_outcome_Extended_py27_no_reason"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Extended_py27_no_reason(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome_Extended_py27_reason"> + + </a> + <a name="test_outcome_Extended_py27_reason"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Extended_py27_reason(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome_Extended_pyextended"> + + </a> + <a name="test_outcome_Extended_pyextended"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Extended_pyextended(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome__no_details"> + + </a> + <a name="test_outcome__no_details"> + + </a> + <div class="functionHeader"> + + def + test_outcome__no_details(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html new file mode 100644 index 0000000..95acda9 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html @@ -0,0 +1,693 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess(<a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id526"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html#test_outcome_Original_py26" class="code">test_outcome_Original_py26</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html#test_outcome_Original_py27" class="code">test_outcome_Original_py27</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html#test_outcome_Original_pyextended" class="code">test_outcome_Original_pyextended</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html#test_outcome_Extended_py26" class="code">test_outcome_Extended_py26</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html#test_outcome_Extended_py27" class="code">test_outcome_Extended_py27</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html#test_outcome_Extended_pyextended" class="code">test_outcome_Extended_pyextended</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>): + </p> + <table class="children sortable" id="id528"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>): + </p> + <table class="children sortable" id="id528"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.test_outcome_Original_py26"> + + </a> + <a name="test_outcome_Original_py26"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Original_py26(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.test_outcome_Original_py27"> + + </a> + <a name="test_outcome_Original_py27"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Original_py27(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.test_outcome_Original_pyextended"> + + </a> + <a name="test_outcome_Original_pyextended"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Original_pyextended(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.test_outcome_Extended_py26"> + + </a> + <a name="test_outcome_Extended_py26"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Extended_py26(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.test_outcome_Extended_py27"> + + </a> + <a name="test_outcome_Extended_py27"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Extended_py27(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.test_outcome_Extended_pyextended"> + + </a> + <a name="test_outcome_Extended_pyextended"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Extended_pyextended(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html new file mode 100644 index 0000000..0ec88c6 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html @@ -0,0 +1,693 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess(<a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id529"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html#test_outcome_Original_py26" class="code">test_outcome_Original_py26</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html#test_outcome_Original_py27" class="code">test_outcome_Original_py27</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html#test_outcome_Original_pyextended" class="code">test_outcome_Original_pyextended</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html#test_outcome_Extended_py26" class="code">test_outcome_Extended_py26</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html#test_outcome_Extended_py27" class="code">test_outcome_Extended_py27</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html#test_outcome_Extended_pyextended" class="code">test_outcome_Extended_pyextended</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>): + </p> + <table class="children sortable" id="id531"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>): + </p> + <table class="children sortable" id="id531"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.test_outcome_Original_py26"> + + </a> + <a name="test_outcome_Original_py26"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Original_py26(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.test_outcome_Original_py27"> + + </a> + <a name="test_outcome_Original_py27"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Original_py27(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.test_outcome_Original_pyextended"> + + </a> + <a name="test_outcome_Original_pyextended"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Original_pyextended(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.test_outcome_Extended_py26"> + + </a> + <a name="test_outcome_Extended_py26"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Extended_py26(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.test_outcome_Extended_py27"> + + </a> + <a name="test_outcome_Extended_py27"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Extended_py27(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.test_outcome_Extended_pyextended"> + + </a> + <a name="test_outcome_Extended_pyextended"> + + </a> + <div class="functionHeader"> + + def + test_outcome_Extended_pyextended(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html new file mode 100644 index 0000000..128664d --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html @@ -0,0 +1,1089 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator(<a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id510"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_failfast_py26" class="code">test_failfast_py26</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_failfast_py27" class="code">test_failfast_py27</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_progress_py26" class="code">test_progress_py26</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_progress_py27" class="code">test_progress_py27</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_progress_pyextended" class="code">test_progress_pyextended</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_shouldStop" class="code">test_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_startTest_py26" class="code">test_startTest_py26</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_startTest_py27" class="code">test_startTest_py27</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_startTest_pyextended" class="code">test_startTest_pyextended</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_startTestRun_py26" class="code">test_startTestRun_py26</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_startTestRun_py27" class="code">test_startTestRun_py27</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_startTestRun_pyextended" class="code">test_startTestRun_pyextended</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_stopTest_py26" class="code">test_stopTest_py26</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_stopTest_py27" class="code">test_stopTest_py27</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_stopTest_pyextended" class="code">test_stopTest_pyextended</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_stopTestRun_py26" class="code">test_stopTestRun_py26</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_stopTestRun_py27" class="code">test_stopTestRun_py27</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_stopTestRun_pyextended" class="code">test_stopTestRun_pyextended</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_tags_py26" class="code">test_tags_py26</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_tags_py27" class="code">test_tags_py27</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_tags_pyextended" class="code">test_tags_pyextended</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_time_py26" class="code">test_time_py26</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_time_py27" class="code">test_time_py27</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_time_pyextended" class="code">test_time_pyextended</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>): + </p> + <table class="children sortable" id="id512"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>): + </p> + <table class="children sortable" id="id512"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_failfast_py26"> + + </a> + <a name="test_failfast_py26"> + + </a> + <div class="functionHeader"> + + def + test_failfast_py26(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_failfast_py27"> + + </a> + <a name="test_failfast_py27"> + + </a> + <div class="functionHeader"> + + def + test_failfast_py27(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_progress_py26"> + + </a> + <a name="test_progress_py26"> + + </a> + <div class="functionHeader"> + + def + test_progress_py26(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_progress_py27"> + + </a> + <a name="test_progress_py27"> + + </a> + <div class="functionHeader"> + + def + test_progress_py27(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_progress_pyextended"> + + </a> + <a name="test_progress_pyextended"> + + </a> + <div class="functionHeader"> + + def + test_progress_pyextended(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_shouldStop"> + + </a> + <a name="test_shouldStop"> + + </a> + <div class="functionHeader"> + + def + test_shouldStop(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_startTest_py26"> + + </a> + <a name="test_startTest_py26"> + + </a> + <div class="functionHeader"> + + def + test_startTest_py26(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_startTest_py27"> + + </a> + <a name="test_startTest_py27"> + + </a> + <div class="functionHeader"> + + def + test_startTest_py27(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_startTest_pyextended"> + + </a> + <a name="test_startTest_pyextended"> + + </a> + <div class="functionHeader"> + + def + test_startTest_pyextended(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_startTestRun_py26"> + + </a> + <a name="test_startTestRun_py26"> + + </a> + <div class="functionHeader"> + + def + test_startTestRun_py26(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_startTestRun_py27"> + + </a> + <a name="test_startTestRun_py27"> + + </a> + <div class="functionHeader"> + + def + test_startTestRun_py27(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_startTestRun_pyextended"> + + </a> + <a name="test_startTestRun_pyextended"> + + </a> + <div class="functionHeader"> + + def + test_startTestRun_pyextended(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_stopTest_py26"> + + </a> + <a name="test_stopTest_py26"> + + </a> + <div class="functionHeader"> + + def + test_stopTest_py26(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_stopTest_py27"> + + </a> + <a name="test_stopTest_py27"> + + </a> + <div class="functionHeader"> + + def + test_stopTest_py27(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_stopTest_pyextended"> + + </a> + <a name="test_stopTest_pyextended"> + + </a> + <div class="functionHeader"> + + def + test_stopTest_pyextended(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_stopTestRun_py26"> + + </a> + <a name="test_stopTestRun_py26"> + + </a> + <div class="functionHeader"> + + def + test_stopTestRun_py26(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_stopTestRun_py27"> + + </a> + <a name="test_stopTestRun_py27"> + + </a> + <div class="functionHeader"> + + def + test_stopTestRun_py27(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_stopTestRun_pyextended"> + + </a> + <a name="test_stopTestRun_pyextended"> + + </a> + <div class="functionHeader"> + + def + test_stopTestRun_pyextended(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_tags_py26"> + + </a> + <a name="test_tags_py26"> + + </a> + <div class="functionHeader"> + + def + test_tags_py26(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_tags_py27"> + + </a> + <a name="test_tags_py27"> + + </a> + <div class="functionHeader"> + + def + test_tags_py27(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_tags_pyextended"> + + </a> + <a name="test_tags_pyextended"> + + </a> + <div class="functionHeader"> + + def + test_tags_pyextended(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_time_py26"> + + </a> + <a name="test_time_py26"> + + </a> + <div class="functionHeader"> + + def + test_time_py26(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_time_py27"> + + </a> + <a name="test_time_py27"> + + </a> + <div class="functionHeader"> + + def + test_time_py27(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_time_pyextended"> + + </a> + <a name="test_time_pyextended"> + + </a> + <div class="functionHeader"> + + def + test_time_pyextended(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html new file mode 100644 index 0000000..c97297e --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html @@ -0,0 +1,643 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddError</a>, <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSkip</a>, <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess</a>, <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess</a>, <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator</a>, <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes</a></p> + </div> + + <div class="moduleDocstring"> + <div class="undocumented">No class docstring</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id508"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#make_26_result" class="code">make_26_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#make_27_result" class="code">make_27_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#make_converter" class="code">make_converter</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#make_extended_result" class="code">make_extended_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#check_outcome_details" class="code">check_outcome_details</a></td> + <td><span>Call an outcome with a details dict to be passed through.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#get_details_and_string" class="code">get_details_and_string</a></td> + <td><span>Get a details dict and expected string.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#check_outcome_details_to_exec_info" class="code">check_outcome_details_to_exec_info</a></td> + <td><span>Call an outcome with a details dict to be made into exc_info.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#check_outcome_details_to_nothing" class="code">check_outcome_details_to_nothing</a></td> + <td><span>Call an outcome with a details dict to be swallowed.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#check_outcome_details_to_string" class="code">check_outcome_details_to_string</a></td> + <td><span>Call an outcome with a details dict to be stringified.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#check_outcome_details_to_arg" class="code">check_outcome_details_to_arg</a></td> + <td><span>Call an outcome with a details dict to have an arg extracted.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#check_outcome_exc_info" class="code">check_outcome_exc_info</a></td> + <td><span>Check that calling a legacy outcome still works.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#check_outcome_exc_info_to_nothing" class="code">check_outcome_exc_info_to_nothing</a></td> + <td><span>Check that calling a legacy outcome on a fallback works.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#check_outcome_nothing" class="code">check_outcome_nothing</a></td> + <td><span>Check that calling a legacy outcome still works.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#check_outcome_string_nothing" class="code">check_outcome_string_nothing</a></td> + <td><span>Check that calling outcome with a string calls expected.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#check_outcome_string" class="code">check_outcome_string</a></td> + <td><span>Check that calling outcome with a string works.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id509"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.make_26_result"> + + </a> + <a name="make_26_result"> + + </a> + <div class="functionHeader"> + + def + make_26_result(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.make_27_result"> + + </a> + <a name="make_27_result"> + + </a> + <div class="functionHeader"> + + def + make_27_result(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.make_converter"> + + </a> + <a name="make_converter"> + + </a> + <div class="functionHeader"> + + def + make_converter(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.make_extended_result"> + + </a> + <a name="make_extended_result"> + + </a> + <div class="functionHeader"> + + def + make_extended_result(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.check_outcome_details"> + + </a> + <a name="check_outcome_details"> + + </a> + <div class="functionHeader"> + + def + check_outcome_details(self, outcome): + + </div> + <div class="docstring functionBody"> + + <div>Call an outcome with a details dict to be passed through.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.get_details_and_string"> + + </a> + <a name="get_details_and_string"> + + </a> + <div class="functionHeader"> + + def + get_details_and_string(self): + + </div> + <div class="docstring functionBody"> + + <div>Get a details dict and expected string.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.check_outcome_details_to_exec_info"> + + </a> + <a name="check_outcome_details_to_exec_info"> + + </a> + <div class="functionHeader"> + + def + check_outcome_details_to_exec_info(self, outcome, expected=None): + + </div> + <div class="docstring functionBody"> + + <div>Call an outcome with a details dict to be made into exc_info.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.check_outcome_details_to_nothing"> + + </a> + <a name="check_outcome_details_to_nothing"> + + </a> + <div class="functionHeader"> + + def + check_outcome_details_to_nothing(self, outcome, expected=None): + + </div> + <div class="docstring functionBody"> + + <div>Call an outcome with a details dict to be swallowed.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.check_outcome_details_to_string"> + + </a> + <a name="check_outcome_details_to_string"> + + </a> + <div class="functionHeader"> + + def + check_outcome_details_to_string(self, outcome): + + </div> + <div class="docstring functionBody"> + + <div>Call an outcome with a details dict to be stringified.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.check_outcome_details_to_arg"> + + </a> + <a name="check_outcome_details_to_arg"> + + </a> + <div class="functionHeader"> + + def + check_outcome_details_to_arg(self, outcome, arg, extra_detail=None): + + </div> + <div class="docstring functionBody"> + + <div>Call an outcome with a details dict to have an arg extracted.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.check_outcome_exc_info"> + + </a> + <a name="check_outcome_exc_info"> + + </a> + <div class="functionHeader"> + + def + check_outcome_exc_info(self, outcome, expected=None): + + </div> + <div class="docstring functionBody"> + + <div>Check that calling a legacy outcome still works.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.check_outcome_exc_info_to_nothing"> + + </a> + <a name="check_outcome_exc_info_to_nothing"> + + </a> + <div class="functionHeader"> + + def + check_outcome_exc_info_to_nothing(self, outcome, expected=None): + + </div> + <div class="docstring functionBody"> + + <div>Check that calling a legacy outcome on a fallback works.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.check_outcome_nothing"> + + </a> + <a name="check_outcome_nothing"> + + </a> + <div class="functionHeader"> + + def + check_outcome_nothing(self, outcome, expected=None): + + </div> + <div class="docstring functionBody"> + + <div>Check that calling a legacy outcome still works.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.check_outcome_string_nothing"> + + </a> + <a name="check_outcome_string_nothing"> + + </a> + <div class="functionHeader"> + + def + check_outcome_string_nothing(self, outcome, expected): + + </div> + <div class="docstring functionBody"> + + <div>Check that calling outcome with a string calls expected.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.check_outcome_string"> + + </a> + <a name="check_outcome_string"> + + </a> + <div class="functionHeader"> + + def + check_outcome_string(self, outcome): + + </div> + <div class="docstring functionBody"> + + <div>Check that calling outcome with a string works.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes.html b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes.html new file mode 100644 index 0000000..95227c8 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes.html @@ -0,0 +1,583 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes(<a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id532"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes.html#test_other_attribute" class="code">test_other_attribute</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>): + </p> + <table class="children sortable" id="id534"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a>): + </p> + <table class="children sortable" id="id534"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes.test_other_attribute"> + + </a> + <a name="test_other_attribute"> + + </a> + <div class="functionHeader"> + + def + test_other_attribute(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedToStreamDecorator.html b/apidocs/testtools.tests.test_testresult.TestExtendedToStreamDecorator.html new file mode 100644 index 0000000..8231bc8 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedToStreamDecorator.html @@ -0,0 +1,379 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestExtendedToStreamDecorator : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestExtendedToStreamDecorator(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestExtendedToStreamDecorator">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id486"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToStreamDecorator.html#test_explicit_time" class="code">test_explicit_time</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToStreamDecorator.html#test_wasSuccessful_after_stopTestRun" class="code">test_wasSuccessful_after_stopTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToStreamDecorator.html#test_empty_detail_status_correct" class="code">test_empty_detail_status_correct</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id487"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToStreamDecorator.test_explicit_time"> + + </a> + <a name="test_explicit_time"> + + </a> + <div class="functionHeader"> + + def + test_explicit_time(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToStreamDecorator.test_wasSuccessful_after_stopTestRun"> + + </a> + <a name="test_wasSuccessful_after_stopTestRun"> + + </a> + <div class="functionHeader"> + + def + test_wasSuccessful_after_stopTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToStreamDecorator.test_empty_detail_status_correct"> + + </a> + <a name="test_empty_detail_status_correct"> + + </a> + <div class="functionHeader"> + + def + test_empty_detail_status_correct(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract.html b/apidocs/testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract.html new file mode 100644 index 0000000..9abff13 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract.html @@ -0,0 +1,143 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id454"> + + <tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract.html#_make_result" class="code">_make_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>: + </p> + <table class="children sortable" id="id456"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">test_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">test_test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">_power_set</a></td> + <td><span>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>: + </p> + <table class="children sortable" id="id456"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">test_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">test_test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">_power_set</a></td> + <td><span>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract._make_result"> + + </a> + <a name="_make_result"> + + </a> + <div class="functionHeader"> + + def + _make_result(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_testresult.TestStreamResultContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamResultContract._make_result</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestMergeTags.html b/apidocs/testtools.tests.test_testresult.TestMergeTags.html new file mode 100644 index 0000000..3016e70 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestMergeTags.html @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestMergeTags : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestMergeTags(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestMergeTags">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id502"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMergeTags.html#test_merge_unseen_gone_tag" class="code">test_merge_unseen_gone_tag</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMergeTags.html#test_merge_incoming_gone_tag_with_current_new_tag" class="code">test_merge_incoming_gone_tag_with_current_new_tag</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMergeTags.html#test_merge_unseen_new_tag" class="code">test_merge_unseen_new_tag</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMergeTags.html#test_merge_incoming_new_tag_with_current_gone_tag" class="code">test_merge_incoming_new_tag_with_current_gone_tag</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id503"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestMergeTags.test_merge_unseen_gone_tag"> + + </a> + <a name="test_merge_unseen_gone_tag"> + + </a> + <div class="functionHeader"> + + def + test_merge_unseen_gone_tag(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestMergeTags.test_merge_incoming_gone_tag_with_current_new_tag"> + + </a> + <a name="test_merge_incoming_gone_tag_with_current_new_tag"> + + </a> + <div class="functionHeader"> + + def + test_merge_incoming_gone_tag_with_current_new_tag(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestMergeTags.test_merge_unseen_new_tag"> + + </a> + <a name="test_merge_unseen_new_tag"> + + </a> + <div class="functionHeader"> + + def + test_merge_unseen_new_tag(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestMergeTags.test_merge_incoming_new_tag_with_current_gone_tag"> + + </a> + <a name="test_merge_incoming_new_tag_with_current_gone_tag"> + + </a> + <div class="functionHeader"> + + def + test_merge_incoming_new_tag_with_current_gone_tag(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestMultiTestResult.html b/apidocs/testtools.tests.test_testresult.TestMultiTestResult.html new file mode 100644 index 0000000..84e0707 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestMultiTestResult.html @@ -0,0 +1,748 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestMultiTestResult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestMultiTestResult(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestMultiTestResult">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests for 'MultiTestResult'.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id496"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMultiTestResult.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMultiTestResult.html#assertResultLogsEqual" class="code">assertResultLogsEqual</a></td> + <td><span>Assert that our test results have received the expected events.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_repr" class="code">test_repr</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_empty" class="code">test_empty</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_failfast_get" class="code">test_failfast_get</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_failfast_set" class="code">test_failfast_set</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_shouldStop" class="code">test_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_startTest" class="code">test_startTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_stop" class="code">test_stop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_stopTest" class="code">test_stopTest</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_addSkipped" class="code">test_addSkipped</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_addSuccess" class="code">test_addSuccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_done" class="code">test_done</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_addFailure" class="code">test_addFailure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_addError" class="code">test_addError</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_stopTestRun" class="code">test_stopTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_stopTestRun_returns_results" class="code">test_stopTestRun_returns_results</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_tags" class="code">test_tags</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_time" class="code">test_time</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id497"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestMultiTestResult.setUp"> + + </a> + <a name="setUp"> + + </a> + <div class="functionHeader"> + + def + setUp(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testcase.TestCase.html#setUp" class="code">testtools.testcase.TestCase.setUp</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestMultiTestResult.assertResultLogsEqual"> + + </a> + <a name="assertResultLogsEqual"> + + </a> + <div class="functionHeader"> + + def + assertResultLogsEqual(self, expectedEvents): + + </div> + <div class="docstring functionBody"> + + <div>Assert that our test results have received the expected events.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestMultiTestResult.test_repr"> + + </a> + <a name="test_repr"> + + </a> + <div class="functionHeader"> + + def + test_repr(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestMultiTestResult.test_empty"> + + </a> + <a name="test_empty"> + + </a> + <div class="functionHeader"> + + def + test_empty(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestMultiTestResult.test_failfast_get"> + + </a> + <a name="test_failfast_get"> + + </a> + <div class="functionHeader"> + + def + test_failfast_get(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestMultiTestResult.test_failfast_set"> + + </a> + <a name="test_failfast_set"> + + </a> + <div class="functionHeader"> + + def + test_failfast_set(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestMultiTestResult.test_shouldStop"> + + </a> + <a name="test_shouldStop"> + + </a> + <div class="functionHeader"> + + def + test_shouldStop(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestMultiTestResult.test_startTest"> + + </a> + <a name="test_startTest"> + + </a> + <div class="functionHeader"> + + def + test_startTest(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestMultiTestResult.test_stop"> + + </a> + <a name="test_stop"> + + </a> + <div class="functionHeader"> + + def + test_stop(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestMultiTestResult.test_stopTest"> + + </a> + <a name="test_stopTest"> + + </a> + <div class="functionHeader"> + + def + test_stopTest(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestMultiTestResult.test_addSkipped"> + + </a> + <a name="test_addSkipped"> + + </a> + <div class="functionHeader"> + + def + test_addSkipped(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestMultiTestResult.test_addSuccess"> + + </a> + <a name="test_addSuccess"> + + </a> + <div class="functionHeader"> + + def + test_addSuccess(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestMultiTestResult.test_done"> + + </a> + <a name="test_done"> + + </a> + <div class="functionHeader"> + + def + test_done(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestMultiTestResult.test_addFailure"> + + </a> + <a name="test_addFailure"> + + </a> + <div class="functionHeader"> + + def + test_addFailure(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestMultiTestResult.test_addError"> + + </a> + <a name="test_addError"> + + </a> + <div class="functionHeader"> + + def + test_addError(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestMultiTestResult.test_startTestRun"> + + </a> + <a name="test_startTestRun"> + + </a> + <div class="functionHeader"> + + def + test_startTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestMultiTestResult.test_stopTestRun"> + + </a> + <a name="test_stopTestRun"> + + </a> + <div class="functionHeader"> + + def + test_stopTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestMultiTestResult.test_stopTestRun_returns_results"> + + </a> + <a name="test_stopTestRun_returns_results"> + + </a> + <div class="functionHeader"> + + def + test_stopTestRun_returns_results(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestMultiTestResult.test_tags"> + + </a> + <a name="test_tags"> + + </a> + <div class="functionHeader"> + + def + test_tags(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestMultiTestResult.test_time"> + + </a> + <a name="test_time"> + + </a> + <div class="functionHeader"> + + def + test_time(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestMultiTestResultContract.html b/apidocs/testtools.tests.test_testresult.TestMultiTestResultContract.html new file mode 100644 index 0000000..e6cb6d3 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestMultiTestResultContract.html @@ -0,0 +1,318 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestMultiTestResultContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestMultiTestResultContract(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestMultiTestResultContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id372"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestMultiTestResultContract.html#makeResult" class="code">makeResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id379"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id379"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id379"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id379"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id379"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id379"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id379"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestMultiTestResultContract.makeResult"> + + </a> + <a name="makeResult"> + + </a> + <div class="functionHeader"> + + def + makeResult(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestNonAsciiResults.html b/apidocs/testtools.tests.test_testresult.TestNonAsciiResults.html new file mode 100644 index 0000000..1a224a2 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestNonAsciiResults.html @@ -0,0 +1,823 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestNonAsciiResults : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestNonAsciiResults(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestNonAsciiResults">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest.html" class="code">testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest</a></p> + </div> + + <div class="moduleDocstring"> + <div><p>Test all kinds of tracebacks are cleanly interpreted as unicode</p> +<p>Currently only uses weak "contains" assertions, would be good to be much +stricter about the expected output. This would add a few failures for the +current release of IronPython for instance, which gets some traceback +lines muddled.</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id535"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_non_ascii_failure_string" class="code">test_non_ascii_failure_string</a></td> + <td><span>Assertion contents can be non-ascii and should get decoded</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_non_ascii_failure_string_via_exec" class="code">test_non_ascii_failure_string_via_exec</a></td> + <td><span>Assertion via exec can be non-ascii and still gets decoded</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_control_characters_in_failure_string" class="code">test_control_characters_in_failure_string</a></td> + <td><span>Control characters in assertions should be escaped</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_os_error" class="code">test_os_error</a></td> + <td><span>Locale error messages from the OS shouldn't break anything</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_assertion_text_shift_jis" class="code">test_assertion_text_shift_jis</a></td> + <td><span>A terminal raw backslash in an encoded string is weird but fine</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_file_comment_iso2022_jp" class="code">test_file_comment_iso2022_jp</a></td> + <td><span>Control character escapes must be preserved if valid encoding</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_unicode_exception" class="code">test_unicode_exception</a></td> + <td><span>Exceptions that can be formated losslessly as unicode should be</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_unprintable_exception" class="code">test_unprintable_exception</a></td> + <td><span>A totally useless exception instance still prints something</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_non_ascii_dirname" class="code">test_non_ascii_dirname</a></td> + <td><span>Script paths in the traceback can be non-ascii</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_syntax_error" class="code">test_syntax_error</a></td> + <td><span>Syntax errors should still have fancy special-case formatting</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_syntax_error_malformed" class="code">test_syntax_error_malformed</a></td> + <td><span>Syntax errors with bogus parameters should break anything</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_syntax_error_line_iso_8859_1" class="code">test_syntax_error_line_iso_8859_1</a></td> + <td><span>Syntax error on a latin-1 line shows the line decoded</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_syntax_error_line_iso_8859_5" class="code">test_syntax_error_line_iso_8859_5</a></td> + <td><span>Syntax error on a iso-8859-5 line shows the line decoded</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_syntax_error_line_euc_jp" class="code">test_syntax_error_line_euc_jp</a></td> + <td><span>Syntax error on a euc_jp line shows the line decoded</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#test_syntax_error_line_utf_8" class="code">test_syntax_error_line_utf_8</a></td> + <td><span>Syntax error on a utf-8 line shows the line decoded</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#_run" class="code">_run</a></td> + <td><span>Run the test, the same as in testtools.run but not to stdout</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#_write_module" class="code">_write_module</a></td> + <td><span>Create Python module on disk with contents in given encoding</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#_test_external_case" class="code">_test_external_case</a></td> + <td><span>Create and run a test case in a seperate module</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#_setup_external_case" class="code">_setup_external_case</a></td> + <td><span>Create a test case in a seperate module</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#_run_external_case" class="code">_run_external_case</a></td> + <td><span>Run the prepared test case in a seperate module</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#_get_sample_text" class="code">_get_sample_text</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#_as_output" class="code">_as_output</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html#_local_os_error_matcher" class="code">_local_os_error_matcher</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id536"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResults._run"> + + </a> + <a name="_run"> + + </a> + <div class="functionHeader"> + + def + _run(self, stream, test): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest.html" class="code">testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest</a></div> + <div>Run the test, the same as in testtools.run but not to stdout<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResults._write_module"> + + </a> + <a name="_write_module"> + + </a> + <div class="functionHeader"> + + def + _write_module(self, name, encoding, contents): + + </div> + <div class="docstring functionBody"> + + <div>Create Python module on disk with contents in given encoding<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResults._test_external_case"> + + </a> + <a name="_test_external_case"> + + </a> + <div class="functionHeader"> + + def + _test_external_case(self, testline, coding='ascii', modulelevel='', suffix=''): + + </div> + <div class="docstring functionBody"> + + <div>Create and run a test case in a seperate module<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResults._setup_external_case"> + + </a> + <a name="_setup_external_case"> + + </a> + <div class="functionHeader"> + + def + _setup_external_case(self, testline, coding='ascii', modulelevel='', suffix=''): + + </div> + <div class="docstring functionBody"> + + <div>Create a test case in a seperate module<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResults._run_external_case"> + + </a> + <a name="_run_external_case"> + + </a> + <div class="functionHeader"> + + def + _run_external_case(self): + + </div> + <div class="docstring functionBody"> + + <div>Run the prepared test case in a seperate module<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResults._get_sample_text"> + + </a> + <a name="_get_sample_text"> + + </a> + <div class="functionHeader"> + + def + _get_sample_text(self, encoding='unicode_internal'): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResults._as_output"> + + </a> + <a name="_as_output"> + + </a> + <div class="functionHeader"> + + def + _as_output(self, text): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest.html" class="code">testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResults.test_non_ascii_failure_string"> + + </a> + <a name="test_non_ascii_failure_string"> + + </a> + <div class="functionHeader"> + + def + test_non_ascii_failure_string(self): + + </div> + <div class="docstring functionBody"> + + <div>Assertion contents can be non-ascii and should get decoded<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResults.test_non_ascii_failure_string_via_exec"> + + </a> + <a name="test_non_ascii_failure_string_via_exec"> + + </a> + <div class="functionHeader"> + + def + test_non_ascii_failure_string_via_exec(self): + + </div> + <div class="docstring functionBody"> + + <div>Assertion via exec can be non-ascii and still gets decoded<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResults.test_control_characters_in_failure_string"> + + </a> + <a name="test_control_characters_in_failure_string"> + + </a> + <div class="functionHeader"> + + def + test_control_characters_in_failure_string(self): + + </div> + <div class="docstring functionBody"> + + <div>Control characters in assertions should be escaped<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResults._local_os_error_matcher"> + + </a> + <a name="_local_os_error_matcher"> + + </a> + <div class="functionHeader"> + + def + _local_os_error_matcher(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResults.test_os_error"> + + </a> + <a name="test_os_error"> + + </a> + <div class="functionHeader"> + + def + test_os_error(self): + + </div> + <div class="docstring functionBody"> + + <div>Locale error messages from the OS shouldn't break anything<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResults.test_assertion_text_shift_jis"> + + </a> + <a name="test_assertion_text_shift_jis"> + + </a> + <div class="functionHeader"> + + def + test_assertion_text_shift_jis(self): + + </div> + <div class="docstring functionBody"> + + <div>A terminal raw backslash in an encoded string is weird but fine<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResults.test_file_comment_iso2022_jp"> + + </a> + <a name="test_file_comment_iso2022_jp"> + + </a> + <div class="functionHeader"> + + def + test_file_comment_iso2022_jp(self): + + </div> + <div class="docstring functionBody"> + + <div>Control character escapes must be preserved if valid encoding<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResults.test_unicode_exception"> + + </a> + <a name="test_unicode_exception"> + + </a> + <div class="functionHeader"> + + def + test_unicode_exception(self): + + </div> + <div class="docstring functionBody"> + + <div>Exceptions that can be formated losslessly as unicode should be<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResults.test_unprintable_exception"> + + </a> + <a name="test_unprintable_exception"> + + </a> + <div class="functionHeader"> + + def + test_unprintable_exception(self): + + </div> + <div class="docstring functionBody"> + + <div>A totally useless exception instance still prints something<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResults.test_non_ascii_dirname"> + + </a> + <a name="test_non_ascii_dirname"> + + </a> + <div class="functionHeader"> + + def + test_non_ascii_dirname(self): + + </div> + <div class="docstring functionBody"> + + <div>Script paths in the traceback can be non-ascii<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResults.test_syntax_error"> + + </a> + <a name="test_syntax_error"> + + </a> + <div class="functionHeader"> + + def + test_syntax_error(self): + + </div> + <div class="docstring functionBody"> + + <div>Syntax errors should still have fancy special-case formatting<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResults.test_syntax_error_malformed"> + + </a> + <a name="test_syntax_error_malformed"> + + </a> + <div class="functionHeader"> + + def + test_syntax_error_malformed(self): + + </div> + <div class="docstring functionBody"> + + <div>Syntax errors with bogus parameters should break anything<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResults.test_syntax_error_line_iso_8859_1"> + + </a> + <a name="test_syntax_error_line_iso_8859_1"> + + </a> + <div class="functionHeader"> + + def + test_syntax_error_line_iso_8859_1(self): + + </div> + <div class="docstring functionBody"> + + <div>Syntax error on a latin-1 line shows the line decoded<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResults.test_syntax_error_line_iso_8859_5"> + + </a> + <a name="test_syntax_error_line_iso_8859_5"> + + </a> + <div class="functionHeader"> + + def + test_syntax_error_line_iso_8859_5(self): + + </div> + <div class="docstring functionBody"> + + <div>Syntax error on a iso-8859-5 line shows the line decoded<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResults.test_syntax_error_line_euc_jp"> + + </a> + <a name="test_syntax_error_line_euc_jp"> + + </a> + <div class="functionHeader"> + + def + test_syntax_error_line_euc_jp(self): + + </div> + <div class="docstring functionBody"> + + <div>Syntax error on a euc_jp line shows the line decoded<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResults.test_syntax_error_line_utf_8"> + + </a> + <a name="test_syntax_error_line_utf_8"> + + </a> + <div class="functionHeader"> + + def + test_syntax_error_line_utf_8(self): + + </div> + <div class="docstring functionBody"> + + <div>Syntax error on a utf-8 line shows the line decoded<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest.html b/apidocs/testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest.html new file mode 100644 index 0000000..7f403e9 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest.html @@ -0,0 +1,605 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest(<a href="testtools.tests.test_testresult.TestNonAsciiResults.html" class="code">TestNonAsciiResults</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Test that running under unittest produces clean ascii strings<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id537"> + + <tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest.html#_run" class="code">_run</a></td> + <td><span>Run the test, the same as in testtools.run but not to stdout</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest.html#_as_output" class="code">_as_output</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testresult.TestNonAsciiResults.html" class="code">TestNonAsciiResults</a>): + </p> + <table class="children sortable" id="id539"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a> (via <a href="testtools.tests.test_testresult.TestNonAsciiResults.html" class="code">TestNonAsciiResults</a>): + </p> + <table class="children sortable" id="id539"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest._run"> + + </a> + <a name="_run"> + + </a> + <div class="functionHeader"> + + def + _run(self, stream, test): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#_run" class="code">testtools.tests.test_testresult.TestNonAsciiResults._run</a></div> + <div>Run the test, the same as in testtools.run but not to stdout<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest._as_output"> + + </a> + <a name="_as_output"> + + </a> + <div class="functionHeader"> + + def + _as_output(self, text): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#_as_output" class="code">testtools.tests.test_testresult.TestNonAsciiResults._as_output</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestPython26TestResultContract.html b/apidocs/testtools.tests.test_testresult.TestPython26TestResultContract.html new file mode 100644 index 0000000..87bd48e --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestPython26TestResultContract.html @@ -0,0 +1,153 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestPython26TestResultContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestPython26TestResultContract(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestPython26TestResultContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id404"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestPython26TestResultContract.html#makeResult" class="code">makeResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a>: + </p> + <table class="children sortable" id="id406"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a>: + </p> + <table class="children sortable" id="id406"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestPython26TestResultContract.makeResult"> + + </a> + <a name="makeResult"> + + </a> + <div class="functionHeader"> + + def + makeResult(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestPython27TestResultContract.html b/apidocs/testtools.tests.test_testresult.TestPython27TestResultContract.html new file mode 100644 index 0000000..4ce3210 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestPython27TestResultContract.html @@ -0,0 +1,186 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestPython27TestResultContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestPython27TestResultContract(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestPython27TestResultContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id414"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestPython27TestResultContract.html#makeResult" class="code">makeResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id417"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id417"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id417"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestPython27TestResultContract.makeResult"> + + </a> + <a name="makeResult"> + + </a> + <div class="functionHeader"> + + def + makeResult(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamFailFast.html b/apidocs/testtools.tests.test_testresult.TestStreamFailFast.html new file mode 100644 index 0000000..e995104 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamFailFast.html @@ -0,0 +1,467 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestStreamFailFast : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestStreamFailFast(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestStreamFailFast">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id488"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamFailFast.html#test_inprogress" class="code">test_inprogress</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamFailFast.html#test_exists" class="code">test_exists</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamFailFast.html#test_xfail" class="code">test_xfail</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamFailFast.html#test_uxsuccess" class="code">test_uxsuccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamFailFast.html#test_success" class="code">test_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamFailFast.html#test_fail" class="code">test_fail</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamFailFast.html#test_skip" class="code">test_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id489"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestStreamFailFast.test_inprogress"> + + </a> + <a name="test_inprogress"> + + </a> + <div class="functionHeader"> + + def + test_inprogress(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamFailFast.test_exists"> + + </a> + <a name="test_exists"> + + </a> + <div class="functionHeader"> + + def + test_exists(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamFailFast.test_xfail"> + + </a> + <a name="test_xfail"> + + </a> + <div class="functionHeader"> + + def + test_xfail(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamFailFast.test_uxsuccess"> + + </a> + <a name="test_uxsuccess"> + + </a> + <div class="functionHeader"> + + def + test_uxsuccess(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamFailFast.test_success"> + + </a> + <a name="test_success"> + + </a> + <div class="functionHeader"> + + def + test_success(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamFailFast.test_fail"> + + </a> + <a name="test_fail"> + + </a> + <div class="functionHeader"> + + def + test_fail(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamFailFast.test_skip"> + + </a> + <a name="test_skip"> + + </a> + <div class="functionHeader"> + + def + test_skip(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamFailFastContract.html b/apidocs/testtools.tests.test_testresult.TestStreamFailFastContract.html new file mode 100644 index 0000000..d6ea884 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamFailFastContract.html @@ -0,0 +1,143 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestStreamFailFastContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestStreamFailFastContract(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestStreamFailFastContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id472"> + + <tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamFailFastContract.html#_make_result" class="code">_make_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>: + </p> + <table class="children sortable" id="id474"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">test_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">test_test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">_power_set</a></td> + <td><span>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>: + </p> + <table class="children sortable" id="id474"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">test_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">test_test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">_power_set</a></td> + <td><span>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestStreamFailFastContract._make_result"> + + </a> + <a name="_make_result"> + + </a> + <div class="functionHeader"> + + def + _make_result(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_testresult.TestStreamResultContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamResultContract._make_result</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamResultContract.html b/apidocs/testtools.tests.test_testresult.TestStreamResultContract.html new file mode 100644 index 0000000..042c24d --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamResultContract.html @@ -0,0 +1,175 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestStreamResultContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestStreamResultContract(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestStreamResultContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + <p>Known subclasses: <a href="testtools.tests.test_testresult.TestBaseStreamResultContract.html" class="code">testtools.tests.test_testresult.TestBaseStreamResultContract</a>, <a href="testtools.tests.test_testresult.TestCopyStreamResultContract.html" class="code">testtools.tests.test_testresult.TestCopyStreamResultContract</a>, <a href="testtools.tests.test_testresult.TestDoubleStreamResultContract.html" class="code">testtools.tests.test_testresult.TestDoubleStreamResultContract</a>, <a href="testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract.html" class="code">testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract</a>, <a href="testtools.tests.test_testresult.TestStreamFailFastContract.html" class="code">testtools.tests.test_testresult.TestStreamFailFastContract</a>, <a href="testtools.tests.test_testresult.TestStreamResultRouterContract.html" class="code">testtools.tests.test_testresult.TestStreamResultRouterContract</a>, <a href="testtools.tests.test_testresult.TestStreamSummaryResultContract.html" class="code">testtools.tests.test_testresult.TestStreamSummaryResultContract</a>, <a href="testtools.tests.test_testresult.TestStreamTaggerContract.html" class="code">testtools.tests.test_testresult.TestStreamTaggerContract</a>, <a href="testtools.tests.test_testresult.TestStreamToDictContract.html" class="code">testtools.tests.test_testresult.TestStreamToDictContract</a>, <a href="testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract.html" class="code">testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract</a>, <a href="testtools.tests.test_testresult.TestStreamToQueueContract.html" class="code">testtools.tests.test_testresult.TestStreamToQueueContract</a></p> + </div> + + <div class="moduleDocstring"> + <div class="undocumented">No class docstring</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id444"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">test_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">test_test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_make_result" class="code">_make_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">_power_set</a></td> + <td><span>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestStreamResultContract._make_result"> + + </a> + <a name="_make_result"> + + </a> + <div class="functionHeader"> + + def + _make_result(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overridden in <a href="testtools.tests.test_testresult.TestBaseStreamResultContract.html" class="code">testtools.tests.test_testresult.TestBaseStreamResultContract</a>, <a href="testtools.tests.test_testresult.TestCopyStreamResultContract.html" class="code">testtools.tests.test_testresult.TestCopyStreamResultContract</a>, <a href="testtools.tests.test_testresult.TestDoubleStreamResultContract.html" class="code">testtools.tests.test_testresult.TestDoubleStreamResultContract</a>, <a href="testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract.html" class="code">testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract</a>, <a href="testtools.tests.test_testresult.TestStreamFailFastContract.html" class="code">testtools.tests.test_testresult.TestStreamFailFastContract</a>, <a href="testtools.tests.test_testresult.TestStreamResultRouterContract.html" class="code">testtools.tests.test_testresult.TestStreamResultRouterContract</a>, <a href="testtools.tests.test_testresult.TestStreamSummaryResultContract.html" class="code">testtools.tests.test_testresult.TestStreamSummaryResultContract</a>, <a href="testtools.tests.test_testresult.TestStreamTaggerContract.html" class="code">testtools.tests.test_testresult.TestStreamTaggerContract</a>, <a href="testtools.tests.test_testresult.TestStreamToDictContract.html" class="code">testtools.tests.test_testresult.TestStreamToDictContract</a>, <a href="testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract.html" class="code">testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract</a>, <a href="testtools.tests.test_testresult.TestStreamToQueueContract.html" class="code">testtools.tests.test_testresult.TestStreamToQueueContract</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamResultContract.test_startTestRun"> + + </a> + <a name="test_startTestRun"> + + </a> + <div class="functionHeader"> + + def + test_startTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamResultContract.test_files"> + + </a> + <a name="test_files"> + + </a> + <div class="functionHeader"> + + def + test_files(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamResultContract.test_test_status"> + + </a> + <a name="test_test_status"> + + </a> + <div class="functionHeader"> + + def + test_test_status(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamResultContract._power_set"> + + </a> + <a name="_power_set"> + + </a> + <div class="functionHeader"> + + def + _power_set(self, iterable): + + </div> + <div class="docstring functionBody"> + + <div>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamResultRouter.html b/apidocs/testtools.tests.test_testresult.TestStreamResultRouter.html new file mode 100644 index 0000000..1f43cd1 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamResultRouter.html @@ -0,0 +1,599 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestStreamResultRouter : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestStreamResultRouter(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestStreamResultRouter">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id504"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_start_stop_test_run_no_fallback" class="code">test_start_stop_test_run_no_fallback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_no_fallback_errors" class="code">test_no_fallback_errors</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_fallback_calls" class="code">test_fallback_calls</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_fallback_no_do_start_stop_run" class="code">test_fallback_no_do_start_stop_run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_bad_policy" class="code">test_add_rule_bad_policy</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_extra_policy_arg" class="code">test_add_rule_extra_policy_arg</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_missing_prefix" class="code">test_add_rule_missing_prefix</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_slash_in_prefix" class="code">test_add_rule_slash_in_prefix</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_route_code_consume_False" class="code">test_add_rule_route_code_consume_False</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_route_code_consume_True" class="code">test_add_rule_route_code_consume_True</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_test_id" class="code">test_add_rule_test_id</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_do_start_stop_run" class="code">test_add_rule_do_start_stop_run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_do_start_stop_run_after_startTestRun" class="code">test_add_rule_do_start_stop_run_after_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id505"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestStreamResultRouter.test_start_stop_test_run_no_fallback"> + + </a> + <a name="test_start_stop_test_run_no_fallback"> + + </a> + <div class="functionHeader"> + + def + test_start_stop_test_run_no_fallback(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamResultRouter.test_no_fallback_errors"> + + </a> + <a name="test_no_fallback_errors"> + + </a> + <div class="functionHeader"> + + def + test_no_fallback_errors(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamResultRouter.test_fallback_calls"> + + </a> + <a name="test_fallback_calls"> + + </a> + <div class="functionHeader"> + + def + test_fallback_calls(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamResultRouter.test_fallback_no_do_start_stop_run"> + + </a> + <a name="test_fallback_no_do_start_stop_run"> + + </a> + <div class="functionHeader"> + + def + test_fallback_no_do_start_stop_run(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_bad_policy"> + + </a> + <a name="test_add_rule_bad_policy"> + + </a> + <div class="functionHeader"> + + def + test_add_rule_bad_policy(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_extra_policy_arg"> + + </a> + <a name="test_add_rule_extra_policy_arg"> + + </a> + <div class="functionHeader"> + + def + test_add_rule_extra_policy_arg(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_missing_prefix"> + + </a> + <a name="test_add_rule_missing_prefix"> + + </a> + <div class="functionHeader"> + + def + test_add_rule_missing_prefix(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_slash_in_prefix"> + + </a> + <a name="test_add_rule_slash_in_prefix"> + + </a> + <div class="functionHeader"> + + def + test_add_rule_slash_in_prefix(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_route_code_consume_False"> + + </a> + <a name="test_add_rule_route_code_consume_False"> + + </a> + <div class="functionHeader"> + + def + test_add_rule_route_code_consume_False(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_route_code_consume_True"> + + </a> + <a name="test_add_rule_route_code_consume_True"> + + </a> + <div class="functionHeader"> + + def + test_add_rule_route_code_consume_True(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_test_id"> + + </a> + <a name="test_add_rule_test_id"> + + </a> + <div class="functionHeader"> + + def + test_add_rule_test_id(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_do_start_stop_run"> + + </a> + <a name="test_add_rule_do_start_stop_run"> + + </a> + <div class="functionHeader"> + + def + test_add_rule_do_start_stop_run(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_do_start_stop_run_after_startTestRun"> + + </a> + <a name="test_add_rule_do_start_stop_run_after_startTestRun"> + + </a> + <div class="functionHeader"> + + def + test_add_rule_do_start_stop_run_after_startTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamResultRouterContract.html b/apidocs/testtools.tests.test_testresult.TestStreamResultRouterContract.html new file mode 100644 index 0000000..97838fd --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamResultRouterContract.html @@ -0,0 +1,143 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestStreamResultRouterContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestStreamResultRouterContract(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestStreamResultRouterContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id475"> + + <tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultRouterContract.html#_make_result" class="code">_make_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>: + </p> + <table class="children sortable" id="id477"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">test_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">test_test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">_power_set</a></td> + <td><span>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>: + </p> + <table class="children sortable" id="id477"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">test_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">test_test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">_power_set</a></td> + <td><span>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestStreamResultRouterContract._make_result"> + + </a> + <a name="_make_result"> + + </a> + <div class="functionHeader"> + + def + _make_result(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_testresult.TestStreamResultContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamResultContract._make_result</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamSummary.html b/apidocs/testtools.tests.test_testresult.TestStreamSummary.html new file mode 100644 index 0000000..5fd5ad7 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamSummary.html @@ -0,0 +1,533 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestStreamSummary : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestStreamSummary(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestStreamSummary">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id490"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamSummary.html#test_attributes" class="code">test_attributes</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamSummary.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamSummary.html#test_wasSuccessful" class="code">test_wasSuccessful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamSummary.html#test_stopTestRun" class="code">test_stopTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamSummary.html#test_stopTestRun_inprogress_test_fails" class="code">test_stopTestRun_inprogress_test_fails</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamSummary.html#test_status_skip" class="code">test_status_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamSummary.html#test_status_fail" class="code">test_status_fail</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamSummary.html#test_status_xfail" class="code">test_status_xfail</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamSummary.html#test_status_uxsuccess" class="code">test_status_uxsuccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamSummary.html#_report_files" class="code">_report_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id491"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestStreamSummary.test_attributes"> + + </a> + <a name="test_attributes"> + + </a> + <div class="functionHeader"> + + def + test_attributes(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamSummary.test_startTestRun"> + + </a> + <a name="test_startTestRun"> + + </a> + <div class="functionHeader"> + + def + test_startTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamSummary.test_wasSuccessful"> + + </a> + <a name="test_wasSuccessful"> + + </a> + <div class="functionHeader"> + + def + test_wasSuccessful(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamSummary.test_stopTestRun"> + + </a> + <a name="test_stopTestRun"> + + </a> + <div class="functionHeader"> + + def + test_stopTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamSummary.test_stopTestRun_inprogress_test_fails"> + + </a> + <a name="test_stopTestRun_inprogress_test_fails"> + + </a> + <div class="functionHeader"> + + def + test_stopTestRun_inprogress_test_fails(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamSummary.test_status_skip"> + + </a> + <a name="test_status_skip"> + + </a> + <div class="functionHeader"> + + def + test_status_skip(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamSummary._report_files"> + + </a> + <a name="_report_files"> + + </a> + <div class="functionHeader"> + + def + _report_files(self, result): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamSummary.test_status_fail"> + + </a> + <a name="test_status_fail"> + + </a> + <div class="functionHeader"> + + def + test_status_fail(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamSummary.test_status_xfail"> + + </a> + <a name="test_status_xfail"> + + </a> + <div class="functionHeader"> + + def + test_status_xfail(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamSummary.test_status_uxsuccess"> + + </a> + <a name="test_status_uxsuccess"> + + </a> + <div class="functionHeader"> + + def + test_status_uxsuccess(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamSummaryResultContract.html b/apidocs/testtools.tests.test_testresult.TestStreamSummaryResultContract.html new file mode 100644 index 0000000..bda4604 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamSummaryResultContract.html @@ -0,0 +1,143 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestStreamSummaryResultContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestStreamSummaryResultContract(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestStreamSummaryResultContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id457"> + + <tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamSummaryResultContract.html#_make_result" class="code">_make_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>: + </p> + <table class="children sortable" id="id459"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">test_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">test_test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">_power_set</a></td> + <td><span>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>: + </p> + <table class="children sortable" id="id459"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">test_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">test_test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">_power_set</a></td> + <td><span>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestStreamSummaryResultContract._make_result"> + + </a> + <a name="_make_result"> + + </a> + <div class="functionHeader"> + + def + _make_result(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_testresult.TestStreamResultContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamResultContract._make_result</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamTagger.html b/apidocs/testtools.tests.test_testresult.TestStreamTagger.html new file mode 100644 index 0000000..27a6948 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamTagger.html @@ -0,0 +1,357 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestStreamTagger : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestStreamTagger(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestStreamTagger">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id482"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamTagger.html#test_adding" class="code">test_adding</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamTagger.html#test_discarding" class="code">test_discarding</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id483"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestStreamTagger.test_adding"> + + </a> + <a name="test_adding"> + + </a> + <div class="functionHeader"> + + def + test_adding(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamTagger.test_discarding"> + + </a> + <a name="test_discarding"> + + </a> + <div class="functionHeader"> + + def + test_discarding(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamTaggerContract.html b/apidocs/testtools.tests.test_testresult.TestStreamTaggerContract.html new file mode 100644 index 0000000..554dae5 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamTaggerContract.html @@ -0,0 +1,143 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestStreamTaggerContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestStreamTaggerContract(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestStreamTaggerContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id460"> + + <tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamTaggerContract.html#_make_result" class="code">_make_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>: + </p> + <table class="children sortable" id="id462"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">test_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">test_test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">_power_set</a></td> + <td><span>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>: + </p> + <table class="children sortable" id="id462"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">test_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">test_test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">_power_set</a></td> + <td><span>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestStreamTaggerContract._make_result"> + + </a> + <a name="_make_result"> + + </a> + <div class="functionHeader"> + + def + _make_result(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_testresult.TestStreamResultContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamResultContract._make_result</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamToDict.html b/apidocs/testtools.tests.test_testresult.TestStreamToDict.html new file mode 100644 index 0000000..3ed3581 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamToDict.html @@ -0,0 +1,423 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestStreamToDict : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestStreamToDict(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestStreamToDict">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id484"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamToDict.html#test_hung_test" class="code">test_hung_test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamToDict.html#test_all_terminal_states_reported" class="code">test_all_terminal_states_reported</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamToDict.html#test_files_reported" class="code">test_files_reported</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamToDict.html#test_bad_mime" class="code">test_bad_mime</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamToDict.html#test_timestamps" class="code">test_timestamps</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id485"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestStreamToDict.test_hung_test"> + + </a> + <a name="test_hung_test"> + + </a> + <div class="functionHeader"> + + def + test_hung_test(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamToDict.test_all_terminal_states_reported"> + + </a> + <a name="test_all_terminal_states_reported"> + + </a> + <div class="functionHeader"> + + def + test_all_terminal_states_reported(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamToDict.test_files_reported"> + + </a> + <a name="test_files_reported"> + + </a> + <div class="functionHeader"> + + def + test_files_reported(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamToDict.test_bad_mime"> + + </a> + <a name="test_bad_mime"> + + </a> + <div class="functionHeader"> + + def + test_bad_mime(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamToDict.test_timestamps"> + + </a> + <a name="test_timestamps"> + + </a> + <div class="functionHeader"> + + def + test_timestamps(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamToDictContract.html b/apidocs/testtools.tests.test_testresult.TestStreamToDictContract.html new file mode 100644 index 0000000..429766c --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamToDictContract.html @@ -0,0 +1,143 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestStreamToDictContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestStreamToDictContract(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestStreamToDictContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id463"> + + <tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamToDictContract.html#_make_result" class="code">_make_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>: + </p> + <table class="children sortable" id="id465"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">test_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">test_test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">_power_set</a></td> + <td><span>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>: + </p> + <table class="children sortable" id="id465"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">test_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">test_test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">_power_set</a></td> + <td><span>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestStreamToDictContract._make_result"> + + </a> + <a name="_make_result"> + + </a> + <div class="functionHeader"> + + def + _make_result(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_testresult.TestStreamResultContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamResultContract._make_result</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamToExtendedContract.html b/apidocs/testtools.tests.test_testresult.TestStreamToExtendedContract.html new file mode 100644 index 0000000..7b4c7f9 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamToExtendedContract.html @@ -0,0 +1,252 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestStreamToExtendedContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestStreamToExtendedContract(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestStreamToExtendedContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id438"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamToExtendedContract.html#makeResult" class="code">makeResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id443"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id443"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id443"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id443"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id443"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestStreamToExtendedContract.makeResult"> + + </a> + <a name="makeResult"> + + </a> + <div class="functionHeader"> + + def + makeResult(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract.html b/apidocs/testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract.html new file mode 100644 index 0000000..c51f414 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract.html @@ -0,0 +1,143 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id466"> + + <tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract.html#_make_result" class="code">_make_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>: + </p> + <table class="children sortable" id="id468"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">test_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">test_test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">_power_set</a></td> + <td><span>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>: + </p> + <table class="children sortable" id="id468"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">test_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">test_test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">_power_set</a></td> + <td><span>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract._make_result"> + + </a> + <a name="_make_result"> + + </a> + <div class="functionHeader"> + + def + _make_result(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_testresult.TestStreamResultContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamResultContract._make_result</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamToQueue.html b/apidocs/testtools.tests.test_testresult.TestStreamToQueue.html new file mode 100644 index 0000000..cbb19db --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamToQueue.html @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestStreamToQueue : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestStreamToQueue(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestStreamToQueue">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id506"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamToQueue.html#make_result" class="code">make_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamToQueue.html#test_status" class="code">test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamToQueue.html#testStartTestRun" class="code">testStartTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamToQueue.html#testStopTestRun" class="code">testStopTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id507"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestStreamToQueue.make_result"> + + </a> + <a name="make_result"> + + </a> + <div class="functionHeader"> + + def + make_result(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamToQueue.test_status"> + + </a> + <a name="test_status"> + + </a> + <div class="functionHeader"> + + def + test_status(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamToQueue.testStartTestRun"> + + </a> + <a name="testStartTestRun"> + + </a> + <div class="functionHeader"> + + def + testStartTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestStreamToQueue.testStopTestRun"> + + </a> + <a name="testStopTestRun"> + + </a> + <div class="functionHeader"> + + def + testStopTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamToQueueContract.html b/apidocs/testtools.tests.test_testresult.TestStreamToQueueContract.html new file mode 100644 index 0000000..965244f --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamToQueueContract.html @@ -0,0 +1,143 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestStreamToQueueContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestStreamToQueueContract(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestStreamToQueueContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id469"> + + <tr class="method private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamToQueueContract.html#_make_result" class="code">_make_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>: + </p> + <table class="children sortable" id="id471"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">test_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">test_test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">_power_set</a></td> + <td><span>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a>: + </p> + <table class="children sortable" id="id471"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">test_files</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">test_test_status</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html#_power_set" class="code">_power_set</a></td> + <td><span>powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestStreamToQueueContract._make_result"> + + </a> + <a name="_make_result"> + + </a> + <div class="functionHeader"> + + def + _make_result(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.tests.test_testresult.TestStreamResultContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamResultContract._make_result</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestTagger.html b/apidocs/testtools.tests.test_testresult.TestTagger.html new file mode 100644 index 0000000..599ac96 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestTagger.html @@ -0,0 +1,335 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestTagger : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestTagger(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestTagger">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id544"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTagger.html#test_tags_tests" class="code">test_tags_tests</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id545"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestTagger.test_tags_tests"> + + </a> + <a name="test_tags_tests"> + + </a> + <div class="functionHeader"> + + def + test_tags_tests(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestTestControl.html b/apidocs/testtools.tests.test_testresult.TestTestControl.html new file mode 100644 index 0000000..a2188e4 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestTestControl.html @@ -0,0 +1,357 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestTestControl : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestTestControl(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestTestControl">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id492"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTestControl.html#test_default" class="code">test_default</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTestControl.html#test_stop" class="code">test_stop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id493"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestTestControl.test_default"> + + </a> + <a name="test_default"> + + </a> + <div class="functionHeader"> + + def + test_default(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTestControl.test_stop"> + + </a> + <a name="test_stop"> + + </a> + <div class="functionHeader"> + + def + test_stop(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestTestResult.html b/apidocs/testtools.tests.test_testresult.TestTestResult.html new file mode 100644 index 0000000..4f1aaac --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestTestResult.html @@ -0,0 +1,511 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestTestResult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestTestResult(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestTestResult">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests for 'TestResult'.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id494"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTestResult.html#makeResult" class="code">makeResult</a></td> + <td><span>Make an arbitrary result for testing.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTestResult.html#test_addSkipped" class="code">test_addSkipped</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTestResult.html#test_now_datetime_now" class="code">test_now_datetime_now</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTestResult.html#test_now_datetime_time" class="code">test_now_datetime_time</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTestResult.html#test_traceback_formatting_without_stack_hidden" class="code">test_traceback_formatting_without_stack_hidden</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTestResult.html#test_traceback_formatting_with_stack_hidden" class="code">test_traceback_formatting_with_stack_hidden</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTestResult.html#test_traceback_formatting_with_stack_hidden_mismatch" class="code">test_traceback_formatting_with_stack_hidden_mismatch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTestResult.html#test_exc_info_to_unicode" class="code">test_exc_info_to_unicode</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTestResult.html#test_traceback_with_locals" class="code">test_traceback_with_locals</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id495"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestTestResult.makeResult"> + + </a> + <a name="makeResult"> + + </a> + <div class="functionHeader"> + + def + makeResult(self): + + </div> + <div class="docstring functionBody"> + + <div>Make an arbitrary result for testing.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTestResult.test_addSkipped"> + + </a> + <a name="test_addSkipped"> + + </a> + <div class="functionHeader"> + + def + test_addSkipped(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTestResult.test_now_datetime_now"> + + </a> + <a name="test_now_datetime_now"> + + </a> + <div class="functionHeader"> + + def + test_now_datetime_now(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTestResult.test_now_datetime_time"> + + </a> + <a name="test_now_datetime_time"> + + </a> + <div class="functionHeader"> + + def + test_now_datetime_time(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTestResult.test_traceback_formatting_without_stack_hidden"> + + </a> + <a name="test_traceback_formatting_without_stack_hidden"> + + </a> + <div class="functionHeader"> + + def + test_traceback_formatting_without_stack_hidden(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTestResult.test_traceback_formatting_with_stack_hidden"> + + </a> + <a name="test_traceback_formatting_with_stack_hidden"> + + </a> + <div class="functionHeader"> + + def + test_traceback_formatting_with_stack_hidden(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTestResult.test_traceback_formatting_with_stack_hidden_mismatch"> + + </a> + <a name="test_traceback_formatting_with_stack_hidden_mismatch"> + + </a> + <div class="functionHeader"> + + def + test_traceback_formatting_with_stack_hidden_mismatch(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTestResult.test_exc_info_to_unicode"> + + </a> + <a name="test_exc_info_to_unicode"> + + </a> + <div class="functionHeader"> + + def + test_exc_info_to_unicode(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTestResult.test_traceback_with_locals"> + + </a> + <a name="test_traceback_with_locals"> + + </a> + <div class="functionHeader"> + + def + test_traceback_with_locals(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestTestResultContract.html b/apidocs/testtools.tests.test_testresult.TestTestResultContract.html new file mode 100644 index 0000000..16b3bb7 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestTestResultContract.html @@ -0,0 +1,318 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestTestResultContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestTestResultContract(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestTestResultContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id364"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTestResultContract.html#makeResult" class="code">makeResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id371"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id371"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id371"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id371"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id371"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id371"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id371"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestTestResultContract.makeResult"> + + </a> + <a name="makeResult"> + + </a> + <div class="functionHeader"> + + def + makeResult(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestTestResultDecoratorContract.html b/apidocs/testtools.tests.test_testresult.TestTestResultDecoratorContract.html new file mode 100644 index 0000000..c9c088e --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestTestResultDecoratorContract.html @@ -0,0 +1,318 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestTestResultDecoratorContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestTestResultDecoratorContract(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestTestResultDecoratorContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id430"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTestResultDecoratorContract.html#makeResult" class="code">makeResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id437"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id437"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id437"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id437"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id437"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id437"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id437"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestTestResultDecoratorContract.makeResult"> + + </a> + <a name="makeResult"> + + </a> + <div class="functionHeader"> + + def + makeResult(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestTextTestResult.html b/apidocs/testtools.tests.test_testresult.TestTextTestResult.html new file mode 100644 index 0000000..0b8a2ee --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestTextTestResult.html @@ -0,0 +1,616 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestTextTestResult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestTextTestResult(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestTextTestResult">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests for 'TextTestResult'.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id498"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTextTestResult.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTextTestResult.html#getvalue" class="code">getvalue</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTextTestResult.html#test__init_sets_stream" class="code">test__init_sets_stream</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTextTestResult.html#reset_output" class="code">reset_output</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTextTestResult.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_count_many" class="code">test_stopTestRun_count_many</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_count_single" class="code">test_stopTestRun_count_single</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_count_zero" class="code">test_stopTestRun_count_zero</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_current_time" class="code">test_stopTestRun_current_time</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_successful" class="code">test_stopTestRun_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_not_successful_failure" class="code">test_stopTestRun_not_successful_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_not_successful_error" class="code">test_stopTestRun_not_successful_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_not_successful_unexpected_success" class="code">test_stopTestRun_not_successful_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_shows_details" class="code">test_stopTestRun_shows_details</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id499"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestTextTestResult.setUp"> + + </a> + <a name="setUp"> + + </a> + <div class="functionHeader"> + + def + setUp(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testcase.TestCase.html#setUp" class="code">testtools.testcase.TestCase.setUp</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTextTestResult.getvalue"> + + </a> + <a name="getvalue"> + + </a> + <div class="functionHeader"> + + def + getvalue(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTextTestResult.test__init_sets_stream"> + + </a> + <a name="test__init_sets_stream"> + + </a> + <div class="functionHeader"> + + def + test__init_sets_stream(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTextTestResult.reset_output"> + + </a> + <a name="reset_output"> + + </a> + <div class="functionHeader"> + + def + reset_output(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTextTestResult.test_startTestRun"> + + </a> + <a name="test_startTestRun"> + + </a> + <div class="functionHeader"> + + def + test_startTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_count_many"> + + </a> + <a name="test_stopTestRun_count_many"> + + </a> + <div class="functionHeader"> + + def + test_stopTestRun_count_many(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_count_single"> + + </a> + <a name="test_stopTestRun_count_single"> + + </a> + <div class="functionHeader"> + + def + test_stopTestRun_count_single(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_count_zero"> + + </a> + <a name="test_stopTestRun_count_zero"> + + </a> + <div class="functionHeader"> + + def + test_stopTestRun_count_zero(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_current_time"> + + </a> + <a name="test_stopTestRun_current_time"> + + </a> + <div class="functionHeader"> + + def + test_stopTestRun_current_time(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_successful"> + + </a> + <a name="test_stopTestRun_successful"> + + </a> + <div class="functionHeader"> + + def + test_stopTestRun_successful(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_not_successful_failure"> + + </a> + <a name="test_stopTestRun_not_successful_failure"> + + </a> + <div class="functionHeader"> + + def + test_stopTestRun_not_successful_failure(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_not_successful_error"> + + </a> + <a name="test_stopTestRun_not_successful_error"> + + </a> + <div class="functionHeader"> + + def + test_stopTestRun_not_successful_error(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_not_successful_unexpected_success"> + + </a> + <a name="test_stopTestRun_not_successful_unexpected_success"> + + </a> + <div class="functionHeader"> + + def + test_stopTestRun_not_successful_unexpected_success(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_shows_details"> + + </a> + <a name="test_stopTestRun_shows_details"> + + </a> + <div class="functionHeader"> + + def + test_stopTestRun_shows_details(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestTextTestResultContract.html b/apidocs/testtools.tests.test_testresult.TestTextTestResultContract.html new file mode 100644 index 0000000..6de9f06 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestTextTestResultContract.html @@ -0,0 +1,318 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestTextTestResultContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestTextTestResultContract(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestTextTestResultContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id380"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTextTestResultContract.html#makeResult" class="code">makeResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id387"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id387"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id387"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id387"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id387"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id387"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id387"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestTextTestResultContract.makeResult"> + + </a> + <a name="makeResult"> + + </a> + <div class="functionHeader"> + + def + makeResult(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestThreadSafeForwardingResult.html b/apidocs/testtools.tests.test_testresult.TestThreadSafeForwardingResult.html new file mode 100644 index 0000000..2b4c845 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestThreadSafeForwardingResult.html @@ -0,0 +1,621 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestThreadSafeForwardingResult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestThreadSafeForwardingResult(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestThreadSafeForwardingResult">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Tests for <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html"><code>TestThreadSafeForwardingResult</code></a>.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id500"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#make_results" class="code">make_results</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_nonforwarding_methods" class="code">test_nonforwarding_methods</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_tags_not_forwarded" class="code">test_tags_not_forwarded</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_global_tags_simple" class="code">test_global_tags_simple</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_global_tags_complex" class="code">test_global_tags_complex</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_local_tags" class="code">test_local_tags</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_local_tags_dont_leak" class="code">test_local_tags_dont_leak</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_stopTestRun" class="code">test_stopTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_forward_addError" class="code">test_forward_addError</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_forward_addFailure" class="code">test_forward_addFailure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_forward_addSkip" class="code">test_forward_addSkip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_forward_addSuccess" class="code">test_forward_addSuccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_only_one_test_at_a_time" class="code">test_only_one_test_at_a_time</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id501"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestThreadSafeForwardingResult.make_results"> + + </a> + <a name="make_results"> + + </a> + <div class="functionHeader"> + + def + make_results(self, n): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_nonforwarding_methods"> + + </a> + <a name="test_nonforwarding_methods"> + + </a> + <div class="functionHeader"> + + def + test_nonforwarding_methods(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_tags_not_forwarded"> + + </a> + <a name="test_tags_not_forwarded"> + + </a> + <div class="functionHeader"> + + def + test_tags_not_forwarded(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_global_tags_simple"> + + </a> + <a name="test_global_tags_simple"> + + </a> + <div class="functionHeader"> + + def + test_global_tags_simple(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_global_tags_complex"> + + </a> + <a name="test_global_tags_complex"> + + </a> + <div class="functionHeader"> + + def + test_global_tags_complex(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_local_tags"> + + </a> + <a name="test_local_tags"> + + </a> + <div class="functionHeader"> + + def + test_local_tags(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_local_tags_dont_leak"> + + </a> + <a name="test_local_tags_dont_leak"> + + </a> + <div class="functionHeader"> + + def + test_local_tags_dont_leak(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_startTestRun"> + + </a> + <a name="test_startTestRun"> + + </a> + <div class="functionHeader"> + + def + test_startTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_stopTestRun"> + + </a> + <a name="test_stopTestRun"> + + </a> + <div class="functionHeader"> + + def + test_stopTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_forward_addError"> + + </a> + <a name="test_forward_addError"> + + </a> + <div class="functionHeader"> + + def + test_forward_addError(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_forward_addFailure"> + + </a> + <a name="test_forward_addFailure"> + + </a> + <div class="functionHeader"> + + def + test_forward_addFailure(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_forward_addSkip"> + + </a> + <a name="test_forward_addSkip"> + + </a> + <div class="functionHeader"> + + def + test_forward_addSkip(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_forward_addSuccess"> + + </a> + <a name="test_forward_addSuccess"> + + </a> + <div class="functionHeader"> + + def + test_forward_addSuccess(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_only_one_test_at_a_time"> + + </a> + <a name="test_only_one_test_at_a_time"> + + </a> + <div class="functionHeader"> + + def + test_only_one_test_at_a_time(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestThreadSafeForwardingResultContract.html b/apidocs/testtools.tests.test_testresult.TestThreadSafeForwardingResultContract.html new file mode 100644 index 0000000..5ad8fc2 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestThreadSafeForwardingResultContract.html @@ -0,0 +1,318 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestThreadSafeForwardingResultContract : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestThreadSafeForwardingResultContract(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>, <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestThreadSafeForwardingResultContract">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id388"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResultContract.html#makeResult" class="code">makeResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id395"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id395"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id395"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id395"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id395"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id395"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a> (via <a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a>, <a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a>, <a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a>, <a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a>, <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a>): + </p> + <table class="children sortable" id="id395"> + + <tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">test_fresh_result_is_successful</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">test_addError_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">test_addFailure_is_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">test_addSuccess_is_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">test_stop_sets_shouldStop</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestThreadSafeForwardingResultContract.makeResult"> + + </a> + <a name="makeResult"> + + </a> + <div class="functionHeader"> + + def + makeResult(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestTimestampingStreamResult.html b/apidocs/testtools.tests.test_testresult.TestTimestampingStreamResult.html new file mode 100644 index 0000000..42ca027 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestTimestampingStreamResult.html @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult.TestTimestampingStreamResult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testresult.TestTimestampingStreamResult(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testresult.html" class="code">test_testresult</a></code> + + <a href="classIndex.html#testtools.tests.test_testresult.TestTimestampingStreamResult">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id546"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTimestampingStreamResult.html#test_startTestRun" class="code">test_startTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTimestampingStreamResult.html#test_stopTestRun" class="code">test_stopTestRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTimestampingStreamResult.html#test_status_no_timestamp" class="code">test_status_no_timestamp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testresult.TestTimestampingStreamResult.html#test_status_timestamp" class="code">test_status_timestamp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id547"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.TestTimestampingStreamResult.test_startTestRun"> + + </a> + <a name="test_startTestRun"> + + </a> + <div class="functionHeader"> + + def + test_startTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTimestampingStreamResult.test_stopTestRun"> + + </a> + <a name="test_stopTestRun"> + + </a> + <div class="functionHeader"> + + def + test_stopTestRun(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTimestampingStreamResult.test_status_no_timestamp"> + + </a> + <a name="test_status_no_timestamp"> + + </a> + <div class="functionHeader"> + + def + test_status_no_timestamp(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.TestTimestampingStreamResult.test_status_timestamp"> + + </a> + <a name="test_status_timestamp"> + + </a> + <div class="functionHeader"> + + def + test_status_timestamp(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.html b/apidocs/testtools.tests.test_testresult.html new file mode 100644 index 0000000..1c9280e --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.html @@ -0,0 +1,519 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testresult : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.test_testresult</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Test TestResults and related things.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id342"> + + <tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_testresult.html#make_erroring_test" class="code">make_erroring_test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_testresult.html#make_failing_test" class="code">make_failing_test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_testresult.html#make_mismatching_test" class="code">make_mismatching_test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_testresult.html#make_unexpectedly_successful_test" class="code">make_unexpectedly_successful_test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_testresult.html#make_test" class="code">make_test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_testresult.html#make_exception_info" class="code">make_exception_info</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.Python26Contract.html" class="code">Python26Contract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.Python27Contract.html" class="code">Python27Contract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TagsContract.html" class="code">TagsContract</a></td> + <td><span>Tests to ensure correct tagging behaviour.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.DetailsContract.html" class="code">DetailsContract</a></td> + <td><span>Tests for the details API of TestResults.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.FallbackContract.html" class="code">FallbackContract</a></td> + <td><span>When we fallback we take our policy choice to map calls.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.StartTestRunContract.html" class="code">StartTestRunContract</a></td> + <td><span>Defines the contract for testtools policy choices.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestTestResultContract.html" class="code">TestTestResultContract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestMultiTestResultContract.html" class="code">TestMultiTestResultContract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestTextTestResultContract.html" class="code">TestTextTestResultContract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResultContract.html" class="code">TestThreadSafeForwardingResultContract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestExtendedTestResultContract.html" class="code">TestExtendedTestResultContract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestPython26TestResultContract.html" class="code">TestPython26TestResultContract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestAdaptedPython26TestResultContract.html" class="code">TestAdaptedPython26TestResultContract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestPython27TestResultContract.html" class="code">TestPython27TestResultContract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestAdaptedPython27TestResultContract.html" class="code">TestAdaptedPython27TestResultContract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestAdaptedStreamResult.html" class="code">TestAdaptedStreamResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestTestResultDecoratorContract.html" class="code">TestTestResultDecoratorContract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestStreamToExtendedContract.html" class="code">TestStreamToExtendedContract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">TestStreamResultContract</a></td> + <td><span class="undocumented">No class docstring; 1/5 methods documented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestBaseStreamResultContract.html" class="code">TestBaseStreamResultContract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestCopyStreamResultContract.html" class="code">TestCopyStreamResultContract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestDoubleStreamResultContract.html" class="code">TestDoubleStreamResultContract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract.html" class="code">TestExtendedToStreamDecoratorContract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestStreamSummaryResultContract.html" class="code">TestStreamSummaryResultContract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestStreamTaggerContract.html" class="code">TestStreamTaggerContract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestStreamToDictContract.html" class="code">TestStreamToDictContract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract.html" class="code">TestStreamToExtendedDecoratorContract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestStreamToQueueContract.html" class="code">TestStreamToQueueContract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestStreamFailFastContract.html" class="code">TestStreamFailFastContract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultRouterContract.html" class="code">TestStreamResultRouterContract</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestDoubleStreamResultEvents.html" class="code">TestDoubleStreamResultEvents</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestCopyStreamResultCopies.html" class="code">TestCopyStreamResultCopies</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestStreamTagger.html" class="code">TestStreamTagger</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestStreamToDict.html" class="code">TestStreamToDict</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToStreamDecorator.html" class="code">TestExtendedToStreamDecorator</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestStreamFailFast.html" class="code">TestStreamFailFast</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestStreamSummary.html" class="code">TestStreamSummary</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestTestControl.html" class="code">TestTestControl</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestTestResult.html" class="code">TestTestResult</a></td> + <td><span>Tests for 'TestResult'.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestMultiTestResult.html" class="code">TestMultiTestResult</a></td> + <td><span>Tests for 'MultiTestResult'.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestTextTestResult.html" class="code">TestTextTestResult</a></td> + <td><span>Tests for 'TextTestResult'.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html" class="code">TestThreadSafeForwardingResult</a></td> + <td><span>Tests for <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html"><code>TestThreadSafeForwardingResult</code></a>.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestMergeTags.html" class="code">TestMergeTags</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestStreamResultRouter.html" class="code">TestStreamResultRouter</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestStreamToQueue.html" class="code">TestStreamToQueue</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">TestExtendedToOriginalResultDecoratorBase</a></td> + <td><span class="undocumented">No class docstring; 11/15 methods documented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html" class="code">TestExtendedToOriginalResultDecorator</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html" class="code">TestExtendedToOriginalAddError</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddFailure.html" class="code">TestExtendedToOriginalAddFailure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.html" class="code">TestExtendedToOriginalAddExpectedFailure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html" class="code">TestExtendedToOriginalAddSkip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html" class="code">TestExtendedToOriginalAddSuccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html" class="code">TestExtendedToOriginalAddUnexpectedSuccess</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes.html" class="code">TestExtendedToOriginalResultOtherAttributes</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResults.html" class="code">TestNonAsciiResults</a></td> + <td><span>Test all kinds of tracebacks are cleanly interpreted as unicode</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest.html" class="code">TestNonAsciiResultsWithUnittest</a></td> + <td><span>Test that running under unittest produces clean ascii strings</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestDetailsToStr.html" class="code">TestDetailsToStr</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestByTestResultTests.html" class="code">TestByTestResultTests</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestTagger.html" class="code">TestTagger</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testresult.TestTimestampingStreamResult.html" class="code">TestTimestampingStreamResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_testresult.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testresult.make_erroring_test"> + + </a> + <a name="make_erroring_test"> + + </a> + <div class="functionHeader"> + + def + make_erroring_test(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.make_failing_test"> + + </a> + <a name="make_failing_test"> + + </a> + <div class="functionHeader"> + + def + make_failing_test(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.make_mismatching_test"> + + </a> + <a name="make_mismatching_test"> + + </a> + <div class="functionHeader"> + + def + make_mismatching_test(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.make_unexpectedly_successful_test"> + + </a> + <a name="make_unexpectedly_successful_test"> + + </a> + <div class="functionHeader"> + + def + make_unexpectedly_successful_test(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.make_test"> + + </a> + <a name="make_test"> + + </a> + <div class="functionHeader"> + + def + make_test(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.make_exception_info"> + + </a> + <a name="make_exception_info"> + + </a> + <div class="functionHeader"> + + def + make_exception_info(exceptionFactory, *args, **kwargs): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testresult.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testsuite.Sample.html b/apidocs/testtools.tests.test_testsuite.Sample.html new file mode 100644 index 0000000..876bb6d --- /dev/null +++ b/apidocs/testtools.tests.test_testsuite.Sample.html @@ -0,0 +1,379 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testsuite.Sample : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testsuite.Sample(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testsuite.html" class="code">test_testsuite</a></code> + + <a href="classIndex.html#testtools.tests.test_testsuite.Sample">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id674"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testsuite.Sample.html#__hash__" class="code">__hash__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testsuite.Sample.html#test_method1" class="code">test_method1</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testsuite.Sample.html#test_method2" class="code">test_method2</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id675"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testsuite.Sample.__hash__"> + + </a> + <a name="__hash__"> + + </a> + <div class="functionHeader"> + + def + __hash__(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testsuite.Sample.test_method1"> + + </a> + <a name="test_method1"> + + </a> + <div class="functionHeader"> + + def + test_method1(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testsuite.Sample.test_method2"> + + </a> + <a name="test_method2"> + + </a> + <div class="functionHeader"> + + def + test_method2(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html b/apidocs/testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html new file mode 100644 index 0000000..2bd7854 --- /dev/null +++ b/apidocs/testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html @@ -0,0 +1,423 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testsuite.html" class="code">test_testsuite</a></code> + + <a href="classIndex.html#testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id678"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html#test_trivial" class="code">test_trivial</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html#test_broken_runner" class="code">test_broken_runner</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html#split_suite" class="code">split_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html#test_setupclass_skip" class="code">test_setupclass_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html#test_setupclass_upcall" class="code">test_setupclass_upcall</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id679"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.test_trivial"> + + </a> + <a name="test_trivial"> + + </a> + <div class="functionHeader"> + + def + test_trivial(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.test_broken_runner"> + + </a> + <a name="test_broken_runner"> + + </a> + <div class="functionHeader"> + + def + test_broken_runner(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.split_suite"> + + </a> + <a name="split_suite"> + + </a> + <div class="functionHeader"> + + def + split_suite(self, suite): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.test_setupclass_skip"> + + </a> + <a name="test_setupclass_skip"> + + </a> + <div class="functionHeader"> + + def + test_setupclass_skip(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.test_setupclass_upcall"> + + </a> + <a name="test_setupclass_upcall"> + + </a> + <div class="functionHeader"> + + def + test_setupclass_upcall(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html b/apidocs/testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html new file mode 100644 index 0000000..8c49c31 --- /dev/null +++ b/apidocs/testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testsuite.TestConcurrentTestSuiteRun : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testsuite.TestConcurrentTestSuiteRun(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testsuite.html" class="code">test_testsuite</a></code> + + <a href="classIndex.html#testtools.tests.test_testsuite.TestConcurrentTestSuiteRun">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id676"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html#test_broken_test" class="code">test_broken_test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html#test_trivial" class="code">test_trivial</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html#test_wrap_result" class="code">test_wrap_result</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html#split_suite" class="code">split_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id677"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.test_broken_test"> + + </a> + <a name="test_broken_test"> + + </a> + <div class="functionHeader"> + + def + test_broken_test(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.test_trivial"> + + </a> + <a name="test_trivial"> + + </a> + <div class="functionHeader"> + + def + test_trivial(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.test_wrap_result"> + + </a> + <a name="test_wrap_result"> + + </a> + <div class="functionHeader"> + + def + test_wrap_result(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.split_suite"> + + </a> + <a name="split_suite"> + + </a> + <div class="functionHeader"> + + def + split_suite(self, suite): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testsuite.TestFixtureSuite.html b/apidocs/testtools.tests.test_testsuite.TestFixtureSuite.html new file mode 100644 index 0000000..6b67932 --- /dev/null +++ b/apidocs/testtools.tests.test_testsuite.TestFixtureSuite.html @@ -0,0 +1,374 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testsuite.TestFixtureSuite : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testsuite.TestFixtureSuite(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testsuite.html" class="code">test_testsuite</a></code> + + <a href="classIndex.html#testtools.tests.test_testsuite.TestFixtureSuite">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id680"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testsuite.TestFixtureSuite.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testsuite.TestFixtureSuite.html#test_fixture_suite" class="code">test_fixture_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testsuite.TestFixtureSuite.html#test_fixture_suite_sort" class="code">test_fixture_suite_sort</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id681"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testsuite.TestFixtureSuite.setUp"> + + </a> + <a name="setUp"> + + </a> + <div class="functionHeader"> + + def + setUp(self): + + </div> + <div class="docstring functionBody"> + <div class="interfaceinfo">overrides <a href="testtools.testcase.TestCase.html#setUp" class="code">testtools.testcase.TestCase.setUp</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testsuite.TestFixtureSuite.test_fixture_suite"> + + </a> + <a name="test_fixture_suite"> + + </a> + <div class="functionHeader"> + + def + test_fixture_suite(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testsuite.TestFixtureSuite.test_fixture_suite_sort"> + + </a> + <a name="test_fixture_suite_sort"> + + </a> + <div class="functionHeader"> + + def + test_fixture_suite_sort(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testsuite.TestSortedTests.html b/apidocs/testtools.tests.test_testsuite.TestSortedTests.html new file mode 100644 index 0000000..e0c0ae9 --- /dev/null +++ b/apidocs/testtools.tests.test_testsuite.TestSortedTests.html @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testsuite.TestSortedTests : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_testsuite.TestSortedTests(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_testsuite.html" class="code">test_testsuite</a></code> + + <a href="classIndex.html#testtools.tests.test_testsuite.TestSortedTests">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">Undocumented</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id682"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testsuite.TestSortedTests.html#test_sorts_custom_suites" class="code">test_sorts_custom_suites</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testsuite.TestSortedTests.html#test_custom_suite_without_sort_tests_works" class="code">test_custom_suite_without_sort_tests_works</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testsuite.TestSortedTests.html#test_sorts_simple_suites" class="code">test_sorts_simple_suites</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_testsuite.TestSortedTests.html#test_duplicate_simple_suites" class="code">test_duplicate_simple_suites</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id683"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testsuite.TestSortedTests.test_sorts_custom_suites"> + + </a> + <a name="test_sorts_custom_suites"> + + </a> + <div class="functionHeader"> + + def + test_sorts_custom_suites(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testsuite.TestSortedTests.test_custom_suite_without_sort_tests_works"> + + </a> + <a name="test_custom_suite_without_sort_tests_works"> + + </a> + <div class="functionHeader"> + + def + test_custom_suite_without_sort_tests_works(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testsuite.TestSortedTests.test_sorts_simple_suites"> + + </a> + <a name="test_sorts_simple_suites"> + + </a> + <div class="functionHeader"> + + def + test_sorts_simple_suites(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_testsuite.TestSortedTests.test_duplicate_simple_suites"> + + </a> + <a name="test_duplicate_simple_suites"> + + </a> + <div class="functionHeader"> + + def + test_duplicate_simple_suites(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_testsuite.html b/apidocs/testtools.tests.test_testsuite.html new file mode 100644 index 0000000..228d01c --- /dev/null +++ b/apidocs/testtools.tests.test_testsuite.html @@ -0,0 +1,112 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_testsuite : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.test_testsuite</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Test ConcurrentTestSuite and related things.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id673"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testsuite.Sample.html" class="code">Sample</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html" class="code">TestConcurrentTestSuiteRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html" class="code">TestConcurrentStreamTestSuiteRun</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testsuite.TestFixtureSuite.html" class="code">TestFixtureSuite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_testsuite.TestSortedTests.html" class="code">TestSortedTests</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_testsuite.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_testsuite.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_with_with.TestExpectedException.html b/apidocs/testtools.tests.test_with_with.TestExpectedException.html new file mode 100644 index 0000000..7f9c76b --- /dev/null +++ b/apidocs/testtools.tests.test_with_with.TestExpectedException.html @@ -0,0 +1,511 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_with_with.TestExpectedException : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.tests.test_with_with.TestExpectedException(<a href="testtools.testcase.TestCase.html" class="code">TestCase</a>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a>.<a href="testtools.tests.test_with_with.html" class="code">test_with_with</a></code> + + <a href="classIndex.html#testtools.tests.test_with_with.TestExpectedException">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Test the ExpectedException context manager.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id693"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_with_with.TestExpectedException.html#test_pass_on_raise" class="code">test_pass_on_raise</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_with_with.TestExpectedException.html#test_pass_on_raise_matcher" class="code">test_pass_on_raise_matcher</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_with_with.TestExpectedException.html#test_raise_on_text_mismatch" class="code">test_raise_on_text_mismatch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_with_with.TestExpectedException.html#test_raise_on_general_mismatch" class="code">test_raise_on_general_mismatch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_with_with.TestExpectedException.html#test_raise_on_error_mismatch" class="code">test_raise_on_error_mismatch</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_with_with.TestExpectedException.html#test_raise_if_no_exception" class="code">test_raise_if_no_exception</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_with_with.TestExpectedException.html#test_pass_on_raise_any_message" class="code">test_pass_on_raise_any_message</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_with_with.TestExpectedException.html#test_annotate" class="code">test_annotate</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.tests.test_with_with.TestExpectedException.html#test_annotated_matcher" class="code">test_annotated_matcher</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + <p class="inheritedFrom"> + Inherited from <a href="testtools.testcase.TestCase.html" class="code">TestCase</a>: + </p> + <table class="children sortable" id="id694"> + + <tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#exception_handlers" class="code">exception_handlers</a></td> + <td>Exceptions to catch from setUp, runTest and +tearDown. This list is able to be modified at any time and consists of +(exception_class, handler(case, result, exception_value)) pairs.</td> + </tr><tr class="baseinstancevariable"> + + <td>Instance Variable</td> + <td><a href="testtools.testcase.TestCase.html#force_failure" class="code">force_failure</a></td> + <td>Force testtools.RunTest to fail the test after the +test has completed.</td> + </tr><tr class="baseclassvariable"> + + <td>Class Variable</td> + <td><a href="testtools.testcase.TestCase.html#run_tests_with" class="code">run_tests_with</a></td> + <td>A factory to make the <tt class="rst-docutils literal">RunTest</tt> to run tests with. +Defaults to <tt class="rst-docutils literal">RunTest</tt>. The factory is expected to take a test case +and an optional list of exception handlers.</td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__init__" class="code">__init__</a></td> + <td><span>Construct a TestCase.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__eq__" class="code">__eq__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#__repr__" class="code">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetail" class="code">addDetail</a></td> + <td><span>Add a detail to be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getDetails" class="code">getDetails</a></td> + <td><span>Get the details dict that will be reported with this test's outcome.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#patch" class="code">patch</a></td> + <td><span>Monkey-patch 'obj.attribute' to 'value' while the test is running.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#shortDescription" class="code">shortDescription</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#skipTest" class="code">skipTest</a></td> + <td><span>Cause this test to be skipped.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addCleanup" class="code">addCleanup</a></td> + <td><span>Add a cleanup function to be called after tearDown.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addOnException" class="code">addOnException</a></td> + <td><span>Add a handler to be called when an exception occurs in test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertEqual" class="code">assertEqual</a></td> + <td><span>Assert that 'expected' is equal to 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIn" class="code">assertIn</a></td> + <td><span>Assert that needle is in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNone" class="code">assertIsNone</a></td> + <td><span>Assert that 'observed' is equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNotNone" class="code">assertIsNotNone</a></td> + <td><span>Assert that 'observed' is not equal to None.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIs" class="code">assertIs</a></td> + <td><span>Assert that 'expected' is 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsNot" class="code">assertIsNot</a></td> + <td><span>Assert that 'expected' is not 'observed'.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertNotIn" class="code">assertNotIn</a></td> + <td><span>Assert that needle is not in haystack.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">assertIsInstance</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertRaises" class="code">assertRaises</a></td> + <td><span class="undocumented">No summary</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#assertThat" class="code">assertThat</a></td> + <td><span>Assert that matchee is matched by matcher.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#addDetailUniqueName" class="code">addDetailUniqueName</a></td> + <td><span>Add a detail to the test, but ensure it's name is unique.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectThat" class="code">expectThat</a></td> + <td><span>Check that matchee is matched by matcher, but delay the assertion failure.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">defaultTestResult</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#expectFailure" class="code">expectFailure</a></td> + <td><span>Check that a test fails in a particular way.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueInteger" class="code">getUniqueInteger</a></td> + <td><span>Get an integer unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#getUniqueString" class="code">getUniqueString</a></td> + <td><span>Get a string unique to this test.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#onException" class="code">onException</a></td> + <td><span>Called when an exception propogates from test code.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#run" class="code">run</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#useFixture" class="code">useFixture</a></td> + <td><span>Use fixture in a test case.</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#setUp" class="code">setUp</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#tearDown" class="code">tearDown</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_formatTypes" class="code">_formatTypes</a></td> + <td><span>Format a class or a bunch of classes for display in an error.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_add_reason" class="code">_add_reason</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_matchHelper" class="code">_matchHelper</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_error" class="code">_report_error</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">_report_expected_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_failure" class="code">_report_failure</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_skip" class="code">_report_skip</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_traceback" class="code">_report_traceback</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basestaticmethod private"> + + <td>Static Method</td> + <td><a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">_report_unexpected_success</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_setup" class="code">_run_setup</a></td> + <td><span>Run the setUp function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_teardown" class="code">_run_teardown</a></td> + <td><span>Run the tearDown function for this test.</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_get_test_method" class="code">_get_test_method</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + <td>Method</td> + <td><a href="testtools.testcase.TestCase.html#_run_test_method" class="code">_run_test_method</a></td> + <td><span>Run the test method for this test.</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_with_with.TestExpectedException.test_pass_on_raise"> + + </a> + <a name="test_pass_on_raise"> + + </a> + <div class="functionHeader"> + + def + test_pass_on_raise(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_with_with.TestExpectedException.test_pass_on_raise_matcher"> + + </a> + <a name="test_pass_on_raise_matcher"> + + </a> + <div class="functionHeader"> + + def + test_pass_on_raise_matcher(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_with_with.TestExpectedException.test_raise_on_text_mismatch"> + + </a> + <a name="test_raise_on_text_mismatch"> + + </a> + <div class="functionHeader"> + + def + test_raise_on_text_mismatch(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_with_with.TestExpectedException.test_raise_on_general_mismatch"> + + </a> + <a name="test_raise_on_general_mismatch"> + + </a> + <div class="functionHeader"> + + def + test_raise_on_general_mismatch(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_with_with.TestExpectedException.test_raise_on_error_mismatch"> + + </a> + <a name="test_raise_on_error_mismatch"> + + </a> + <div class="functionHeader"> + + def + test_raise_on_error_mismatch(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_with_with.TestExpectedException.test_raise_if_no_exception"> + + </a> + <a name="test_raise_if_no_exception"> + + </a> + <div class="functionHeader"> + + def + test_raise_if_no_exception(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_with_with.TestExpectedException.test_pass_on_raise_any_message"> + + </a> + <a name="test_pass_on_raise_any_message"> + + </a> + <div class="functionHeader"> + + def + test_pass_on_raise_any_message(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_with_with.TestExpectedException.test_annotate"> + + </a> + <a name="test_annotate"> + + </a> + <div class="functionHeader"> + + def + test_annotate(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.tests.test_with_with.TestExpectedException.test_annotated_matcher"> + + </a> + <a name="test_annotated_matcher"> + + </a> + <div class="functionHeader"> + + def + test_annotated_matcher(self): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.tests.test_with_with.html b/apidocs/testtools.tests.test_with_with.html new file mode 100644 index 0000000..f22453f --- /dev/null +++ b/apidocs/testtools.tests.test_with_with.html @@ -0,0 +1,92 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.tests.test_with_with : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.tests.test_with_with</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.tests.html" class="code">tests</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div class="undocumented">No module docstring</div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id692"> + + <tr class="class"> + + <td>Class</td> + <td><a href="testtools.tests.test_with_with.TestExpectedException.html" class="code">TestExpectedException</a></td> + <td><span>Test the ExpectedException context manager.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.tests.test_with_with.html#test_suite" class="code">test_suite</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.tests.test_with_with.test_suite"> + + </a> + <a name="test_suite"> + + </a> + <div class="functionHeader"> + + def + test_suite(): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testsuite.ConcurrentStreamTestSuite.html b/apidocs/testtools.testsuite.ConcurrentStreamTestSuite.html new file mode 100644 index 0000000..eee90fa --- /dev/null +++ b/apidocs/testtools.testsuite.ConcurrentStreamTestSuite.html @@ -0,0 +1,149 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testsuite.ConcurrentStreamTestSuite : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testsuite.ConcurrentStreamTestSuite(<span title="object">object</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testsuite.html" class="code">testsuite</a></code> + + <a href="classIndex.html#testtools.testsuite.ConcurrentStreamTestSuite">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>A TestSuite whose run() parallelises.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id164"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testsuite.ConcurrentStreamTestSuite.html#__init__" class="code">__init__</a></td> + <td><span>Create a ConcurrentTestSuite to execute tests returned by make_tests.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testsuite.ConcurrentStreamTestSuite.html#run" class="code">run</a></td> + <td><span>Run the tests concurrently.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testsuite.ConcurrentStreamTestSuite.html#_run_test" class="code">_run_test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testsuite.ConcurrentStreamTestSuite.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, make_tests): + + </div> + <div class="docstring functionBody"> + + <div>Create a ConcurrentTestSuite to execute tests returned by make_tests.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">make_tests</td><td>A helper function that should return some number +of concurrently executable test suite / test case objects. +make_tests must take no parameters and return an iterable of +tuples. Each tuple must be of the form (case, route_code), where +case is a TestCase-like object with a run(result) method, and +route_code is either None or a unicode string.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testsuite.ConcurrentStreamTestSuite.run"> + + </a> + <a name="run"> + + </a> + <div class="functionHeader"> + + def + run(self, result): + + </div> + <div class="docstring functionBody"> + + <div><p>Run the tests concurrently.</p> +<p>This calls out to the provided make_tests helper to determine the +concurrency to use and to assign routing codes to each worker.</p> +<p>ConcurrentTestSuite provides no special mechanism to stop the tests +returned by make_tests, it is up to the made tests to honour the +shouldStop attribute on the result object they are run with, which will +be set if the test run is to be aborted.</p> +<p>The tests are run with an ExtendedToStreamDecorator wrapped around a +StreamToQueue instance. ConcurrentStreamTestSuite dequeues events from +the queue and forwards them to result. Tests can therefore be either +original unittest tests (or compatible tests), or new tests that emit +StreamResult events directly.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">result</td><td>A StreamResult instance. The caller is responsible for +calling startTestRun on this instance prior to invoking suite.run, +and stopTestRun subsequent to the run method returning.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testsuite.ConcurrentStreamTestSuite._run_test"> + + </a> + <a name="_run_test"> + + </a> + <div class="functionHeader"> + + def + _run_test(self, test, process_result, route_code): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testsuite.ConcurrentTestSuite.html b/apidocs/testtools.testsuite.ConcurrentTestSuite.html new file mode 100644 index 0000000..d8eaa97 --- /dev/null +++ b/apidocs/testtools.testsuite.ConcurrentTestSuite.html @@ -0,0 +1,171 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testsuite.ConcurrentTestSuite : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="class"><code>testtools.testsuite.ConcurrentTestSuite(<span title="unittest2.TestSuite">unittest2.TestSuite</span>)</code> <small>class documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.testsuite.html" class="code">testsuite</a></code> + + <a href="classIndex.html#testtools.testsuite.ConcurrentTestSuite">(View In Hierarchy)</a> + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>A TestSuite whose run() calls out to a concurrency strategy.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id163"> + + <tr class="method"> + + <td>Method</td> + <td><a href="testtools.testsuite.ConcurrentTestSuite.html#__init__" class="code">__init__</a></td> + <td><span>Create a ConcurrentTestSuite to execute suite.</span></td> + </tr><tr class="method"> + + <td>Method</td> + <td><a href="testtools.testsuite.ConcurrentTestSuite.html#run" class="code">run</a></td> + <td><span>Run the tests concurrently.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testsuite.ConcurrentTestSuite.html#_wrap_result" class="code">_wrap_result</a></td> + <td><span>Wrap a thread-safe result before sending it test results.</span></td> + </tr><tr class="method private"> + + <td>Method</td> + <td><a href="testtools.testsuite.ConcurrentTestSuite.html#_run_test" class="code">_run_test</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testsuite.ConcurrentTestSuite.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, suite, make_tests, wrap_result=None): + + </div> + <div class="docstring functionBody"> + + <div>Create a ConcurrentTestSuite to execute suite.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">suite</td><td>A suite to run concurrently.</td></tr><tr><td></td><td class="fieldArg">make_tests</td><td>A helper function to split the tests in the +ConcurrentTestSuite into some number of concurrently executing +sub-suites. make_tests must take a suite, and return an iterable +of TestCase-like object, each of which must have a run(result) +method.</td></tr><tr><td></td><td class="fieldArg">wrap_result</td><td>An optional function that takes a thread-safe +result and a thread number and must return a <tt class="rst-docutils literal">TestResult</tt> +object. If not provided, then <tt class="rst-docutils literal">ConcurrentTestSuite</tt> will just +use a <tt class="rst-docutils literal">ThreadsafeForwardingResult</tt> wrapped around the result +passed to <tt class="rst-docutils literal">run()</tt>.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testsuite.ConcurrentTestSuite._wrap_result"> + + </a> + <a name="_wrap_result"> + + </a> + <div class="functionHeader"> + + def + _wrap_result(self, thread_safe_result, thread_number): + + </div> + <div class="docstring functionBody"> + + <div><p>Wrap a thread-safe result before sending it test results.</p> +<p>You can either override this in a subclass or pass your own +<tt class="rst-docutils literal">wrap_result</tt> in to the constructor. The latter is preferred.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testsuite.ConcurrentTestSuite.run"> + + </a> + <a name="run"> + + </a> + <div class="functionHeader"> + + def + run(self, result): + + </div> + <div class="docstring functionBody"> + + <div><p>Run the tests concurrently.</p> +<p>This calls out to the provided make_tests helper, and then serialises +the results so that result only sees activity from one TestCase at +a time.</p> +<p>ConcurrentTestSuite provides no special mechanism to stop the tests +returned by make_tests, it is up to the make_tests to honour the +shouldStop attribute on the result object they are run with, which will +be set if an exception is raised in the thread which +ConcurrentTestSuite.run is called in.</p><table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testsuite.ConcurrentTestSuite._run_test"> + + </a> + <a name="_run_test"> + + </a> + <div class="functionHeader"> + + def + _run_test(self, test, process_result, queue): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.testsuite.html b/apidocs/testtools.testsuite.html new file mode 100644 index 0000000..c739d78 --- /dev/null +++ b/apidocs/testtools.testsuite.html @@ -0,0 +1,199 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.testsuite : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.testsuite</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div>Test suites and related things.<table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + <table class="children sortable" id="id162"> + + <tr class="function"> + + <td>Function</td> + <td><a href="testtools.testsuite.html#iterate_tests" class="code">iterate_tests</a></td> + <td><span>Iterate through all of the test cases in 'test_suite_or_case'.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testsuite.ConcurrentTestSuite.html" class="code">ConcurrentTestSuite</a></td> + <td><span>A TestSuite whose run() calls out to a concurrency strategy.</span></td> + </tr><tr class="class"> + + <td>Class</td> + <td><a href="testtools.testsuite.ConcurrentStreamTestSuite.html" class="code">ConcurrentStreamTestSuite</a></td> + <td><span>A TestSuite whose run() parallelises.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.testsuite.html#filter_by_ids" class="code">filter_by_ids</a></td> + <td><span>Remove tests from suite_or_case where their id is not in test_ids.</span></td> + </tr><tr class="function"> + + <td>Function</td> + <td><a href="testtools.testsuite.html#sorted_tests" class="code">sorted_tests</a></td> + <td><span>Sort suite_or_case while preserving non-vanilla TestSuites.</span></td> + </tr><tr class="function private"> + + <td>Function</td> + <td><a href="testtools.testsuite.html#_flatten_tests" class="code">_flatten_tests</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> +</table> + + + + </div> + + <div id="childList"> + + <div class="function"> + <a name="testtools.testsuite.iterate_tests"> + + </a> + <a name="iterate_tests"> + + </a> + <div class="functionHeader"> + + def + iterate_tests(test_suite_or_case): + + </div> + <div class="docstring functionBody"> + + <div>Iterate through all of the test cases in 'test_suite_or_case'.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="testtools.testsuite._flatten_tests"> + + </a> + <a name="_flatten_tests"> + + </a> + <div class="functionHeader"> + + def + _flatten_tests(suite_or_case, unpack_outer=False): + + </div> + <div class="docstring functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="testtools.testsuite.filter_by_ids"> + + </a> + <a name="filter_by_ids"> + + </a> + <div class="functionHeader"> + + def + filter_by_ids(suite_or_case, test_ids): + + </div> + <div class="docstring functionBody"> + + <div><p>Remove tests from suite_or_case where their id is not in test_ids.</p> +<p>This helper exists to provide backwards compatability with older versions +of Python (currently all versions :)) that don't have a native +filter_by_ids() method on Test(Case|Suite).</p> +<dl class="rst-docutils"> +<dt>For subclasses of TestSuite, filtering is done by:</dt> +<dd><ul class="rst-first rst-last rst-simple"> +<li>attempting to call suite.filter_by_ids(test_ids)</li> +<li>if there is no method, iterating the suite and identifying tests to +remove, then removing them from _tests, manually recursing into +each entry.</li> +</ul> +</dd> +<dt>For objects with an id() method - TestCases, filtering is done by:</dt> +<dd><ul class="rst-first rst-last rst-simple"> +<li>attempting to return case.filter_by_ids(test_ids)</li> +<li>if there is no such method, checking for case.id() in test_ids +and returning case if it is, or TestSuite() if it is not.</li> +</ul> +</dd> +</dl> +<p>For anything else, it is not filtered - it is returned as-is.</p> +<p>To provide compatability with this routine for a custom TestSuite, just +define a filter_by_ids() method that will return a TestSuite equivalent to +the original minus any tests not in test_ids. +Similarly to provide compatability for a custom TestCase that does +something unusual define filter_by_ids to return a new TestCase object +that will only run test_ids that are in the provided container. If none +would run, return an empty TestSuite().</p> +<p>The contract for this function does not require mutation - each filtered +object can choose to return a new object with the filtered tests. However +because existing custom TestSuite classes in the wild do not have this +method, we need a way to copy their state correctly which is tricky: +thus the backwards-compatible code paths attempt to mutate in place rather +than guessing how to reconstruct a new suite.</p><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">suite_or_case</td><td>A test suite or test case.</td></tr><tr><td></td><td class="fieldArg">test_ids</td><td>Something that supports the __contains__ protocol.</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">suite_or_case, unless suite_or_case was a case that itself +fails the predicate when it will return a new unittest.TestSuite with +no contents.</td></tr></table></div> + </div> +</div><div class="function"> + <a name="testtools.testsuite.sorted_tests"> + + </a> + <a name="sorted_tests"> + + </a> + <div class="functionHeader"> + + def + sorted_tests(suite_or_case, unpack_outer=False): + + </div> + <div class="docstring functionBody"> + + <div>Sort suite_or_case while preserving non-vanilla TestSuites.<table class="fieldTable"></table></div> + </div> +</div> + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/testtools.utils.html b/apidocs/testtools.utils.html new file mode 100644 index 0000000..7ee64b4 --- /dev/null +++ b/apidocs/testtools.utils.html @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>testtools.utils : API documentation</title> + + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + + <nav class="navbar navbar-default"> + <div class="container"> + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + <a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1 class="module"><code>testtools.utils</code> <small>module documentation</small></h1> + + <span id="partOf"> + Part of <code><a href="testtools.html" class="code">testtools</a></code> + + + </span> + </div> + + <div class="extrasDocstring"> + + </div> + + <div class="moduleDocstring"> + <div><p>Utilities for dealing with stuff in unittest.</p> +<p>Legacy - deprecated - use testtools.testsuite.iterate_tests</p><table class="fieldTable"></table></div> + </div> + + <div id="splitTables"> + + + + + </div> + + <div id="childList"> + + + + </div> + <address> + <a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28. + </address> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/apidocs/undoccedSummary.html b/apidocs/undoccedSummary.html new file mode 100644 index 0000000..7adc50b --- /dev/null +++ b/apidocs/undoccedSummary.html @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>Summary of Undocumented Objects</title> + <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> + <link href="bootstrap.min.css" type="text/css" rel="stylesheet" /> + <link href="apidocs.css" type="text/css" rel="stylesheet" /> + </head> + <body> + <nav class="navbar navbar-default"> + <div class="container"> + + <div class="navbar-header"> + <a href="index.html" class="navbar-brand"> + testtools API Documentation + </a> + </div> + </div> + </nav> + + <div class="container"> + + <div class="page-header"> + <h1>Summary of Undocumented Objects</h1> + </div> + + <ul> + <li>Method - <a href="testtools.DecorateTestCaseResult.html#__call__" class="code">testtools.DecorateTestCaseResult.__call__</a></li><li>Method - <a href="testtools.DecorateTestCaseResult.html#__delattr__" class="code">testtools.DecorateTestCaseResult.__delattr__</a></li><li>Method - <a href="testtools.DecorateTestCaseResult.html#__getattr__" class="code">testtools.DecorateTestCaseResult.__getattr__</a></li><li>Method - <a href="testtools.DecorateTestCaseResult.html#__setattr__" class="code">testtools.DecorateTestCaseResult.__setattr__</a></li><li>Method - <a href="testtools.DecorateTestCaseResult.html#_run" class="code">testtools.DecorateTestCaseResult._run</a></li><li>Method - <a href="testtools.DecorateTestCaseResult.html#run" class="code">testtools.DecorateTestCaseResult.run</a></li><li>Class - <a href="testtools.FixtureSuite.html" class="code">testtools.FixtureSuite</a></li><li>Method - <a href="testtools.FixtureSuite.html#__init__" class="code">testtools.FixtureSuite.__init__</a></li><li>Method - <a href="testtools.FixtureSuite.html#run" class="code">testtools.FixtureSuite.run</a></li><li>Method - <a href="testtools.FixtureSuite.html#sort_tests" class="code">testtools.FixtureSuite.sort_tests</a></li><li>Method - <a href="testtools.PlaceHolder.html#__call__" class="code">testtools.PlaceHolder.__call__</a></li><li>Method - <a href="testtools.PlaceHolder.html#__repr__" class="code">testtools.PlaceHolder.__repr__</a></li><li>Method - <a href="testtools.PlaceHolder.html#__str__" class="code">testtools.PlaceHolder.__str__</a></li><li>Method - <a href="testtools.PlaceHolder.html#_result" class="code">testtools.PlaceHolder._result</a></li><li>Method - <a href="testtools.PlaceHolder.html#countTestCases" class="code">testtools.PlaceHolder.countTestCases</a></li><li>Method - <a href="testtools.PlaceHolder.html#debug" class="code">testtools.PlaceHolder.debug</a></li><li>Method - <a href="testtools.PlaceHolder.html#id" class="code">testtools.PlaceHolder.id</a></li><li>Method - <a href="testtools.PlaceHolder.html#run" class="code">testtools.PlaceHolder.run</a></li><li>Method - <a href="testtools.PlaceHolder.html#shortDescription" class="code">testtools.PlaceHolder.shortDescription</a></li><li>Method - <a href="testtools.TestCommand.html#__init__" class="code">testtools.TestCommand.__init__</a></li><li>Method - <a href="testtools.TestCommand.html#finalize_options" class="code">testtools.TestCommand.finalize_options</a></li><li>Method - <a href="testtools.TestCommand.html#initialize_options" class="code">testtools.TestCommand.initialize_options</a></li><li>Method - <a href="testtools.TestCommand.html#run" class="code">testtools.TestCommand.run</a></li><li>Method - <a href="testtools._spinner.NoResultError.html#__init__" class="code">testtools._spinner.NoResultError.__init__</a></li><li>Method - <a href="testtools._spinner.ReentryError.html#__init__" class="code">testtools._spinner.ReentryError.__init__</a></li><li>Method - <a href="testtools._spinner.Spinner.html#_cancel_timeout" class="code">testtools._spinner.Spinner._cancel_timeout</a></li><li>Method - <a href="testtools._spinner.Spinner.html#_get_result" class="code">testtools._spinner.Spinner._get_result</a></li><li>Method - <a href="testtools._spinner.Spinner.html#_got_failure" class="code">testtools._spinner.Spinner._got_failure</a></li><li>Method - <a href="testtools._spinner.Spinner.html#_got_success" class="code">testtools._spinner.Spinner._got_success</a></li><li>Method - <a href="testtools._spinner.Spinner.html#_restore_signals" class="code">testtools._spinner.Spinner._restore_signals</a></li><li>Method - <a href="testtools._spinner.Spinner.html#_save_signals" class="code">testtools._spinner.Spinner._save_signals</a></li><li>Method - <a href="testtools._spinner.Spinner.html#_timed_out" class="code">testtools._spinner.Spinner._timed_out</a></li><li>Method - <a href="testtools._spinner.StaleJunkError.html#__init__" class="code">testtools._spinner.StaleJunkError.__init__</a></li><li>Method - <a href="testtools._spinner.TimeoutError.html#__init__" class="code">testtools._spinner.TimeoutError.__init__</a></li><li>Module - <a href="testtools.assertions.html" class="code">testtools.assertions</a></li><li>Function - <a href="testtools.compat.html#_b" class="code">testtools.compat._b</a></li><li>Function - <a href="testtools.compat.html#_isbytes" class="code">testtools.compat._isbytes</a></li><li>Function - <a href="testtools.compat.html#_isbytes%200" class="code">testtools.compat._isbytes 0</a></li><li>Function - <a href="testtools.compat.html#_u" class="code">testtools.compat._u</a></li><li>Function - <a href="testtools.compat.html#_u%200" class="code">testtools.compat._u 0</a></li><li>Function - <a href="testtools.compat.html#classtypes" class="code">testtools.compat.classtypes</a></li><li>Function - <a href="testtools.compat.html#classtypes%200" class="code">testtools.compat.classtypes 0</a></li><li>Function - <a href="testtools.compat.html#istext" class="code">testtools.compat.istext</a></li><li>Function - <a href="testtools.compat.html#istext%200" class="code">testtools.compat.istext 0</a></li><li>Method - <a href="testtools.content.Content.html#__eq__" class="code">testtools.content.Content.__eq__</a></li><li>Method - <a href="testtools.content.Content.html#__repr__" class="code">testtools.content.Content.__repr__</a></li><li>Instance Variable - <a href="testtools.content.Content.html#content_type" class="code">testtools.content.Content.content_type</a></li><li>Method - <a href="testtools.content_type.ContentType.html#__eq__" class="code">testtools.content_type.ContentType.__eq__</a></li><li>Method - <a href="testtools.content_type.ContentType.html#__repr__" class="code">testtools.content_type.ContentType.__repr__</a></li><li>Instance Variable - <a href="testtools.content_type.ContentType.html#parameters" class="code">testtools.content_type.ContentType.parameters</a></li><li>Instance Variable - <a href="testtools.content_type.ContentType.html#subtype" class="code">testtools.content_type.ContentType.subtype</a></li><li>Instance Variable - <a href="testtools.content_type.ContentType.html#type" class="code">testtools.content_type.ContentType.type</a></li><li>Method - <a href="testtools.deferredruntest.AsynchronousDeferredRunTest.html#_blocking_run_deferred" class="code">testtools.deferredruntest.AsynchronousDeferredRunTest._blocking_run_deferred</a></li><li>Method - <a href="testtools.deferredruntest.UncleanReactorError.html#__init__" class="code">testtools.deferredruntest.UncleanReactorError.__init__</a></li><li>Method - <a href="testtools.deferredruntest.UncleanReactorError.html#_get_junk_info" class="code">testtools.deferredruntest.UncleanReactorError._get_junk_info</a></li><li>Function - <a href="testtools.deferredruntest.html#flush_logged_errors" class="code">testtools.deferredruntest.flush_logged_errors</a></li><li>Module - <a href="testtools.helpers.html" class="code">testtools.helpers</a></li><li>Module - <a href="testtools.matchers._basic.html" class="code">testtools.matchers._basic</a></li><li>Class - <a href="testtools.matchers._basic.DoesNotContain.html" class="code">testtools.matchers._basic.DoesNotContain</a></li><li>Class - <a href="testtools.matchers._basic.DoesNotEndWith.html" class="code">testtools.matchers._basic.DoesNotEndWith</a></li><li>Class - <a href="testtools.matchers._basic.DoesNotStartWith.html" class="code">testtools.matchers._basic.DoesNotStartWith</a></li><li>Method - <a href="testtools.matchers._basic.IsInstance.html#__init__" class="code">testtools.matchers._basic.IsInstance.__init__</a></li><li>Method - <a href="testtools.matchers._basic.IsInstance.html#__str__" class="code">testtools.matchers._basic.IsInstance.__str__</a></li><li>Method - <a href="testtools.matchers._basic.IsInstance.html#match" class="code">testtools.matchers._basic.IsInstance.match</a></li><li>Method - <a href="testtools.matchers._basic.MatchesRegex.html#__init__" class="code">testtools.matchers._basic.MatchesRegex.__init__</a></li><li>Method - <a href="testtools.matchers._basic.MatchesRegex.html#__str__" class="code">testtools.matchers._basic.MatchesRegex.__str__</a></li><li>Method - <a href="testtools.matchers._basic.MatchesRegex.html#match" class="code">testtools.matchers._basic.MatchesRegex.match</a></li><li>Class - <a href="testtools.matchers._basic.NotAnInstance.html" class="code">testtools.matchers._basic.NotAnInstance</a></li><li>Method - <a href="testtools.matchers._basic.SameMembers.html#__init__" class="code">testtools.matchers._basic.SameMembers.__init__</a></li><li>Method - <a href="testtools.matchers._basic._BinaryComparison.html#__init__" class="code">testtools.matchers._basic._BinaryComparison.__init__</a></li><li>Method - <a href="testtools.matchers._basic._BinaryComparison.html#__str__" class="code">testtools.matchers._basic._BinaryComparison.__str__</a></li><li>Method - <a href="testtools.matchers._basic._BinaryComparison.html#comparator" class="code">testtools.matchers._basic._BinaryComparison.comparator</a></li><li>Method - <a href="testtools.matchers._basic._BinaryComparison.html#match" class="code">testtools.matchers._basic._BinaryComparison.match</a></li><li>Function - <a href="testtools.matchers._basic.html#has_len" class="code">testtools.matchers._basic.has_len</a></li><li>Module - <a href="testtools.matchers._datastructures.html" class="code">testtools.matchers._datastructures</a></li><li>Method - <a href="testtools.matchers._datastructures.MatchesListwise.html#match" class="code">testtools.matchers._datastructures.MatchesListwise.match</a></li><li>Method - <a href="testtools.matchers._datastructures.MatchesSetwise.html#__init__" class="code">testtools.matchers._datastructures.MatchesSetwise.__init__</a></li><li>Method - <a href="testtools.matchers._datastructures.MatchesSetwise.html#match" class="code">testtools.matchers._datastructures.MatchesSetwise.match</a></li><li>Method - <a href="testtools.matchers._datastructures.MatchesStructure.html#__str__" class="code">testtools.matchers._datastructures.MatchesStructure.__str__</a></li><li>Class Method - <a href="testtools.matchers._datastructures.MatchesStructure.html#fromExample" class="code">testtools.matchers._datastructures.MatchesStructure.fromExample</a></li><li>Method - <a href="testtools.matchers._datastructures.MatchesStructure.html#match" class="code">testtools.matchers._datastructures.MatchesStructure.match</a></li><li>Method - <a href="testtools.matchers._datastructures.MatchesStructure.html#update" class="code">testtools.matchers._datastructures.MatchesStructure.update</a></li><li>Module - <a href="testtools.matchers._dict.html" class="code">testtools.matchers._dict</a></li><li>Method - <a href="testtools.matchers._dict.MatchesAllDict.html#__init__" class="code">testtools.matchers._dict.MatchesAllDict.__init__</a></li><li>Method - <a href="testtools.matchers._dict._CombinedMatcher.html#__init__" class="code">testtools.matchers._dict._CombinedMatcher.__init__</a></li><li>Method - <a href="testtools.matchers._dict._CombinedMatcher.html#format_expected" class="code">testtools.matchers._dict._CombinedMatcher.format_expected</a></li><li>Method - <a href="testtools.matchers._dict._MatchCommonKeys.html#__init__" class="code">testtools.matchers._dict._MatchCommonKeys.__init__</a></li><li>Method - <a href="testtools.matchers._dict._MatchCommonKeys.html#_compare_dicts" class="code">testtools.matchers._dict._MatchCommonKeys._compare_dicts</a></li><li>Method - <a href="testtools.matchers._dict._SubDictOf.html#__init__" class="code">testtools.matchers._dict._SubDictOf.__init__</a></li><li>Method - <a href="testtools.matchers._dict._SuperDictOf.html#__init__" class="code">testtools.matchers._dict._SuperDictOf.__init__</a></li><li>Function - <a href="testtools.matchers._dict.html#_dict_to_mismatch" class="code">testtools.matchers._dict._dict_to_mismatch</a></li><li>Function - <a href="testtools.matchers._dict.html#_format_matcher_dict" class="code">testtools.matchers._dict._format_matcher_dict</a></li><li>Module - <a href="testtools.matchers._doctest.html" class="code">testtools.matchers._doctest</a></li><li>Method - <a href="testtools.matchers._doctest.DocTestMatches.html#__str__" class="code">testtools.matchers._doctest.DocTestMatches.__str__</a></li><li>Method - <a href="testtools.matchers._doctest.DocTestMatches.html#_describe_difference" class="code">testtools.matchers._doctest.DocTestMatches._describe_difference</a></li><li>Method - <a href="testtools.matchers._doctest.DocTestMatches.html#_with_nl" class="code">testtools.matchers._doctest.DocTestMatches._with_nl</a></li><li>Method - <a href="testtools.matchers._doctest.DocTestMatches.html#match" class="code">testtools.matchers._doctest.DocTestMatches.match</a></li><li>Module - <a href="testtools.matchers._exception.html" class="code">testtools.matchers._exception</a></li><li>Function - <a href="testtools.matchers._exception.html#_is_exception" class="code">testtools.matchers._exception._is_exception</a></li><li>Function - <a href="testtools.matchers._exception.html#_is_user_exception" class="code">testtools.matchers._exception._is_user_exception</a></li><li>Method - <a href="testtools.matchers._filesystem.SamePath.html#__init__" class="code">testtools.matchers._filesystem.SamePath.__init__</a></li><li>Method - <a href="testtools.matchers._filesystem.TarballContains.html#__init__" class="code">testtools.matchers._filesystem.TarballContains.__init__</a></li><li>Module - <a href="testtools.matchers._higherorder.html" class="code">testtools.matchers._higherorder</a></li><li>Method - <a href="testtools.matchers._higherorder.AfterPreprocessing.html#__str__" class="code">testtools.matchers._higherorder.AfterPreprocessing.__str__</a></li><li>Method - <a href="testtools.matchers._higherorder.AfterPreprocessing.html#_str_preprocessor" class="code">testtools.matchers._higherorder.AfterPreprocessing._str_preprocessor</a></li><li>Method - <a href="testtools.matchers._higherorder.AfterPreprocessing.html#match" class="code">testtools.matchers._higherorder.AfterPreprocessing.match</a></li><li>Method - <a href="testtools.matchers._higherorder.AllMatch.html#__init__" class="code">testtools.matchers._higherorder.AllMatch.__init__</a></li><li>Method - <a href="testtools.matchers._higherorder.AllMatch.html#__str__" class="code">testtools.matchers._higherorder.AllMatch.__str__</a></li><li>Method - <a href="testtools.matchers._higherorder.AllMatch.html#match" class="code">testtools.matchers._higherorder.AllMatch.match</a></li><li>Method - <a href="testtools.matchers._higherorder.Annotate.html#__init__" class="code">testtools.matchers._higherorder.Annotate.__init__</a></li><li>Method - <a href="testtools.matchers._higherorder.Annotate.html#__str__" class="code">testtools.matchers._higherorder.Annotate.__str__</a></li><li>Method - <a href="testtools.matchers._higherorder.Annotate.html#match" class="code">testtools.matchers._higherorder.Annotate.match</a></li><li>Method - <a href="testtools.matchers._higherorder.AnyMatch.html#__init__" class="code">testtools.matchers._higherorder.AnyMatch.__init__</a></li><li>Method - <a href="testtools.matchers._higherorder.AnyMatch.html#__str__" class="code">testtools.matchers._higherorder.AnyMatch.__str__</a></li><li>Method - <a href="testtools.matchers._higherorder.AnyMatch.html#match" class="code">testtools.matchers._higherorder.AnyMatch.match</a></li><li>Method - <a href="testtools.matchers._higherorder.MatchesAll.html#__str__" class="code">testtools.matchers._higherorder.MatchesAll.__str__</a></li><li>Method - <a href="testtools.matchers._higherorder.MatchesAll.html#match" class="code">testtools.matchers._higherorder.MatchesAll.match</a></li><li>Method - <a href="testtools.matchers._higherorder.MatchesAny.html#__init__" class="code">testtools.matchers._higherorder.MatchesAny.__init__</a></li><li>Method - <a href="testtools.matchers._higherorder.MatchesAny.html#__str__" class="code">testtools.matchers._higherorder.MatchesAny.__str__</a></li><li>Method - <a href="testtools.matchers._higherorder.MatchesAny.html#match" class="code">testtools.matchers._higherorder.MatchesAny.match</a></li><li>Method - <a href="testtools.matchers._higherorder.Not.html#__init__" class="code">testtools.matchers._higherorder.Not.__init__</a></li><li>Method - <a href="testtools.matchers._higherorder.Not.html#__str__" class="code">testtools.matchers._higherorder.Not.__str__</a></li><li>Method - <a href="testtools.matchers._higherorder.Not.html#match" class="code">testtools.matchers._higherorder.Not.match</a></li><li>Method - <a href="testtools.matchers._higherorder.PostfixedMismatch.html#describe" class="code">testtools.matchers._higherorder.PostfixedMismatch.describe</a></li><li>Class - <a href="testtools.matchers._higherorder.PrefixedMismatch.html" class="code">testtools.matchers._higherorder.PrefixedMismatch</a></li><li>Method - <a href="testtools.matchers._higherorder.PrefixedMismatch.html#describe" class="code">testtools.matchers._higherorder.PrefixedMismatch.describe</a></li><li>Class - <a href="testtools.matchers._higherorder._MatchesPredicateWithParams.html" class="code">testtools.matchers._higherorder._MatchesPredicateWithParams</a></li><li>Method - <a href="testtools.matchers._impl.Mismatch.html#__repr__" class="code">testtools.matchers._impl.Mismatch.__repr__</a></li><li>Method - <a href="testtools.matchers._impl.MismatchDecorator.html#__repr__" class="code">testtools.matchers._impl.MismatchDecorator.__repr__</a></li><li>Method - <a href="testtools.matchers._impl.MismatchDecorator.html#describe" class="code">testtools.matchers._impl.MismatchDecorator.describe</a></li><li>Method - <a href="testtools.matchers._impl.MismatchDecorator.html#get_details" class="code">testtools.matchers._impl.MismatchDecorator.get_details</a></li><li>Method - <a href="testtools.matchers._impl.MismatchError.html#__init__" class="code">testtools.matchers._impl.MismatchError.__init__</a></li><li>Method - <a href="testtools.matchers._impl.MismatchError.html#__str__" class="code">testtools.matchers._impl.MismatchError.__str__</a></li><li>Method - <a href="testtools.matchers._impl.MismatchError.html#__str__%200" class="code">testtools.matchers._impl.MismatchError.__str__ 0</a></li><li>Method - <a href="testtools.run.TestProgram.html#__init__" class="code">testtools.run.TestProgram.__init__</a></li><li>Method - <a href="testtools.run.TestProgram.html#_do_discovery" class="code">testtools.run.TestProgram._do_discovery</a></li><li>Method - <a href="testtools.run.TestProgram.html#_getParentArgParser" class="code">testtools.run.TestProgram._getParentArgParser</a></li><li>Method - <a href="testtools.run.TestProgram.html#_get_runner" class="code">testtools.run.TestProgram._get_runner</a></li><li>Method - <a href="testtools.run.TestProgram.html#runTests" class="code">testtools.run.TestProgram.runTests</a></li><li>Function - <a href="testtools.run.html#main" class="code">testtools.run.main</a></li><li>Instance Variable - <a href="testtools.runtest.MultipleExceptions.html#args" class="code">testtools.runtest.MultipleExceptions.args</a></li><li>Instance Variable - <a href="testtools.runtest.RunTest.html#_exceptions" class="code">testtools.runtest.RunTest._exceptions</a></li><li>Instance Variable - <a href="testtools.runtest.RunTest.html#case" class="code">testtools.runtest.RunTest.case</a></li><li>Instance Variable - <a href="testtools.runtest.RunTest.html#exception_caught" class="code">testtools.runtest.RunTest.exception_caught</a></li><li>Instance Variable - <a href="testtools.runtest.RunTest.html#handlers" class="code">testtools.runtest.RunTest.handlers</a></li><li>Instance Variable - <a href="testtools.runtest.RunTest.html#result" class="code">testtools.runtest.RunTest.result</a></li><li>Function - <a href="testtools.runtest.html#_raise_force_fail_error" class="code">testtools.runtest._raise_force_fail_error</a></li><li>Method - <a href="testtools.testcase.ExpectedException.html#__enter__" class="code">testtools.testcase.ExpectedException.__enter__</a></li><li>Method - <a href="testtools.testcase.ExpectedException.html#__exit__" class="code">testtools.testcase.ExpectedException.__exit__</a></li><li>Method - <a href="testtools.testcase.Nullary.html#__call__" class="code">testtools.testcase.Nullary.__call__</a></li><li>Method - <a href="testtools.testcase.Nullary.html#__init__" class="code">testtools.testcase.Nullary.__init__</a></li><li>Method - <a href="testtools.testcase.Nullary.html#__repr__" class="code">testtools.testcase.Nullary.__repr__</a></li><li>Method - <a href="testtools.testcase.TestCase.html#__eq__" class="code">testtools.testcase.TestCase.__eq__</a></li><li>Method - <a href="testtools.testcase.TestCase.html#__repr__" class="code">testtools.testcase.TestCase.__repr__</a></li><li>Method - <a href="testtools.testcase.TestCase.html#_add_reason" class="code">testtools.testcase.TestCase._add_reason</a></li><li>Method - <a href="testtools.testcase.TestCase.html#_get_test_method" class="code">testtools.testcase.TestCase._get_test_method</a></li><li>Method - <a href="testtools.testcase.TestCase.html#_matchHelper" class="code">testtools.testcase.TestCase._matchHelper</a></li><li>Static Method - <a href="testtools.testcase.TestCase.html#_report_error" class="code">testtools.testcase.TestCase._report_error</a></li><li>Static Method - <a href="testtools.testcase.TestCase.html#_report_expected_failure" class="code">testtools.testcase.TestCase._report_expected_failure</a></li><li>Static Method - <a href="testtools.testcase.TestCase.html#_report_failure" class="code">testtools.testcase.TestCase._report_failure</a></li><li>Static Method - <a href="testtools.testcase.TestCase.html#_report_skip" class="code">testtools.testcase.TestCase._report_skip</a></li><li>Method - <a href="testtools.testcase.TestCase.html#_report_traceback" class="code">testtools.testcase.TestCase._report_traceback</a></li><li>Static Method - <a href="testtools.testcase.TestCase.html#_report_unexpected_success" class="code">testtools.testcase.TestCase._report_unexpected_success</a></li><li>Method - <a href="testtools.testcase.TestCase.html#assertIsInstance" class="code">testtools.testcase.TestCase.assertIsInstance</a></li><li>Method - <a href="testtools.testcase.TestCase.html#defaultTestResult" class="code">testtools.testcase.TestCase.defaultTestResult</a></li><li>Instance Variable - <a href="testtools.testcase.TestCase.html#exception_handlers" class="code">testtools.testcase.TestCase.exception_handlers</a></li><li>Instance Variable - <a href="testtools.testcase.TestCase.html#force_failure" class="code">testtools.testcase.TestCase.force_failure</a></li><li>Method - <a href="testtools.testcase.TestCase.html#run" class="code">testtools.testcase.TestCase.run</a></li><li>Class Variable - <a href="testtools.testcase.TestCase.html#run_tests_with" class="code">testtools.testcase.TestCase.run_tests_with</a></li><li>Method - <a href="testtools.testcase.TestCase.html#setUp" class="code">testtools.testcase.TestCase.setUp</a></li><li>Method - <a href="testtools.testcase.TestCase.html#shortDescription" class="code">testtools.testcase.TestCase.shortDescription</a></li><li>Method - <a href="testtools.testcase.TestCase.html#tearDown" class="code">testtools.testcase.TestCase.tearDown</a></li><li>Method - <a href="testtools.testcase.WithAttributes.html#id" class="code">testtools.testcase.WithAttributes.id</a></li><li>Function - <a href="testtools.testcase.html#_expectedFailure" class="code">testtools.testcase._expectedFailure</a></li><li>Method - <a href="testtools.testresult.CopyStreamResult.html#__init__" class="code">testtools.testresult.CopyStreamResult.__init__</a></li><li>Method - <a href="testtools.testresult.StreamResultRouter.html#_map_route_code_prefix" class="code">testtools.testresult.StreamResultRouter._map_route_code_prefix</a></li><li>Method - <a href="testtools.testresult.StreamResultRouter.html#_map_test_id" class="code">testtools.testresult.StreamResultRouter._map_test_id</a></li><li>Method - <a href="testtools.testresult.TestByTestResult.html#_err_to_details" class="code">testtools.testresult.TestByTestResult._err_to_details</a></li><li>Method - <a href="testtools.testresult.TestByTestResult.html#startTest" class="code">testtools.testresult.TestByTestResult.startTest</a></li><li>Method - <a href="testtools.testresult.TestByTestResult.html#stopTest" class="code">testtools.testresult.TestByTestResult.stopTest</a></li><li>Method - <a href="testtools.testresult.TextTestResult.html#_delta_to_float" class="code">testtools.testresult.TextTestResult._delta_to_float</a></li><li>Method - <a href="testtools.testresult.TextTestResult.html#_show_list" class="code">testtools.testresult.TextTestResult._show_list</a></li><li>Method - <a href="testtools.testresult.doubles.ExtendedTestResult.html#__init__" class="code">testtools.testresult.doubles.ExtendedTestResult.__init__</a></li><li>Method - <a href="testtools.testresult.doubles.ExtendedTestResult.html#addError" class="code">testtools.testresult.doubles.ExtendedTestResult.addError</a></li><li>Method - <a href="testtools.testresult.doubles.ExtendedTestResult.html#addExpectedFailure" class="code">testtools.testresult.doubles.ExtendedTestResult.addExpectedFailure</a></li><li>Method - <a href="testtools.testresult.doubles.ExtendedTestResult.html#addFailure" class="code">testtools.testresult.doubles.ExtendedTestResult.addFailure</a></li><li>Method - <a href="testtools.testresult.doubles.ExtendedTestResult.html#addSkip" class="code">testtools.testresult.doubles.ExtendedTestResult.addSkip</a></li><li>Method - <a href="testtools.testresult.doubles.ExtendedTestResult.html#addSuccess" class="code">testtools.testresult.doubles.ExtendedTestResult.addSuccess</a></li><li>Method - <a href="testtools.testresult.doubles.ExtendedTestResult.html#addUnexpectedSuccess" class="code">testtools.testresult.doubles.ExtendedTestResult.addUnexpectedSuccess</a></li><li>Method - <a href="testtools.testresult.doubles.ExtendedTestResult.html#current_tags" class="code">testtools.testresult.doubles.ExtendedTestResult.current_tags</a></li><li>Method - <a href="testtools.testresult.doubles.ExtendedTestResult.html#progress" class="code">testtools.testresult.doubles.ExtendedTestResult.progress</a></li><li>Method - <a href="testtools.testresult.doubles.ExtendedTestResult.html#startTest" class="code">testtools.testresult.doubles.ExtendedTestResult.startTest</a></li><li>Method - <a href="testtools.testresult.doubles.ExtendedTestResult.html#startTestRun" class="code">testtools.testresult.doubles.ExtendedTestResult.startTestRun</a></li><li>Method - <a href="testtools.testresult.doubles.ExtendedTestResult.html#stopTest" class="code">testtools.testresult.doubles.ExtendedTestResult.stopTest</a></li><li>Method - <a href="testtools.testresult.doubles.ExtendedTestResult.html#tags" class="code">testtools.testresult.doubles.ExtendedTestResult.tags</a></li><li>Method - <a href="testtools.testresult.doubles.ExtendedTestResult.html#time" class="code">testtools.testresult.doubles.ExtendedTestResult.time</a></li><li>Method - <a href="testtools.testresult.doubles.ExtendedTestResult.html#wasSuccessful" class="code">testtools.testresult.doubles.ExtendedTestResult.wasSuccessful</a></li><li>Method - <a href="testtools.testresult.doubles.LoggingBase.html#__init__" class="code">testtools.testresult.doubles.LoggingBase.__init__</a></li><li>Method - <a href="testtools.testresult.doubles.Python26TestResult.html#addError" class="code">testtools.testresult.doubles.Python26TestResult.addError</a></li><li>Method - <a href="testtools.testresult.doubles.Python26TestResult.html#addFailure" class="code">testtools.testresult.doubles.Python26TestResult.addFailure</a></li><li>Method - <a href="testtools.testresult.doubles.Python26TestResult.html#addSuccess" class="code">testtools.testresult.doubles.Python26TestResult.addSuccess</a></li><li>Method - <a href="testtools.testresult.doubles.Python26TestResult.html#startTest" class="code">testtools.testresult.doubles.Python26TestResult.startTest</a></li><li>Method - <a href="testtools.testresult.doubles.Python26TestResult.html#stop" class="code">testtools.testresult.doubles.Python26TestResult.stop</a></li><li>Method - <a href="testtools.testresult.doubles.Python26TestResult.html#stopTest" class="code">testtools.testresult.doubles.Python26TestResult.stopTest</a></li><li>Method - <a href="testtools.testresult.doubles.Python26TestResult.html#wasSuccessful" class="code">testtools.testresult.doubles.Python26TestResult.wasSuccessful</a></li><li>Method - <a href="testtools.testresult.doubles.Python27TestResult.html#__init__" class="code">testtools.testresult.doubles.Python27TestResult.__init__</a></li><li>Method - <a href="testtools.testresult.doubles.Python27TestResult.html#addError" class="code">testtools.testresult.doubles.Python27TestResult.addError</a></li><li>Method - <a href="testtools.testresult.doubles.Python27TestResult.html#addExpectedFailure" class="code">testtools.testresult.doubles.Python27TestResult.addExpectedFailure</a></li><li>Method - <a href="testtools.testresult.doubles.Python27TestResult.html#addFailure" class="code">testtools.testresult.doubles.Python27TestResult.addFailure</a></li><li>Method - <a href="testtools.testresult.doubles.Python27TestResult.html#addSkip" class="code">testtools.testresult.doubles.Python27TestResult.addSkip</a></li><li>Method - <a href="testtools.testresult.doubles.Python27TestResult.html#addUnexpectedSuccess" class="code">testtools.testresult.doubles.Python27TestResult.addUnexpectedSuccess</a></li><li>Method - <a href="testtools.testresult.doubles.Python27TestResult.html#startTestRun" class="code">testtools.testresult.doubles.Python27TestResult.startTestRun</a></li><li>Method - <a href="testtools.testresult.doubles.Python27TestResult.html#stopTestRun" class="code">testtools.testresult.doubles.Python27TestResult.stopTestRun</a></li><li>Method - <a href="testtools.testresult.doubles.StreamResult.html#__init__" class="code">testtools.testresult.doubles.StreamResult.__init__</a></li><li>Method - <a href="testtools.testresult.doubles.StreamResult.html#startTestRun" class="code">testtools.testresult.doubles.StreamResult.startTestRun</a></li><li>Method - <a href="testtools.testresult.doubles.StreamResult.html#status" class="code">testtools.testresult.doubles.StreamResult.status</a></li><li>Method - <a href="testtools.testresult.doubles.StreamResult.html#stopTestRun" class="code">testtools.testresult.doubles.StreamResult.stopTestRun</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#__getattr__" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.__getattr__</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#__init__" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.__init__</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#__repr__" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.__repr__</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#_check_args" class="code">testtools.testresult.real.ExtendedToOriginalDecorator._check_args</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#_get_failfast" class="code">testtools.testresult.real.ExtendedToOriginalDecorator._get_failfast</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#_set_failfast" class="code">testtools.testresult.real.ExtendedToOriginalDecorator._set_failfast</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#addError" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.addError</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#addExpectedFailure" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.addExpectedFailure</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#addFailure" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.addFailure</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#addSkip" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.addSkip</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#addSuccess" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.addSuccess</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#addUnexpectedSuccess" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.addUnexpectedSuccess</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#current_tags" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.current_tags</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#done" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.done</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#progress" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.progress</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#shouldStop" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.shouldStop</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#startTest" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.startTest</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#startTestRun" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.startTestRun</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#stop" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.stop</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#stopTest" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.stopTest</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#stopTestRun" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.stopTestRun</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#tags" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.tags</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#time" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.time</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToOriginalDecorator.html#wasSuccessful" class="code">testtools.testresult.real.ExtendedToOriginalDecorator.wasSuccessful</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToStreamDecorator.html#_check_args" class="code">testtools.testresult.real.ExtendedToStreamDecorator._check_args</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToStreamDecorator.html#_convert" class="code">testtools.testresult.real.ExtendedToStreamDecorator._convert</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToStreamDecorator.html#_get_failfast" class="code">testtools.testresult.real.ExtendedToStreamDecorator._get_failfast</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToStreamDecorator.html#_set_failfast" class="code">testtools.testresult.real.ExtendedToStreamDecorator._set_failfast</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToStreamDecorator.html#addError" class="code">testtools.testresult.real.ExtendedToStreamDecorator.addError</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToStreamDecorator.html#addExpectedFailure" class="code">testtools.testresult.real.ExtendedToStreamDecorator.addExpectedFailure</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToStreamDecorator.html#addSkip" class="code">testtools.testresult.real.ExtendedToStreamDecorator.addSkip</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToStreamDecorator.html#addSuccess" class="code">testtools.testresult.real.ExtendedToStreamDecorator.addSuccess</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToStreamDecorator.html#addUnexpectedSuccess" class="code">testtools.testresult.real.ExtendedToStreamDecorator.addUnexpectedSuccess</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToStreamDecorator.html#startTest" class="code">testtools.testresult.real.ExtendedToStreamDecorator.startTest</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToStreamDecorator.html#stopTest" class="code">testtools.testresult.real.ExtendedToStreamDecorator.stopTest</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToStreamDecorator.html#stopTest%200" class="code">testtools.testresult.real.ExtendedToStreamDecorator.stopTest 0</a></li><li>Method - <a href="testtools.testresult.real.ExtendedToStreamDecorator.html#time" class="code">testtools.testresult.real.ExtendedToStreamDecorator.time</a></li><li>Method - <a href="testtools.testresult.real.MultiTestResult.html#__init__" class="code">testtools.testresult.real.MultiTestResult.__init__</a></li><li>Method - <a href="testtools.testresult.real.MultiTestResult.html#__repr__" class="code">testtools.testresult.real.MultiTestResult.__repr__</a></li><li>Method - <a href="testtools.testresult.real.MultiTestResult.html#_dispatch" class="code">testtools.testresult.real.MultiTestResult._dispatch</a></li><li>Method - <a href="testtools.testresult.real.MultiTestResult.html#_get_failfast" class="code">testtools.testresult.real.MultiTestResult._get_failfast</a></li><li>Method - <a href="testtools.testresult.real.MultiTestResult.html#_get_shouldStop" class="code">testtools.testresult.real.MultiTestResult._get_shouldStop</a></li><li>Method - <a href="testtools.testresult.real.MultiTestResult.html#_set_failfast" class="code">testtools.testresult.real.MultiTestResult._set_failfast</a></li><li>Method - <a href="testtools.testresult.real.MultiTestResult.html#_set_shouldStop" class="code">testtools.testresult.real.MultiTestResult._set_shouldStop</a></li><li>Method - <a href="testtools.testresult.real.MultiTestResult.html#startTest" class="code">testtools.testresult.real.MultiTestResult.startTest</a></li><li>Method - <a href="testtools.testresult.real.MultiTestResult.html#stop" class="code">testtools.testresult.real.MultiTestResult.stop</a></li><li>Method - <a href="testtools.testresult.real.MultiTestResult.html#stopTest" class="code">testtools.testresult.real.MultiTestResult.stopTest</a></li><li>Method - <a href="testtools.testresult.real.StreamFailFast.html#__init__" class="code">testtools.testresult.real.StreamFailFast.__init__</a></li><li>Method - <a href="testtools.testresult.real.StreamSummary.html#_exists" class="code">testtools.testresult.real.StreamSummary._exists</a></li><li>Method - <a href="testtools.testresult.real.StreamSummary.html#_fail" class="code">testtools.testresult.real.StreamSummary._fail</a></li><li>Method - <a href="testtools.testresult.real.StreamSummary.html#_gather_test" class="code">testtools.testresult.real.StreamSummary._gather_test</a></li><li>Method - <a href="testtools.testresult.real.StreamSummary.html#_incomplete" class="code">testtools.testresult.real.StreamSummary._incomplete</a></li><li>Method - <a href="testtools.testresult.real.StreamSummary.html#_skip" class="code">testtools.testresult.real.StreamSummary._skip</a></li><li>Method - <a href="testtools.testresult.real.StreamSummary.html#_success" class="code">testtools.testresult.real.StreamSummary._success</a></li><li>Method - <a href="testtools.testresult.real.StreamSummary.html#_uxsuccess" class="code">testtools.testresult.real.StreamSummary._uxsuccess</a></li><li>Method - <a href="testtools.testresult.real.StreamSummary.html#_xfail" class="code">testtools.testresult.real.StreamSummary._xfail</a></li><li>Method - <a href="testtools.testresult.real.StreamToDict.html#_ensure_key" class="code">testtools.testresult.real.StreamToDict._ensure_key</a></li><li>Method - <a href="testtools.testresult.real.StreamToExtendedDecorator.html#__init__" class="code">testtools.testresult.real.StreamToExtendedDecorator.__init__</a></li><li>Method - <a href="testtools.testresult.real.StreamToExtendedDecorator.html#_handle_tests" class="code">testtools.testresult.real.StreamToExtendedDecorator._handle_tests</a></li><li>Method - <a href="testtools.testresult.real.Tagger.html#startTest" class="code">testtools.testresult.real.Tagger.startTest</a></li><li>Method - <a href="testtools.testresult.real.TestControl.html#__init__" class="code">testtools.testresult.real.TestControl.__init__</a></li><li>Instance Variable - <a href="testtools.testresult.real.TestControl.html#shouldStop" class="code">testtools.testresult.real.TestControl.shouldStop</a></li><li>Method - <a href="testtools.testresult.real.TestResult.html#__init__" class="code">testtools.testresult.real.TestResult.__init__</a></li><li>Method - <a href="testtools.testresult.real.TestResult.html#_exc_info_to_unicode" class="code">testtools.testresult.real.TestResult._exc_info_to_unicode</a></li><li>Instance Variable - <a href="testtools.testresult.real.TestResult.html#skip_reasons" class="code">testtools.testresult.real.TestResult.skip_reasons</a></li><li>Method - <a href="testtools.testresult.real.TestResult.html#startTest" class="code">testtools.testresult.real.TestResult.startTest</a></li><li>Method - <a href="testtools.testresult.real.TestResult.html#stopTest" class="code">testtools.testresult.real.TestResult.stopTest</a></li><li>Method - <a href="testtools.testresult.real.TestResultDecorator.html#addError" class="code">testtools.testresult.real.TestResultDecorator.addError</a></li><li>Method - <a href="testtools.testresult.real.TestResultDecorator.html#addExpectedFailure" class="code">testtools.testresult.real.TestResultDecorator.addExpectedFailure</a></li><li>Method - <a href="testtools.testresult.real.TestResultDecorator.html#addFailure" class="code">testtools.testresult.real.TestResultDecorator.addFailure</a></li><li>Method - <a href="testtools.testresult.real.TestResultDecorator.html#addSkip" class="code">testtools.testresult.real.TestResultDecorator.addSkip</a></li><li>Method - <a href="testtools.testresult.real.TestResultDecorator.html#addSuccess" class="code">testtools.testresult.real.TestResultDecorator.addSuccess</a></li><li>Method - <a href="testtools.testresult.real.TestResultDecorator.html#addUnexpectedSuccess" class="code">testtools.testresult.real.TestResultDecorator.addUnexpectedSuccess</a></li><li>Method - <a href="testtools.testresult.real.TestResultDecorator.html#current_tags" class="code">testtools.testresult.real.TestResultDecorator.current_tags</a></li><li>Method - <a href="testtools.testresult.real.TestResultDecorator.html#progress" class="code">testtools.testresult.real.TestResultDecorator.progress</a></li><li>Method - <a href="testtools.testresult.real.TestResultDecorator.html#shouldStop" class="code">testtools.testresult.real.TestResultDecorator.shouldStop</a></li><li>Method - <a href="testtools.testresult.real.TestResultDecorator.html#startTest" class="code">testtools.testresult.real.TestResultDecorator.startTest</a></li><li>Method - <a href="testtools.testresult.real.TestResultDecorator.html#startTestRun" class="code">testtools.testresult.real.TestResultDecorator.startTestRun</a></li><li>Method - <a href="testtools.testresult.real.TestResultDecorator.html#stop" class="code">testtools.testresult.real.TestResultDecorator.stop</a></li><li>Method - <a href="testtools.testresult.real.TestResultDecorator.html#stopTest" class="code">testtools.testresult.real.TestResultDecorator.stopTest</a></li><li>Method - <a href="testtools.testresult.real.TestResultDecorator.html#stopTestRun" class="code">testtools.testresult.real.TestResultDecorator.stopTestRun</a></li><li>Method - <a href="testtools.testresult.real.TestResultDecorator.html#tags" class="code">testtools.testresult.real.TestResultDecorator.tags</a></li><li>Method - <a href="testtools.testresult.real.TestResultDecorator.html#testsRun" class="code">testtools.testresult.real.TestResultDecorator.testsRun</a></li><li>Method - <a href="testtools.testresult.real.TestResultDecorator.html#time" class="code">testtools.testresult.real.TestResultDecorator.time</a></li><li>Method - <a href="testtools.testresult.real.TestResultDecorator.html#wasSuccessful" class="code">testtools.testresult.real.TestResultDecorator.wasSuccessful</a></li><li>Method - <a href="testtools.testresult.real.ThreadsafeForwardingResult.html#__repr__" class="code">testtools.testresult.real.ThreadsafeForwardingResult.__repr__</a></li><li>Method - <a href="testtools.testresult.real.ThreadsafeForwardingResult.html#_add_result_with_semaphore" class="code">testtools.testresult.real.ThreadsafeForwardingResult._add_result_with_semaphore</a></li><li>Method - <a href="testtools.testresult.real.ThreadsafeForwardingResult.html#_any_tags" class="code">testtools.testresult.real.ThreadsafeForwardingResult._any_tags</a></li><li>Method - <a href="testtools.testresult.real.ThreadsafeForwardingResult.html#_get_shouldStop" class="code">testtools.testresult.real.ThreadsafeForwardingResult._get_shouldStop</a></li><li>Method - <a href="testtools.testresult.real.ThreadsafeForwardingResult.html#_set_shouldStop" class="code">testtools.testresult.real.ThreadsafeForwardingResult._set_shouldStop</a></li><li>Method - <a href="testtools.testresult.real.ThreadsafeForwardingResult.html#progress" class="code">testtools.testresult.real.ThreadsafeForwardingResult.progress</a></li><li>Method - <a href="testtools.testresult.real.ThreadsafeForwardingResult.html#startTest" class="code">testtools.testresult.real.ThreadsafeForwardingResult.startTest</a></li><li>Method - <a href="testtools.testresult.real.ThreadsafeForwardingResult.html#stop" class="code">testtools.testresult.real.ThreadsafeForwardingResult.stop</a></li><li>Method - <a href="testtools.testresult.real.TimestampingStreamResult.html#__init__" class="code">testtools.testresult.real.TimestampingStreamResult.__init__</a></li><li>Method - <a href="testtools.testresult.real.UTC.html#dst" class="code">testtools.testresult.real.UTC.dst</a></li><li>Method - <a href="testtools.testresult.real.UTC.html#tzname" class="code">testtools.testresult.real.UTC.tzname</a></li><li>Method - <a href="testtools.testresult.real.UTC.html#utcoffset" class="code">testtools.testresult.real.UTC.utcoffset</a></li><li>Method - <a href="testtools.testresult.real._StringException.html#__eq__" class="code">testtools.testresult.real._StringException.__eq__</a></li><li>Method - <a href="testtools.testresult.real._StringException.html#__hash__" class="code">testtools.testresult.real._StringException.__hash__</a></li><li>Method - <a href="testtools.testresult.real._StringException.html#__init__" class="code">testtools.testresult.real._StringException.__init__</a></li><li>Method - <a href="testtools.testresult.real._StringException.html#__str__" class="code">testtools.testresult.real._StringException.__str__</a></li><li>Method - <a href="testtools.testresult.real._StringException.html#__unicode__" class="code">testtools.testresult.real._StringException.__unicode__</a></li><li>Function - <a href="testtools.testresult.real.html#_format_text_attachment" class="code">testtools.testresult.real._format_text_attachment</a></li><li>Function - <a href="testtools.testresult.real.html#_merge_tags" class="code">testtools.testresult.real._merge_tags</a></li><li>Function - <a href="testtools.testresult.real.html#domap" class="code">testtools.testresult.real.domap</a></li><li>Class - <a href="testtools.tests.helpers.FullStackRunTest.html" class="code">testtools.tests.helpers.FullStackRunTest</a></li><li>Method - <a href="testtools.tests.helpers.LoggingResult.html#__init__" class="code">testtools.tests.helpers.LoggingResult.__init__</a></li><li>Method - <a href="testtools.tests.helpers.LoggingResult.html#startTest" class="code">testtools.tests.helpers.LoggingResult.startTest</a></li><li>Method - <a href="testtools.tests.helpers.LoggingResult.html#stop" class="code">testtools.tests.helpers.LoggingResult.stop</a></li><li>Method - <a href="testtools.tests.helpers.LoggingResult.html#stopTest" class="code">testtools.tests.helpers.LoggingResult.stopTest</a></li><li>Function - <a href="testtools.tests.helpers.html#hide_testtools_stack" class="code">testtools.tests.helpers.hide_testtools_stack</a></li><li>Function - <a href="testtools.tests.helpers.html#is_stack_hidden" class="code">testtools.tests.helpers.is_stack_hidden</a></li><li>Function - <a href="testtools.tests.helpers.html#run_with_stack_hidden" class="code">testtools.tests.helpers.run_with_stack_hidden</a></li><li>Package - <a href="testtools.tests.matchers.html" class="code">testtools.tests.matchers</a></li><li>Module - <a href="testtools.tests.matchers.__init__.html" class="code">testtools.tests.matchers.__init__</a></li><li>Module - <a href="testtools.tests.matchers.helpers.html" class="code">testtools.tests.matchers.helpers</a></li><li>Class - <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html" class="code">testtools.tests.matchers.helpers.TestMatchersInterface</a></li><li>Method - <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test__str__" class="code">testtools.tests.matchers.helpers.TestMatchersInterface.test__str__</a></li><li>Method - <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_describe_difference" class="code">testtools.tests.matchers.helpers.TestMatchersInterface.test_describe_difference</a></li><li>Method - <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_matches_match" class="code">testtools.tests.matchers.helpers.TestMatchersInterface.test_matches_match</a></li><li>Method - <a href="testtools.tests.matchers.helpers.TestMatchersInterface.html#test_mismatch_details" class="code">testtools.tests.matchers.helpers.TestMatchersInterface.test_mismatch_details</a></li><li>Module - <a href="testtools.tests.matchers.test_basic.html" class="code">testtools.tests.matchers.test_basic</a></li><li>Class - <a href="testtools.tests.matchers.test_basic.DoesNotEndWithTests.html" class="code">testtools.tests.matchers.test_basic.DoesNotEndWithTests</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.DoesNotEndWithTests.html#test_describe" class="code">testtools.tests.matchers.test_basic.DoesNotEndWithTests.test_describe</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.DoesNotEndWithTests.html#test_describe_non_ascii_bytes" class="code">testtools.tests.matchers.test_basic.DoesNotEndWithTests.test_describe_non_ascii_bytes</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.DoesNotEndWithTests.html#test_describe_non_ascii_unicode" class="code">testtools.tests.matchers.test_basic.DoesNotEndWithTests.test_describe_non_ascii_unicode</a></li><li>Class - <a href="testtools.tests.matchers.test_basic.DoesNotStartWithTests.html" class="code">testtools.tests.matchers.test_basic.DoesNotStartWithTests</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.DoesNotStartWithTests.html#test_describe" class="code">testtools.tests.matchers.test_basic.DoesNotStartWithTests.test_describe</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.DoesNotStartWithTests.html#test_describe_non_ascii_bytes" class="code">testtools.tests.matchers.test_basic.DoesNotStartWithTests.test_describe_non_ascii_bytes</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.DoesNotStartWithTests.html#test_describe_non_ascii_unicode" class="code">testtools.tests.matchers.test_basic.DoesNotStartWithTests.test_describe_non_ascii_unicode</a></li><li>Class - <a href="testtools.tests.matchers.test_basic.EndsWithTests.html" class="code">testtools.tests.matchers.test_basic.EndsWithTests</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.EndsWithTests.html#test_match" class="code">testtools.tests.matchers.test_basic.EndsWithTests.test_match</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.EndsWithTests.html#test_mismatch_returns_does_not_end_with" class="code">testtools.tests.matchers.test_basic.EndsWithTests.test_mismatch_returns_does_not_end_with</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.EndsWithTests.html#test_mismatch_sets_expected" class="code">testtools.tests.matchers.test_basic.EndsWithTests.test_mismatch_sets_expected</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.EndsWithTests.html#test_mismatch_sets_matchee" class="code">testtools.tests.matchers.test_basic.EndsWithTests.test_mismatch_sets_matchee</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.EndsWithTests.html#test_str" class="code">testtools.tests.matchers.test_basic.EndsWithTests.test_str</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.EndsWithTests.html#test_str_with_bytes" class="code">testtools.tests.matchers.test_basic.EndsWithTests.test_str_with_bytes</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.EndsWithTests.html#test_str_with_unicode" class="code">testtools.tests.matchers.test_basic.EndsWithTests.test_str_with_unicode</a></li><li>Class - <a href="testtools.tests.matchers.test_basic.StartsWithTests.html" class="code">testtools.tests.matchers.test_basic.StartsWithTests</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.StartsWithTests.html#test_match" class="code">testtools.tests.matchers.test_basic.StartsWithTests.test_match</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.StartsWithTests.html#test_mismatch_returns_does_not_start_with" class="code">testtools.tests.matchers.test_basic.StartsWithTests.test_mismatch_returns_does_not_start_with</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.StartsWithTests.html#test_mismatch_sets_expected" class="code">testtools.tests.matchers.test_basic.StartsWithTests.test_mismatch_sets_expected</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.StartsWithTests.html#test_mismatch_sets_matchee" class="code">testtools.tests.matchers.test_basic.StartsWithTests.test_mismatch_sets_matchee</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.StartsWithTests.html#test_str" class="code">testtools.tests.matchers.test_basic.StartsWithTests.test_str</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.StartsWithTests.html#test_str_with_bytes" class="code">testtools.tests.matchers.test_basic.StartsWithTests.test_str_with_bytes</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.StartsWithTests.html#test_str_with_unicode" class="code">testtools.tests.matchers.test_basic.StartsWithTests.test_str_with_unicode</a></li><li>Class - <a href="testtools.tests.matchers.test_basic.TestContainsInterface.html" class="code">testtools.tests.matchers.test_basic.TestContainsInterface</a></li><li>Class - <a href="testtools.tests.matchers.test_basic.TestEqualsInterface.html" class="code">testtools.tests.matchers.test_basic.TestEqualsInterface</a></li><li>Class - <a href="testtools.tests.matchers.test_basic.TestGreaterThanInterface.html" class="code">testtools.tests.matchers.test_basic.TestGreaterThanInterface</a></li><li>Class - <a href="testtools.tests.matchers.test_basic.TestHasLength.html" class="code">testtools.tests.matchers.test_basic.TestHasLength</a></li><li>Class - <a href="testtools.tests.matchers.test_basic.TestIsInstanceInterface.html" class="code">testtools.tests.matchers.test_basic.TestIsInstanceInterface</a></li><li>Class - <a href="testtools.tests.matchers.test_basic.TestIsInstanceInterface.Foo.html" class="code">testtools.tests.matchers.test_basic.TestIsInstanceInterface.Foo</a></li><li>Class - <a href="testtools.tests.matchers.test_basic.TestIsInterface.html" class="code">testtools.tests.matchers.test_basic.TestIsInterface</a></li><li>Class - <a href="testtools.tests.matchers.test_basic.TestLessThanInterface.html" class="code">testtools.tests.matchers.test_basic.TestLessThanInterface</a></li><li>Class - <a href="testtools.tests.matchers.test_basic.TestMatchesRegex.html" class="code">testtools.tests.matchers.test_basic.TestMatchesRegex</a></li><li>Class - <a href="testtools.tests.matchers.test_basic.TestNotEqualsInterface.html" class="code">testtools.tests.matchers.test_basic.TestNotEqualsInterface</a></li><li>Class - <a href="testtools.tests.matchers.test_basic.TestSameMembers.html" class="code">testtools.tests.matchers.test_basic.TestSameMembers</a></li><li>Class - <a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr.html" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr.html#__init__" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr.__init__</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr.html#__repr__" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr.__repr__</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html#test_long_bytes" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch.test_long_bytes</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html#test_long_bytes_and_object" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch.test_long_bytes_and_object</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html#test_long_mixed_strings" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch.test_long_mixed_strings</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html#test_long_unicode" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch.test_long_unicode</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html#test_long_unicode_and_object" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch.test_long_unicode_and_object</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html#test_short_mixed_strings" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch.test_short_mixed_strings</a></li><li>Method - <a href="testtools.tests.matchers.test_basic.Test_BinaryMismatch.html#test_short_objects" class="code">testtools.tests.matchers.test_basic.Test_BinaryMismatch.test_short_objects</a></li><li>Function - <a href="testtools.tests.matchers.test_basic.html#test_suite" class="code">testtools.tests.matchers.test_basic.test_suite</a></li><li>Module - <a href="testtools.tests.matchers.test_datastructures.html" class="code">testtools.tests.matchers.test_datastructures</a></li><li>Class - <a href="testtools.tests.matchers.test_datastructures.TestContainsAllInterface.html" class="code">testtools.tests.matchers.test_datastructures.TestContainsAllInterface</a></li><li>Class - <a href="testtools.tests.matchers.test_datastructures.TestMatchesListwise.html" class="code">testtools.tests.matchers.test_datastructures.TestMatchesListwise</a></li><li>Method - <a href="testtools.tests.matchers.test_datastructures.TestMatchesListwise.html#test_docstring" class="code">testtools.tests.matchers.test_datastructures.TestMatchesListwise.test_docstring</a></li><li>Class - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise</a></li><li>Method - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#assertMismatchWithDescriptionMatching" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise.assertMismatchWithDescriptionMatching</a></li><li>Method - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_matches" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_matches</a></li><li>Method - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_mismatch_and_too_many_matchers" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_mismatch_and_too_many_matchers</a></li><li>Method - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_mismatch_and_too_many_values" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_mismatch_and_too_many_values</a></li><li>Method - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_mismatch_and_two_too_many_matchers" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_mismatch_and_two_too_many_matchers</a></li><li>Method - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_mismatch_and_two_too_many_values" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_mismatch_and_two_too_many_values</a></li><li>Method - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_mismatches" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_mismatches</a></li><li>Method - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_too_many_matchers" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_too_many_matchers</a></li><li>Method - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_too_many_values" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_too_many_values</a></li><li>Method - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_two_too_many_matchers" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_two_too_many_matchers</a></li><li>Method - <a href="testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html#test_two_too_many_values" class="code">testtools.tests.matchers.test_datastructures.TestMatchesSetwise.test_two_too_many_values</a></li><li>Class - <a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.html" class="code">testtools.tests.matchers.test_datastructures.TestMatchesStructure</a></li><li>Class - <a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass.html" class="code">testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass</a></li><li>Method - <a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass.html#__init__" class="code">testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass.__init__</a></li><li>Method - <a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.html#test_byEquality" class="code">testtools.tests.matchers.test_datastructures.TestMatchesStructure.test_byEquality</a></li><li>Method - <a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.html#test_fromExample" class="code">testtools.tests.matchers.test_datastructures.TestMatchesStructure.test_fromExample</a></li><li>Method - <a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.html#test_update" class="code">testtools.tests.matchers.test_datastructures.TestMatchesStructure.test_update</a></li><li>Method - <a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.html#test_update_none" class="code">testtools.tests.matchers.test_datastructures.TestMatchesStructure.test_update_none</a></li><li>Method - <a href="testtools.tests.matchers.test_datastructures.TestMatchesStructure.html#test_withStructure" class="code">testtools.tests.matchers.test_datastructures.TestMatchesStructure.test_withStructure</a></li><li>Function - <a href="testtools.tests.matchers.test_datastructures.html#run_doctest" class="code">testtools.tests.matchers.test_datastructures.run_doctest</a></li><li>Function - <a href="testtools.tests.matchers.test_datastructures.html#test_suite" class="code">testtools.tests.matchers.test_datastructures.test_suite</a></li><li>Module - <a href="testtools.tests.matchers.test_dict.html" class="code">testtools.tests.matchers.test_dict</a></li><li>Class - <a href="testtools.tests.matchers.test_dict.TestContainedByDict.html" class="code">testtools.tests.matchers.test_dict.TestContainedByDict</a></li><li>Class - <a href="testtools.tests.matchers.test_dict.TestContainsDict.html" class="code">testtools.tests.matchers.test_dict.TestContainsDict</a></li><li>Class - <a href="testtools.tests.matchers.test_dict.TestKeysEqualWithDict.html" class="code">testtools.tests.matchers.test_dict.TestKeysEqualWithDict</a></li><li>Class - <a href="testtools.tests.matchers.test_dict.TestKeysEqualWithList.html" class="code">testtools.tests.matchers.test_dict.TestKeysEqualWithList</a></li><li>Method - <a href="testtools.tests.matchers.test_dict.TestKeysEqualWithList.html#test_description" class="code">testtools.tests.matchers.test_dict.TestKeysEqualWithList.test_description</a></li><li>Class - <a href="testtools.tests.matchers.test_dict.TestMatchesAllDictInterface.html" class="code">testtools.tests.matchers.test_dict.TestMatchesAllDictInterface</a></li><li>Class - <a href="testtools.tests.matchers.test_dict.TestMatchesDict.html" class="code">testtools.tests.matchers.test_dict.TestMatchesDict</a></li><li>Class - <a href="testtools.tests.matchers.test_dict.TestSubDictOf.html" class="code">testtools.tests.matchers.test_dict.TestSubDictOf</a></li><li>Function - <a href="testtools.tests.matchers.test_dict.html#test_suite" class="code">testtools.tests.matchers.test_dict.test_suite</a></li><li>Module - <a href="testtools.tests.matchers.test_doctest.html" class="code">testtools.tests.matchers.test_doctest</a></li><li>Class - <a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface.html" class="code">testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface</a></li><li>Class - <a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode.html" class="code">testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode</a></li><li>Class - <a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.html" class="code">testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific</a></li><li>Method - <a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.html#test___init__flags" class="code">testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.test___init__flags</a></li><li>Method - <a href="testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.html#test___init__simple" class="code">testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.test___init__simple</a></li><li>Function - <a href="testtools.tests.matchers.test_doctest.html#test_suite" class="code">testtools.tests.matchers.test_doctest.test_suite</a></li><li>Module - <a href="testtools.tests.matchers.test_exception.html" class="code">testtools.tests.matchers.test_exception</a></li><li>Class - <a href="testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface</a></li><li>Class - <a href="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface</a></li><li>Class - <a href="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface</a></li><li>Class - <a href="testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface.html" class="code">testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface</a></li><li>Class - <a href="testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html" class="code">testtools.tests.matchers.test_exception.TestRaisesBaseTypes</a></li><li>Method - <a href="testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html#raiser" class="code">testtools.tests.matchers.test_exception.TestRaisesBaseTypes.raiser</a></li><li>Method - <a href="testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html#test_KeyboardInterrupt_match_Exception_propogates" class="code">testtools.tests.matchers.test_exception.TestRaisesBaseTypes.test_KeyboardInterrupt_match_Exception_propogates</a></li><li>Method - <a href="testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html#test_KeyboardInterrupt_matched" class="code">testtools.tests.matchers.test_exception.TestRaisesBaseTypes.test_KeyboardInterrupt_matched</a></li><li>Method - <a href="testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html#test_KeyboardInterrupt_propogates" class="code">testtools.tests.matchers.test_exception.TestRaisesBaseTypes.test_KeyboardInterrupt_propogates</a></li><li>Class - <a href="testtools.tests.matchers.test_exception.TestRaisesConvenience.html" class="code">testtools.tests.matchers.test_exception.TestRaisesConvenience</a></li><li>Method - <a href="testtools.tests.matchers.test_exception.TestRaisesConvenience.html#test_exc_type" class="code">testtools.tests.matchers.test_exception.TestRaisesConvenience.test_exc_type</a></li><li>Method - <a href="testtools.tests.matchers.test_exception.TestRaisesConvenience.html#test_exc_value" class="code">testtools.tests.matchers.test_exception.TestRaisesConvenience.test_exc_value</a></li><li>Class - <a href="testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.html" class="code">testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface</a></li><li>Method - <a href="testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.html#boom_bar" class="code">testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.boom_bar</a></li><li>Method - <a href="testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.html#boom_foo" class="code">testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.boom_foo</a></li><li>Class - <a href="testtools.tests.matchers.test_exception.TestRaisesInterface.html" class="code">testtools.tests.matchers.test_exception.TestRaisesInterface</a></li><li>Method - <a href="testtools.tests.matchers.test_exception.TestRaisesInterface.html#boom" class="code">testtools.tests.matchers.test_exception.TestRaisesInterface.boom</a></li><li>Function - <a href="testtools.tests.matchers.test_exception.html#make_error" class="code">testtools.tests.matchers.test_exception.make_error</a></li><li>Function - <a href="testtools.tests.matchers.test_exception.html#test_suite" class="code">testtools.tests.matchers.test_exception.test_suite</a></li><li>Module - <a href="testtools.tests.matchers.test_filesystem.html" class="code">testtools.tests.matchers.test_filesystem</a></li><li>Class - <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html" class="code">testtools.tests.matchers.test_filesystem.PathHelpers</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#create_file" class="code">testtools.tests.matchers.test_filesystem.PathHelpers.create_file</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#mkdtemp" class="code">testtools.tests.matchers.test_filesystem.PathHelpers.mkdtemp</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.PathHelpers.html#touch" class="code">testtools.tests.matchers.test_filesystem.PathHelpers.touch</a></li><li>Class - <a href="testtools.tests.matchers.test_filesystem.TestDirContains.html" class="code">testtools.tests.matchers.test_filesystem.TestDirContains</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestDirContains.html#test_both_specified" class="code">testtools.tests.matchers.test_filesystem.TestDirContains.test_both_specified</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestDirContains.html#test_contains_files" class="code">testtools.tests.matchers.test_filesystem.TestDirContains.test_contains_files</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestDirContains.html#test_does_not_contain_files" class="code">testtools.tests.matchers.test_filesystem.TestDirContains.test_does_not_contain_files</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestDirContains.html#test_empty" class="code">testtools.tests.matchers.test_filesystem.TestDirContains.test_empty</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestDirContains.html#test_matcher" class="code">testtools.tests.matchers.test_filesystem.TestDirContains.test_matcher</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestDirContains.html#test_neither_specified" class="code">testtools.tests.matchers.test_filesystem.TestDirContains.test_neither_specified</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestDirContains.html#test_not_exists" class="code">testtools.tests.matchers.test_filesystem.TestDirContains.test_not_exists</a></li><li>Class - <a href="testtools.tests.matchers.test_filesystem.TestDirExists.html" class="code">testtools.tests.matchers.test_filesystem.TestDirExists</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestDirExists.html#test_exists" class="code">testtools.tests.matchers.test_filesystem.TestDirExists.test_exists</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestDirExists.html#test_not_a_directory" class="code">testtools.tests.matchers.test_filesystem.TestDirExists.test_not_a_directory</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestDirExists.html#test_not_exists" class="code">testtools.tests.matchers.test_filesystem.TestDirExists.test_not_exists</a></li><li>Class - <a href="testtools.tests.matchers.test_filesystem.TestFileContains.html" class="code">testtools.tests.matchers.test_filesystem.TestFileContains</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestFileContains.html#test_both_specified" class="code">testtools.tests.matchers.test_filesystem.TestFileContains.test_both_specified</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestFileContains.html#test_contains" class="code">testtools.tests.matchers.test_filesystem.TestFileContains.test_contains</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestFileContains.html#test_does_not_contain" class="code">testtools.tests.matchers.test_filesystem.TestFileContains.test_does_not_contain</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestFileContains.html#test_matcher" class="code">testtools.tests.matchers.test_filesystem.TestFileContains.test_matcher</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestFileContains.html#test_neither_specified" class="code">testtools.tests.matchers.test_filesystem.TestFileContains.test_neither_specified</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestFileContains.html#test_not_exists" class="code">testtools.tests.matchers.test_filesystem.TestFileContains.test_not_exists</a></li><li>Class - <a href="testtools.tests.matchers.test_filesystem.TestFileExists.html" class="code">testtools.tests.matchers.test_filesystem.TestFileExists</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestFileExists.html#test_exists" class="code">testtools.tests.matchers.test_filesystem.TestFileExists.test_exists</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestFileExists.html#test_not_a_file" class="code">testtools.tests.matchers.test_filesystem.TestFileExists.test_not_a_file</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestFileExists.html#test_not_exists" class="code">testtools.tests.matchers.test_filesystem.TestFileExists.test_not_exists</a></li><li>Class - <a href="testtools.tests.matchers.test_filesystem.TestHasPermissions.html" class="code">testtools.tests.matchers.test_filesystem.TestHasPermissions</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestHasPermissions.html#test_match" class="code">testtools.tests.matchers.test_filesystem.TestHasPermissions.test_match</a></li><li>Class - <a href="testtools.tests.matchers.test_filesystem.TestPathExists.html" class="code">testtools.tests.matchers.test_filesystem.TestPathExists</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestPathExists.html#test_exists" class="code">testtools.tests.matchers.test_filesystem.TestPathExists.test_exists</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestPathExists.html#test_not_exists" class="code">testtools.tests.matchers.test_filesystem.TestPathExists.test_not_exists</a></li><li>Class - <a href="testtools.tests.matchers.test_filesystem.TestSamePath.html" class="code">testtools.tests.matchers.test_filesystem.TestSamePath</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestSamePath.html#test_real_path" class="code">testtools.tests.matchers.test_filesystem.TestSamePath.test_real_path</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestSamePath.html#test_relative_and_absolute" class="code">testtools.tests.matchers.test_filesystem.TestSamePath.test_relative_and_absolute</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestSamePath.html#test_same_string" class="code">testtools.tests.matchers.test_filesystem.TestSamePath.test_same_string</a></li><li>Class - <a href="testtools.tests.matchers.test_filesystem.TestTarballContains.html" class="code">testtools.tests.matchers.test_filesystem.TestTarballContains</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestTarballContains.html#test_match" class="code">testtools.tests.matchers.test_filesystem.TestTarballContains.test_match</a></li><li>Method - <a href="testtools.tests.matchers.test_filesystem.TestTarballContains.html#test_mismatch" class="code">testtools.tests.matchers.test_filesystem.TestTarballContains.test_mismatch</a></li><li>Function - <a href="testtools.tests.matchers.test_filesystem.html#test_suite" class="code">testtools.tests.matchers.test_filesystem.test_suite</a></li><li>Module - <a href="testtools.tests.matchers.test_higherorder.html" class="code">testtools.tests.matchers.test_higherorder</a></li><li>Class - <a href="testtools.tests.matchers.test_higherorder.TestAfterPreprocessing.html" class="code">testtools.tests.matchers.test_higherorder.TestAfterPreprocessing</a></li><li>Method - <a href="testtools.tests.matchers.test_higherorder.TestAfterPreprocessing.html#parity" class="code">testtools.tests.matchers.test_higherorder.TestAfterPreprocessing.parity</a></li><li>Class - <a href="testtools.tests.matchers.test_higherorder.TestAllMatch.html" class="code">testtools.tests.matchers.test_higherorder.TestAllMatch</a></li><li>Class - <a href="testtools.tests.matchers.test_higherorder.TestAnnotate.html" class="code">testtools.tests.matchers.test_higherorder.TestAnnotate</a></li><li>Method - <a href="testtools.tests.matchers.test_higherorder.TestAnnotate.html#test_if_message_given_message" class="code">testtools.tests.matchers.test_higherorder.TestAnnotate.test_if_message_given_message</a></li><li>Method - <a href="testtools.tests.matchers.test_higherorder.TestAnnotate.html#test_if_message_no_message" class="code">testtools.tests.matchers.test_higherorder.TestAnnotate.test_if_message_no_message</a></li><li>Class - <a href="testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch.html" class="code">testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch</a></li><li>Method - <a href="testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch.html#test_forwards_details" class="code">testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch.test_forwards_details</a></li><li>Class - <a href="testtools.tests.matchers.test_higherorder.TestAnyMatch.html" class="code">testtools.tests.matchers.test_higherorder.TestAnyMatch</a></li><li>Class - <a href="testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface</a></li><li>Class - <a href="testtools.tests.matchers.test_higherorder.TestMatchesAllInterface.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchesAllInterface</a></li><li>Class - <a href="testtools.tests.matchers.test_higherorder.TestMatchesPredicate.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchesPredicate</a></li><li>Class - <a href="testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams.html" class="code">testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams</a></li><li>Class - <a href="testtools.tests.matchers.test_higherorder.TestNotInterface.html" class="code">testtools.tests.matchers.test_higherorder.TestNotInterface</a></li><li>Function - <a href="testtools.tests.matchers.test_higherorder.html#between" class="code">testtools.tests.matchers.test_higherorder.between</a></li><li>Function - <a href="testtools.tests.matchers.test_higherorder.html#is_even" class="code">testtools.tests.matchers.test_higherorder.is_even</a></li><li>Function - <a href="testtools.tests.matchers.test_higherorder.html#test_suite" class="code">testtools.tests.matchers.test_higherorder.test_suite</a></li><li>Class - <a href="testtools.tests.matchers.test_impl.TestMismatch.html" class="code">testtools.tests.matchers.test_impl.TestMismatch</a></li><li>Method - <a href="testtools.tests.matchers.test_impl.TestMismatch.html#test_constructor_arguments" class="code">testtools.tests.matchers.test_impl.TestMismatch.test_constructor_arguments</a></li><li>Method - <a href="testtools.tests.matchers.test_impl.TestMismatch.html#test_constructor_no_arguments" class="code">testtools.tests.matchers.test_impl.TestMismatch.test_constructor_no_arguments</a></li><li>Class - <a href="testtools.tests.matchers.test_impl.TestMismatchDecorator.html" class="code">testtools.tests.matchers.test_impl.TestMismatchDecorator</a></li><li>Method - <a href="testtools.tests.matchers.test_impl.TestMismatchDecorator.html#test_forwards_description" class="code">testtools.tests.matchers.test_impl.TestMismatchDecorator.test_forwards_description</a></li><li>Method - <a href="testtools.tests.matchers.test_impl.TestMismatchDecorator.html#test_forwards_details" class="code">testtools.tests.matchers.test_impl.TestMismatchDecorator.test_forwards_details</a></li><li>Method - <a href="testtools.tests.matchers.test_impl.TestMismatchDecorator.html#test_repr" class="code">testtools.tests.matchers.test_impl.TestMismatchDecorator.test_repr</a></li><li>Class - <a href="testtools.tests.matchers.test_impl.TestMismatchError.html" class="code">testtools.tests.matchers.test_impl.TestMismatchError</a></li><li>Method - <a href="testtools.tests.matchers.test_impl.TestMismatchError.html#test_default_description_is_mismatch" class="code">testtools.tests.matchers.test_impl.TestMismatchError.test_default_description_is_mismatch</a></li><li>Method - <a href="testtools.tests.matchers.test_impl.TestMismatchError.html#test_default_description_unicode" class="code">testtools.tests.matchers.test_impl.TestMismatchError.test_default_description_unicode</a></li><li>Method - <a href="testtools.tests.matchers.test_impl.TestMismatchError.html#test_is_assertion_error" class="code">testtools.tests.matchers.test_impl.TestMismatchError.test_is_assertion_error</a></li><li>Method - <a href="testtools.tests.matchers.test_impl.TestMismatchError.html#test_verbose_description" class="code">testtools.tests.matchers.test_impl.TestMismatchError.test_verbose_description</a></li><li>Method - <a href="testtools.tests.matchers.test_impl.TestMismatchError.html#test_verbose_unicode" class="code">testtools.tests.matchers.test_impl.TestMismatchError.test_verbose_unicode</a></li><li>Function - <a href="testtools.tests.matchers.test_impl.html#test_suite" class="code">testtools.tests.matchers.test_impl.test_suite</a></li><li>Function - <a href="testtools.tests.matchers.html#test_suite" class="code">testtools.tests.matchers.test_suite</a></li><li>Module - <a href="testtools.tests.test_assert_that.html" class="code">testtools.tests.test_assert_that</a></li><li>Method - <a href="testtools.tests.test_assert_that.AssertThatTests.html#assert_that_callable" class="code">testtools.tests.test_assert_that.AssertThatTests.assert_that_callable</a></li><li>Method - <a href="testtools.tests.test_assert_that.AssertThatTests.html#test_assertThat_matches_clean" class="code">testtools.tests.test_assert_that.AssertThatTests.test_assertThat_matches_clean</a></li><li>Method - <a href="testtools.tests.test_assert_that.AssertThatTests.html#test_assertThat_message_is_annotated" class="code">testtools.tests.test_assert_that.AssertThatTests.test_assertThat_message_is_annotated</a></li><li>Method - <a href="testtools.tests.test_assert_that.AssertThatTests.html#test_assertThat_mismatch_raises_description" class="code">testtools.tests.test_assert_that.AssertThatTests.test_assertThat_mismatch_raises_description</a></li><li>Method - <a href="testtools.tests.test_assert_that.AssertThatTests.html#test_assertThat_output" class="code">testtools.tests.test_assert_that.AssertThatTests.test_assertThat_output</a></li><li>Method - <a href="testtools.tests.test_assert_that.AssertThatTests.html#test_assertThat_verbose_output" class="code">testtools.tests.test_assert_that.AssertThatTests.test_assertThat_verbose_output</a></li><li>Method - <a href="testtools.tests.test_assert_that.AssertThatTests.html#test_assertThat_verbose_unicode" class="code">testtools.tests.test_assert_that.AssertThatTests.test_assertThat_verbose_unicode</a></li><li>Class - <a href="testtools.tests.test_assert_that.TestAssertThatFunction.html" class="code">testtools.tests.test_assert_that.TestAssertThatFunction</a></li><li>Method - <a href="testtools.tests.test_assert_that.TestAssertThatFunction.html#assert_that_callable" class="code">testtools.tests.test_assert_that.TestAssertThatFunction.assert_that_callable</a></li><li>Class - <a href="testtools.tests.test_assert_that.TestAssertThatMethod.html" class="code">testtools.tests.test_assert_that.TestAssertThatMethod</a></li><li>Method - <a href="testtools.tests.test_assert_that.TestAssertThatMethod.html#assert_that_callable" class="code">testtools.tests.test_assert_that.TestAssertThatMethod.assert_that_callable</a></li><li>Function - <a href="testtools.tests.test_assert_that.html#test_suite" class="code">testtools.tests.test_assert_that.test_suite</a></li><li>Method - <a href="testtools.tests.test_compat.TestTextRepr.html#test_ascii_examples_defaultline_bytes" class="code">testtools.tests.test_compat.TestTextRepr.test_ascii_examples_defaultline_bytes</a></li><li>Method - <a href="testtools.tests.test_compat.TestTextRepr.html#test_ascii_examples_defaultline_unicode" class="code">testtools.tests.test_compat.TestTextRepr.test_ascii_examples_defaultline_unicode</a></li><li>Method - <a href="testtools.tests.test_compat.TestTextRepr.html#test_ascii_examples_multiline_bytes" class="code">testtools.tests.test_compat.TestTextRepr.test_ascii_examples_multiline_bytes</a></li><li>Method - <a href="testtools.tests.test_compat.TestTextRepr.html#test_ascii_examples_multiline_unicode" class="code">testtools.tests.test_compat.TestTextRepr.test_ascii_examples_multiline_unicode</a></li><li>Method - <a href="testtools.tests.test_compat.TestTextRepr.html#test_ascii_examples_oneline_bytes" class="code">testtools.tests.test_compat.TestTextRepr.test_ascii_examples_oneline_bytes</a></li><li>Method - <a href="testtools.tests.test_compat.TestTextRepr.html#test_ascii_examples_oneline_unicode" class="code">testtools.tests.test_compat.TestTextRepr.test_ascii_examples_oneline_unicode</a></li><li>Method - <a href="testtools.tests.test_compat.TestTextRepr.html#test_bytes_examples_multiline" class="code">testtools.tests.test_compat.TestTextRepr.test_bytes_examples_multiline</a></li><li>Method - <a href="testtools.tests.test_compat.TestTextRepr.html#test_bytes_examples_oneline" class="code">testtools.tests.test_compat.TestTextRepr.test_bytes_examples_oneline</a></li><li>Method - <a href="testtools.tests.test_compat.TestTextRepr.html#test_unicode_examples_multiline" class="code">testtools.tests.test_compat.TestTextRepr.test_unicode_examples_multiline</a></li><li>Method - <a href="testtools.tests.test_compat.TestTextRepr.html#test_unicode_examples_oneline" class="code">testtools.tests.test_compat.TestTextRepr.test_unicode_examples_oneline</a></li><li>Method - <a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#setUp" class="code">testtools.tests.test_compat.TestUnicodeOutputStream.setUp</a></li><li>Method - <a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_io_bytesio" class="code">testtools.tests.test_compat.TestUnicodeOutputStream.test_io_bytesio</a></li><li>Method - <a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_io_stringio" class="code">testtools.tests.test_compat.TestUnicodeOutputStream.test_io_stringio</a></li><li>Method - <a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_io_textwrapper" class="code">testtools.tests.test_compat.TestUnicodeOutputStream.test_io_textwrapper</a></li><li>Method - <a href="testtools.tests.test_compat.TestUnicodeOutputStream.html#test_unicode_encodings_not_wrapped_when_str_is_unicode" class="code">testtools.tests.test_compat.TestUnicodeOutputStream.test_unicode_encodings_not_wrapped_when_str_is_unicode</a></li><li>Method - <a href="testtools.tests.test_compat._FakeOutputStream.html#__init__" class="code">testtools.tests.test_compat._FakeOutputStream.__init__</a></li><li>Method - <a href="testtools.tests.test_compat._FakeOutputStream.html#write" class="code">testtools.tests.test_compat._FakeOutputStream.write</a></li><li>Function - <a href="testtools.tests.test_compat.html#test_suite" class="code">testtools.tests.test_compat.test_suite</a></li><li>Module - <a href="testtools.tests.test_content.html" class="code">testtools.tests.test_content</a></li><li>Class - <a href="testtools.tests.test_content.TestAttachFile.html" class="code">testtools.tests.test_content.TestAttachFile</a></li><li>Method - <a href="testtools.tests.test_content.TestAttachFile.html#make_file" class="code">testtools.tests.test_content.TestAttachFile.make_file</a></li><li>Method - <a href="testtools.tests.test_content.TestAttachFile.html#test_eager_read_by_default" class="code">testtools.tests.test_content.TestAttachFile.test_eager_read_by_default</a></li><li>Method - <a href="testtools.tests.test_content.TestAttachFile.html#test_lazy_read" class="code">testtools.tests.test_content.TestAttachFile.test_lazy_read</a></li><li>Method - <a href="testtools.tests.test_content.TestAttachFile.html#test_optional_name" class="code">testtools.tests.test_content.TestAttachFile.test_optional_name</a></li><li>Method - <a href="testtools.tests.test_content.TestAttachFile.html#test_simple" class="code">testtools.tests.test_content.TestAttachFile.test_simple</a></li><li>Class - <a href="testtools.tests.test_content.TestContent.html" class="code">testtools.tests.test_content.TestContent</a></li><li>Method - <a href="testtools.tests.test_content.TestContent.html#test___eq__" class="code">testtools.tests.test_content.TestContent.test___eq__</a></li><li>Method - <a href="testtools.tests.test_content.TestContent.html#test___init___None_errors" class="code">testtools.tests.test_content.TestContent.test___init___None_errors</a></li><li>Method - <a href="testtools.tests.test_content.TestContent.html#test___init___sets_ivars" class="code">testtools.tests.test_content.TestContent.test___init___sets_ivars</a></li><li>Method - <a href="testtools.tests.test_content.TestContent.html#test___repr__" class="code">testtools.tests.test_content.TestContent.test___repr__</a></li><li>Method - <a href="testtools.tests.test_content.TestContent.html#test_as_text" class="code">testtools.tests.test_content.TestContent.test_as_text</a></li><li>Method - <a href="testtools.tests.test_content.TestContent.html#test_from_file" class="code">testtools.tests.test_content.TestContent.test_from_file</a></li><li>Method - <a href="testtools.tests.test_content.TestContent.html#test_from_file_default_type" class="code">testtools.tests.test_content.TestContent.test_from_file_default_type</a></li><li>Method - <a href="testtools.tests.test_content.TestContent.html#test_from_file_eager_loading" class="code">testtools.tests.test_content.TestContent.test_from_file_eager_loading</a></li><li>Method - <a href="testtools.tests.test_content.TestContent.html#test_from_file_with_simple_seek" class="code">testtools.tests.test_content.TestContent.test_from_file_with_simple_seek</a></li><li>Method - <a href="testtools.tests.test_content.TestContent.html#test_from_file_with_whence_seek" class="code">testtools.tests.test_content.TestContent.test_from_file_with_whence_seek</a></li><li>Method - <a href="testtools.tests.test_content.TestContent.html#test_from_nonexistent_file" class="code">testtools.tests.test_content.TestContent.test_from_nonexistent_file</a></li><li>Method - <a href="testtools.tests.test_content.TestContent.html#test_from_stream" class="code">testtools.tests.test_content.TestContent.test_from_stream</a></li><li>Method - <a href="testtools.tests.test_content.TestContent.html#test_from_stream_default_type" class="code">testtools.tests.test_content.TestContent.test_from_stream_default_type</a></li><li>Method - <a href="testtools.tests.test_content.TestContent.html#test_from_stream_eager_loading" class="code">testtools.tests.test_content.TestContent.test_from_stream_eager_loading</a></li><li>Method - <a href="testtools.tests.test_content.TestContent.html#test_from_stream_with_simple_seek" class="code">testtools.tests.test_content.TestContent.test_from_stream_with_simple_seek</a></li><li>Method - <a href="testtools.tests.test_content.TestContent.html#test_from_stream_with_whence_seek" class="code">testtools.tests.test_content.TestContent.test_from_stream_with_whence_seek</a></li><li>Method - <a href="testtools.tests.test_content.TestContent.html#test_from_text" class="code">testtools.tests.test_content.TestContent.test_from_text</a></li><li>Method - <a href="testtools.tests.test_content.TestContent.html#test_iter_text_decodes" class="code">testtools.tests.test_content.TestContent.test_iter_text_decodes</a></li><li>Method - <a href="testtools.tests.test_content.TestContent.html#test_iter_text_default_charset_iso_8859_1" class="code">testtools.tests.test_content.TestContent.test_iter_text_default_charset_iso_8859_1</a></li><li>Method - <a href="testtools.tests.test_content.TestContent.html#test_iter_text_not_text_errors" class="code">testtools.tests.test_content.TestContent.test_iter_text_not_text_errors</a></li><li>Method - <a href="testtools.tests.test_content.TestContent.html#test_json_content" class="code">testtools.tests.test_content.TestContent.test_json_content</a></li><li>Method - <a href="testtools.tests.test_content.TestContent.html#test_text_content_raises_TypeError_when_passed_bytes" class="code">testtools.tests.test_content.TestContent.test_text_content_raises_TypeError_when_passed_bytes</a></li><li>Method - <a href="testtools.tests.test_content.TestContent.html#test_text_content_raises_TypeError_when_passed_non_text" class="code">testtools.tests.test_content.TestContent.test_text_content_raises_TypeError_when_passed_non_text</a></li><li>Class - <a href="testtools.tests.test_content.TestStackLinesContent.html" class="code">testtools.tests.test_content.TestStackLinesContent</a></li><li>Method - <a href="testtools.tests.test_content.TestStackLinesContent.html#_get_stack_line_and_expected_output" class="code">testtools.tests.test_content.TestStackLinesContent._get_stack_line_and_expected_output</a></li><li>Method - <a href="testtools.tests.test_content.TestStackLinesContent.html#test___init___sets_content_type" class="code">testtools.tests.test_content.TestStackLinesContent.test___init___sets_content_type</a></li><li>Method - <a href="testtools.tests.test_content.TestStackLinesContent.html#test_postfix_content" class="code">testtools.tests.test_content.TestStackLinesContent.test_postfix_content</a></li><li>Method - <a href="testtools.tests.test_content.TestStackLinesContent.html#test_prefix_content" class="code">testtools.tests.test_content.TestStackLinesContent.test_prefix_content</a></li><li>Method - <a href="testtools.tests.test_content.TestStackLinesContent.html#test_single_stack_line" class="code">testtools.tests.test_content.TestStackLinesContent.test_single_stack_line</a></li><li>Class - <a href="testtools.tests.test_content.TestStacktraceContent.html" class="code">testtools.tests.test_content.TestStacktraceContent</a></li><li>Method - <a href="testtools.tests.test_content.TestStacktraceContent.html#test___init___sets_ivars" class="code">testtools.tests.test_content.TestStacktraceContent.test___init___sets_ivars</a></li><li>Method - <a href="testtools.tests.test_content.TestStacktraceContent.html#test_postfix_is_used" class="code">testtools.tests.test_content.TestStacktraceContent.test_postfix_is_used</a></li><li>Method - <a href="testtools.tests.test_content.TestStacktraceContent.html#test_prefix_is_used" class="code">testtools.tests.test_content.TestStacktraceContent.test_prefix_is_used</a></li><li>Method - <a href="testtools.tests.test_content.TestStacktraceContent.html#test_top_frame_is_skipped_when_no_stack_is_specified" class="code">testtools.tests.test_content.TestStacktraceContent.test_top_frame_is_skipped_when_no_stack_is_specified</a></li><li>Class - <a href="testtools.tests.test_content.TestTracebackContent.html" class="code">testtools.tests.test_content.TestTracebackContent</a></li><li>Method - <a href="testtools.tests.test_content.TestTracebackContent.html#test___init___None_errors" class="code">testtools.tests.test_content.TestTracebackContent.test___init___None_errors</a></li><li>Method - <a href="testtools.tests.test_content.TestTracebackContent.html#test___init___sets_ivars" class="code">testtools.tests.test_content.TestTracebackContent.test___init___sets_ivars</a></li><li>Function - <a href="testtools.tests.test_content.html#test_suite" class="code">testtools.tests.test_content.test_suite</a></li><li>Module - <a href="testtools.tests.test_content_type.html" class="code">testtools.tests.test_content_type</a></li><li>Class - <a href="testtools.tests.test_content_type.TestBuiltinContentTypes.html" class="code">testtools.tests.test_content_type.TestBuiltinContentTypes</a></li><li>Method - <a href="testtools.tests.test_content_type.TestBuiltinContentTypes.html#test_json_content" class="code">testtools.tests.test_content_type.TestBuiltinContentTypes.test_json_content</a></li><li>Method - <a href="testtools.tests.test_content_type.TestBuiltinContentTypes.html#test_plain_text" class="code">testtools.tests.test_content_type.TestBuiltinContentTypes.test_plain_text</a></li><li>Class - <a href="testtools.tests.test_content_type.TestContentType.html" class="code">testtools.tests.test_content_type.TestContentType</a></li><li>Method - <a href="testtools.tests.test_content_type.TestContentType.html#test___eq__" class="code">testtools.tests.test_content_type.TestContentType.test___eq__</a></li><li>Method - <a href="testtools.tests.test_content_type.TestContentType.html#test___init___None_errors" class="code">testtools.tests.test_content_type.TestContentType.test___init___None_errors</a></li><li>Method - <a href="testtools.tests.test_content_type.TestContentType.html#test___init___sets_ivars" class="code">testtools.tests.test_content_type.TestContentType.test___init___sets_ivars</a></li><li>Method - <a href="testtools.tests.test_content_type.TestContentType.html#test___init___with_parameters" class="code">testtools.tests.test_content_type.TestContentType.test___init___with_parameters</a></li><li>Method - <a href="testtools.tests.test_content_type.TestContentType.html#test_basic_repr" class="code">testtools.tests.test_content_type.TestContentType.test_basic_repr</a></li><li>Method - <a href="testtools.tests.test_content_type.TestContentType.html#test_extended_repr" class="code">testtools.tests.test_content_type.TestContentType.test_extended_repr</a></li><li>Function - <a href="testtools.tests.test_content_type.html#test_suite" class="code">testtools.tests.test_content_type.test_suite</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.MatchesEvents.html#__init__" class="code">testtools.tests.test_deferredruntest.MatchesEvents.__init__</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.MatchesEvents.html#_make_matcher" class="code">testtools.tests.test_deferredruntest.MatchesEvents._make_matcher</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.MatchesEvents.html#match" class="code">testtools.tests.test_deferredruntest.MatchesEvents.match</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAssertFailsWith.html#test_assert_fails_with_expected_exception" class="code">testtools.tests.test_deferredruntest.TestAssertFailsWith.test_assert_fails_with_expected_exception</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAssertFailsWith.html#test_assert_fails_with_success" class="code">testtools.tests.test_deferredruntest.TestAssertFailsWith.test_assert_fails_with_success</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAssertFailsWith.html#test_assert_fails_with_success_multiple_types" class="code">testtools.tests.test_deferredruntest.TestAssertFailsWith.test_assert_fails_with_success_multiple_types</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAssertFailsWith.html#test_assert_fails_with_wrong_exception" class="code">testtools.tests.test_deferredruntest.TestAssertFailsWith.test_assert_fails_with_wrong_exception</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAssertFailsWith.html#test_custom_failure_exception" class="code">testtools.tests.test_deferredruntest.TestAssertFailsWith.test_custom_failure_exception</a></li><li>Class - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#make_reactor" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.make_reactor</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#make_result" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.make_result</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#make_runner" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.make_runner</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#make_timeout" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.make_timeout</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_async_cleanups" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_async_cleanups</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_calls_setUp_test_tearDown_in_sequence" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_calls_setUp_test_tearDown_in_sequence</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_clean_reactor" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_clean_reactor</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_convenient_construction" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_convenient_construction</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_convenient_construction_default_debugging" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_convenient_construction_default_debugging</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_convenient_construction_default_reactor" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_convenient_construction_default_reactor</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_convenient_construction_default_timeout" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_convenient_construction_default_timeout</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_debugging_enabled_during_test_with_debug_flag" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_debugging_enabled_during_test_with_debug_flag</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_debugging_unchanged_during_test_by_default" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_debugging_unchanged_during_test_by_default</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_deferred_error" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_deferred_error</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_exports_reactor" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_exports_reactor</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_fast_keyboard_interrupt_stops_test_run" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_fast_keyboard_interrupt_stops_test_run</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_keyboard_interrupt_stops_test_run" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_keyboard_interrupt_stops_test_run</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_log_err_flushed_is_success" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_log_err_flushed_is_success</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_log_err_is_error" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_log_err_is_error</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_log_in_details" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_log_in_details</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_only_addError_once" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_only_addError_once</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_setUp_returns_deferred_that_fires_later" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_setUp_returns_deferred_that_fires_later</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_timeout_causes_test_error" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_timeout_causes_test_error</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_unhandled_error_from_deferred" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_unhandled_error_from_deferred</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_unhandled_error_from_deferred_combined_with_error" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_unhandled_error_from_deferred_combined_with_error</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html#test_use_convenient_factory" class="code">testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.test_use_convenient_factory</a></li><li>Class - <a href="testtools.tests.test_deferredruntest.TestRunWithLogObservers.html" class="code">testtools.tests.test_deferredruntest.TestRunWithLogObservers</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestRunWithLogObservers.html#test_restores_observers" class="code">testtools.tests.test_deferredruntest.TestRunWithLogObservers.test_restores_observers</a></li><li>Class - <a href="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html" class="code">testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html#make_result" class="code">testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.make_result</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html#make_runner" class="code">testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.make_runner</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html#test_failure" class="code">testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.test_failure</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html#test_setUp_followed_by_test" class="code">testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.test_setUp_followed_by_test</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html#test_success" class="code">testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.test_success</a></li><li>Class - <a href="testtools.tests.test_deferredruntest.X.Base.html" class="code">testtools.tests.test_deferredruntest.X.Base</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.X.Base.html#setUp" class="code">testtools.tests.test_deferredruntest.X.Base.setUp</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.X.Base.html#tearDown" class="code">testtools.tests.test_deferredruntest.X.Base.tearDown</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.X.Base.html#test_something" class="code">testtools.tests.test_deferredruntest.X.Base.test_something</a></li><li>Class - <a href="testtools.tests.test_deferredruntest.X.BaseExceptionRaised.html" class="code">testtools.tests.test_deferredruntest.X.BaseExceptionRaised</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.X.BaseExceptionRaised.html#test_something" class="code">testtools.tests.test_deferredruntest.X.BaseExceptionRaised.test_something</a></li><li>Class - <a href="testtools.tests.test_deferredruntest.X.ErrorInCleanup.html" class="code">testtools.tests.test_deferredruntest.X.ErrorInCleanup</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.X.ErrorInCleanup.html#test_something" class="code">testtools.tests.test_deferredruntest.X.ErrorInCleanup.test_something</a></li><li>Class - <a href="testtools.tests.test_deferredruntest.X.ErrorInSetup.html" class="code">testtools.tests.test_deferredruntest.X.ErrorInSetup</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.X.ErrorInSetup.html#setUp" class="code">testtools.tests.test_deferredruntest.X.ErrorInSetup.setUp</a></li><li>Class - <a href="testtools.tests.test_deferredruntest.X.ErrorInTearDown.html" class="code">testtools.tests.test_deferredruntest.X.ErrorInTearDown</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.X.ErrorInTearDown.html#tearDown" class="code">testtools.tests.test_deferredruntest.X.ErrorInTearDown.tearDown</a></li><li>Class - <a href="testtools.tests.test_deferredruntest.X.ErrorInTest.html" class="code">testtools.tests.test_deferredruntest.X.ErrorInTest</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.X.ErrorInTest.html#test_something" class="code">testtools.tests.test_deferredruntest.X.ErrorInTest.test_something</a></li><li>Class - <a href="testtools.tests.test_deferredruntest.X.FailureInTest.html" class="code">testtools.tests.test_deferredruntest.X.FailureInTest</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.X.FailureInTest.html#test_something" class="code">testtools.tests.test_deferredruntest.X.FailureInTest.test_something</a></li><li>Class - <a href="testtools.tests.test_deferredruntest.X.TestIntegration.html" class="code">testtools.tests.test_deferredruntest.X.TestIntegration</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.X.TestIntegration.html#assertResultsMatch" class="code">testtools.tests.test_deferredruntest.X.TestIntegration.assertResultsMatch</a></li><li>Method - <a href="testtools.tests.test_deferredruntest.X.TestIntegration.html#test_runner" class="code">testtools.tests.test_deferredruntest.X.TestIntegration.test_runner</a></li><li>Function - <a href="testtools.tests.test_deferredruntest.html#load_tests" class="code">testtools.tests.test_deferredruntest.load_tests</a></li><li>Function - <a href="testtools.tests.test_deferredruntest.html#make_integration_tests" class="code">testtools.tests.test_deferredruntest.make_integration_tests</a></li><li>Function - <a href="testtools.tests.test_deferredruntest.html#test_suite" class="code">testtools.tests.test_deferredruntest.test_suite</a></li><li>Method - <a href="testtools.tests.test_distutilscmd.SampleTestFixture.html#__init__" class="code">testtools.tests.test_distutilscmd.SampleTestFixture.__init__</a></li><li>Method - <a href="testtools.tests.test_distutilscmd.SampleTestFixture.html#setUp" class="code">testtools.tests.test_distutilscmd.SampleTestFixture.setUp</a></li><li>Class - <a href="testtools.tests.test_distutilscmd.TestCommandTest.html" class="code">testtools.tests.test_distutilscmd.TestCommandTest</a></li><li>Method - <a href="testtools.tests.test_distutilscmd.TestCommandTest.html#setUp" class="code">testtools.tests.test_distutilscmd.TestCommandTest.setUp</a></li><li>Method - <a href="testtools.tests.test_distutilscmd.TestCommandTest.html#test_test_module" class="code">testtools.tests.test_distutilscmd.TestCommandTest.test_test_module</a></li><li>Method - <a href="testtools.tests.test_distutilscmd.TestCommandTest.html#test_test_suite" class="code">testtools.tests.test_distutilscmd.TestCommandTest.test_test_suite</a></li><li>Function - <a href="testtools.tests.test_distutilscmd.html#test_suite" class="code">testtools.tests.test_distutilscmd.test_suite</a></li><li>Module - <a href="testtools.tests.test_fixturesupport.html" class="code">testtools.tests.test_fixturesupport</a></li><li>Class - <a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html" class="code">testtools.tests.test_fixturesupport.TestFixtureSupport</a></li><li>Method - <a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html#setUp" class="code">testtools.tests.test_fixturesupport.TestFixtureSupport.setUp</a></li><li>Method - <a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html#test_useFixture" class="code">testtools.tests.test_fixturesupport.TestFixtureSupport.test_useFixture</a></li><li>Method - <a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html#test_useFixture_cleanups_raise_caught" class="code">testtools.tests.test_fixturesupport.TestFixtureSupport.test_useFixture_cleanups_raise_caught</a></li><li>Method - <a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html#test_useFixture_details_captured" class="code">testtools.tests.test_fixturesupport.TestFixtureSupport.test_useFixture_details_captured</a></li><li>Method - <a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html#test_useFixture_details_captured_from_setUp" class="code">testtools.tests.test_fixturesupport.TestFixtureSupport.test_useFixture_details_captured_from_setUp</a></li><li>Method - <a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html#test_useFixture_multiple_details_captured" class="code">testtools.tests.test_fixturesupport.TestFixtureSupport.test_useFixture_multiple_details_captured</a></li><li>Method - <a href="testtools.tests.test_fixturesupport.TestFixtureSupport.html#test_useFixture_original_exception_raised_if_gather_details_fails" class="code">testtools.tests.test_fixturesupport.TestFixtureSupport.test_useFixture_original_exception_raised_if_gather_details_fails</a></li><li>Function - <a href="testtools.tests.test_fixturesupport.html#test_suite" class="code">testtools.tests.test_fixturesupport.test_suite</a></li><li>Module - <a href="testtools.tests.test_helpers.html" class="code">testtools.tests.test_helpers</a></li><li>Class - <a href="testtools.tests.test_helpers.TestStackHiding.html" class="code">testtools.tests.test_helpers.TestStackHiding</a></li><li>Method - <a href="testtools.tests.test_helpers.TestStackHiding.html#setUp" class="code">testtools.tests.test_helpers.TestStackHiding.setUp</a></li><li>Method - <a href="testtools.tests.test_helpers.TestStackHiding.html#test_is_stack_hidden_consistent_false" class="code">testtools.tests.test_helpers.TestStackHiding.test_is_stack_hidden_consistent_false</a></li><li>Method - <a href="testtools.tests.test_helpers.TestStackHiding.html#test_is_stack_hidden_consistent_true" class="code">testtools.tests.test_helpers.TestStackHiding.test_is_stack_hidden_consistent_true</a></li><li>Function - <a href="testtools.tests.test_helpers.html#test_suite" class="code">testtools.tests.test_helpers.test_suite</a></li><li>Method - <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#setUp" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.setUp</a></li><li>Method - <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_construct_with_patches" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.test_construct_with_patches</a></li><li>Method - <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_empty" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.test_empty</a></li><li>Method - <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_patch_already_patched" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.test_patch_already_patched</a></li><li>Method - <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_patch_existing" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.test_patch_existing</a></li><li>Method - <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_patch_non_existing" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.test_patch_non_existing</a></li><li>Method - <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_repeated_run_with_patches" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.test_repeated_run_with_patches</a></li><li>Method - <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_restore_non_existing" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.test_restore_non_existing</a></li><li>Method - <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_restore_twice_is_a_no_op" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.test_restore_twice_is_a_no_op</a></li><li>Method - <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_run_with_patches_decoration" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.test_run_with_patches_decoration</a></li><li>Method - <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_run_with_patches_restores" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.test_run_with_patches_restores</a></li><li>Method - <a href="testtools.tests.test_monkey.MonkeyPatcherTest.html#test_run_with_patches_restores_on_exception" class="code">testtools.tests.test_monkey.MonkeyPatcherTest.test_run_with_patches_restores_on_exception</a></li><li>Class - <a href="testtools.tests.test_monkey.TestObj.html" class="code">testtools.tests.test_monkey.TestObj</a></li><li>Method - <a href="testtools.tests.test_monkey.TestObj.html#__init__" class="code">testtools.tests.test_monkey.TestObj.__init__</a></li><li>Class - <a href="testtools.tests.test_monkey.TestPatchHelper.html" class="code">testtools.tests.test_monkey.TestPatchHelper</a></li><li>Method - <a href="testtools.tests.test_monkey.TestPatchHelper.html#test_patch_patches" class="code">testtools.tests.test_monkey.TestPatchHelper.test_patch_patches</a></li><li>Method - <a href="testtools.tests.test_monkey.TestPatchHelper.html#test_patch_returns_cleanup" class="code">testtools.tests.test_monkey.TestPatchHelper.test_patch_returns_cleanup</a></li><li>Function - <a href="testtools.tests.test_monkey.html#test_suite" class="code">testtools.tests.test_monkey.test_suite</a></li><li>Method - <a href="testtools.tests.test_run.SampleLoadTestsPackage.html#__init__" class="code">testtools.tests.test_run.SampleLoadTestsPackage.__init__</a></li><li>Method - <a href="testtools.tests.test_run.SampleLoadTestsPackage.html#setUp" class="code">testtools.tests.test_run.SampleLoadTestsPackage.setUp</a></li><li>Method - <a href="testtools.tests.test_run.SampleResourcedFixture.html#__init__" class="code">testtools.tests.test_run.SampleResourcedFixture.__init__</a></li><li>Method - <a href="testtools.tests.test_run.SampleResourcedFixture.html#setUp" class="code">testtools.tests.test_run.SampleResourcedFixture.setUp</a></li><li>Method - <a href="testtools.tests.test_run.SampleTestFixture.html#setUp" class="code">testtools.tests.test_run.SampleTestFixture.setUp</a></li><li>Class - <a href="testtools.tests.test_run.TestRun.html" class="code">testtools.tests.test_run.TestRun</a></li><li>Method - <a href="testtools.tests.test_run.TestRun.html#setUp" class="code">testtools.tests.test_run.TestRun.setUp</a></li><li>Method - <a href="testtools.tests.test_run.TestRun.html#test_issue_16662" class="code">testtools.tests.test_run.TestRun.test_issue_16662</a></li><li>Method - <a href="testtools.tests.test_run.TestRun.html#test_load_list_preserves_custom_suites" class="code">testtools.tests.test_run.TestRun.test_load_list_preserves_custom_suites</a></li><li>Method - <a href="testtools.tests.test_run.TestRun.html#test_run_custom_list" class="code">testtools.tests.test_run.TestRun.test_run_custom_list</a></li><li>Method - <a href="testtools.tests.test_run.TestRun.html#test_run_failfast" class="code">testtools.tests.test_run.TestRun.test_run_failfast</a></li><li>Method - <a href="testtools.tests.test_run.TestRun.html#test_run_list" class="code">testtools.tests.test_run.TestRun.test_run_list</a></li><li>Method - <a href="testtools.tests.test_run.TestRun.html#test_run_list_failed_import" class="code">testtools.tests.test_run.TestRun.test_run_list_failed_import</a></li><li>Method - <a href="testtools.tests.test_run.TestRun.html#test_run_list_with_loader" class="code">testtools.tests.test_run.TestRun.test_run_list_with_loader</a></li><li>Method - <a href="testtools.tests.test_run.TestRun.html#test_run_load_list" class="code">testtools.tests.test_run.TestRun.test_run_load_list</a></li><li>Method - <a href="testtools.tests.test_run.TestRun.html#test_run_locals" class="code">testtools.tests.test_run.TestRun.test_run_locals</a></li><li>Method - <a href="testtools.tests.test_run.TestRun.html#test_run_orders_tests" class="code">testtools.tests.test_run.TestRun.test_run_orders_tests</a></li><li>Method - <a href="testtools.tests.test_run.TestRun.html#test_stdout_honoured" class="code">testtools.tests.test_run.TestRun.test_stdout_honoured</a></li><li>Function - <a href="testtools.tests.test_run.html#test_suite" class="code">testtools.tests.test_run.test_suite</a></li><li>Class - <a href="testtools.tests.test_runtest.CustomRunTest.html" class="code">testtools.tests.test_runtest.CustomRunTest</a></li><li>Class - <a href="testtools.tests.test_runtest.TestRunTest.html" class="code">testtools.tests.test_runtest.TestRunTest</a></li><li>Method - <a href="testtools.tests.test_runtest.TestRunTest.html#make_case" class="code">testtools.tests.test_runtest.TestRunTest.make_case</a></li><li>Method - <a href="testtools.tests.test_runtest.TestRunTest.html#test___init___short" class="code">testtools.tests.test_runtest.TestRunTest.test___init___short</a></li><li>Method - <a href="testtools.tests.test_runtest.TestRunTest.html#test__init____handlers" class="code">testtools.tests.test_runtest.TestRunTest.test__init____handlers</a></li><li>Method - <a href="testtools.tests.test_runtest.TestRunTest.html#test__init____handlers_last_resort" class="code">testtools.tests.test_runtest.TestRunTest.test__init____handlers_last_resort</a></li><li>Method - <a href="testtools.tests.test_runtest.TestRunTest.html#test__run_core_called" class="code">testtools.tests.test_runtest.TestRunTest.test__run_core_called</a></li><li>Method - <a href="testtools.tests.test_runtest.TestRunTest.html#test__run_one_decorates_result" class="code">testtools.tests.test_runtest.TestRunTest.test__run_one_decorates_result</a></li><li>Method - <a href="testtools.tests.test_runtest.TestRunTest.html#test__run_prepared_result_calls_start_and_stop_test" class="code">testtools.tests.test_runtest.TestRunTest.test__run_prepared_result_calls_start_and_stop_test</a></li><li>Method - <a href="testtools.tests.test_runtest.TestRunTest.html#test__run_prepared_result_calls_stop_test_always" class="code">testtools.tests.test_runtest.TestRunTest.test__run_prepared_result_calls_stop_test_always</a></li><li>Method - <a href="testtools.tests.test_runtest.TestRunTest.html#test__run_prepared_result_does_not_mask_keyboard" class="code">testtools.tests.test_runtest.TestRunTest.test__run_prepared_result_does_not_mask_keyboard</a></li><li>Method - <a href="testtools.tests.test_runtest.TestRunTest.html#test__run_prepared_result_uncaught_Exception_raised" class="code">testtools.tests.test_runtest.TestRunTest.test__run_prepared_result_uncaught_Exception_raised</a></li><li>Method - <a href="testtools.tests.test_runtest.TestRunTest.html#test__run_prepared_result_uncaught_Exception_triggers_error" class="code">testtools.tests.test_runtest.TestRunTest.test__run_prepared_result_uncaught_Exception_triggers_error</a></li><li>Method - <a href="testtools.tests.test_runtest.TestRunTest.html#test__run_user_calls_onException" class="code">testtools.tests.test_runtest.TestRunTest.test__run_user_calls_onException</a></li><li>Method - <a href="testtools.tests.test_runtest.TestRunTest.html#test__run_user_can_catch_Exception" class="code">testtools.tests.test_runtest.TestRunTest.test__run_user_can_catch_Exception</a></li><li>Method - <a href="testtools.tests.test_runtest.TestRunTest.html#test__run_user_returns_result" class="code">testtools.tests.test_runtest.TestRunTest.test__run_user_returns_result</a></li><li>Method - <a href="testtools.tests.test_runtest.TestRunTest.html#test__run_user_uncaught_Exception_from_exception_handler_raised" class="code">testtools.tests.test_runtest.TestRunTest.test__run_user_uncaught_Exception_from_exception_handler_raised</a></li><li>Method - <a href="testtools.tests.test_runtest.TestRunTest.html#test_run_no_result_manages_new_result" class="code">testtools.tests.test_runtest.TestRunTest.test_run_no_result_manages_new_result</a></li><li>Method - <a href="testtools.tests.test_runtest.TestRunTest.html#test_run_with_result" class="code">testtools.tests.test_runtest.TestRunTest.test_run_with_result</a></li><li>Class - <a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html" class="code">testtools.tests.test_runtest.TestTestCaseSupportForRunTest</a></li><li>Method - <a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html#test_constructor_argument_overrides_class_variable" class="code">testtools.tests.test_runtest.TestTestCaseSupportForRunTest.test_constructor_argument_overrides_class_variable</a></li><li>Method - <a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html#test_constructor_overrides_decorator" class="code">testtools.tests.test_runtest.TestTestCaseSupportForRunTest.test_constructor_overrides_decorator</a></li><li>Method - <a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html#test_decorator_for_run_test" class="code">testtools.tests.test_runtest.TestTestCaseSupportForRunTest.test_decorator_for_run_test</a></li><li>Method - <a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html#test_default_is_runTest_class_variable" class="code">testtools.tests.test_runtest.TestTestCaseSupportForRunTest.test_default_is_runTest_class_variable</a></li><li>Method - <a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html#test_extended_decorator_for_run_test" class="code">testtools.tests.test_runtest.TestTestCaseSupportForRunTest.test_extended_decorator_for_run_test</a></li><li>Method - <a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html#test_pass_custom_run_test" class="code">testtools.tests.test_runtest.TestTestCaseSupportForRunTest.test_pass_custom_run_test</a></li><li>Method - <a href="testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html#test_works_as_inner_decorator" class="code">testtools.tests.test_runtest.TestTestCaseSupportForRunTest.test_works_as_inner_decorator</a></li><li>Function - <a href="testtools.tests.test_runtest.html#test_suite" class="code">testtools.tests.test_runtest.test_suite</a></li><li>Class - <a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html" class="code">testtools.tests.test_spinner.NeedsTwistedTestCase</a></li><li>Method - <a href="testtools.tests.test_spinner.NeedsTwistedTestCase.html#setUp" class="code">testtools.tests.test_spinner.NeedsTwistedTestCase.setUp</a></li><li>Class - <a href="testtools.tests.test_spinner.TestExtractResult.html" class="code">testtools.tests.test_spinner.TestExtractResult</a></li><li>Method - <a href="testtools.tests.test_spinner.TestExtractResult.html#test_failure" class="code">testtools.tests.test_spinner.TestExtractResult.test_failure</a></li><li>Method - <a href="testtools.tests.test_spinner.TestExtractResult.html#test_not_fired" class="code">testtools.tests.test_spinner.TestExtractResult.test_not_fired</a></li><li>Method - <a href="testtools.tests.test_spinner.TestExtractResult.html#test_success" class="code">testtools.tests.test_spinner.TestExtractResult.test_success</a></li><li>Class - <a href="testtools.tests.test_spinner.TestNotReentrant.html" class="code">testtools.tests.test_spinner.TestNotReentrant</a></li><li>Method - <a href="testtools.tests.test_spinner.TestNotReentrant.html#test_deeper_stack" class="code">testtools.tests.test_spinner.TestNotReentrant.test_deeper_stack</a></li><li>Method - <a href="testtools.tests.test_spinner.TestNotReentrant.html#test_not_reentrant" class="code">testtools.tests.test_spinner.TestNotReentrant.test_not_reentrant</a></li><li>Class - <a href="testtools.tests.test_spinner.TestRunInReactor.html" class="code">testtools.tests.test_spinner.TestRunInReactor</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#make_reactor" class="code">testtools.tests.test_spinner.TestRunInReactor.make_reactor</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#make_spinner" class="code">testtools.tests.test_spinner.TestRunInReactor.make_spinner</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#make_timeout" class="code">testtools.tests.test_spinner.TestRunInReactor.make_timeout</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_clean_delayed_call" class="code">testtools.tests.test_spinner.TestRunInReactor.test_clean_delayed_call</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_clean_delayed_call_cancelled" class="code">testtools.tests.test_spinner.TestRunInReactor.test_clean_delayed_call_cancelled</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_clean_do_nothing" class="code">testtools.tests.test_spinner.TestRunInReactor.test_clean_do_nothing</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_clean_running_threads" class="code">testtools.tests.test_spinner.TestRunInReactor.test_clean_running_threads</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_clean_selectables" class="code">testtools.tests.test_spinner.TestRunInReactor.test_clean_selectables</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_clear_junk_clears_previous_junk" class="code">testtools.tests.test_spinner.TestRunInReactor.test_clear_junk_clears_previous_junk</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_deferred_value_returned" class="code">testtools.tests.test_spinner.TestRunInReactor.test_deferred_value_returned</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_exception_reraised" class="code">testtools.tests.test_spinner.TestRunInReactor.test_exception_reraised</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_fast_sigint_raises_no_result_error" class="code">testtools.tests.test_spinner.TestRunInReactor.test_fast_sigint_raises_no_result_error</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_fast_sigint_raises_no_result_error_second_time" class="code">testtools.tests.test_spinner.TestRunInReactor.test_fast_sigint_raises_no_result_error_second_time</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_function_called" class="code">testtools.tests.test_spinner.TestRunInReactor.test_function_called</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_keyword_arguments" class="code">testtools.tests.test_spinner.TestRunInReactor.test_keyword_arguments</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_leftover_junk_available" class="code">testtools.tests.test_spinner.TestRunInReactor.test_leftover_junk_available</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_no_junk_by_default" class="code">testtools.tests.test_spinner.TestRunInReactor.test_no_junk_by_default</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_not_reentrant" class="code">testtools.tests.test_spinner.TestRunInReactor.test_not_reentrant</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_preserve_signal_handler" class="code">testtools.tests.test_spinner.TestRunInReactor.test_preserve_signal_handler</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_return_value_returned" class="code">testtools.tests.test_spinner.TestRunInReactor.test_return_value_returned</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_sigint_raises_no_result_error" class="code">testtools.tests.test_spinner.TestRunInReactor.test_sigint_raises_no_result_error</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_sigint_raises_no_result_error_second_time" class="code">testtools.tests.test_spinner.TestRunInReactor.test_sigint_raises_no_result_error_second_time</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_timeout" class="code">testtools.tests.test_spinner.TestRunInReactor.test_timeout</a></li><li>Method - <a href="testtools.tests.test_spinner.TestRunInReactor.html#test_will_not_run_with_previous_junk" class="code">testtools.tests.test_spinner.TestRunInReactor.test_will_not_run_with_previous_junk</a></li><li>Class - <a href="testtools.tests.test_spinner.TestTrapUnhandledErrors.html" class="code">testtools.tests.test_spinner.TestTrapUnhandledErrors</a></li><li>Method - <a href="testtools.tests.test_spinner.TestTrapUnhandledErrors.html#test_no_deferreds" class="code">testtools.tests.test_spinner.TestTrapUnhandledErrors.test_no_deferreds</a></li><li>Method - <a href="testtools.tests.test_spinner.TestTrapUnhandledErrors.html#test_unhandled_error" class="code">testtools.tests.test_spinner.TestTrapUnhandledErrors.test_unhandled_error</a></li><li>Function - <a href="testtools.tests.test_spinner.html#test_suite" class="code">testtools.tests.test_spinner.test_suite</a></li><li>Function - <a href="testtools.tests.html#test_suite" class="code">testtools.tests.test_suite</a></li><li>Class - <a href="testtools.tests.test_tags.TestTags.html" class="code">testtools.tests.test_tags.TestTags</a></li><li>Method - <a href="testtools.tests.test_tags.TestTags.html#test_add_tag" class="code">testtools.tests.test_tags.TestTags.test_add_tag</a></li><li>Method - <a href="testtools.tests.test_tags.TestTags.html#test_add_tag_twice" class="code">testtools.tests.test_tags.TestTags.test_add_tag_twice</a></li><li>Method - <a href="testtools.tests.test_tags.TestTags.html#test_add_to_child" class="code">testtools.tests.test_tags.TestTags.test_add_to_child</a></li><li>Method - <a href="testtools.tests.test_tags.TestTags.html#test_change_tags_returns_tags" class="code">testtools.tests.test_tags.TestTags.test_change_tags_returns_tags</a></li><li>Method - <a href="testtools.tests.test_tags.TestTags.html#test_child_context" class="code">testtools.tests.test_tags.TestTags.test_child_context</a></li><li>Method - <a href="testtools.tests.test_tags.TestTags.html#test_no_tags" class="code">testtools.tests.test_tags.TestTags.test_no_tags</a></li><li>Method - <a href="testtools.tests.test_tags.TestTags.html#test_parent" class="code">testtools.tests.test_tags.TestTags.test_parent</a></li><li>Method - <a href="testtools.tests.test_tags.TestTags.html#test_remove_in_child" class="code">testtools.tests.test_tags.TestTags.test_remove_in_child</a></li><li>Method - <a href="testtools.tests.test_tags.TestTags.html#test_remove_tag" class="code">testtools.tests.test_tags.TestTags.test_remove_tag</a></li><li>Function - <a href="testtools.tests.test_tags.html#test_suite" class="code">testtools.tests.test_tags.test_suite</a></li><li>Class - <a href="testtools.tests.test_testcase.Attributes.html" class="code">testtools.tests.test_testcase.Attributes</a></li><li>Method - <a href="testtools.tests.test_testcase.Attributes.html#decorated" class="code">testtools.tests.test_testcase.Attributes.decorated</a></li><li>Method - <a href="testtools.tests.test_testcase.Attributes.html#many" class="code">testtools.tests.test_testcase.Attributes.many</a></li><li>Method - <a href="testtools.tests.test_testcase.Attributes.html#simple" class="code">testtools.tests.test_testcase.Attributes.simple</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html#brokenSetUp" class="code">testtools.tests.test_testcase.TestAddCleanup.LoggingTest.brokenSetUp</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html#brokenTest" class="code">testtools.tests.test_testcase.TestAddCleanup.LoggingTest.brokenTest</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html#runTest" class="code">testtools.tests.test_testcase.TestAddCleanup.LoggingTest.runTest</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html#setUp" class="code">testtools.tests.test_testcase.TestAddCleanup.LoggingTest.setUp</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html#tearDown" class="code">testtools.tests.test_testcase.TestAddCleanup.LoggingTest.tearDown</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAddCleanup.html#assertErrorLogEqual" class="code">testtools.tests.test_testcase.TestAddCleanup.assertErrorLogEqual</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAddCleanup.html#setUp" class="code">testtools.tests.test_testcase.TestAddCleanup.setUp</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAddCleanup.html#test_addCleanup_called_in_reverse_order" class="code">testtools.tests.test_testcase.TestAddCleanup.test_addCleanup_called_in_reverse_order</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAddCleanup.html#test_add_cleanup_called_if_setUp_fails" class="code">testtools.tests.test_testcase.TestAddCleanup.test_add_cleanup_called_if_setUp_fails</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAddCleanup.html#test_all_errors_from_MultipleExceptions_reported" class="code">testtools.tests.test_testcase.TestAddCleanup.test_all_errors_from_MultipleExceptions_reported</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAddCleanup.html#test_cleanup_run_before_tearDown" class="code">testtools.tests.test_testcase.TestAddCleanup.test_cleanup_run_before_tearDown</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAddCleanup.html#test_cleanups_continue_running_after_error" class="code">testtools.tests.test_testcase.TestAddCleanup.test_cleanups_continue_running_after_error</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAddCleanup.html#test_error_in_cleanups_are_captured" class="code">testtools.tests.test_testcase.TestAddCleanup.test_error_in_cleanups_are_captured</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAddCleanup.html#test_fixture" class="code">testtools.tests.test_testcase.TestAddCleanup.test_fixture</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAddCleanup.html#test_keyboard_interrupt_not_caught" class="code">testtools.tests.test_testcase.TestAddCleanup.test_keyboard_interrupt_not_caught</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAddCleanup.html#test_multipleCleanupErrorsReported" class="code">testtools.tests.test_testcase.TestAddCleanup.test_multipleCleanupErrorsReported</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAddCleanup.html#test_multipleErrorsCoreAndCleanupReported" class="code">testtools.tests.test_testcase.TestAddCleanup.test_multipleErrorsCoreAndCleanupReported</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAddCleanup.html#test_tearDown_runs_after_cleanup_failure" class="code">testtools.tests.test_testcase.TestAddCleanup.test_tearDown_runs_after_cleanup_failure</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#raiseError" class="code">testtools.tests.test_testcase.TestAssertions.raiseError</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test__force_failure_fails_test" class="code">testtools.tests.test_testcase.TestAssertions.test__force_failure_fails_test</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertEqual_formatting_no_message" class="code">testtools.tests.test_testcase.TestAssertions.test_assertEqual_formatting_no_message</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertEqual_nice_formatting" class="code">testtools.tests.test_testcase.TestAssertions.test_assertEqual_nice_formatting</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertEqual_non_ascii_str_with_newlines" class="code">testtools.tests.test_testcase.TestAssertions.test_assertEqual_non_ascii_str_with_newlines</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIn_failure" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIn_failure</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIn_failure_with_message" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIn_failure_with_message</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIn_success" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIn_success</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIs" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIs</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsInstance" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIsInstance</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsInstance_failure" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIsInstance_failure</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsInstance_failure_multiple_classes" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIsInstance_failure_multiple_classes</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsInstance_multiple_classes" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIsInstance_multiple_classes</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsInstance_overridden_message" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIsInstance_overridden_message</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsNone" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIsNone</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsNot" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIsNot</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsNotNone" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIsNotNone</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsNot_fails" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIsNot_fails</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIsNot_fails_with_message" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIsNot_fails_with_message</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIs_fails" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIs_fails</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertIs_fails_with_message" class="code">testtools.tests.test_testcase.TestAssertions.test_assertIs_fails_with_message</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertNotIn_failure" class="code">testtools.tests.test_testcase.TestAssertions.test_assertNotIn_failure</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertNotIn_failure_with_message" class="code">testtools.tests.test_testcase.TestAssertions.test_assertNotIn_failure_with_message</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertNotIn_success" class="code">testtools.tests.test_testcase.TestAssertions.test_assertNotIn_success</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises" class="code">testtools.tests.test_testcase.TestAssertions.test_assertRaises</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises_exception_w_metaclass" class="code">testtools.tests.test_testcase.TestAssertions.test_assertRaises_exception_w_metaclass</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises_fails_when_different_error_raised" class="code">testtools.tests.test_testcase.TestAssertions.test_assertRaises_fails_when_different_error_raised</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises_fails_when_no_error_raised" class="code">testtools.tests.test_testcase.TestAssertions.test_assertRaises_fails_when_no_error_raised</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises_function_repr_in_exception" class="code">testtools.tests.test_testcase.TestAssertions.test_assertRaises_function_repr_in_exception</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises_returns_the_raised_exception" class="code">testtools.tests.test_testcase.TestAssertions.test_assertRaises_returns_the_raised_exception</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises_with_multiple_exceptions" class="code">testtools.tests.test_testcase.TestAssertions.test_assertRaises_with_multiple_exceptions</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertRaises_with_multiple_exceptions_failure_mode" class="code">testtools.tests.test_testcase.TestAssertions.test_assertRaises_with_multiple_exceptions_failure_mode</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertThat_matches_clean" class="code">testtools.tests.test_testcase.TestAssertions.test_assertThat_matches_clean</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertThat_message_is_annotated" class="code">testtools.tests.test_testcase.TestAssertions.test_assertThat_message_is_annotated</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertThat_mismatch_raises_description" class="code">testtools.tests.test_testcase.TestAssertions.test_assertThat_mismatch_raises_description</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertThat_output" class="code">testtools.tests.test_testcase.TestAssertions.test_assertThat_output</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertThat_verbose_output" class="code">testtools.tests.test_testcase.TestAssertions.test_assertThat_verbose_output</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_assertThat_verbose_unicode" class="code">testtools.tests.test_testcase.TestAssertions.test_assertThat_verbose_unicode</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_expectThat_adds_detail" class="code">testtools.tests.test_testcase.TestAssertions.test_expectThat_adds_detail</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_expectThat_does_not_exit_test" class="code">testtools.tests.test_testcase.TestAssertions.test_expectThat_does_not_exit_test</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_expectThat_matches_clean" class="code">testtools.tests.test_testcase.TestAssertions.test_expectThat_matches_clean</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_expectThat_mismatch_fails_test" class="code">testtools.tests.test_testcase.TestAssertions.test_expectThat_mismatch_fails_test</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_fail_preserves_traceback_detail" class="code">testtools.tests.test_testcase.TestAssertions.test_fail_preserves_traceback_detail</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_formatTypes_multiple" class="code">testtools.tests.test_testcase.TestAssertions.test_formatTypes_multiple</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAssertions.html#test_formatTypes_single" class="code">testtools.tests.test_testcase.TestAssertions.test_formatTypes_single</a></li><li>Class - <a href="testtools.tests.test_testcase.TestAttributes.html" class="code">testtools.tests.test_testcase.TestAttributes</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAttributes.html#test_multiple_attr_decorators" class="code">testtools.tests.test_testcase.TestAttributes.test_multiple_attr_decorators</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAttributes.html#test_multiple_attributes" class="code">testtools.tests.test_testcase.TestAttributes.test_multiple_attributes</a></li><li>Method - <a href="testtools.tests.test_testcase.TestAttributes.html#test_simple_attr" class="code">testtools.tests.test_testcase.TestAttributes.test_simple_attr</a></li><li>Method - <a href="testtools.tests.test_testcase.TestCloneTestWithNewId.html#test_clone_test_with_new_id" class="code">testtools.tests.test_testcase.TestCloneTestWithNewId.test_clone_test_with_new_id</a></li><li>Class - <a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html" class="code">testtools.tests.test_testcase.TestDecorateTestCaseResult</a></li><li>Method - <a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html#make_result" class="code">testtools.tests.test_testcase.TestDecorateTestCaseResult.make_result</a></li><li>Method - <a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html#setUp" class="code">testtools.tests.test_testcase.TestDecorateTestCaseResult.setUp</a></li><li>Method - <a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html#test___call__" class="code">testtools.tests.test_testcase.TestDecorateTestCaseResult.test___call__</a></li><li>Method - <a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html#test_before_after_hooks" class="code">testtools.tests.test_testcase.TestDecorateTestCaseResult.test_before_after_hooks</a></li><li>Method - <a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html#test_other_attribute" class="code">testtools.tests.test_testcase.TestDecorateTestCaseResult.test_other_attribute</a></li><li>Method - <a href="testtools.tests.test_testcase.TestDecorateTestCaseResult.html#test_run" class="code">testtools.tests.test_testcase.TestDecorateTestCaseResult.test_run</a></li><li>Class - <a href="testtools.tests.test_testcase.TestDetailsProvided.html" class="code">testtools.tests.test_testcase.TestDetailsProvided</a></li><li>Method - <a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addDetail" class="code">testtools.tests.test_testcase.TestDetailsProvided.test_addDetail</a></li><li>Method - <a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addDetailUniqueName_works" class="code">testtools.tests.test_testcase.TestDetailsProvided.test_addDetailUniqueName_works</a></li><li>Method - <a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addDetails_from_Mismatch" class="code">testtools.tests.test_testcase.TestDetailsProvided.test_addDetails_from_Mismatch</a></li><li>Method - <a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addDetails_with_same_name_as_key_from_get_details" class="code">testtools.tests.test_testcase.TestDetailsProvided.test_addDetails_with_same_name_as_key_from_get_details</a></li><li>Method - <a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addError" class="code">testtools.tests.test_testcase.TestDetailsProvided.test_addError</a></li><li>Method - <a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addFailure" class="code">testtools.tests.test_testcase.TestDetailsProvided.test_addFailure</a></li><li>Method - <a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addSkip" class="code">testtools.tests.test_testcase.TestDetailsProvided.test_addSkip</a></li><li>Method - <a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addSucccess" class="code">testtools.tests.test_testcase.TestDetailsProvided.test_addSucccess</a></li><li>Method - <a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_addUnexpectedSuccess" class="code">testtools.tests.test_testcase.TestDetailsProvided.test_addUnexpectedSuccess</a></li><li>Method - <a href="testtools.tests.test_testcase.TestDetailsProvided.html#test_multiple_addDetails_from_Mismatch" class="code">testtools.tests.test_testcase.TestDetailsProvided.test_multiple_addDetails_from_Mismatch</a></li><li>Method - <a href="testtools.tests.test_testcase.TestEquality.html#test_identicalIsEqual" class="code">testtools.tests.test_testcase.TestEquality.test_identicalIsEqual</a></li><li>Method - <a href="testtools.tests.test_testcase.TestEquality.html#test_nonIdenticalInUnequal" class="code">testtools.tests.test_testcase.TestEquality.test_nonIdenticalInUnequal</a></li><li>Class - <a href="testtools.tests.test_testcase.TestErrorHolder.html" class="code">testtools.tests.test_testcase.TestErrorHolder</a></li><li>Method - <a href="testtools.tests.test_testcase.TestErrorHolder.html#makeException" class="code">testtools.tests.test_testcase.TestErrorHolder.makeException</a></li><li>Method - <a href="testtools.tests.test_testcase.TestErrorHolder.html#makePlaceHolder" class="code">testtools.tests.test_testcase.TestErrorHolder.makePlaceHolder</a></li><li>Method - <a href="testtools.tests.test_testcase.TestErrorHolder.html#test_call_is_run" class="code">testtools.tests.test_testcase.TestErrorHolder.test_call_is_run</a></li><li>Method - <a href="testtools.tests.test_testcase.TestErrorHolder.html#test_counts_as_one_test" class="code">testtools.tests.test_testcase.TestErrorHolder.test_counts_as_one_test</a></li><li>Method - <a href="testtools.tests.test_testcase.TestErrorHolder.html#test_debug" class="code">testtools.tests.test_testcase.TestErrorHolder.test_debug</a></li><li>Method - <a href="testtools.tests.test_testcase.TestErrorHolder.html#test_id_comes_from_constructor" class="code">testtools.tests.test_testcase.TestErrorHolder.test_id_comes_from_constructor</a></li><li>Method - <a href="testtools.tests.test_testcase.TestErrorHolder.html#test_runs_as_error" class="code">testtools.tests.test_testcase.TestErrorHolder.test_runs_as_error</a></li><li>Method - <a href="testtools.tests.test_testcase.TestErrorHolder.html#test_runs_without_result" class="code">testtools.tests.test_testcase.TestErrorHolder.test_runs_without_result</a></li><li>Method - <a href="testtools.tests.test_testcase.TestErrorHolder.html#test_shortDescription_is_id" class="code">testtools.tests.test_testcase.TestErrorHolder.test_shortDescription_is_id</a></li><li>Method - <a href="testtools.tests.test_testcase.TestErrorHolder.html#test_shortDescription_specified" class="code">testtools.tests.test_testcase.TestErrorHolder.test_shortDescription_specified</a></li><li>Method - <a href="testtools.tests.test_testcase.TestErrorHolder.html#test_str_is_id" class="code">testtools.tests.test_testcase.TestErrorHolder.test_str_is_id</a></li><li>Method - <a href="testtools.tests.test_testcase.TestExpectedFailure.html#make_unexpected_case" class="code">testtools.tests.test_testcase.TestExpectedFailure.make_unexpected_case</a></li><li>Method - <a href="testtools.tests.test_testcase.TestExpectedFailure.html#make_xfail_case_succeeds" class="code">testtools.tests.test_testcase.TestExpectedFailure.make_xfail_case_succeeds</a></li><li>Method - <a href="testtools.tests.test_testcase.TestExpectedFailure.html#make_xfail_case_xfails" class="code">testtools.tests.test_testcase.TestExpectedFailure.make_xfail_case_xfails</a></li><li>Method - <a href="testtools.tests.test_testcase.TestExpectedFailure.html#test_expectFailure_KnownFailure_extended" class="code">testtools.tests.test_testcase.TestExpectedFailure.test_expectFailure_KnownFailure_extended</a></li><li>Method - <a href="testtools.tests.test_testcase.TestExpectedFailure.html#test_expectFailure_KnownFailure_unexpected_success" class="code">testtools.tests.test_testcase.TestExpectedFailure.test_expectFailure_KnownFailure_unexpected_success</a></li><li>Method - <a href="testtools.tests.test_testcase.TestExpectedFailure.html#test_raising__UnexpectedSuccess_extended" class="code">testtools.tests.test_testcase.TestExpectedFailure.test_raising__UnexpectedSuccess_extended</a></li><li>Method - <a href="testtools.tests.test_testcase.TestExpectedFailure.html#test_raising__UnexpectedSuccess_py27" class="code">testtools.tests.test_testcase.TestExpectedFailure.test_raising__UnexpectedSuccess_py27</a></li><li>Method - <a href="testtools.tests.test_testcase.TestExpectedFailure.html#test_unittest_expectedFailure_decorator_works_with_failure" class="code">testtools.tests.test_testcase.TestExpectedFailure.test_unittest_expectedFailure_decorator_works_with_failure</a></li><li>Method - <a href="testtools.tests.test_testcase.TestExpectedFailure.html#test_unittest_expectedFailure_decorator_works_with_success" class="code">testtools.tests.test_testcase.TestExpectedFailure.test_unittest_expectedFailure_decorator_works_with_success</a></li><li>Class - <a href="testtools.tests.test_testcase.TestNullary.html" class="code">testtools.tests.test_testcase.TestNullary</a></li><li>Method - <a href="testtools.tests.test_testcase.TestNullary.html#test_called_with_arguments" class="code">testtools.tests.test_testcase.TestNullary.test_called_with_arguments</a></li><li>Method - <a href="testtools.tests.test_testcase.TestNullary.html#test_raises" class="code">testtools.tests.test_testcase.TestNullary.test_raises</a></li><li>Method - <a href="testtools.tests.test_testcase.TestNullary.html#test_repr" class="code">testtools.tests.test_testcase.TestNullary.test_repr</a></li><li>Method - <a href="testtools.tests.test_testcase.TestNullary.html#test_returns_wrapped" class="code">testtools.tests.test_testcase.TestNullary.test_returns_wrapped</a></li><li>Class - <a href="testtools.tests.test_testcase.TestOnException.html" class="code">testtools.tests.test_testcase.TestOnException</a></li><li>Method - <a href="testtools.tests.test_testcase.TestOnException.html#test_added_handler_works" class="code">testtools.tests.test_testcase.TestOnException.test_added_handler_works</a></li><li>Method - <a href="testtools.tests.test_testcase.TestOnException.html#test_default_works" class="code">testtools.tests.test_testcase.TestOnException.test_default_works</a></li><li>Method - <a href="testtools.tests.test_testcase.TestOnException.html#test_handler_that_raises_is_not_caught" class="code">testtools.tests.test_testcase.TestOnException.test_handler_that_raises_is_not_caught</a></li><li>Class - <a href="testtools.tests.test_testcase.TestPatchSupport.html" class="code">testtools.tests.test_testcase.TestPatchSupport</a></li><li>Class - <a href="testtools.tests.test_testcase.TestPatchSupport.Case.html" class="code">testtools.tests.test_testcase.TestPatchSupport.Case</a></li><li>Method - <a href="testtools.tests.test_testcase.TestPatchSupport.Case.html#test" class="code">testtools.tests.test_testcase.TestPatchSupport.Case.test</a></li><li>Method - <a href="testtools.tests.test_testcase.TestPatchSupport.html#test_patch" class="code">testtools.tests.test_testcase.TestPatchSupport.test_patch</a></li><li>Method - <a href="testtools.tests.test_testcase.TestPatchSupport.html#test_patch_nonexistent_attribute" class="code">testtools.tests.test_testcase.TestPatchSupport.test_patch_nonexistent_attribute</a></li><li>Method - <a href="testtools.tests.test_testcase.TestPatchSupport.html#test_patch_restored_after_run" class="code">testtools.tests.test_testcase.TestPatchSupport.test_patch_restored_after_run</a></li><li>Method - <a href="testtools.tests.test_testcase.TestPatchSupport.html#test_restore_nonexistent_attribute" class="code">testtools.tests.test_testcase.TestPatchSupport.test_restore_nonexistent_attribute</a></li><li>Method - <a href="testtools.tests.test_testcase.TestPatchSupport.html#test_successive_patches_apply" class="code">testtools.tests.test_testcase.TestPatchSupport.test_successive_patches_apply</a></li><li>Method - <a href="testtools.tests.test_testcase.TestPatchSupport.html#test_successive_patches_restored_after_run" class="code">testtools.tests.test_testcase.TestPatchSupport.test_successive_patches_restored_after_run</a></li><li>Class - <a href="testtools.tests.test_testcase.TestPlaceHolder.html" class="code">testtools.tests.test_testcase.TestPlaceHolder</a></li><li>Method - <a href="testtools.tests.test_testcase.TestPlaceHolder.html#makePlaceHolder" class="code">testtools.tests.test_testcase.TestPlaceHolder.makePlaceHolder</a></li><li>Method - <a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_call_is_run" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_call_is_run</a></li><li>Method - <a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_counts_as_one_test" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_counts_as_one_test</a></li><li>Method - <a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_debug" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_debug</a></li><li>Method - <a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_id_comes_from_constructor" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_id_comes_from_constructor</a></li><li>Method - <a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_repr_custom_outcome" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_repr_custom_outcome</a></li><li>Method - <a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_repr_just_id" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_repr_just_id</a></li><li>Method - <a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_repr_with_description" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_repr_with_description</a></li><li>Method - <a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_runs_as_success" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_runs_as_success</a></li><li>Method - <a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_runs_without_result" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_runs_without_result</a></li><li>Method - <a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_shortDescription_is_id" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_shortDescription_is_id</a></li><li>Method - <a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_shortDescription_specified" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_shortDescription_specified</a></li><li>Method - <a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_str_is_id" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_str_is_id</a></li><li>Method - <a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_supplies_details" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_supplies_details</a></li><li>Method - <a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_supplies_timestamps" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_supplies_timestamps</a></li><li>Method - <a href="testtools.tests.test_testcase.TestPlaceHolder.html#test_supports_tags" class="code">testtools.tests.test_testcase.TestPlaceHolder.test_supports_tags</a></li><li>Class - <a href="testtools.tests.test_testcase.TestRunTestUsage.html" class="code">testtools.tests.test_testcase.TestRunTestUsage</a></li><li>Method - <a href="testtools.tests.test_testcase.TestRunTestUsage.html#test_last_resort_in_place" class="code">testtools.tests.test_testcase.TestRunTestUsage.test_last_resort_in_place</a></li><li>Class - <a href="testtools.tests.test_testcase.TestSetupTearDown.html" class="code">testtools.tests.test_testcase.TestSetupTearDown</a></li><li>Method - <a href="testtools.tests.test_testcase.TestSetupTearDown.html#test_setUpCalledTwice" class="code">testtools.tests.test_testcase.TestSetupTearDown.test_setUpCalledTwice</a></li><li>Method - <a href="testtools.tests.test_testcase.TestSetupTearDown.html#test_setUpNotCalled" class="code">testtools.tests.test_testcase.TestSetupTearDown.test_setUpNotCalled</a></li><li>Method - <a href="testtools.tests.test_testcase.TestSetupTearDown.html#test_tearDownCalledTwice" class="code">testtools.tests.test_testcase.TestSetupTearDown.test_tearDownCalledTwice</a></li><li>Method - <a href="testtools.tests.test_testcase.TestSetupTearDown.html#test_tearDownNotCalled" class="code">testtools.tests.test_testcase.TestSetupTearDown.test_tearDownNotCalled</a></li><li>Method - <a href="testtools.tests.test_testcase.TestSkipping.html#check_skip_decorator_does_not_run_setup" class="code">testtools.tests.test_testcase.TestSkipping.check_skip_decorator_does_not_run_setup</a></li><li>Method - <a href="testtools.tests.test_testcase.TestSkipping.html#test_can_use_skipTest" class="code">testtools.tests.test_testcase.TestSkipping.test_can_use_skipTest</a></li><li>Method - <a href="testtools.tests.test_testcase.TestSkipping.html#test_skipException_in_setup_calls_result_addSkip" class="code">testtools.tests.test_testcase.TestSkipping.test_skipException_in_setup_calls_result_addSkip</a></li><li>Method - <a href="testtools.tests.test_testcase.TestSkipping.html#test_skipException_in_test_method_calls_result_addSkip" class="code">testtools.tests.test_testcase.TestSkipping.test_skipException_in_test_method_calls_result_addSkip</a></li><li>Method - <a href="testtools.tests.test_testcase.TestSkipping.html#test_skipIf_decorator" class="code">testtools.tests.test_testcase.TestSkipping.test_skipIf_decorator</a></li><li>Method - <a href="testtools.tests.test_testcase.TestSkipping.html#test_skipUnless_decorator" class="code">testtools.tests.test_testcase.TestSkipping.test_skipUnless_decorator</a></li><li>Method - <a href="testtools.tests.test_testcase.TestSkipping.html#test_skip__in_setup_with_old_result_object_calls_addSuccess" class="code">testtools.tests.test_testcase.TestSkipping.test_skip__in_setup_with_old_result_object_calls_addSuccess</a></li><li>Method - <a href="testtools.tests.test_testcase.TestSkipping.html#test_skip_causes_skipException" class="code">testtools.tests.test_testcase.TestSkipping.test_skip_causes_skipException</a></li><li>Method - <a href="testtools.tests.test_testcase.TestSkipping.html#test_skip_decorator" class="code">testtools.tests.test_testcase.TestSkipping.test_skip_decorator</a></li><li>Method - <a href="testtools.tests.test_testcase.TestSkipping.html#test_skip_with_old_result_object_calls_addError" class="code">testtools.tests.test_testcase.TestSkipping.test_skip_with_old_result_object_calls_addError</a></li><li>Method - <a href="testtools.tests.test_testcase.TestSkipping.html#test_skip_without_reason_works" class="code">testtools.tests.test_testcase.TestSkipping.test_skip_without_reason_works</a></li><li>Method - <a href="testtools.tests.test_testcase.TestSkipping.html#test_testtools_skipIf_decorator_does_not_run_setUp" class="code">testtools.tests.test_testcase.TestSkipping.test_testtools_skipIf_decorator_does_not_run_setUp</a></li><li>Method - <a href="testtools.tests.test_testcase.TestSkipping.html#test_testtools_skipUnless_decorator_does_not_run_setUp" class="code">testtools.tests.test_testcase.TestSkipping.test_testtools_skipUnless_decorator_does_not_run_setUp</a></li><li>Method - <a href="testtools.tests.test_testcase.TestSkipping.html#test_testtools_skip_decorator_does_not_run_setUp" class="code">testtools.tests.test_testcase.TestSkipping.test_testtools_skip_decorator_does_not_run_setUp</a></li><li>Method - <a href="testtools.tests.test_testcase.TestSkipping.html#test_unittest_skipIf_decorator_does_not_run_setUp" class="code">testtools.tests.test_testcase.TestSkipping.test_unittest_skipIf_decorator_does_not_run_setUp</a></li><li>Method - <a href="testtools.tests.test_testcase.TestSkipping.html#test_unittest_skipUnless_decorator_does_not_run_setUp" class="code">testtools.tests.test_testcase.TestSkipping.test_unittest_skipUnless_decorator_does_not_run_setUp</a></li><li>Method - <a href="testtools.tests.test_testcase.TestSkipping.html#test_unittest_skip_decorator_does_not_run_setUp" class="code">testtools.tests.test_testcase.TestSkipping.test_unittest_skip_decorator_does_not_run_setUp</a></li><li>Class - <a href="testtools.tests.test_testcase.TestTestCaseSuper.html" class="code">testtools.tests.test_testcase.TestTestCaseSuper</a></li><li>Method - <a href="testtools.tests.test_testcase.TestTestCaseSuper.html#test_setup_uses_super" class="code">testtools.tests.test_testcase.TestTestCaseSuper.test_setup_uses_super</a></li><li>Method - <a href="testtools.tests.test_testcase.TestTestCaseSuper.html#test_teardown_uses_super" class="code">testtools.tests.test_testcase.TestTestCaseSuper.test_teardown_uses_super</a></li><li>Method - <a href="testtools.tests.test_testcase.TestUniqueFactories.html#test_getUniqueInteger" class="code">testtools.tests.test_testcase.TestUniqueFactories.test_getUniqueInteger</a></li><li>Method - <a href="testtools.tests.test_testcase.TestUniqueFactories.html#test_getUniqueString" class="code">testtools.tests.test_testcase.TestUniqueFactories.test_getUniqueString</a></li><li>Method - <a href="testtools.tests.test_testcase.TestUniqueFactories.html#test_getUniqueString_prefix" class="code">testtools.tests.test_testcase.TestUniqueFactories.test_getUniqueString_prefix</a></li><li>Class - <a href="testtools.tests.test_testcase.TestWithDetails.html" class="code">testtools.tests.test_testcase.TestWithDetails</a></li><li>Method - <a href="testtools.tests.test_testcase.TestWithDetails.html#get_content" class="code">testtools.tests.test_testcase.TestWithDetails.get_content</a></li><li>Function - <a href="testtools.tests.test_testcase.html#test_suite" class="code">testtools.tests.test_testcase.test_suite</a></li><li>Method - <a href="testtools.tests.test_testresult.DetailsContract.html#test_addError_details" class="code">testtools.tests.test_testresult.DetailsContract.test_addError_details</a></li><li>Method - <a href="testtools.tests.test_testresult.DetailsContract.html#test_addExpectedFailure_details" class="code">testtools.tests.test_testresult.DetailsContract.test_addExpectedFailure_details</a></li><li>Method - <a href="testtools.tests.test_testresult.DetailsContract.html#test_addFailure_details" class="code">testtools.tests.test_testresult.DetailsContract.test_addFailure_details</a></li><li>Method - <a href="testtools.tests.test_testresult.DetailsContract.html#test_addSkipped_details" class="code">testtools.tests.test_testresult.DetailsContract.test_addSkipped_details</a></li><li>Method - <a href="testtools.tests.test_testresult.DetailsContract.html#test_addSuccess_details" class="code">testtools.tests.test_testresult.DetailsContract.test_addSuccess_details</a></li><li>Method - <a href="testtools.tests.test_testresult.DetailsContract.html#test_addUnexpectedSuccess_details" class="code">testtools.tests.test_testresult.DetailsContract.test_addUnexpectedSuccess_details</a></li><li>Method - <a href="testtools.tests.test_testresult.FallbackContract.html#test_addUnexpectedSuccess_was_successful" class="code">testtools.tests.test_testresult.FallbackContract.test_addUnexpectedSuccess_was_successful</a></li><li>Class - <a href="testtools.tests.test_testresult.Python26Contract.html" class="code">testtools.tests.test_testresult.Python26Contract</a></li><li>Method - <a href="testtools.tests.test_testresult.Python26Contract.html#test_addError_is_failure" class="code">testtools.tests.test_testresult.Python26Contract.test_addError_is_failure</a></li><li>Method - <a href="testtools.tests.test_testresult.Python26Contract.html#test_addFailure_is_failure" class="code">testtools.tests.test_testresult.Python26Contract.test_addFailure_is_failure</a></li><li>Method - <a href="testtools.tests.test_testresult.Python26Contract.html#test_addSuccess_is_success" class="code">testtools.tests.test_testresult.Python26Contract.test_addSuccess_is_success</a></li><li>Method - <a href="testtools.tests.test_testresult.Python26Contract.html#test_fresh_result_is_successful" class="code">testtools.tests.test_testresult.Python26Contract.test_fresh_result_is_successful</a></li><li>Method - <a href="testtools.tests.test_testresult.Python26Contract.html#test_stop_sets_shouldStop" class="code">testtools.tests.test_testresult.Python26Contract.test_stop_sets_shouldStop</a></li><li>Class - <a href="testtools.tests.test_testresult.Python27Contract.html" class="code">testtools.tests.test_testresult.Python27Contract</a></li><li>Method - <a href="testtools.tests.test_testresult.Python27Contract.html#test_addExpectedFailure" class="code">testtools.tests.test_testresult.Python27Contract.test_addExpectedFailure</a></li><li>Method - <a href="testtools.tests.test_testresult.Python27Contract.html#test_addExpectedFailure_is_success" class="code">testtools.tests.test_testresult.Python27Contract.test_addExpectedFailure_is_success</a></li><li>Method - <a href="testtools.tests.test_testresult.Python27Contract.html#test_addSkip_is_success" class="code">testtools.tests.test_testresult.Python27Contract.test_addSkip_is_success</a></li><li>Method - <a href="testtools.tests.test_testresult.Python27Contract.html#test_addSkipped" class="code">testtools.tests.test_testresult.Python27Contract.test_addSkipped</a></li><li>Method - <a href="testtools.tests.test_testresult.Python27Contract.html#test_addUnexpectedSuccess" class="code">testtools.tests.test_testresult.Python27Contract.test_addUnexpectedSuccess</a></li><li>Method - <a href="testtools.tests.test_testresult.Python27Contract.html#test_addUnexpectedSuccess_was_successful" class="code">testtools.tests.test_testresult.Python27Contract.test_addUnexpectedSuccess_was_successful</a></li><li>Method - <a href="testtools.tests.test_testresult.Python27Contract.html#test_failfast" class="code">testtools.tests.test_testresult.Python27Contract.test_failfast</a></li><li>Method - <a href="testtools.tests.test_testresult.Python27Contract.html#test_startStopTestRun" class="code">testtools.tests.test_testresult.Python27Contract.test_startStopTestRun</a></li><li>Method - <a href="testtools.tests.test_testresult.StartTestRunContract.html#test_startTestRun_resets_errors" class="code">testtools.tests.test_testresult.StartTestRunContract.test_startTestRun_resets_errors</a></li><li>Method - <a href="testtools.tests.test_testresult.StartTestRunContract.html#test_startTestRun_resets_failure" class="code">testtools.tests.test_testresult.StartTestRunContract.test_startTestRun_resets_failure</a></li><li>Method - <a href="testtools.tests.test_testresult.StartTestRunContract.html#test_startTestRun_resets_unexpected_success" class="code">testtools.tests.test_testresult.StartTestRunContract.test_startTestRun_resets_unexpected_success</a></li><li>Method - <a href="testtools.tests.test_testresult.TagsContract.html#test_add_tags_within_test" class="code">testtools.tests.test_testresult.TagsContract.test_add_tags_within_test</a></li><li>Method - <a href="testtools.tests.test_testresult.TagsContract.html#test_adding_tags" class="code">testtools.tests.test_testresult.TagsContract.test_adding_tags</a></li><li>Method - <a href="testtools.tests.test_testresult.TagsContract.html#test_no_tags_by_default" class="code">testtools.tests.test_testresult.TagsContract.test_no_tags_by_default</a></li><li>Method - <a href="testtools.tests.test_testresult.TagsContract.html#test_removing_tags" class="code">testtools.tests.test_testresult.TagsContract.test_removing_tags</a></li><li>Method - <a href="testtools.tests.test_testresult.TagsContract.html#test_startTestRun_resets_tags" class="code">testtools.tests.test_testresult.TagsContract.test_startTestRun_resets_tags</a></li><li>Method - <a href="testtools.tests.test_testresult.TagsContract.html#test_tags_added_in_test_are_reverted" class="code">testtools.tests.test_testresult.TagsContract.test_tags_added_in_test_are_reverted</a></li><li>Method - <a href="testtools.tests.test_testresult.TagsContract.html#test_tags_removed_in_test" class="code">testtools.tests.test_testresult.TagsContract.test_tags_removed_in_test</a></li><li>Method - <a href="testtools.tests.test_testresult.TagsContract.html#test_tags_removed_in_test_are_restored" class="code">testtools.tests.test_testresult.TagsContract.test_tags_removed_in_test_are_restored</a></li><li>Class - <a href="testtools.tests.test_testresult.TestAdaptedPython26TestResultContract.html" class="code">testtools.tests.test_testresult.TestAdaptedPython26TestResultContract</a></li><li>Method - <a href="testtools.tests.test_testresult.TestAdaptedPython26TestResultContract.html#makeResult" class="code">testtools.tests.test_testresult.TestAdaptedPython26TestResultContract.makeResult</a></li><li>Class - <a href="testtools.tests.test_testresult.TestAdaptedPython27TestResultContract.html" class="code">testtools.tests.test_testresult.TestAdaptedPython27TestResultContract</a></li><li>Method - <a href="testtools.tests.test_testresult.TestAdaptedPython27TestResultContract.html#makeResult" class="code">testtools.tests.test_testresult.TestAdaptedPython27TestResultContract.makeResult</a></li><li>Class - <a href="testtools.tests.test_testresult.TestAdaptedStreamResult.html" class="code">testtools.tests.test_testresult.TestAdaptedStreamResult</a></li><li>Method - <a href="testtools.tests.test_testresult.TestAdaptedStreamResult.html#makeResult" class="code">testtools.tests.test_testresult.TestAdaptedStreamResult.makeResult</a></li><li>Class - <a href="testtools.tests.test_testresult.TestBaseStreamResultContract.html" class="code">testtools.tests.test_testresult.TestBaseStreamResultContract</a></li><li>Method - <a href="testtools.tests.test_testresult.TestBaseStreamResultContract.html#_make_result" class="code">testtools.tests.test_testresult.TestBaseStreamResultContract._make_result</a></li><li>Class - <a href="testtools.tests.test_testresult.TestByTestResultTests.html" class="code">testtools.tests.test_testresult.TestByTestResultTests</a></li><li>Method - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#assertCalled" class="code">testtools.tests.test_testresult.TestByTestResultTests.assertCalled</a></li><li>Method - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#on_test" class="code">testtools.tests.test_testresult.TestByTestResultTests.on_test</a></li><li>Method - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#setUp" class="code">testtools.tests.test_testresult.TestByTestResultTests.setUp</a></li><li>Method - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_error" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_add_error</a></li><li>Method - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_error_details" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_add_error_details</a></li><li>Method - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_failure" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_add_failure</a></li><li>Method - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_failure_details" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_add_failure_details</a></li><li>Method - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_skip_details" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_add_skip_details</a></li><li>Method - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_skip_reason" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_add_skip_reason</a></li><li>Method - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_success" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_add_success</a></li><li>Method - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_success_details" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_add_success_details</a></li><li>Method - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_unexpected_success" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_add_unexpected_success</a></li><li>Method - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_xfail" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_add_xfail</a></li><li>Method - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_add_xfail_details" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_add_xfail_details</a></li><li>Method - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_global_tags" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_global_tags</a></li><li>Method - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_local_tags" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_local_tags</a></li><li>Method - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_no_tests_nothing_reported" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_no_tests_nothing_reported</a></li><li>Method - <a href="testtools.tests.test_testresult.TestByTestResultTests.html#test_twice" class="code">testtools.tests.test_testresult.TestByTestResultTests.test_twice</a></li><li>Class - <a href="testtools.tests.test_testresult.TestCopyStreamResultContract.html" class="code">testtools.tests.test_testresult.TestCopyStreamResultContract</a></li><li>Method - <a href="testtools.tests.test_testresult.TestCopyStreamResultContract.html#_make_result" class="code">testtools.tests.test_testresult.TestCopyStreamResultContract._make_result</a></li><li>Class - <a href="testtools.tests.test_testresult.TestCopyStreamResultCopies.html" class="code">testtools.tests.test_testresult.TestCopyStreamResultCopies</a></li><li>Method - <a href="testtools.tests.test_testresult.TestCopyStreamResultCopies.html#setUp" class="code">testtools.tests.test_testresult.TestCopyStreamResultCopies.setUp</a></li><li>Method - <a href="testtools.tests.test_testresult.TestCopyStreamResultCopies.html#test_startTestRun" class="code">testtools.tests.test_testresult.TestCopyStreamResultCopies.test_startTestRun</a></li><li>Method - <a href="testtools.tests.test_testresult.TestCopyStreamResultCopies.html#test_status" class="code">testtools.tests.test_testresult.TestCopyStreamResultCopies.test_status</a></li><li>Method - <a href="testtools.tests.test_testresult.TestCopyStreamResultCopies.html#test_stopTestRun" class="code">testtools.tests.test_testresult.TestCopyStreamResultCopies.test_stopTestRun</a></li><li>Class - <a href="testtools.tests.test_testresult.TestDetailsToStr.html" class="code">testtools.tests.test_testresult.TestDetailsToStr</a></li><li>Method - <a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_binary_content" class="code">testtools.tests.test_testresult.TestDetailsToStr.test_binary_content</a></li><li>Method - <a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_empty_attachment" class="code">testtools.tests.test_testresult.TestDetailsToStr.test_empty_attachment</a></li><li>Method - <a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_lots_of_different_attachments" class="code">testtools.tests.test_testresult.TestDetailsToStr.test_lots_of_different_attachments</a></li><li>Method - <a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_multi_line_text_content" class="code">testtools.tests.test_testresult.TestDetailsToStr.test_multi_line_text_content</a></li><li>Method - <a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_multiple_text_content" class="code">testtools.tests.test_testresult.TestDetailsToStr.test_multiple_text_content</a></li><li>Method - <a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_no_details" class="code">testtools.tests.test_testresult.TestDetailsToStr.test_no_details</a></li><li>Method - <a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_single_line_content" class="code">testtools.tests.test_testresult.TestDetailsToStr.test_single_line_content</a></li><li>Method - <a href="testtools.tests.test_testresult.TestDetailsToStr.html#test_special_text_content" class="code">testtools.tests.test_testresult.TestDetailsToStr.test_special_text_content</a></li><li>Class - <a href="testtools.tests.test_testresult.TestDoubleStreamResultContract.html" class="code">testtools.tests.test_testresult.TestDoubleStreamResultContract</a></li><li>Method - <a href="testtools.tests.test_testresult.TestDoubleStreamResultContract.html#_make_result" class="code">testtools.tests.test_testresult.TestDoubleStreamResultContract._make_result</a></li><li>Class - <a href="testtools.tests.test_testresult.TestDoubleStreamResultEvents.html" class="code">testtools.tests.test_testresult.TestDoubleStreamResultEvents</a></li><li>Method - <a href="testtools.tests.test_testresult.TestDoubleStreamResultEvents.html#test_file" class="code">testtools.tests.test_testresult.TestDoubleStreamResultEvents.test_file</a></li><li>Method - <a href="testtools.tests.test_testresult.TestDoubleStreamResultEvents.html#test_startTestRun" class="code">testtools.tests.test_testresult.TestDoubleStreamResultEvents.test_startTestRun</a></li><li>Method - <a href="testtools.tests.test_testresult.TestDoubleStreamResultEvents.html#test_status" class="code">testtools.tests.test_testresult.TestDoubleStreamResultEvents.test_status</a></li><li>Method - <a href="testtools.tests.test_testresult.TestDoubleStreamResultEvents.html#test_stopTestRun" class="code">testtools.tests.test_testresult.TestDoubleStreamResultEvents.test_stopTestRun</a></li><li>Class - <a href="testtools.tests.test_testresult.TestExtendedTestResultContract.html" class="code">testtools.tests.test_testresult.TestExtendedTestResultContract</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedTestResultContract.html#makeResult" class="code">testtools.tests.test_testresult.TestExtendedTestResultContract.makeResult</a></li><li>Class - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddError</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html#test_outcome_Extended_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddError.test_outcome_Extended_py26</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html#test_outcome_Extended_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddError.test_outcome_Extended_py27</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html#test_outcome_Extended_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddError.test_outcome_Extended_pyextended</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html#test_outcome_Original_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddError.test_outcome_Original_py26</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html#test_outcome_Original_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddError.test_outcome_Original_py27</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html#test_outcome_Original_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddError.test_outcome_Original_pyextended</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddError.html#test_outcome__no_details" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddError.test_outcome__no_details</a></li><li>Class - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.html#test_outcome_Extended_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.test_outcome_Extended_py26</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.html#test_outcome_Original_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.test_outcome_Original_py26</a></li><li>Class - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddFailure.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddFailure</a></li><li>Class - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSkip</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome_Extended_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome_Extended_py26</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome_Extended_py27_no_reason" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome_Extended_py27_no_reason</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome_Extended_py27_reason" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome_Extended_py27_reason</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome_Extended_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome_Extended_pyextended</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome_Original_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome_Original_py26</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome_Original_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome_Original_py27</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome_Original_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome_Original_pyextended</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html#test_outcome__no_details" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.test_outcome__no_details</a></li><li>Class - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html#test_outcome_Extended_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.test_outcome_Extended_py26</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html#test_outcome_Extended_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.test_outcome_Extended_py27</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html#test_outcome_Extended_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.test_outcome_Extended_pyextended</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html#test_outcome_Original_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.test_outcome_Original_py26</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html#test_outcome_Original_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.test_outcome_Original_py27</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html#test_outcome_Original_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.test_outcome_Original_pyextended</a></li><li>Class - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html#test_outcome_Extended_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.test_outcome_Extended_py26</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html#test_outcome_Extended_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.test_outcome_Extended_py27</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html#test_outcome_Extended_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.test_outcome_Extended_pyextended</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html#test_outcome_Original_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.test_outcome_Original_py26</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html#test_outcome_Original_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.test_outcome_Original_py27</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html#test_outcome_Original_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.test_outcome_Original_pyextended</a></li><li>Class - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_failfast_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_failfast_py26</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_failfast_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_failfast_py27</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_progress_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_progress_py26</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_progress_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_progress_py27</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_progress_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_progress_pyextended</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_shouldStop" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_shouldStop</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_startTestRun_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_startTestRun_py26</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_startTestRun_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_startTestRun_py27</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_startTestRun_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_startTestRun_pyextended</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_startTest_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_startTest_py26</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_startTest_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_startTest_py27</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_startTest_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_startTest_pyextended</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_stopTestRun_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_stopTestRun_py26</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_stopTestRun_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_stopTestRun_py27</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_stopTestRun_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_stopTestRun_pyextended</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_stopTest_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_stopTest_py26</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_stopTest_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_stopTest_py27</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_stopTest_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_stopTest_pyextended</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_tags_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_tags_py26</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_tags_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_tags_py27</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_tags_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_tags_pyextended</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_time_py26" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_time_py26</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_time_py27" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_time_py27</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html#test_time_pyextended" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.test_time_pyextended</a></li><li>Class - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#make_26_result" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.make_26_result</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#make_27_result" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.make_27_result</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#make_converter" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.make_converter</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html#make_extended_result" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.make_extended_result</a></li><li>Class - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes.html" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes.html#test_other_attribute" class="code">testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes.test_other_attribute</a></li><li>Class - <a href="testtools.tests.test_testresult.TestExtendedToStreamDecorator.html" class="code">testtools.tests.test_testresult.TestExtendedToStreamDecorator</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToStreamDecorator.html#test_empty_detail_status_correct" class="code">testtools.tests.test_testresult.TestExtendedToStreamDecorator.test_empty_detail_status_correct</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToStreamDecorator.html#test_explicit_time" class="code">testtools.tests.test_testresult.TestExtendedToStreamDecorator.test_explicit_time</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToStreamDecorator.html#test_wasSuccessful_after_stopTestRun" class="code">testtools.tests.test_testresult.TestExtendedToStreamDecorator.test_wasSuccessful_after_stopTestRun</a></li><li>Class - <a href="testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract.html" class="code">testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract</a></li><li>Method - <a href="testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract.html#_make_result" class="code">testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract._make_result</a></li><li>Class - <a href="testtools.tests.test_testresult.TestMergeTags.html" class="code">testtools.tests.test_testresult.TestMergeTags</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMergeTags.html#test_merge_incoming_gone_tag_with_current_new_tag" class="code">testtools.tests.test_testresult.TestMergeTags.test_merge_incoming_gone_tag_with_current_new_tag</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMergeTags.html#test_merge_incoming_new_tag_with_current_gone_tag" class="code">testtools.tests.test_testresult.TestMergeTags.test_merge_incoming_new_tag_with_current_gone_tag</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMergeTags.html#test_merge_unseen_gone_tag" class="code">testtools.tests.test_testresult.TestMergeTags.test_merge_unseen_gone_tag</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMergeTags.html#test_merge_unseen_new_tag" class="code">testtools.tests.test_testresult.TestMergeTags.test_merge_unseen_new_tag</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#setUp" class="code">testtools.tests.test_testresult.TestMultiTestResult.setUp</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_addError" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_addError</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_addFailure" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_addFailure</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_addSkipped" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_addSkipped</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_addSuccess" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_addSuccess</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_done" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_done</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_empty" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_empty</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_failfast_get" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_failfast_get</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_failfast_set" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_failfast_set</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_repr" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_repr</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_shouldStop" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_shouldStop</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_startTest" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_startTest</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_startTestRun" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_startTestRun</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_stop" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_stop</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_stopTest" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_stopTest</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_stopTestRun" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_stopTestRun</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_stopTestRun_returns_results" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_stopTestRun_returns_results</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_tags" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_tags</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMultiTestResult.html#test_time" class="code">testtools.tests.test_testresult.TestMultiTestResult.test_time</a></li><li>Class - <a href="testtools.tests.test_testresult.TestMultiTestResultContract.html" class="code">testtools.tests.test_testresult.TestMultiTestResultContract</a></li><li>Method - <a href="testtools.tests.test_testresult.TestMultiTestResultContract.html#makeResult" class="code">testtools.tests.test_testresult.TestMultiTestResultContract.makeResult</a></li><li>Method - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#_as_output" class="code">testtools.tests.test_testresult.TestNonAsciiResults._as_output</a></li><li>Method - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#_get_sample_text" class="code">testtools.tests.test_testresult.TestNonAsciiResults._get_sample_text</a></li><li>Method - <a href="testtools.tests.test_testresult.TestNonAsciiResults.html#_local_os_error_matcher" class="code">testtools.tests.test_testresult.TestNonAsciiResults._local_os_error_matcher</a></li><li>Method - <a href="testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest.html#_as_output" class="code">testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest._as_output</a></li><li>Class - <a href="testtools.tests.test_testresult.TestPython26TestResultContract.html" class="code">testtools.tests.test_testresult.TestPython26TestResultContract</a></li><li>Method - <a href="testtools.tests.test_testresult.TestPython26TestResultContract.html#makeResult" class="code">testtools.tests.test_testresult.TestPython26TestResultContract.makeResult</a></li><li>Class - <a href="testtools.tests.test_testresult.TestPython27TestResultContract.html" class="code">testtools.tests.test_testresult.TestPython27TestResultContract</a></li><li>Method - <a href="testtools.tests.test_testresult.TestPython27TestResultContract.html#makeResult" class="code">testtools.tests.test_testresult.TestPython27TestResultContract.makeResult</a></li><li>Class - <a href="testtools.tests.test_testresult.TestStreamFailFast.html" class="code">testtools.tests.test_testresult.TestStreamFailFast</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamFailFast.html#test_exists" class="code">testtools.tests.test_testresult.TestStreamFailFast.test_exists</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamFailFast.html#test_fail" class="code">testtools.tests.test_testresult.TestStreamFailFast.test_fail</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamFailFast.html#test_inprogress" class="code">testtools.tests.test_testresult.TestStreamFailFast.test_inprogress</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamFailFast.html#test_skip" class="code">testtools.tests.test_testresult.TestStreamFailFast.test_skip</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamFailFast.html#test_success" class="code">testtools.tests.test_testresult.TestStreamFailFast.test_success</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamFailFast.html#test_uxsuccess" class="code">testtools.tests.test_testresult.TestStreamFailFast.test_uxsuccess</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamFailFast.html#test_xfail" class="code">testtools.tests.test_testresult.TestStreamFailFast.test_xfail</a></li><li>Class - <a href="testtools.tests.test_testresult.TestStreamFailFastContract.html" class="code">testtools.tests.test_testresult.TestStreamFailFastContract</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamFailFastContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamFailFastContract._make_result</a></li><li>Class - <a href="testtools.tests.test_testresult.TestStreamResultContract.html" class="code">testtools.tests.test_testresult.TestStreamResultContract</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamResultContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamResultContract._make_result</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_files" class="code">testtools.tests.test_testresult.TestStreamResultContract.test_files</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_startTestRun" class="code">testtools.tests.test_testresult.TestStreamResultContract.test_startTestRun</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamResultContract.html#test_test_status" class="code">testtools.tests.test_testresult.TestStreamResultContract.test_test_status</a></li><li>Class - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html" class="code">testtools.tests.test_testresult.TestStreamResultRouter</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_bad_policy" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_bad_policy</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_do_start_stop_run" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_do_start_stop_run</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_do_start_stop_run_after_startTestRun" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_do_start_stop_run_after_startTestRun</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_extra_policy_arg" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_extra_policy_arg</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_missing_prefix" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_missing_prefix</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_route_code_consume_False" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_route_code_consume_False</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_route_code_consume_True" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_route_code_consume_True</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_slash_in_prefix" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_slash_in_prefix</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_add_rule_test_id" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_add_rule_test_id</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_fallback_calls" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_fallback_calls</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_fallback_no_do_start_stop_run" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_fallback_no_do_start_stop_run</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_no_fallback_errors" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_no_fallback_errors</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamResultRouter.html#test_start_stop_test_run_no_fallback" class="code">testtools.tests.test_testresult.TestStreamResultRouter.test_start_stop_test_run_no_fallback</a></li><li>Class - <a href="testtools.tests.test_testresult.TestStreamResultRouterContract.html" class="code">testtools.tests.test_testresult.TestStreamResultRouterContract</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamResultRouterContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamResultRouterContract._make_result</a></li><li>Class - <a href="testtools.tests.test_testresult.TestStreamSummary.html" class="code">testtools.tests.test_testresult.TestStreamSummary</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamSummary.html#_report_files" class="code">testtools.tests.test_testresult.TestStreamSummary._report_files</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamSummary.html#test_attributes" class="code">testtools.tests.test_testresult.TestStreamSummary.test_attributes</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamSummary.html#test_startTestRun" class="code">testtools.tests.test_testresult.TestStreamSummary.test_startTestRun</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamSummary.html#test_status_fail" class="code">testtools.tests.test_testresult.TestStreamSummary.test_status_fail</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamSummary.html#test_status_skip" class="code">testtools.tests.test_testresult.TestStreamSummary.test_status_skip</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamSummary.html#test_status_uxsuccess" class="code">testtools.tests.test_testresult.TestStreamSummary.test_status_uxsuccess</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamSummary.html#test_status_xfail" class="code">testtools.tests.test_testresult.TestStreamSummary.test_status_xfail</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamSummary.html#test_stopTestRun" class="code">testtools.tests.test_testresult.TestStreamSummary.test_stopTestRun</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamSummary.html#test_stopTestRun_inprogress_test_fails" class="code">testtools.tests.test_testresult.TestStreamSummary.test_stopTestRun_inprogress_test_fails</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamSummary.html#test_wasSuccessful" class="code">testtools.tests.test_testresult.TestStreamSummary.test_wasSuccessful</a></li><li>Class - <a href="testtools.tests.test_testresult.TestStreamSummaryResultContract.html" class="code">testtools.tests.test_testresult.TestStreamSummaryResultContract</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamSummaryResultContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamSummaryResultContract._make_result</a></li><li>Class - <a href="testtools.tests.test_testresult.TestStreamTagger.html" class="code">testtools.tests.test_testresult.TestStreamTagger</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamTagger.html#test_adding" class="code">testtools.tests.test_testresult.TestStreamTagger.test_adding</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamTagger.html#test_discarding" class="code">testtools.tests.test_testresult.TestStreamTagger.test_discarding</a></li><li>Class - <a href="testtools.tests.test_testresult.TestStreamTaggerContract.html" class="code">testtools.tests.test_testresult.TestStreamTaggerContract</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamTaggerContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamTaggerContract._make_result</a></li><li>Class - <a href="testtools.tests.test_testresult.TestStreamToDict.html" class="code">testtools.tests.test_testresult.TestStreamToDict</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamToDict.html#test_all_terminal_states_reported" class="code">testtools.tests.test_testresult.TestStreamToDict.test_all_terminal_states_reported</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamToDict.html#test_bad_mime" class="code">testtools.tests.test_testresult.TestStreamToDict.test_bad_mime</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamToDict.html#test_files_reported" class="code">testtools.tests.test_testresult.TestStreamToDict.test_files_reported</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamToDict.html#test_hung_test" class="code">testtools.tests.test_testresult.TestStreamToDict.test_hung_test</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamToDict.html#test_timestamps" class="code">testtools.tests.test_testresult.TestStreamToDict.test_timestamps</a></li><li>Class - <a href="testtools.tests.test_testresult.TestStreamToDictContract.html" class="code">testtools.tests.test_testresult.TestStreamToDictContract</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamToDictContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamToDictContract._make_result</a></li><li>Class - <a href="testtools.tests.test_testresult.TestStreamToExtendedContract.html" class="code">testtools.tests.test_testresult.TestStreamToExtendedContract</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamToExtendedContract.html#makeResult" class="code">testtools.tests.test_testresult.TestStreamToExtendedContract.makeResult</a></li><li>Class - <a href="testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract.html" class="code">testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract._make_result</a></li><li>Class - <a href="testtools.tests.test_testresult.TestStreamToQueue.html" class="code">testtools.tests.test_testresult.TestStreamToQueue</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamToQueue.html#make_result" class="code">testtools.tests.test_testresult.TestStreamToQueue.make_result</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamToQueue.html#testStartTestRun" class="code">testtools.tests.test_testresult.TestStreamToQueue.testStartTestRun</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamToQueue.html#testStopTestRun" class="code">testtools.tests.test_testresult.TestStreamToQueue.testStopTestRun</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamToQueue.html#test_status" class="code">testtools.tests.test_testresult.TestStreamToQueue.test_status</a></li><li>Class - <a href="testtools.tests.test_testresult.TestStreamToQueueContract.html" class="code">testtools.tests.test_testresult.TestStreamToQueueContract</a></li><li>Method - <a href="testtools.tests.test_testresult.TestStreamToQueueContract.html#_make_result" class="code">testtools.tests.test_testresult.TestStreamToQueueContract._make_result</a></li><li>Class - <a href="testtools.tests.test_testresult.TestTagger.html" class="code">testtools.tests.test_testresult.TestTagger</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTagger.html#test_tags_tests" class="code">testtools.tests.test_testresult.TestTagger.test_tags_tests</a></li><li>Class - <a href="testtools.tests.test_testresult.TestTestControl.html" class="code">testtools.tests.test_testresult.TestTestControl</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTestControl.html#test_default" class="code">testtools.tests.test_testresult.TestTestControl.test_default</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTestControl.html#test_stop" class="code">testtools.tests.test_testresult.TestTestControl.test_stop</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTestResult.html#test_addSkipped" class="code">testtools.tests.test_testresult.TestTestResult.test_addSkipped</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTestResult.html#test_exc_info_to_unicode" class="code">testtools.tests.test_testresult.TestTestResult.test_exc_info_to_unicode</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTestResult.html#test_now_datetime_now" class="code">testtools.tests.test_testresult.TestTestResult.test_now_datetime_now</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTestResult.html#test_now_datetime_time" class="code">testtools.tests.test_testresult.TestTestResult.test_now_datetime_time</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTestResult.html#test_traceback_formatting_with_stack_hidden" class="code">testtools.tests.test_testresult.TestTestResult.test_traceback_formatting_with_stack_hidden</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTestResult.html#test_traceback_formatting_with_stack_hidden_mismatch" class="code">testtools.tests.test_testresult.TestTestResult.test_traceback_formatting_with_stack_hidden_mismatch</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTestResult.html#test_traceback_formatting_without_stack_hidden" class="code">testtools.tests.test_testresult.TestTestResult.test_traceback_formatting_without_stack_hidden</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTestResult.html#test_traceback_with_locals" class="code">testtools.tests.test_testresult.TestTestResult.test_traceback_with_locals</a></li><li>Class - <a href="testtools.tests.test_testresult.TestTestResultContract.html" class="code">testtools.tests.test_testresult.TestTestResultContract</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTestResultContract.html#makeResult" class="code">testtools.tests.test_testresult.TestTestResultContract.makeResult</a></li><li>Class - <a href="testtools.tests.test_testresult.TestTestResultDecoratorContract.html" class="code">testtools.tests.test_testresult.TestTestResultDecoratorContract</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTestResultDecoratorContract.html#makeResult" class="code">testtools.tests.test_testresult.TestTestResultDecoratorContract.makeResult</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTextTestResult.html#getvalue" class="code">testtools.tests.test_testresult.TestTextTestResult.getvalue</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTextTestResult.html#reset_output" class="code">testtools.tests.test_testresult.TestTextTestResult.reset_output</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTextTestResult.html#setUp" class="code">testtools.tests.test_testresult.TestTextTestResult.setUp</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTextTestResult.html#test__init_sets_stream" class="code">testtools.tests.test_testresult.TestTextTestResult.test__init_sets_stream</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTextTestResult.html#test_startTestRun" class="code">testtools.tests.test_testresult.TestTextTestResult.test_startTestRun</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_count_many" class="code">testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_count_many</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_count_single" class="code">testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_count_single</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_count_zero" class="code">testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_count_zero</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_current_time" class="code">testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_current_time</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_not_successful_error" class="code">testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_not_successful_error</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_not_successful_failure" class="code">testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_not_successful_failure</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_not_successful_unexpected_success" class="code">testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_not_successful_unexpected_success</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_shows_details" class="code">testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_shows_details</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTextTestResult.html#test_stopTestRun_successful" class="code">testtools.tests.test_testresult.TestTextTestResult.test_stopTestRun_successful</a></li><li>Class - <a href="testtools.tests.test_testresult.TestTextTestResultContract.html" class="code">testtools.tests.test_testresult.TestTextTestResultContract</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTextTestResultContract.html#makeResult" class="code">testtools.tests.test_testresult.TestTextTestResultContract.makeResult</a></li><li>Method - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#make_results" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.make_results</a></li><li>Method - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_forward_addError" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_forward_addError</a></li><li>Method - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_forward_addFailure" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_forward_addFailure</a></li><li>Method - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_forward_addSkip" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_forward_addSkip</a></li><li>Method - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_forward_addSuccess" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_forward_addSuccess</a></li><li>Method - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_global_tags_complex" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_global_tags_complex</a></li><li>Method - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_global_tags_simple" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_global_tags_simple</a></li><li>Method - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_local_tags" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_local_tags</a></li><li>Method - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_local_tags_dont_leak" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_local_tags_dont_leak</a></li><li>Method - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_nonforwarding_methods" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_nonforwarding_methods</a></li><li>Method - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_only_one_test_at_a_time" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_only_one_test_at_a_time</a></li><li>Method - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_startTestRun" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_startTestRun</a></li><li>Method - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_stopTestRun" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_stopTestRun</a></li><li>Method - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResult.html#test_tags_not_forwarded" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResult.test_tags_not_forwarded</a></li><li>Class - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResultContract.html" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResultContract</a></li><li>Method - <a href="testtools.tests.test_testresult.TestThreadSafeForwardingResultContract.html#makeResult" class="code">testtools.tests.test_testresult.TestThreadSafeForwardingResultContract.makeResult</a></li><li>Class - <a href="testtools.tests.test_testresult.TestTimestampingStreamResult.html" class="code">testtools.tests.test_testresult.TestTimestampingStreamResult</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTimestampingStreamResult.html#test_startTestRun" class="code">testtools.tests.test_testresult.TestTimestampingStreamResult.test_startTestRun</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTimestampingStreamResult.html#test_status_no_timestamp" class="code">testtools.tests.test_testresult.TestTimestampingStreamResult.test_status_no_timestamp</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTimestampingStreamResult.html#test_status_timestamp" class="code">testtools.tests.test_testresult.TestTimestampingStreamResult.test_status_timestamp</a></li><li>Method - <a href="testtools.tests.test_testresult.TestTimestampingStreamResult.html#test_stopTestRun" class="code">testtools.tests.test_testresult.TestTimestampingStreamResult.test_stopTestRun</a></li><li>Function - <a href="testtools.tests.test_testresult.html#make_erroring_test" class="code">testtools.tests.test_testresult.make_erroring_test</a></li><li>Function - <a href="testtools.tests.test_testresult.html#make_exception_info" class="code">testtools.tests.test_testresult.make_exception_info</a></li><li>Function - <a href="testtools.tests.test_testresult.html#make_failing_test" class="code">testtools.tests.test_testresult.make_failing_test</a></li><li>Function - <a href="testtools.tests.test_testresult.html#make_mismatching_test" class="code">testtools.tests.test_testresult.make_mismatching_test</a></li><li>Function - <a href="testtools.tests.test_testresult.html#make_test" class="code">testtools.tests.test_testresult.make_test</a></li><li>Function - <a href="testtools.tests.test_testresult.html#make_unexpectedly_successful_test" class="code">testtools.tests.test_testresult.make_unexpectedly_successful_test</a></li><li>Function - <a href="testtools.tests.test_testresult.html#test_suite" class="code">testtools.tests.test_testresult.test_suite</a></li><li>Class - <a href="testtools.tests.test_testsuite.Sample.html" class="code">testtools.tests.test_testsuite.Sample</a></li><li>Method - <a href="testtools.tests.test_testsuite.Sample.html#__hash__" class="code">testtools.tests.test_testsuite.Sample.__hash__</a></li><li>Method - <a href="testtools.tests.test_testsuite.Sample.html#test_method1" class="code">testtools.tests.test_testsuite.Sample.test_method1</a></li><li>Method - <a href="testtools.tests.test_testsuite.Sample.html#test_method2" class="code">testtools.tests.test_testsuite.Sample.test_method2</a></li><li>Class - <a href="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html" class="code">testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun</a></li><li>Method - <a href="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html#split_suite" class="code">testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.split_suite</a></li><li>Method - <a href="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html#test_broken_runner" class="code">testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.test_broken_runner</a></li><li>Method - <a href="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html#test_setupclass_skip" class="code">testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.test_setupclass_skip</a></li><li>Method - <a href="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html#test_setupclass_upcall" class="code">testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.test_setupclass_upcall</a></li><li>Method - <a href="testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html#test_trivial" class="code">testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.test_trivial</a></li><li>Class - <a href="testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html" class="code">testtools.tests.test_testsuite.TestConcurrentTestSuiteRun</a></li><li>Method - <a href="testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html#split_suite" class="code">testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.split_suite</a></li><li>Method - <a href="testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html#test_broken_test" class="code">testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.test_broken_test</a></li><li>Method - <a href="testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html#test_trivial" class="code">testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.test_trivial</a></li><li>Method - <a href="testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html#test_wrap_result" class="code">testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.test_wrap_result</a></li><li>Class - <a href="testtools.tests.test_testsuite.TestFixtureSuite.html" class="code">testtools.tests.test_testsuite.TestFixtureSuite</a></li><li>Method - <a href="testtools.tests.test_testsuite.TestFixtureSuite.html#setUp" class="code">testtools.tests.test_testsuite.TestFixtureSuite.setUp</a></li><li>Method - <a href="testtools.tests.test_testsuite.TestFixtureSuite.html#test_fixture_suite" class="code">testtools.tests.test_testsuite.TestFixtureSuite.test_fixture_suite</a></li><li>Method - <a href="testtools.tests.test_testsuite.TestFixtureSuite.html#test_fixture_suite_sort" class="code">testtools.tests.test_testsuite.TestFixtureSuite.test_fixture_suite_sort</a></li><li>Class - <a href="testtools.tests.test_testsuite.TestSortedTests.html" class="code">testtools.tests.test_testsuite.TestSortedTests</a></li><li>Method - <a href="testtools.tests.test_testsuite.TestSortedTests.html#test_custom_suite_without_sort_tests_works" class="code">testtools.tests.test_testsuite.TestSortedTests.test_custom_suite_without_sort_tests_works</a></li><li>Method - <a href="testtools.tests.test_testsuite.TestSortedTests.html#test_duplicate_simple_suites" class="code">testtools.tests.test_testsuite.TestSortedTests.test_duplicate_simple_suites</a></li><li>Method - <a href="testtools.tests.test_testsuite.TestSortedTests.html#test_sorts_custom_suites" class="code">testtools.tests.test_testsuite.TestSortedTests.test_sorts_custom_suites</a></li><li>Method - <a href="testtools.tests.test_testsuite.TestSortedTests.html#test_sorts_simple_suites" class="code">testtools.tests.test_testsuite.TestSortedTests.test_sorts_simple_suites</a></li><li>Function - <a href="testtools.tests.test_testsuite.html#test_suite" class="code">testtools.tests.test_testsuite.test_suite</a></li><li>Module - <a href="testtools.tests.test_with_with.html" class="code">testtools.tests.test_with_with</a></li><li>Method - <a href="testtools.tests.test_with_with.TestExpectedException.html#test_annotate" class="code">testtools.tests.test_with_with.TestExpectedException.test_annotate</a></li><li>Method - <a href="testtools.tests.test_with_with.TestExpectedException.html#test_annotated_matcher" class="code">testtools.tests.test_with_with.TestExpectedException.test_annotated_matcher</a></li><li>Method - <a href="testtools.tests.test_with_with.TestExpectedException.html#test_pass_on_raise" class="code">testtools.tests.test_with_with.TestExpectedException.test_pass_on_raise</a></li><li>Method - <a href="testtools.tests.test_with_with.TestExpectedException.html#test_pass_on_raise_any_message" class="code">testtools.tests.test_with_with.TestExpectedException.test_pass_on_raise_any_message</a></li><li>Method - <a href="testtools.tests.test_with_with.TestExpectedException.html#test_pass_on_raise_matcher" class="code">testtools.tests.test_with_with.TestExpectedException.test_pass_on_raise_matcher</a></li><li>Method - <a href="testtools.tests.test_with_with.TestExpectedException.html#test_raise_if_no_exception" class="code">testtools.tests.test_with_with.TestExpectedException.test_raise_if_no_exception</a></li><li>Method - <a href="testtools.tests.test_with_with.TestExpectedException.html#test_raise_on_error_mismatch" class="code">testtools.tests.test_with_with.TestExpectedException.test_raise_on_error_mismatch</a></li><li>Method - <a href="testtools.tests.test_with_with.TestExpectedException.html#test_raise_on_general_mismatch" class="code">testtools.tests.test_with_with.TestExpectedException.test_raise_on_general_mismatch</a></li><li>Method - <a href="testtools.tests.test_with_with.TestExpectedException.html#test_raise_on_text_mismatch" class="code">testtools.tests.test_with_with.TestExpectedException.test_raise_on_text_mismatch</a></li><li>Function - <a href="testtools.tests.test_with_with.html#test_suite" class="code">testtools.tests.test_with_with.test_suite</a></li><li>Method - <a href="testtools.testsuite.ConcurrentStreamTestSuite.html#_run_test" class="code">testtools.testsuite.ConcurrentStreamTestSuite._run_test</a></li><li>Method - <a href="testtools.testsuite.ConcurrentTestSuite.html#_run_test" class="code">testtools.testsuite.ConcurrentTestSuite._run_test</a></li><li>Function - <a href="testtools.testsuite.html#_flatten_tests" class="code">testtools.testsuite._flatten_tests</a></li></ul> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/for-framework-folk.html b/for-framework-folk.html new file mode 100644 index 0000000..e9f2951 --- /dev/null +++ b/for-framework-folk.html @@ -0,0 +1,555 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + + +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + + <title>testtools for framework folk — testtools VERSION documentation</title> + + <link rel="stylesheet" href="_static/classic.css" type="text/css" /> + <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> + + <script type="text/javascript"> + var DOCUMENTATION_OPTIONS = { + URL_ROOT: './', + VERSION: 'VERSION', + COLLAPSE_INDEX: false, + FILE_SUFFIX: '.html', + HAS_SOURCE: true + }; + </script> + <script type="text/javascript" src="_static/jquery.js"></script> + <script type="text/javascript" src="_static/underscore.js"></script> + <script type="text/javascript" src="_static/doctools.js"></script> + <link rel="top" title="testtools VERSION documentation" href="index.html" /> + <link rel="next" title="Contributing to testtools" href="hacking.html" /> + <link rel="prev" title="testtools for test authors" href="for-test-authors.html" /> + </head> + <body role="document"> + <div class="related" role="navigation" aria-label="related navigation"> + <h3>Navigation</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="genindex.html" title="General Index" + accesskey="I">index</a></li> + <li class="right" > + <a href="py-modindex.html" title="Python Module Index" + >modules</a> |</li> + <li class="right" > + <a href="hacking.html" title="Contributing to testtools" + accesskey="N">next</a> |</li> + <li class="right" > + <a href="for-test-authors.html" title="testtools for test authors" + accesskey="P">previous</a> |</li> + <li class="nav-item nav-item-0"><a href="index.html">testtools VERSION documentation</a> »</li> + </ul> + </div> + + <div class="document"> + <div class="documentwrapper"> + <div class="bodywrapper"> + <div class="body" role="main"> + + <div class="section" id="testtools-for-framework-folk"> +<h1>testtools for framework folk<a class="headerlink" href="#testtools-for-framework-folk" title="Permalink to this headline">¶</a></h1> +<div class="section" id="introduction"> +<h2>Introduction<a class="headerlink" href="#introduction" title="Permalink to this headline">¶</a></h2> +<p>In addition to having many features <a class="reference internal" href="for-test-authors.html"><em>for test authors</em></a>, testtools also has many bits and pieces that are useful +for folk who write testing frameworks.</p> +<p>If you are the author of a test runner, are working on a very large +unit-tested project, are trying to get one testing framework to play nicely +with another or are hacking away at getting your test suite to run in parallel +over a heterogenous cluster of machines, this guide is for you.</p> +<p>This manual is a summary. You can get details by consulting the +<a class="reference internal" href="api.html"><em>testtools API docs</em></a>.</p> +</div> +<div class="section" id="extensions-to-testcase"> +<h2>Extensions to TestCase<a class="headerlink" href="#extensions-to-testcase" title="Permalink to this headline">¶</a></h2> +<p>In addition to the <code class="docutils literal"><span class="pre">TestCase</span></code> specific methods, we have extensions for +<code class="docutils literal"><span class="pre">TestSuite</span></code> that also apply to <code class="docutils literal"><span class="pre">TestCase</span></code> (because <code class="docutils literal"><span class="pre">TestCase</span></code> and +<code class="docutils literal"><span class="pre">TestSuite</span></code> follow the Composite pattern).</p> +<div class="section" id="custom-exception-handling"> +<h3>Custom exception handling<a class="headerlink" href="#custom-exception-handling" title="Permalink to this headline">¶</a></h3> +<p>testtools provides a way to control how test exceptions are handled. To do +this, add a new exception to <code class="docutils literal"><span class="pre">self.exception_handlers</span></code> on a +<code class="docutils literal"><span class="pre">testtools.TestCase</span></code>. For example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="gp">>>> </span><span class="bp">self</span><span class="o">.</span><span class="n">exception_handlers</span><span class="o">.</span><span class="n">insert</span><span class="p">(</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span> <span class="p">(</span><span class="n">ExceptionClass</span><span class="p">,</span> <span class="n">handler</span><span class="p">))</span><span class="o">.</span> +</pre></div> +</div> +<p>Having done this, if any of <code class="docutils literal"><span class="pre">setUp</span></code>, <code class="docutils literal"><span class="pre">tearDown</span></code>, or the test method raise +<code class="docutils literal"><span class="pre">ExceptionClass</span></code>, <code class="docutils literal"><span class="pre">handler</span></code> will be called with the test case, test result +and the raised exception.</p> +<p>Use this if you want to add a new kind of test result, that is, if you think +that <code class="docutils literal"><span class="pre">addError</span></code>, <code class="docutils literal"><span class="pre">addFailure</span></code> and so forth are not enough for your needs.</p> +</div> +<div class="section" id="controlling-test-execution"> +<h3>Controlling test execution<a class="headerlink" href="#controlling-test-execution" title="Permalink to this headline">¶</a></h3> +<p>If you want to control more than just how exceptions are raised, you can +provide a custom <code class="docutils literal"><span class="pre">RunTest</span></code> to a <code class="docutils literal"><span class="pre">TestCase</span></code>. The <code class="docutils literal"><span class="pre">RunTest</span></code> object can +change everything about how the test executes.</p> +<p>To work with <code class="docutils literal"><span class="pre">testtools.TestCase</span></code>, a <code class="docutils literal"><span class="pre">RunTest</span></code> must have a factory that +takes a test and an optional list of exception handlers and an optional +last_resort handler. Instances returned by the factory must have a <code class="docutils literal"><span class="pre">run()</span></code> +method that takes an optional <code class="docutils literal"><span class="pre">TestResult</span></code> object.</p> +<p>The default is <code class="docutils literal"><span class="pre">testtools.runtest.RunTest</span></code>, which calls <code class="docutils literal"><span class="pre">setUp</span></code>, the test +method, <code class="docutils literal"><span class="pre">tearDown</span></code> and clean ups (see <a class="reference internal" href="for-test-authors.html#addcleanup"><span>addCleanup</span></a>) in the normal, vanilla +way that Python’s standard <a class="reference external" href="http://docs.python.org/library/unittest.html">unittest</a> does.</p> +<p>To specify a <code class="docutils literal"><span class="pre">RunTest</span></code> for all the tests in a <code class="docutils literal"><span class="pre">TestCase</span></code> class, do something +like this:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">class</span> <span class="nc">SomeTests</span><span class="p">(</span><span class="n">TestCase</span><span class="p">):</span> + <span class="n">run_tests_with</span> <span class="o">=</span> <span class="n">CustomRunTestFactory</span> +</pre></div> +</div> +<p>To specify a <code class="docutils literal"><span class="pre">RunTest</span></code> for a specific test in a <code class="docutils literal"><span class="pre">TestCase</span></code> class, do:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">class</span> <span class="nc">SomeTests</span><span class="p">(</span><span class="n">TestCase</span><span class="p">):</span> + <span class="nd">@run_test_with</span><span class="p">(</span><span class="n">CustomRunTestFactory</span><span class="p">,</span> <span class="n">extra_arg</span><span class="o">=</span><span class="mi">42</span><span class="p">,</span> <span class="n">foo</span><span class="o">=</span><span class="s">'whatever'</span><span class="p">)</span> + <span class="k">def</span> <span class="nf">test_something</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="k">pass</span> +</pre></div> +</div> +<p>In addition, either of these can be overridden by passing a factory in to the +<code class="docutils literal"><span class="pre">TestCase</span></code> constructor with the optional <code class="docutils literal"><span class="pre">runTest</span></code> argument.</p> +</div> +<div class="section" id="test-renaming"> +<h3>Test renaming<a class="headerlink" href="#test-renaming" title="Permalink to this headline">¶</a></h3> +<p><code class="docutils literal"><span class="pre">testtools.clone_test_with_new_id</span></code> is a function to copy a test case +instance to one with a new name. This is helpful for implementing test +parameterization.</p> +</div> +<div class="section" id="delayed-test-failure"> +<span id="force-failure"></span><h3>Delayed Test Failure<a class="headerlink" href="#delayed-test-failure" title="Permalink to this headline">¶</a></h3> +<p>Setting the <code class="docutils literal"><span class="pre">testtools.TestCase.force_failure</span></code> instance variable to True will +cause <code class="docutils literal"><span class="pre">testtools.RunTest</span></code> to fail the test case after the test has finished. +This is useful when you want to cause a test to fail, but don’t want to +prevent the remainder of the test code from being executed.</p> +</div> +<div class="section" id="exception-formatting"> +<h3>Exception formatting<a class="headerlink" href="#exception-formatting" title="Permalink to this headline">¶</a></h3> +<p>Testtools <code class="docutils literal"><span class="pre">TestCase</span></code> instances format their own exceptions. The attribute +<code class="docutils literal"><span class="pre">__testtools_tb_locals__</span></code> controls whether to include local variables in the +formatted exceptions.</p> +</div> +</div> +<div class="section" id="test-placeholders"> +<h2>Test placeholders<a class="headerlink" href="#test-placeholders" title="Permalink to this headline">¶</a></h2> +<p>Sometimes, it’s useful to be able to add things to a test suite that are not +actually tests. For example, you might wish to represents import failures +that occur during test discovery as tests, so that your test result object +doesn’t have to do special work to handle them nicely.</p> +<p>testtools provides two such objects, called “placeholders”: <code class="docutils literal"><span class="pre">PlaceHolder</span></code> +and <code class="docutils literal"><span class="pre">ErrorHolder</span></code>. <code class="docutils literal"><span class="pre">PlaceHolder</span></code> takes a test id and an optional +description. When it’s run, it succeeds. <code class="docutils literal"><span class="pre">ErrorHolder</span></code> takes a test id, +and error and an optional short description. When it’s run, it reports that +error.</p> +<p>These placeholders are best used to log events that occur outside the test +suite proper, but are still very relevant to its results.</p> +<p>e.g.:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="gp">>>> </span><span class="n">suite</span> <span class="o">=</span> <span class="n">TestSuite</span><span class="p">()</span> +<span class="gp">>>> </span><span class="n">suite</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="n">PlaceHolder</span><span class="p">(</span><span class="s">'I record an event'</span><span class="p">))</span> +<span class="gp">>>> </span><span class="n">suite</span><span class="o">.</span><span class="n">run</span><span class="p">(</span><span class="n">TextTestResult</span><span class="p">(</span><span class="n">verbose</span><span class="o">=</span><span class="bp">True</span><span class="p">))</span> +<span class="go">I record an event [OK]</span> +</pre></div> +</div> +</div> +<div class="section" id="test-instance-decorators"> +<h2>Test instance decorators<a class="headerlink" href="#test-instance-decorators" title="Permalink to this headline">¶</a></h2> +<div class="section" id="decoratetestcaseresult"> +<h3>DecorateTestCaseResult<a class="headerlink" href="#decoratetestcaseresult" title="Permalink to this headline">¶</a></h3> +<p>This object calls out to your code when <code class="docutils literal"><span class="pre">run</span></code> / <code class="docutils literal"><span class="pre">__call__</span></code> are called and +allows the result object that will be used to run the test to be altered. This +is very useful when working with a test runner that doesn’t know your test case +requirements. For instance, it can be used to inject a <code class="docutils literal"><span class="pre">unittest2</span></code> compatible +adapter when someone attempts to run your test suite with a <code class="docutils literal"><span class="pre">TestResult</span></code> that +does not support <code class="docutils literal"><span class="pre">addSkip</span></code> or other <code class="docutils literal"><span class="pre">unittest2</span></code> methods. Similarly it can +aid the migration to <code class="docutils literal"><span class="pre">StreamResult</span></code>.</p> +<p>e.g.:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="gp">>>> </span><span class="n">suite</span> <span class="o">=</span> <span class="n">TestSuite</span><span class="p">()</span> +<span class="gp">>>> </span><span class="n">suite</span> <span class="o">=</span> <span class="n">DecorateTestCaseResult</span><span class="p">(</span><span class="n">suite</span><span class="p">,</span> <span class="n">ExtendedToOriginalDecorator</span><span class="p">)</span> +</pre></div> +</div> +</div> +</div> +<div class="section" id="extensions-to-testresult"> +<h2>Extensions to TestResult<a class="headerlink" href="#extensions-to-testresult" title="Permalink to this headline">¶</a></h2> +<div class="section" id="streamresult"> +<h3>StreamResult<a class="headerlink" href="#streamresult" title="Permalink to this headline">¶</a></h3> +<p><code class="docutils literal"><span class="pre">StreamResult</span></code> is a new API for dealing with test case progress that supports +concurrent and distributed testing without the various issues that +<code class="docutils literal"><span class="pre">TestResult</span></code> has such as buffering in multiplexers.</p> +<p>The design has several key principles:</p> +<ul class="simple"> +<li>Nothing that requires up-front knowledge of all tests.</li> +<li>Deal with tests running in concurrent environments, potentially distributed +across multiple processes (or even machines). This implies allowing multiple +tests to be active at once, supplying time explicitly, being able to +differentiate between tests running in different contexts and removing any +assumption that tests are necessarily in the same process.</li> +<li>Make the API as simple as possible - each aspect should do one thing well.</li> +</ul> +<p>The <code class="docutils literal"><span class="pre">TestResult</span></code> API this is intended to replace has three different clients.</p> +<ul class="simple"> +<li>Each executing <code class="docutils literal"><span class="pre">TestCase</span></code> notifies the <code class="docutils literal"><span class="pre">TestResult</span></code> about activity.</li> +<li>The testrunner running tests uses the API to find out whether the test run +had errors, how many tests ran and so on.</li> +<li>Finally, each <code class="docutils literal"><span class="pre">TestCase</span></code> queries the <code class="docutils literal"><span class="pre">TestResult</span></code> to see whether the test +run should be aborted.</li> +</ul> +<p>With <code class="docutils literal"><span class="pre">StreamResult</span></code> we need to be able to provide a <code class="docutils literal"><span class="pre">TestResult</span></code> compatible +adapter (<code class="docutils literal"><span class="pre">StreamToExtendedDecorator</span></code>) to allow incremental migration. +However, we don’t need to conflate things long term. So - we define three +separate APIs, and merely mix them together to provide the +<code class="docutils literal"><span class="pre">StreamToExtendedDecorator</span></code>. <code class="docutils literal"><span class="pre">StreamResult</span></code> is the first of these APIs - +meeting the needs of <code class="docutils literal"><span class="pre">TestCase</span></code> clients. It handles events generated by +running tests. See the API documentation for <code class="docutils literal"><span class="pre">testtools.StreamResult</span></code> for +details.</p> +</div> +<div class="section" id="streamsummary"> +<h3>StreamSummary<a class="headerlink" href="#streamsummary" title="Permalink to this headline">¶</a></h3> +<p>Secondly we define the <code class="docutils literal"><span class="pre">StreamSummary</span></code> API which takes responsibility for +collating errors, detecting incomplete tests and counting tests. This provides +a compatible API with those aspects of <code class="docutils literal"><span class="pre">TestResult</span></code>. Again, see the API +documentation for <code class="docutils literal"><span class="pre">testtools.StreamSummary</span></code>.</p> +</div> +<div class="section" id="testcontrol"> +<h3>TestControl<a class="headerlink" href="#testcontrol" title="Permalink to this headline">¶</a></h3> +<p>Lastly we define the <code class="docutils literal"><span class="pre">TestControl</span></code> API which is used to provide the +<code class="docutils literal"><span class="pre">shouldStop</span></code> and <code class="docutils literal"><span class="pre">stop</span></code> elements from <code class="docutils literal"><span class="pre">TestResult</span></code>. Again, see the API +documentation for <code class="docutils literal"><span class="pre">testtools.TestControl</span></code>. <code class="docutils literal"><span class="pre">TestControl</span></code> can be paired with +a <code class="docutils literal"><span class="pre">StreamFailFast</span></code> to trigger aborting a test run when a failure is observed. +Aborting multiple workers in a distributed environment requires hooking +whatever signalling mechanism the distributed environment has up to a +<code class="docutils literal"><span class="pre">TestControl</span></code> in each worker process.</p> +</div> +<div class="section" id="streamtagger"> +<h3>StreamTagger<a class="headerlink" href="#streamtagger" title="Permalink to this headline">¶</a></h3> +<p>A <code class="docutils literal"><span class="pre">StreamResult</span></code> filter that adds or removes tags from events:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="gp">>>> </span><span class="kn">from</span> <span class="nn">testtools</span> <span class="kn">import</span> <span class="n">StreamTagger</span> +<span class="gp">>>> </span><span class="n">sink</span> <span class="o">=</span> <span class="n">StreamResult</span><span class="p">()</span> +<span class="gp">>>> </span><span class="n">result</span> <span class="o">=</span> <span class="n">StreamTagger</span><span class="p">([</span><span class="n">sink</span><span class="p">],</span> <span class="nb">set</span><span class="p">([</span><span class="s">'add'</span><span class="p">]),</span> <span class="nb">set</span><span class="p">([</span><span class="s">'discard'</span><span class="p">]))</span> +<span class="gp">>>> </span><span class="n">result</span><span class="o">.</span><span class="n">startTestRun</span><span class="p">()</span> +<span class="gp">>>> </span><span class="c"># Run tests against result here.</span> +<span class="gp">>>> </span><span class="n">result</span><span class="o">.</span><span class="n">stopTestRun</span><span class="p">()</span> +</pre></div> +</div> +</div> +<div class="section" id="streamtodict"> +<h3>StreamToDict<a class="headerlink" href="#streamtodict" title="Permalink to this headline">¶</a></h3> +<p>A simplified API for dealing with <code class="docutils literal"><span class="pre">StreamResult</span></code> streams. Each test is +buffered until it completes and then reported as a trivial dict. This makes +writing analysers very easy - you can ignore all the plumbing and just work +with the result. e.g.:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="gp">>>> </span><span class="kn">from</span> <span class="nn">testtools</span> <span class="kn">import</span> <span class="n">StreamToDict</span> +<span class="gp">>>> </span><span class="k">def</span> <span class="nf">handle_test</span><span class="p">(</span><span class="n">test_dict</span><span class="p">):</span> +<span class="gp">... </span> <span class="k">print</span><span class="p">(</span><span class="n">test_dict</span><span class="p">[</span><span class="s">'id'</span><span class="p">])</span> +<span class="gp">>>> </span><span class="n">result</span> <span class="o">=</span> <span class="n">StreamToDict</span><span class="p">(</span><span class="n">handle_test</span><span class="p">)</span> +<span class="gp">>>> </span><span class="n">result</span><span class="o">.</span><span class="n">startTestRun</span><span class="p">()</span> +<span class="gp">>>> </span><span class="c"># Run tests against result here.</span> +<span class="gp">>>> </span><span class="c"># At stopTestRun() any incomplete buffered tests are announced.</span> +<span class="gp">>>> </span><span class="n">result</span><span class="o">.</span><span class="n">stopTestRun</span><span class="p">()</span> +</pre></div> +</div> +</div> +<div class="section" id="extendedtostreamdecorator"> +<h3>ExtendedToStreamDecorator<a class="headerlink" href="#extendedtostreamdecorator" title="Permalink to this headline">¶</a></h3> +<p>This is a hybrid object that combines both the <code class="docutils literal"><span class="pre">Extended</span></code> and <code class="docutils literal"><span class="pre">Stream</span></code> +<code class="docutils literal"><span class="pre">TestResult</span></code> APIs into one class, but only emits <code class="docutils literal"><span class="pre">StreamResult</span></code> events. +This is useful when a <code class="docutils literal"><span class="pre">StreamResult</span></code> stream is desired, but you cannot +be sure that the tests which will run have been updated to the <code class="docutils literal"><span class="pre">StreamResult</span></code> +API.</p> +</div> +<div class="section" id="streamtoextendeddecorator"> +<h3>StreamToExtendedDecorator<a class="headerlink" href="#streamtoextendeddecorator" title="Permalink to this headline">¶</a></h3> +<p>This is a simple converter that emits the <code class="docutils literal"><span class="pre">ExtendedTestResult</span></code> API in +response to events from the <code class="docutils literal"><span class="pre">StreamResult</span></code> API. Useful when outputting +<code class="docutils literal"><span class="pre">StreamResult</span></code> events from a <code class="docutils literal"><span class="pre">TestCase</span></code> but the supplied <code class="docutils literal"><span class="pre">TestResult</span></code> +does not support the <code class="docutils literal"><span class="pre">status</span></code> and <code class="docutils literal"><span class="pre">file</span></code> methods.</p> +</div> +<div class="section" id="streamtoqueue"> +<h3>StreamToQueue<a class="headerlink" href="#streamtoqueue" title="Permalink to this headline">¶</a></h3> +<p>This is a <code class="docutils literal"><span class="pre">StreamResult</span></code> decorator for reporting tests from multiple threads +at once. Each method submits an event to a supplied Queue object as a simple +dict. See <code class="docutils literal"><span class="pre">ConcurrentStreamTestSuite</span></code> for a convenient way to use this.</p> +</div> +<div class="section" id="timestampingstreamresult"> +<h3>TimestampingStreamResult<a class="headerlink" href="#timestampingstreamresult" title="Permalink to this headline">¶</a></h3> +<p>This is a <code class="docutils literal"><span class="pre">StreamResult</span></code> decorator for adding timestamps to events that lack +them. This allows writing the simplest possible generators of events and +passing the events via this decorator to get timestamped data. As long as +no buffering/queueing or blocking happen before the timestamper sees the event +the timestamp will be as accurate as if the original event had it.</p> +</div> +<div class="section" id="streamresultrouter"> +<h3>StreamResultRouter<a class="headerlink" href="#streamresultrouter" title="Permalink to this headline">¶</a></h3> +<p>This is a <code class="docutils literal"><span class="pre">StreamResult</span></code> which forwards events to an arbitrary set of target +<code class="docutils literal"><span class="pre">StreamResult</span></code> objects. Events that have no forwarding rule are passed onto +an fallback <code class="docutils literal"><span class="pre">StreamResult</span></code> for processing. The mapping can be changed at +runtime, allowing great flexibility and responsiveness to changes. Because +The mapping can change dynamically and there could be the same recipient for +two different maps, <code class="docutils literal"><span class="pre">startTestRun</span></code> and <code class="docutils literal"><span class="pre">stopTestRun</span></code> handling is fine +grained and up to the user.</p> +<p>If no fallback has been supplied, an unroutable event will raise an exception.</p> +<p>For instance:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="gp">>>> </span><span class="n">router</span> <span class="o">=</span> <span class="n">StreamResultRouter</span><span class="p">()</span> +<span class="gp">>>> </span><span class="n">sink</span> <span class="o">=</span> <span class="n">doubles</span><span class="o">.</span><span class="n">StreamResult</span><span class="p">()</span> +<span class="gp">>>> </span><span class="n">router</span><span class="o">.</span><span class="n">add_rule</span><span class="p">(</span><span class="n">sink</span><span class="p">,</span> <span class="s">'route_code_prefix'</span><span class="p">,</span> <span class="n">route_prefix</span><span class="o">=</span><span class="s">'0'</span><span class="p">,</span> +<span class="gp">... </span> <span class="n">consume_route</span><span class="o">=</span><span class="bp">True</span><span class="p">)</span> +<span class="gp">>>> </span><span class="n">router</span><span class="o">.</span><span class="n">status</span><span class="p">(</span><span class="n">test_id</span><span class="o">=</span><span class="s">'foo'</span><span class="p">,</span> <span class="n">route_code</span><span class="o">=</span><span class="s">'0/1'</span><span class="p">,</span> <span class="n">test_status</span><span class="o">=</span><span class="s">'uxsuccess'</span><span class="p">)</span> +</pre></div> +</div> +<p>Would remove the <code class="docutils literal"><span class="pre">0/</span></code> from the route_code and forward the event like so:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="gp">>>> </span><span class="n">sink</span><span class="o">.</span><span class="n">status</span><span class="p">(</span><span class="s">'test_id=foo'</span><span class="p">,</span> <span class="n">route_code</span><span class="o">=</span><span class="s">'1'</span><span class="p">,</span> <span class="n">test_status</span><span class="o">=</span><span class="s">'uxsuccess'</span><span class="p">)</span> +</pre></div> +</div> +<p>See <code class="docutils literal"><span class="pre">pydoc</span> <span class="pre">testtools.StreamResultRouter</span></code> for details.</p> +</div> +<div class="section" id="testresult-addskip"> +<h3>TestResult.addSkip<a class="headerlink" href="#testresult-addskip" title="Permalink to this headline">¶</a></h3> +<p>This method is called on result objects when a test skips. The +<code class="docutils literal"><span class="pre">testtools.TestResult</span></code> class records skips in its <code class="docutils literal"><span class="pre">skip_reasons</span></code> instance +dict. The can be reported on in much the same way as succesful tests.</p> +</div> +<div class="section" id="testresult-time"> +<h3>TestResult.time<a class="headerlink" href="#testresult-time" title="Permalink to this headline">¶</a></h3> +<p>This method controls the time used by a <code class="docutils literal"><span class="pre">TestResult</span></code>, permitting accurate +timing of test results gathered on different machines or in different threads. +See pydoc testtools.TestResult.time for more details.</p> +</div> +<div class="section" id="threadsafeforwardingresult"> +<h3>ThreadsafeForwardingResult<a class="headerlink" href="#threadsafeforwardingresult" title="Permalink to this headline">¶</a></h3> +<p>A <code class="docutils literal"><span class="pre">TestResult</span></code> which forwards activity to another test result, but synchronises +on a semaphore to ensure that all the activity for a single test arrives in a +batch. This allows simple TestResults which do not expect concurrent test +reporting to be fed the activity from multiple test threads, or processes.</p> +<p>Note that when you provide multiple errors for a single test, the target sees +each error as a distinct complete test.</p> +</div> +<div class="section" id="multitestresult"> +<h3>MultiTestResult<a class="headerlink" href="#multitestresult" title="Permalink to this headline">¶</a></h3> +<p>A test result that dispatches its events to many test results. Use this +to combine multiple different test result objects into one test result object +that can be passed to <code class="docutils literal"><span class="pre">TestCase.run()</span></code> or similar. For example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="n">a</span> <span class="o">=</span> <span class="n">TestResult</span><span class="p">()</span> +<span class="n">b</span> <span class="o">=</span> <span class="n">TestResult</span><span class="p">()</span> +<span class="n">combined</span> <span class="o">=</span> <span class="n">MultiTestResult</span><span class="p">(</span><span class="n">a</span><span class="p">,</span> <span class="n">b</span><span class="p">)</span> +<span class="n">combined</span><span class="o">.</span><span class="n">startTestRun</span><span class="p">()</span> <span class="c"># Calls a.startTestRun() and b.startTestRun()</span> +</pre></div> +</div> +<p>Each of the methods on <code class="docutils literal"><span class="pre">MultiTestResult</span></code> will return a tuple of whatever the +component test results return.</p> +</div> +<div class="section" id="testresultdecorator"> +<h3>TestResultDecorator<a class="headerlink" href="#testresultdecorator" title="Permalink to this headline">¶</a></h3> +<p>Not strictly a <code class="docutils literal"><span class="pre">TestResult</span></code>, but something that implements the extended +<code class="docutils literal"><span class="pre">TestResult</span></code> interface of testtools. It can be subclassed to create objects +that wrap <code class="docutils literal"><span class="pre">TestResults</span></code>.</p> +</div> +<div class="section" id="texttestresult"> +<h3>TextTestResult<a class="headerlink" href="#texttestresult" title="Permalink to this headline">¶</a></h3> +<p>A <code class="docutils literal"><span class="pre">TestResult</span></code> that provides a text UI very similar to the Python standard +library UI. Key differences are that its supports the extended outcomes and +details API, and is completely encapsulated into the result object, permitting +it to be used without a ‘TestRunner’ object. Not all the Python 2.7 outcomes +are displayed (yet). It is also a ‘quiet’ result with no dots or verbose mode. +These limitations will be corrected soon.</p> +</div> +<div class="section" id="extendedtooriginaldecorator"> +<h3>ExtendedToOriginalDecorator<a class="headerlink" href="#extendedtooriginaldecorator" title="Permalink to this headline">¶</a></h3> +<p>Adapts legacy <code class="docutils literal"><span class="pre">TestResult</span></code> objects, such as those found in older Pythons, to +meet the testtools <code class="docutils literal"><span class="pre">TestResult</span></code> API.</p> +</div> +<div class="section" id="test-doubles"> +<h3>Test Doubles<a class="headerlink" href="#test-doubles" title="Permalink to this headline">¶</a></h3> +<p>In testtools.testresult.doubles there are three test doubles that testtools +uses for its own testing: <code class="docutils literal"><span class="pre">Python26TestResult</span></code>, <code class="docutils literal"><span class="pre">Python27TestResult</span></code>, +<code class="docutils literal"><span class="pre">ExtendedTestResult</span></code>. These TestResult objects implement a single variation of +the TestResult API each, and log activity to a list <code class="docutils literal"><span class="pre">self._events</span></code>. These are +made available for the convenience of people writing their own extensions.</p> +</div> +<div class="section" id="starttestrun-and-stoptestrun"> +<h3>startTestRun and stopTestRun<a class="headerlink" href="#starttestrun-and-stoptestrun" title="Permalink to this headline">¶</a></h3> +<p>Python 2.7 added hooks <code class="docutils literal"><span class="pre">startTestRun</span></code> and <code class="docutils literal"><span class="pre">stopTestRun</span></code> which are called +before and after the entire test run. ‘stopTestRun’ is particularly useful for +test results that wish to produce summary output.</p> +<p><code class="docutils literal"><span class="pre">testtools.TestResult</span></code> provides default <code class="docutils literal"><span class="pre">startTestRun</span></code> and <code class="docutils literal"><span class="pre">stopTestRun</span></code> +methods, and he default testtools runner will call these methods +appropriately.</p> +<p>The <code class="docutils literal"><span class="pre">startTestRun</span></code> method will reset any errors, failures and so forth on +the result, making the result object look as if no tests have been run.</p> +</div> +</div> +<div class="section" id="extensions-to-testsuite"> +<h2>Extensions to TestSuite<a class="headerlink" href="#extensions-to-testsuite" title="Permalink to this headline">¶</a></h2> +<div class="section" id="concurrenttestsuite"> +<h3>ConcurrentTestSuite<a class="headerlink" href="#concurrenttestsuite" title="Permalink to this headline">¶</a></h3> +<p>A TestSuite for parallel testing. This is used in conjuction with a helper that +runs a single suite in some parallel fashion (for instance, forking, handing +off to a subprocess, to a compute cloud, or simple threads). +ConcurrentTestSuite uses the helper to get a number of separate runnable +objects with a run(result), runs them all in threads using the +ThreadsafeForwardingResult to coalesce their activity.</p> +</div> +<div class="section" id="concurrentstreamtestsuite"> +<h3>ConcurrentStreamTestSuite<a class="headerlink" href="#concurrentstreamtestsuite" title="Permalink to this headline">¶</a></h3> +<p>A variant of ConcurrentTestSuite that uses the new StreamResult API instead of +the TestResult API. ConcurrentStreamTestSuite coordinates running some number +of test/suites concurrently, with one StreamToQueue per test/suite.</p> +<p>Each test/suite gets given its own ExtendedToStreamDecorator + +TimestampingStreamResult wrapped StreamToQueue instance, forwarding onto the +StreamResult that ConcurrentStreamTestSuite.run was called with.</p> +<p>ConcurrentStreamTestSuite is a thin shim and it is easy to implement your own +specialised form if that is needed.</p> +</div> +<div class="section" id="fixturesuite"> +<h3>FixtureSuite<a class="headerlink" href="#fixturesuite" title="Permalink to this headline">¶</a></h3> +<p>A test suite that sets up a <a class="reference external" href="http://pypi.python.org/pypi/fixtures">fixture</a> before running any tests, and then tears +it down after all of the tests are run. The fixture is <em>not</em> made available to +any of the tests due to there being no standard channel for suites to pass +information to the tests they contain (and we don’t have enough data on what +such a channel would need to achieve to design a good one yet - or even decide +if it is a good idea).</p> +</div> +<div class="section" id="sorted-tests"> +<h3>sorted_tests<a class="headerlink" href="#sorted-tests" title="Permalink to this headline">¶</a></h3> +<p>Given the composite structure of TestSuite / TestCase, sorting tests is +problematic - you can’t tell what functionality is embedded into custom Suite +implementations. In order to deliver consistent test orders when using test +discovery (see <a class="reference external" href="http://bugs.python.org/issue16709">http://bugs.python.org/issue16709</a>), testtools flattens and +sorts tests that have the standard TestSuite, and defines a new method +sort_tests, which can be used by non-standard TestSuites to know when they +should sort their tests. An example implementation can be seen at +<code class="docutils literal"><span class="pre">FixtureSuite.sorted_tests</span></code>.</p> +<p>If there are duplicate test ids in a suite, ValueError will be raised.</p> +</div> +<div class="section" id="filter-by-ids"> +<h3>filter_by_ids<a class="headerlink" href="#filter-by-ids" title="Permalink to this headline">¶</a></h3> +<p>Similarly to <code class="docutils literal"><span class="pre">sorted_tests</span></code> running a subset of tests is problematic - the +standard run interface provides no way to limit what runs. Rather than +confounding the two problems (selection and execution) we defined a method +that filters the tests in a suite (or a case) by their unique test id. +If you a writing custom wrapping suites, consider implementing filter_by_ids +to support this (though most wrappers that subclass <code class="docutils literal"><span class="pre">unittest.TestSuite</span></code> will +work just fine [see <code class="docutils literal"><span class="pre">testtools.testsuite.filter_by_ids</span></code> for details.]</p> +</div> +</div> +<div class="section" id="extensions-to-testrunner"> +<h2>Extensions to TestRunner<a class="headerlink" href="#extensions-to-testrunner" title="Permalink to this headline">¶</a></h2> +<p>To facilitate custom listing of tests, <code class="docutils literal"><span class="pre">testtools.run.TestProgram</span></code> attempts +to call <code class="docutils literal"><span class="pre">list</span></code> on the <code class="docutils literal"><span class="pre">TestRunner</span></code>, falling back to a generic +implementation if it is not present.</p> +</div> +</div> + + + </div> + </div> + </div> + <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> + <div class="sphinxsidebarwrapper"> + <h3><a href="index.html">Table Of Contents</a></h3> + <ul> +<li><a class="reference internal" href="#">testtools for framework folk</a><ul> +<li><a class="reference internal" href="#introduction">Introduction</a></li> +<li><a class="reference internal" href="#extensions-to-testcase">Extensions to TestCase</a><ul> +<li><a class="reference internal" href="#custom-exception-handling">Custom exception handling</a></li> +<li><a class="reference internal" href="#controlling-test-execution">Controlling test execution</a></li> +<li><a class="reference internal" href="#test-renaming">Test renaming</a></li> +<li><a class="reference internal" href="#delayed-test-failure">Delayed Test Failure</a></li> +<li><a class="reference internal" href="#exception-formatting">Exception formatting</a></li> +</ul> +</li> +<li><a class="reference internal" href="#test-placeholders">Test placeholders</a></li> +<li><a class="reference internal" href="#test-instance-decorators">Test instance decorators</a><ul> +<li><a class="reference internal" href="#decoratetestcaseresult">DecorateTestCaseResult</a></li> +</ul> +</li> +<li><a class="reference internal" href="#extensions-to-testresult">Extensions to TestResult</a><ul> +<li><a class="reference internal" href="#streamresult">StreamResult</a></li> +<li><a class="reference internal" href="#streamsummary">StreamSummary</a></li> +<li><a class="reference internal" href="#testcontrol">TestControl</a></li> +<li><a class="reference internal" href="#streamtagger">StreamTagger</a></li> +<li><a class="reference internal" href="#streamtodict">StreamToDict</a></li> +<li><a class="reference internal" href="#extendedtostreamdecorator">ExtendedToStreamDecorator</a></li> +<li><a class="reference internal" href="#streamtoextendeddecorator">StreamToExtendedDecorator</a></li> +<li><a class="reference internal" href="#streamtoqueue">StreamToQueue</a></li> +<li><a class="reference internal" href="#timestampingstreamresult">TimestampingStreamResult</a></li> +<li><a class="reference internal" href="#streamresultrouter">StreamResultRouter</a></li> +<li><a class="reference internal" href="#testresult-addskip">TestResult.addSkip</a></li> +<li><a class="reference internal" href="#testresult-time">TestResult.time</a></li> +<li><a class="reference internal" href="#threadsafeforwardingresult">ThreadsafeForwardingResult</a></li> +<li><a class="reference internal" href="#multitestresult">MultiTestResult</a></li> +<li><a class="reference internal" href="#testresultdecorator">TestResultDecorator</a></li> +<li><a class="reference internal" href="#texttestresult">TextTestResult</a></li> +<li><a class="reference internal" href="#extendedtooriginaldecorator">ExtendedToOriginalDecorator</a></li> +<li><a class="reference internal" href="#test-doubles">Test Doubles</a></li> +<li><a class="reference internal" href="#starttestrun-and-stoptestrun">startTestRun and stopTestRun</a></li> +</ul> +</li> +<li><a class="reference internal" href="#extensions-to-testsuite">Extensions to TestSuite</a><ul> +<li><a class="reference internal" href="#concurrenttestsuite">ConcurrentTestSuite</a></li> +<li><a class="reference internal" href="#concurrentstreamtestsuite">ConcurrentStreamTestSuite</a></li> +<li><a class="reference internal" href="#fixturesuite">FixtureSuite</a></li> +<li><a class="reference internal" href="#sorted-tests">sorted_tests</a></li> +<li><a class="reference internal" href="#filter-by-ids">filter_by_ids</a></li> +</ul> +</li> +<li><a class="reference internal" href="#extensions-to-testrunner">Extensions to TestRunner</a></li> +</ul> +</li> +</ul> + + <h4>Previous topic</h4> + <p class="topless"><a href="for-test-authors.html" + title="previous chapter">testtools for test authors</a></p> + <h4>Next topic</h4> + <p class="topless"><a href="hacking.html" + title="next chapter">Contributing to testtools</a></p> + <div role="note" aria-label="source link"> + <h3>This Page</h3> + <ul class="this-page-menu"> + <li><a href="_sources/for-framework-folk.txt" + rel="nofollow">Show Source</a></li> + </ul> + </div> +<div id="searchbox" style="display: none" role="search"> + <h3>Quick search</h3> + <form class="search" action="search.html" method="get"> + <input type="text" name="q" /> + <input type="submit" value="Go" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> + <p class="searchtip" style="font-size: 90%"> + Enter search terms or a module, class or function name. + </p> +</div> +<script type="text/javascript">$('#searchbox').show(0);</script> + </div> + </div> + <div class="clearer"></div> + </div> + <div class="related" role="navigation" aria-label="related navigation"> + <h3>Navigation</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="genindex.html" title="General Index" + >index</a></li> + <li class="right" > + <a href="py-modindex.html" title="Python Module Index" + >modules</a> |</li> + <li class="right" > + <a href="hacking.html" title="Contributing to testtools" + >next</a> |</li> + <li class="right" > + <a href="for-test-authors.html" title="testtools for test authors" + >previous</a> |</li> + <li class="nav-item nav-item-0"><a href="index.html">testtools VERSION documentation</a> »</li> + </ul> + </div> + <div class="footer" role="contentinfo"> + © Copyright 2010, The testtools authors. + Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1. + </div> + </body> +</html>
\ No newline at end of file diff --git a/for-test-authors.html b/for-test-authors.html new file mode 100644 index 0000000..6bf6704 --- /dev/null +++ b/for-test-authors.html @@ -0,0 +1,1532 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + + +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + + <title>testtools for test authors — testtools VERSION documentation</title> + + <link rel="stylesheet" href="_static/classic.css" type="text/css" /> + <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> + + <script type="text/javascript"> + var DOCUMENTATION_OPTIONS = { + URL_ROOT: './', + VERSION: 'VERSION', + COLLAPSE_INDEX: false, + FILE_SUFFIX: '.html', + HAS_SOURCE: true + }; + </script> + <script type="text/javascript" src="_static/jquery.js"></script> + <script type="text/javascript" src="_static/underscore.js"></script> + <script type="text/javascript" src="_static/doctools.js"></script> + <link rel="top" title="testtools VERSION documentation" href="index.html" /> + <link rel="next" title="testtools for framework folk" href="for-framework-folk.html" /> + <link rel="prev" title="testtools: tasteful testing for Python" href="overview.html" /> + </head> + <body role="document"> + <div class="related" role="navigation" aria-label="related navigation"> + <h3>Navigation</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="genindex.html" title="General Index" + accesskey="I">index</a></li> + <li class="right" > + <a href="py-modindex.html" title="Python Module Index" + >modules</a> |</li> + <li class="right" > + <a href="for-framework-folk.html" title="testtools for framework folk" + accesskey="N">next</a> |</li> + <li class="right" > + <a href="overview.html" title="testtools: tasteful testing for Python" + accesskey="P">previous</a> |</li> + <li class="nav-item nav-item-0"><a href="index.html">testtools VERSION documentation</a> »</li> + </ul> + </div> + + <div class="document"> + <div class="documentwrapper"> + <div class="bodywrapper"> + <div class="body" role="main"> + + <div class="section" id="testtools-for-test-authors"> +<h1>testtools for test authors<a class="headerlink" href="#testtools-for-test-authors" title="Permalink to this headline">¶</a></h1> +<p>If you are writing tests for a Python project and you (rather wisely) want to +use testtools to do so, this is the manual for you.</p> +<p>We assume that you already know Python and that you know something about +automated testing already.</p> +<p>If you are a test author of an unusually large or unusually unusual test +suite, you might be interested in <a class="reference internal" href="for-framework-folk.html"><em>testtools for framework folk</em></a>.</p> +<p>You might also be interested in the <a class="reference internal" href="api.html"><em>testtools API docs</em></a>.</p> +<div class="section" id="introduction"> +<h2>Introduction<a class="headerlink" href="#introduction" title="Permalink to this headline">¶</a></h2> +<p>testtools is a set of extensions to Python’s standard unittest module. +Writing tests with testtools is very much like writing tests with standard +Python, or with Twisted’s “<a class="reference external" href="http://twistedmatrix.com/documents/current/core/howto/testing.html">trial</a>”, or <a class="reference external" href="http://somethingaboutorange.com/mrl/projects/nose/">nose</a>, except a little bit easier and +more enjoyable.</p> +<p>Below, we’ll try to give some examples of how to use testtools in its most +basic way, as well as a sort of feature-by-feature breakdown of the cool bits +that you could easily miss.</p> +</div> +<div class="section" id="the-basics"> +<h2>The basics<a class="headerlink" href="#the-basics" title="Permalink to this headline">¶</a></h2> +<p>Here’s what a basic testtools unit tests look like:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="kn">from</span> <span class="nn">testtools</span> <span class="kn">import</span> <span class="n">TestCase</span> +<span class="kn">from</span> <span class="nn">myproject</span> <span class="kn">import</span> <span class="n">silly</span> + +<span class="k">class</span> <span class="nc">TestSillySquare</span><span class="p">(</span><span class="n">TestCase</span><span class="p">):</span> + <span class="sd">"""Tests for silly square function."""</span> + + <span class="k">def</span> <span class="nf">test_square</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="c"># 'square' takes a number and multiplies it by itself.</span> + <span class="n">result</span> <span class="o">=</span> <span class="n">silly</span><span class="o">.</span><span class="n">square</span><span class="p">(</span><span class="mi">7</span><span class="p">)</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertEqual</span><span class="p">(</span><span class="n">result</span><span class="p">,</span> <span class="mi">49</span><span class="p">)</span> + + <span class="k">def</span> <span class="nf">test_square_bad_input</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="c"># 'square' raises a TypeError if it's given bad input, say a</span> + <span class="c"># string.</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertRaises</span><span class="p">(</span><span class="ne">TypeError</span><span class="p">,</span> <span class="n">silly</span><span class="o">.</span><span class="n">square</span><span class="p">,</span> <span class="s">"orange"</span><span class="p">)</span> +</pre></div> +</div> +<p>Here you have a class that inherits from <code class="docutils literal"><span class="pre">testtools.TestCase</span></code> and bundles +together a bunch of related tests. The tests themselves are methods on that +class that begin with <code class="docutils literal"><span class="pre">test_</span></code>.</p> +<div class="section" id="running-your-tests"> +<h3>Running your tests<a class="headerlink" href="#running-your-tests" title="Permalink to this headline">¶</a></h3> +<p>You can run these tests in many ways. testtools provides a very basic +mechanism for doing so:</p> +<div class="highlight-python"><div class="highlight"><pre>$ python -m testtools.run exampletest +Tests running... +Ran 2 tests in 0.000s + +OK +</pre></div> +</div> +<p>where ‘exampletest’ is a module that contains unit tests. By default, +<code class="docutils literal"><span class="pre">testtools.run</span></code> will <em>not</em> recursively search the module or package for unit +tests. To do this, you will need to either have the <a class="reference external" href="http://pypi.python.org/pypi/discover">discover</a> module +installed or have Python 2.7 or later, and then run:</p> +<div class="highlight-python"><div class="highlight"><pre>$ python -m testtools.run discover packagecontainingtests +</pre></div> +</div> +<p>For more information see the Python unittest documentation, and:</p> +<div class="highlight-python"><div class="highlight"><pre>python -m testtools.run --help +</pre></div> +</div> +<p>which describes the options available to <code class="docutils literal"><span class="pre">testtools.run</span></code>.</p> +<p>As your testing needs grow and evolve, you will probably want to use a more +sophisticated test runner. There are many of these for Python, and almost all +of them will happily run testtools tests. In particular:</p> +<ul class="simple"> +<li><a class="reference external" href="https://launchpad.net/testrepository">testrepository</a></li> +<li><a class="reference external" href="http://twistedmatrix.com/documents/current/core/howto/testing.html">Trial</a></li> +<li><a class="reference external" href="http://somethingaboutorange.com/mrl/projects/nose/">nose</a></li> +<li><a class="reference external" href="http://pypi.python.org/pypi/unittest2">unittest2</a></li> +<li><a class="reference external" href="http://pypi.python.org/pypi/zope.testrunner/">zope.testrunner</a> (aka zope.testing)</li> +</ul> +<p>From now on, we’ll assume that you know how to run your tests.</p> +<div class="section" id="running-test-with-distutils"> +<h4>Running test with Distutils<a class="headerlink" href="#running-test-with-distutils" title="Permalink to this headline">¶</a></h4> +<p>If you are using <a class="reference external" href="http://docs.python.org/library/distutils.html">Distutils</a> to build your Python project, you can use the testtools +<a class="reference external" href="http://docs.python.org/library/distutils.html">Distutils</a> command to integrate testtools into your <a class="reference external" href="http://docs.python.org/library/distutils.html">Distutils</a> workflow:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="kn">from</span> <span class="nn">distutils.core</span> <span class="kn">import</span> <span class="n">setup</span> +<span class="kn">from</span> <span class="nn">testtools</span> <span class="kn">import</span> <span class="n">TestCommand</span> +<span class="n">setup</span><span class="p">(</span><span class="n">name</span><span class="o">=</span><span class="s">'foo'</span><span class="p">,</span> + <span class="n">version</span><span class="o">=</span><span class="s">'1.0'</span><span class="p">,</span> + <span class="n">py_modules</span><span class="o">=</span><span class="p">[</span><span class="s">'foo'</span><span class="p">],</span> + <span class="n">cmdclass</span><span class="o">=</span><span class="p">{</span><span class="s">'test'</span><span class="p">:</span> <span class="n">TestCommand</span><span class="p">}</span> +<span class="p">)</span> +</pre></div> +</div> +<p>You can then run:</p> +<div class="highlight-python"><div class="highlight"><pre>$ python setup.py test -m exampletest +Tests running... +Ran 2 tests in 0.000s + +OK +</pre></div> +</div> +<p>For more information about the capabilities of the <cite>TestCommand</cite> command see:</p> +<div class="highlight-python"><div class="highlight"><pre>$ python setup.py test --help +</pre></div> +</div> +<p>You can use the <a class="reference external" href="http://docs.python.org/distutils/configfile.html">setup configuration</a> to specify the default behavior of the +<cite>TestCommand</cite> command.</p> +</div> +</div> +</div> +<div class="section" id="assertions"> +<h2>Assertions<a class="headerlink" href="#assertions" title="Permalink to this headline">¶</a></h2> +<p>The core of automated testing is making assertions about the way things are, +and getting a nice, helpful, informative error message when things are not as +they ought to be.</p> +<p>All of the assertions that you can find in Python standard <a class="reference external" href="http://docs.python.org/library/unittest.html">unittest</a> can be +found in testtools (remember, testtools extends unittest). testtools changes +the behaviour of some of those assertions slightly and adds some new +assertions that you will almost certainly find useful.</p> +<div class="section" id="improved-assertraises"> +<h3>Improved assertRaises<a class="headerlink" href="#improved-assertraises" title="Permalink to this headline">¶</a></h3> +<p><code class="docutils literal"><span class="pre">TestCase.assertRaises</span></code> returns the caught exception. This is useful for +asserting more things about the exception than just the type:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_square_bad_input</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="c"># 'square' raises a TypeError if it's given bad input, say a</span> + <span class="c"># string.</span> + <span class="n">e</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">assertRaises</span><span class="p">(</span><span class="ne">TypeError</span><span class="p">,</span> <span class="n">silly</span><span class="o">.</span><span class="n">square</span><span class="p">,</span> <span class="s">"orange"</span><span class="p">)</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertEqual</span><span class="p">(</span><span class="s">"orange"</span><span class="p">,</span> <span class="n">e</span><span class="o">.</span><span class="n">bad_value</span><span class="p">)</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertEqual</span><span class="p">(</span><span class="s">"Cannot square 'orange', not a number."</span><span class="p">,</span> <span class="nb">str</span><span class="p">(</span><span class="n">e</span><span class="p">))</span> +</pre></div> +</div> +<p>Note that this is incompatible with the <code class="docutils literal"><span class="pre">assertRaises</span></code> in unittest2 and +Python2.7.</p> +</div> +<div class="section" id="expectedexception"> +<h3>ExpectedException<a class="headerlink" href="#expectedexception" title="Permalink to this headline">¶</a></h3> +<p>If you are using a version of Python that supports the <code class="docutils literal"><span class="pre">with</span></code> context +manager syntax, you might prefer to use that syntax to ensure that code raises +particular errors. <code class="docutils literal"><span class="pre">ExpectedException</span></code> does just that. For example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_square_root_bad_input_2</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="c"># 'square' raises a TypeError if it's given bad input.</span> + <span class="k">with</span> <span class="n">ExpectedException</span><span class="p">(</span><span class="ne">TypeError</span><span class="p">,</span> <span class="s">"Cannot square.*"</span><span class="p">):</span> + <span class="n">silly</span><span class="o">.</span><span class="n">square</span><span class="p">(</span><span class="s">'orange'</span><span class="p">)</span> +</pre></div> +</div> +<p>The first argument to <code class="docutils literal"><span class="pre">ExpectedException</span></code> is the type of exception you +expect to see raised. The second argument is optional, and can be either a +regular expression or a matcher. If it is a regular expression, the <code class="docutils literal"><span class="pre">str()</span></code> +of the raised exception must match the regular expression. If it is a matcher, +then the raised exception object must match it. The optional third argument +<code class="docutils literal"><span class="pre">msg</span></code> will cause the raised error to be annotated with that message.</p> +</div> +<div class="section" id="assertin-assertnotin"> +<h3>assertIn, assertNotIn<a class="headerlink" href="#assertin-assertnotin" title="Permalink to this headline">¶</a></h3> +<p>These two assertions check whether a value is in a sequence and whether a +value is not in a sequence. They are “assert” versions of the <code class="docutils literal"><span class="pre">in</span></code> and +<code class="docutils literal"><span class="pre">not</span> <span class="pre">in</span></code> operators. For example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_assert_in_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertIn</span><span class="p">(</span><span class="s">'a'</span><span class="p">,</span> <span class="s">'cat'</span><span class="p">)</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertNotIn</span><span class="p">(</span><span class="s">'o'</span><span class="p">,</span> <span class="s">'cat'</span><span class="p">)</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertIn</span><span class="p">(</span><span class="mi">5</span><span class="p">,</span> <span class="n">list_of_primes_under_ten</span><span class="p">)</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertNotIn</span><span class="p">(</span><span class="mi">12</span><span class="p">,</span> <span class="n">list_of_primes_under_ten</span><span class="p">)</span> +</pre></div> +</div> +</div> +<div class="section" id="assertis-assertisnot"> +<h3>assertIs, assertIsNot<a class="headerlink" href="#assertis-assertisnot" title="Permalink to this headline">¶</a></h3> +<p>These two assertions check whether values are identical to one another. This +is sometimes useful when you want to test something more strict than mere +equality. For example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_assert_is_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">foo</span> <span class="o">=</span> <span class="p">[</span><span class="bp">None</span><span class="p">]</span> + <span class="n">foo_alias</span> <span class="o">=</span> <span class="n">foo</span> + <span class="n">bar</span> <span class="o">=</span> <span class="p">[</span><span class="bp">None</span><span class="p">]</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertIs</span><span class="p">(</span><span class="n">foo</span><span class="p">,</span> <span class="n">foo_alias</span><span class="p">)</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertIsNot</span><span class="p">(</span><span class="n">foo</span><span class="p">,</span> <span class="n">bar</span><span class="p">)</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertEqual</span><span class="p">(</span><span class="n">foo</span><span class="p">,</span> <span class="n">bar</span><span class="p">)</span> <span class="c"># They are equal, but not identical</span> +</pre></div> +</div> +</div> +<div class="section" id="assertisinstance"> +<h3>assertIsInstance<a class="headerlink" href="#assertisinstance" title="Permalink to this headline">¶</a></h3> +<p>As much as we love duck-typing and polymorphism, sometimes you need to check +whether or not a value is of a given type. This method does that. For +example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_assert_is_instance_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">now</span> <span class="o">=</span> <span class="n">datetime</span><span class="o">.</span><span class="n">now</span><span class="p">()</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertIsInstance</span><span class="p">(</span><span class="n">now</span><span class="p">,</span> <span class="n">datetime</span><span class="p">)</span> +</pre></div> +</div> +<p>Note that there is no <code class="docutils literal"><span class="pre">assertIsNotInstance</span></code> in testtools currently.</p> +</div> +<div class="section" id="expectfailure"> +<h3>expectFailure<a class="headerlink" href="#expectfailure" title="Permalink to this headline">¶</a></h3> +<p>Sometimes it’s useful to write tests that fail. For example, you might want +to turn a bug report into a unit test, but you don’t know how to fix the bug +yet. Or perhaps you want to document a known, temporary deficiency in a +dependency.</p> +<p>testtools gives you the <code class="docutils literal"><span class="pre">TestCase.expectFailure</span></code> to help with this. You use +it to say that you expect this assertion to fail. When the test runs and the +assertion fails, testtools will report it as an “expected failure”.</p> +<p>Here’s an example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_expect_failure_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">expectFailure</span><span class="p">(</span> + <span class="s">"cats should be dogs"</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">assertEqual</span><span class="p">,</span> <span class="s">'cats'</span><span class="p">,</span> <span class="s">'dogs'</span><span class="p">)</span> +</pre></div> +</div> +<p>As long as ‘cats’ is not equal to ‘dogs’, the test will be reported as an +expected failure.</p> +<p>If ever by some miracle ‘cats’ becomes ‘dogs’, then testtools will report an +“unexpected success”. Unlike standard unittest, testtools treats this as +something that fails the test suite, like an error or a failure.</p> +</div> +</div> +<div class="section" id="matchers"> +<h2>Matchers<a class="headerlink" href="#matchers" title="Permalink to this headline">¶</a></h2> +<p>The built-in assertion methods are very useful, they are the bread and butter +of writing tests. However, soon enough you will probably want to write your +own assertions. Perhaps there are domain specific things that you want to +check (e.g. assert that two widgets are aligned parallel to the flux grid), or +perhaps you want to check something that could almost but not quite be found +in some other standard library (e.g. assert that two paths point to the same +file).</p> +<p>When you are in such situations, you could either make a base class for your +project that inherits from <code class="docutils literal"><span class="pre">testtools.TestCase</span></code> and make sure that all of +your tests derive from that, <em>or</em> you could use the testtools <code class="docutils literal"><span class="pre">Matcher</span></code> +system.</p> +<div class="section" id="using-matchers"> +<h3>Using Matchers<a class="headerlink" href="#using-matchers" title="Permalink to this headline">¶</a></h3> +<p>Here’s a really basic example using stock matchers found in testtools:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="kn">import</span> <span class="nn">testtools</span> +<span class="kn">from</span> <span class="nn">testtools.matchers</span> <span class="kn">import</span> <span class="n">Equals</span> + +<span class="k">class</span> <span class="nc">TestSquare</span><span class="p">(</span><span class="n">TestCase</span><span class="p">):</span> + <span class="k">def</span> <span class="nf">test_square</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">result</span> <span class="o">=</span> <span class="n">square</span><span class="p">(</span><span class="mi">7</span><span class="p">)</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="n">result</span><span class="p">,</span> <span class="n">Equals</span><span class="p">(</span><span class="mi">49</span><span class="p">))</span> +</pre></div> +</div> +<p>The line <code class="docutils literal"><span class="pre">self.assertThat(result,</span> <span class="pre">Equals(49))</span></code> is equivalent to +<code class="docutils literal"><span class="pre">self.assertEqual(result,</span> <span class="pre">49)</span></code> and means “assert that <code class="docutils literal"><span class="pre">result</span></code> equals 49”. +The difference is that <code class="docutils literal"><span class="pre">assertThat</span></code> is a more general method that takes some +kind of observed value (in this case, <code class="docutils literal"><span class="pre">result</span></code>) and any matcher object +(here, <code class="docutils literal"><span class="pre">Equals(49)</span></code>).</p> +<p>The matcher object could be absolutely anything that implements the Matcher +protocol. This means that you can make more complex matchers by combining +existing ones:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_square_silly</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">result</span> <span class="o">=</span> <span class="n">square</span><span class="p">(</span><span class="mi">7</span><span class="p">)</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="n">result</span><span class="p">,</span> <span class="n">Not</span><span class="p">(</span><span class="n">Equals</span><span class="p">(</span><span class="mi">50</span><span class="p">)))</span> +</pre></div> +</div> +<p>Which is roughly equivalent to:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_square_silly</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">result</span> <span class="o">=</span> <span class="n">square</span><span class="p">(</span><span class="mi">7</span><span class="p">)</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertNotEqual</span><span class="p">(</span><span class="n">result</span><span class="p">,</span> <span class="mi">50</span><span class="p">)</span> +</pre></div> +</div> +</div> +<div class="section" id="assert-that-function"> +<h3><code class="docutils literal"><span class="pre">assert_that</span></code> Function<a class="headerlink" href="#assert-that-function" title="Permalink to this headline">¶</a></h3> +<p>In addition to <code class="docutils literal"><span class="pre">self.assertThat</span></code>, testtools also provides the <code class="docutils literal"><span class="pre">assert_that</span></code> +function in <code class="docutils literal"><span class="pre">testtools.assertions</span></code> This behaves like the method version does:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">class</span> <span class="nc">TestSquare</span><span class="p">(</span><span class="n">TestCase</span><span class="p">):</span> + + <span class="k">def</span> <span class="nf">test_square</span><span class="p">():</span> + <span class="n">result</span> <span class="o">=</span> <span class="n">square</span><span class="p">(</span><span class="mi">7</span><span class="p">)</span> + <span class="n">assert_that</span><span class="p">(</span><span class="n">result</span><span class="p">,</span> <span class="n">Equals</span><span class="p">(</span><span class="mi">49</span><span class="p">))</span> + + <span class="k">def</span> <span class="nf">test_square_silly</span><span class="p">():</span> + <span class="n">result</span> <span class="o">=</span> <span class="n">square</span><span class="p">(</span><span class="mi">7</span><span class="p">)</span> + <span class="n">assert_that</span><span class="p">(</span><span class="n">result</span><span class="p">,</span> <span class="n">Not</span><span class="p">(</span><span class="n">Equals</span><span class="p">(</span><span class="mi">50</span><span class="p">)))</span> +</pre></div> +</div> +<div class="section" id="delayed-assertions"> +<h4>Delayed Assertions<a class="headerlink" href="#delayed-assertions" title="Permalink to this headline">¶</a></h4> +<p>A failure in the <code class="docutils literal"><span class="pre">self.assertThat</span></code> method will immediately fail the test: No +more test code will be run after the assertion failure.</p> +<p>The <code class="docutils literal"><span class="pre">expectThat</span></code> method behaves the same as <code class="docutils literal"><span class="pre">assertThat</span></code> with one +exception: when failing the test it does so at the end of the test code rather +than when the mismatch is detected. For example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="kn">import</span> <span class="nn">subprocess</span> + +<span class="kn">from</span> <span class="nn">testtools</span> <span class="kn">import</span> <span class="n">TestCase</span> +<span class="kn">from</span> <span class="nn">testtools.matchers</span> <span class="kn">import</span> <span class="n">Equals</span> + + +<span class="k">class</span> <span class="nc">SomeProcessTests</span><span class="p">(</span><span class="n">TestCase</span><span class="p">):</span> + + <span class="k">def</span> <span class="nf">test_process_output</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">process</span> <span class="o">=</span> <span class="n">subprocess</span><span class="o">.</span><span class="n">Popen</span><span class="p">(</span> + <span class="p">[</span><span class="s">"my-app"</span><span class="p">,</span> <span class="s">"/some/path"</span><span class="p">],</span> + <span class="n">stdout</span><span class="o">=</span><span class="n">subprocess</span><span class="o">.</span><span class="n">PIPE</span><span class="p">,</span> + <span class="n">stderr</span><span class="o">=</span><span class="n">subprocess</span><span class="o">.</span><span class="n">PIPE</span> + <span class="p">)</span> + + <span class="n">stdout</span><span class="p">,</span> <span class="n">stderrr</span> <span class="o">=</span> <span class="n">process</span><span class="o">.</span><span class="n">communicate</span><span class="p">()</span> + + <span class="bp">self</span><span class="o">.</span><span class="n">expectThat</span><span class="p">(</span><span class="n">process</span><span class="o">.</span><span class="n">returncode</span><span class="p">,</span> <span class="n">Equals</span><span class="p">(</span><span class="mi">0</span><span class="p">))</span> + <span class="bp">self</span><span class="o">.</span><span class="n">expectThat</span><span class="p">(</span><span class="n">stdout</span><span class="p">,</span> <span class="n">Equals</span><span class="p">(</span><span class="s">"Expected Output"</span><span class="p">))</span> + <span class="bp">self</span><span class="o">.</span><span class="n">expectThat</span><span class="p">(</span><span class="n">stderr</span><span class="p">,</span> <span class="n">Equals</span><span class="p">(</span><span class="s">""</span><span class="p">))</span> +</pre></div> +</div> +<p>In this example, should the <code class="docutils literal"><span class="pre">expectThat</span></code> call fail, the failure will be +recorded in the test result, but the test will continue as normal. If all +three assertions fail, the test result will have three failures recorded, and +the failure details for each failed assertion will be attached to the test +result.</p> +</div> +</div> +<div class="section" id="stock-matchers"> +<h3>Stock matchers<a class="headerlink" href="#stock-matchers" title="Permalink to this headline">¶</a></h3> +<p>testtools comes with many matchers built in. They can all be found in and +imported from the <code class="docutils literal"><span class="pre">testtools.matchers</span></code> module.</p> +<div class="section" id="equals"> +<h4>Equals<a class="headerlink" href="#equals" title="Permalink to this headline">¶</a></h4> +<p>Matches if two items are equal. For example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_equals_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">([</span><span class="mi">42</span><span class="p">],</span> <span class="n">Equals</span><span class="p">([</span><span class="mi">42</span><span class="p">]))</span> +</pre></div> +</div> +</div> +<div class="section" id="is"> +<h4>Is<a class="headerlink" href="#is" title="Permalink to this headline">¶</a></h4> +<p>Matches if two items are identical. For example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_is_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">foo</span> <span class="o">=</span> <span class="nb">object</span><span class="p">()</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="n">foo</span><span class="p">,</span> <span class="n">Is</span><span class="p">(</span><span class="n">foo</span><span class="p">))</span> +</pre></div> +</div> +</div> +<div class="section" id="isinstance"> +<h4>IsInstance<a class="headerlink" href="#isinstance" title="Permalink to this headline">¶</a></h4> +<p>Adapts isinstance() to use as a matcher. For example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_isinstance_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="k">class</span> <span class="nc">MyClass</span><span class="p">:</span><span class="k">pass</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="n">MyClass</span><span class="p">(),</span> <span class="n">IsInstance</span><span class="p">(</span><span class="n">MyClass</span><span class="p">))</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="n">MyClass</span><span class="p">(),</span> <span class="n">IsInstance</span><span class="p">(</span><span class="n">MyClass</span><span class="p">,</span> <span class="nb">str</span><span class="p">))</span> +</pre></div> +</div> +</div> +<div class="section" id="the-raises-helper"> +<h4>The raises helper<a class="headerlink" href="#the-raises-helper" title="Permalink to this headline">¶</a></h4> +<p>Matches if a callable raises a particular type of exception. For example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_raises_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="k">lambda</span><span class="p">:</span> <span class="mi">1</span><span class="o">/</span><span class="mi">0</span><span class="p">,</span> <span class="n">raises</span><span class="p">(</span><span class="ne">ZeroDivisionError</span><span class="p">))</span> +</pre></div> +</div> +<p>This is actually a convenience function that combines two other matchers: +<a class="reference internal" href="#raises">Raises</a> and <a class="reference internal" href="#matchesexception">MatchesException</a>.</p> +</div> +<div class="section" id="doctestmatches"> +<h4>DocTestMatches<a class="headerlink" href="#doctestmatches" title="Permalink to this headline">¶</a></h4> +<p>Matches a string as if it were the output of a <a class="reference external" href="http://docs.python.org/library/doctest.html">doctest</a> example. Very useful +for making assertions about large chunks of text. For example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="kn">import</span> <span class="nn">doctest</span> + +<span class="k">def</span> <span class="nf">test_doctest_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">output</span> <span class="o">=</span> <span class="s">"Colorless green ideas"</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span> + <span class="n">output</span><span class="p">,</span> + <span class="n">DocTestMatches</span><span class="p">(</span><span class="s">"Colorless ... ideas"</span><span class="p">,</span> <span class="n">doctest</span><span class="o">.</span><span class="n">ELLIPSIS</span><span class="p">))</span> +</pre></div> +</div> +<p>We highly recommend using the following flags:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="n">doctest</span><span class="o">.</span><span class="n">ELLIPSIS</span> <span class="o">|</span> <span class="n">doctest</span><span class="o">.</span><span class="n">NORMALIZE_WHITESPACE</span> <span class="o">|</span> <span class="n">doctest</span><span class="o">.</span><span class="n">REPORT_NDIFF</span> +</pre></div> +</div> +</div> +<div class="section" id="greaterthan"> +<h4>GreaterThan<a class="headerlink" href="#greaterthan" title="Permalink to this headline">¶</a></h4> +<p>Matches if the given thing is greater than the thing in the matcher. For +example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_greater_than_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="mi">3</span><span class="p">,</span> <span class="n">GreaterThan</span><span class="p">(</span><span class="mi">2</span><span class="p">))</span> +</pre></div> +</div> +</div> +<div class="section" id="lessthan"> +<h4>LessThan<a class="headerlink" href="#lessthan" title="Permalink to this headline">¶</a></h4> +<p>Matches if the given thing is less than the thing in the matcher. For +example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_less_than_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="mi">2</span><span class="p">,</span> <span class="n">LessThan</span><span class="p">(</span><span class="mi">3</span><span class="p">))</span> +</pre></div> +</div> +</div> +<div class="section" id="startswith-endswith"> +<h4>StartsWith, EndsWith<a class="headerlink" href="#startswith-endswith" title="Permalink to this headline">¶</a></h4> +<p>These matchers check to see if a string starts with or ends with a particular +substring. For example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_starts_and_ends_with_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">'underground'</span><span class="p">,</span> <span class="n">StartsWith</span><span class="p">(</span><span class="s">'und'</span><span class="p">))</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">'underground'</span><span class="p">,</span> <span class="n">EndsWith</span><span class="p">(</span><span class="s">'und'</span><span class="p">))</span> +</pre></div> +</div> +</div> +<div class="section" id="contains"> +<h4>Contains<a class="headerlink" href="#contains" title="Permalink to this headline">¶</a></h4> +<p>This matcher checks to see if the given thing contains the thing in the +matcher. For example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_contains_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">'abc'</span><span class="p">,</span> <span class="n">Contains</span><span class="p">(</span><span class="s">'b'</span><span class="p">))</span> +</pre></div> +</div> +</div> +<div class="section" id="matchesexception"> +<h4>MatchesException<a class="headerlink" href="#matchesexception" title="Permalink to this headline">¶</a></h4> +<p>Matches an exc_info tuple if the exception is of the correct type. For +example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_matches_exception_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="k">try</span><span class="p">:</span> + <span class="k">raise</span> <span class="ne">RuntimeError</span><span class="p">(</span><span class="s">'foo'</span><span class="p">)</span> + <span class="k">except</span> <span class="ne">RuntimeError</span><span class="p">:</span> + <span class="n">exc_info</span> <span class="o">=</span> <span class="n">sys</span><span class="o">.</span><span class="n">exc_info</span><span class="p">()</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="n">exc_info</span><span class="p">,</span> <span class="n">MatchesException</span><span class="p">(</span><span class="ne">RuntimeError</span><span class="p">))</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="n">exc_info</span><span class="p">,</span> <span class="n">MatchesException</span><span class="p">(</span><span class="ne">RuntimeError</span><span class="p">(</span><span class="s">'bar'</span><span class="p">)))</span> +</pre></div> +</div> +<p>Most of the time, you will want to uses <a class="reference internal" href="#the-raises-helper">The raises helper</a> instead.</p> +</div> +<div class="section" id="notequals"> +<h4>NotEquals<a class="headerlink" href="#notequals" title="Permalink to this headline">¶</a></h4> +<p>Matches if something is not equal to something else. Note that this is subtly +different to <code class="docutils literal"><span class="pre">Not(Equals(x))</span></code>. <code class="docutils literal"><span class="pre">NotEquals(x)</span></code> will match if <code class="docutils literal"><span class="pre">y</span> <span class="pre">!=</span> <span class="pre">x</span></code>, +<code class="docutils literal"><span class="pre">Not(Equals(x))</span></code> will match if <code class="docutils literal"><span class="pre">not</span> <span class="pre">y</span> <span class="pre">==</span> <span class="pre">x</span></code>.</p> +<p>You only need to worry about this distinction if you are testing code that +relies on badly written overloaded equality operators.</p> +</div> +<div class="section" id="keysequal"> +<h4>KeysEqual<a class="headerlink" href="#keysequal" title="Permalink to this headline">¶</a></h4> +<p>Matches if the keys of one dict are equal to the keys of another dict. For +example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_keys_equal</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">x</span> <span class="o">=</span> <span class="p">{</span><span class="s">'a'</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span> <span class="s">'b'</span><span class="p">:</span> <span class="mi">2</span><span class="p">}</span> + <span class="n">y</span> <span class="o">=</span> <span class="p">{</span><span class="s">'a'</span><span class="p">:</span> <span class="mi">2</span><span class="p">,</span> <span class="s">'b'</span><span class="p">:</span> <span class="mi">3</span><span class="p">}</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="n">x</span><span class="p">,</span> <span class="n">KeysEqual</span><span class="p">(</span><span class="n">y</span><span class="p">))</span> +</pre></div> +</div> +</div> +<div class="section" id="matchesregex"> +<h4>MatchesRegex<a class="headerlink" href="#matchesregex" title="Permalink to this headline">¶</a></h4> +<p>Matches a string against a regular expression, which is a wonderful thing to +be able to do, if you think about it:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_matches_regex_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">'foo'</span><span class="p">,</span> <span class="n">MatchesRegex</span><span class="p">(</span><span class="s">'fo+'</span><span class="p">))</span> +</pre></div> +</div> +</div> +<div class="section" id="haslength"> +<h4>HasLength<a class="headerlink" href="#haslength" title="Permalink to this headline">¶</a></h4> +<p>Check the length of a collection. The following assertion will fail:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">([</span><span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">3</span><span class="p">],</span> <span class="n">HasLength</span><span class="p">(</span><span class="mi">2</span><span class="p">))</span> +</pre></div> +</div> +<p>But this one won’t:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">([</span><span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">3</span><span class="p">],</span> <span class="n">HasLength</span><span class="p">(</span><span class="mi">3</span><span class="p">))</span> +</pre></div> +</div> +</div> +</div> +<div class="section" id="file-and-path-related-matchers"> +<h3>File- and path-related matchers<a class="headerlink" href="#file-and-path-related-matchers" title="Permalink to this headline">¶</a></h3> +<p>testtools also has a number of matchers to help with asserting things about +the state of the filesystem.</p> +<div class="section" id="pathexists"> +<h4>PathExists<a class="headerlink" href="#pathexists" title="Permalink to this headline">¶</a></h4> +<p>Matches if a path exists:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">'/'</span><span class="p">,</span> <span class="n">PathExists</span><span class="p">())</span> +</pre></div> +</div> +</div> +<div class="section" id="direxists"> +<h4>DirExists<a class="headerlink" href="#direxists" title="Permalink to this headline">¶</a></h4> +<p>Matches if a path exists and it refers to a directory:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="c"># This will pass on most Linux systems.</span> +<span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">'/home/'</span><span class="p">,</span> <span class="n">DirExists</span><span class="p">())</span> +<span class="c"># This will not</span> +<span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">'/home/jml/some-file.txt'</span><span class="p">,</span> <span class="n">DirExists</span><span class="p">())</span> +</pre></div> +</div> +</div> +<div class="section" id="fileexists"> +<h4>FileExists<a class="headerlink" href="#fileexists" title="Permalink to this headline">¶</a></h4> +<p>Matches if a path exists and it refers to a file (as opposed to a directory):</p> +<div class="highlight-python"><div class="highlight"><pre><span class="c"># This will pass on most Linux systems.</span> +<span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">'/bin/true'</span><span class="p">,</span> <span class="n">FileExists</span><span class="p">())</span> +<span class="c"># This will not.</span> +<span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">'/home/'</span><span class="p">,</span> <span class="n">FileExists</span><span class="p">())</span> +</pre></div> +</div> +</div> +<div class="section" id="dircontains"> +<h4>DirContains<a class="headerlink" href="#dircontains" title="Permalink to this headline">¶</a></h4> +<p>Matches if the given directory contains the specified files and directories. +Say we have a directory <code class="docutils literal"><span class="pre">foo</span></code> that has the files <code class="docutils literal"><span class="pre">a</span></code>, <code class="docutils literal"><span class="pre">b</span></code> and <code class="docutils literal"><span class="pre">c</span></code>, +then:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">'foo'</span><span class="p">,</span> <span class="n">DirContains</span><span class="p">([</span><span class="s">'a'</span><span class="p">,</span> <span class="s">'b'</span><span class="p">,</span> <span class="s">'c'</span><span class="p">]))</span> +</pre></div> +</div> +<p>will match, but:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">'foo'</span><span class="p">,</span> <span class="n">DirContains</span><span class="p">([</span><span class="s">'a'</span><span class="p">,</span> <span class="s">'b'</span><span class="p">]))</span> +</pre></div> +</div> +<p>will not.</p> +<p>The matcher sorts both the input and the list of names we get back from the +filesystem.</p> +<p>You can use this in a more advanced way, and match the sorted directory +listing against an arbitrary matcher:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">'foo'</span><span class="p">,</span> <span class="n">DirContains</span><span class="p">(</span><span class="n">matcher</span><span class="o">=</span><span class="n">Contains</span><span class="p">(</span><span class="s">'a'</span><span class="p">)))</span> +</pre></div> +</div> +</div> +<div class="section" id="filecontains"> +<h4>FileContains<a class="headerlink" href="#filecontains" title="Permalink to this headline">¶</a></h4> +<p>Matches if the given file has the specified contents. Say there’s a file +called <code class="docutils literal"><span class="pre">greetings.txt</span></code> with the contents, <code class="docutils literal"><span class="pre">Hello</span> <span class="pre">World!</span></code>:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">'greetings.txt'</span><span class="p">,</span> <span class="n">FileContains</span><span class="p">(</span><span class="s">"Hello World!"</span><span class="p">))</span> +</pre></div> +</div> +<p>will match.</p> +<p>You can also use this in a more advanced way, and match the contents of the +file against an arbitrary matcher:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">'greetings.txt'</span><span class="p">,</span> <span class="n">FileContains</span><span class="p">(</span><span class="n">matcher</span><span class="o">=</span><span class="n">Contains</span><span class="p">(</span><span class="s">'!'</span><span class="p">)))</span> +</pre></div> +</div> +</div> +<div class="section" id="haspermissions"> +<h4>HasPermissions<a class="headerlink" href="#haspermissions" title="Permalink to this headline">¶</a></h4> +<p>Used for asserting that a file or directory has certain permissions. Uses +octal-mode permissions for both input and matching. For example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">'/tmp'</span><span class="p">,</span> <span class="n">HasPermissions</span><span class="p">(</span><span class="s">'1777'</span><span class="p">))</span> +<span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">'id_rsa'</span><span class="p">,</span> <span class="n">HasPermissions</span><span class="p">(</span><span class="s">'0600'</span><span class="p">))</span> +</pre></div> +</div> +<p>This is probably more useful on UNIX systems than on Windows systems.</p> +</div> +<div class="section" id="samepath"> +<h4>SamePath<a class="headerlink" href="#samepath" title="Permalink to this headline">¶</a></h4> +<p>Matches if two paths actually refer to the same thing. The paths don’t have +to exist, but if they do exist, <code class="docutils literal"><span class="pre">SamePath</span></code> will resolve any symlinks.:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">'somefile'</span><span class="p">,</span> <span class="n">SamePath</span><span class="p">(</span><span class="s">'childdir/../somefile'</span><span class="p">))</span> +</pre></div> +</div> +</div> +<div class="section" id="tarballcontains"> +<h4>TarballContains<a class="headerlink" href="#tarballcontains" title="Permalink to this headline">¶</a></h4> +<p>Matches the contents of a tarball. In many ways, much like <code class="docutils literal"><span class="pre">DirContains</span></code>, +but instead of matching on <code class="docutils literal"><span class="pre">os.listdir</span></code> matches on <code class="docutils literal"><span class="pre">TarFile.getnames</span></code>.</p> +</div> +</div> +<div class="section" id="combining-matchers"> +<h3>Combining matchers<a class="headerlink" href="#combining-matchers" title="Permalink to this headline">¶</a></h3> +<p>One great thing about matchers is that you can readily combine existing +matchers to get variations on their behaviour or to quickly build more complex +assertions.</p> +<p>Below are a few of the combining matchers that come with testtools.</p> +<div class="section" id="not"> +<h4>Not<a class="headerlink" href="#not" title="Permalink to this headline">¶</a></h4> +<p>Negates another matcher. For example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_not_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">([</span><span class="mi">42</span><span class="p">],</span> <span class="n">Not</span><span class="p">(</span><span class="n">Equals</span><span class="p">(</span><span class="s">"potato"</span><span class="p">)))</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">([</span><span class="mi">42</span><span class="p">],</span> <span class="n">Not</span><span class="p">(</span><span class="n">Is</span><span class="p">([</span><span class="mi">42</span><span class="p">])))</span> +</pre></div> +</div> +<p>If you find yourself using <code class="docutils literal"><span class="pre">Not</span></code> frequently, you may wish to create a custom +matcher for it. For example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="n">IsNot</span> <span class="o">=</span> <span class="k">lambda</span> <span class="n">x</span><span class="p">:</span> <span class="n">Not</span><span class="p">(</span><span class="n">Is</span><span class="p">(</span><span class="n">x</span><span class="p">))</span> + +<span class="k">def</span> <span class="nf">test_not_example_2</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">([</span><span class="mi">42</span><span class="p">],</span> <span class="n">IsNot</span><span class="p">([</span><span class="mi">42</span><span class="p">]))</span> +</pre></div> +</div> +</div> +<div class="section" id="annotate"> +<h4>Annotate<a class="headerlink" href="#annotate" title="Permalink to this headline">¶</a></h4> +<p>Used to add custom notes to a matcher. For example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_annotate_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">result</span> <span class="o">=</span> <span class="mi">43</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span> + <span class="n">result</span><span class="p">,</span> <span class="n">Annotate</span><span class="p">(</span><span class="s">"Not the answer to the Question!"</span><span class="p">,</span> <span class="n">Equals</span><span class="p">(</span><span class="mi">42</span><span class="p">)))</span> +</pre></div> +</div> +<p>Since the annotation is only ever displayed when there is a mismatch +(e.g. when <code class="docutils literal"><span class="pre">result</span></code> does not equal 42), it’s a good idea to phrase the note +negatively, so that it describes what a mismatch actually means.</p> +<p>As with <a class="reference internal" href="#not">Not</a>, you may wish to create a custom matcher that describes a +common operation. For example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="n">PoliticallyEquals</span> <span class="o">=</span> <span class="k">lambda</span> <span class="n">x</span><span class="p">:</span> <span class="n">Annotate</span><span class="p">(</span><span class="s">"Death to the aristos!"</span><span class="p">,</span> <span class="n">Equals</span><span class="p">(</span><span class="n">x</span><span class="p">))</span> + +<span class="k">def</span> <span class="nf">test_annotate_example_2</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">"orange"</span><span class="p">,</span> <span class="n">PoliticallyEquals</span><span class="p">(</span><span class="s">"yellow"</span><span class="p">))</span> +</pre></div> +</div> +<p>You can have assertThat perform the annotation for you as a convenience:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_annotate_example_3</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">"orange"</span><span class="p">,</span> <span class="n">Equals</span><span class="p">(</span><span class="s">"yellow"</span><span class="p">),</span> <span class="s">"Death to the aristos!"</span><span class="p">)</span> +</pre></div> +</div> +</div> +<div class="section" id="afterpreprocessing"> +<h4>AfterPreprocessing<a class="headerlink" href="#afterpreprocessing" title="Permalink to this headline">¶</a></h4> +<p>Used to make a matcher that applies a function to the matched object before +matching. This can be used to aid in creating trivial matchers as functions, for +example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_after_preprocessing_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="k">def</span> <span class="nf">PathHasFileContent</span><span class="p">(</span><span class="n">content</span><span class="p">):</span> + <span class="k">def</span> <span class="nf">_read</span><span class="p">(</span><span class="n">path</span><span class="p">):</span> + <span class="k">return</span> <span class="nb">open</span><span class="p">(</span><span class="n">path</span><span class="p">)</span><span class="o">.</span><span class="n">read</span><span class="p">()</span> + <span class="k">return</span> <span class="n">AfterPreprocessing</span><span class="p">(</span><span class="n">_read</span><span class="p">,</span> <span class="n">Equals</span><span class="p">(</span><span class="n">content</span><span class="p">))</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">'/tmp/foo.txt'</span><span class="p">,</span> <span class="n">PathHasFileContent</span><span class="p">(</span><span class="s">"Hello world!"</span><span class="p">))</span> +</pre></div> +</div> +</div> +<div class="section" id="matchesall"> +<h4>MatchesAll<a class="headerlink" href="#matchesall" title="Permalink to this headline">¶</a></h4> +<p>Combines many matchers to make a new matcher. The new matcher will only match +things that match every single one of the component matchers.</p> +<p>It’s much easier to understand in Python than in English:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_matches_all_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">has_und_at_both_ends</span> <span class="o">=</span> <span class="n">MatchesAll</span><span class="p">(</span><span class="n">StartsWith</span><span class="p">(</span><span class="s">"und"</span><span class="p">),</span> <span class="n">EndsWith</span><span class="p">(</span><span class="s">"und"</span><span class="p">))</span> + <span class="c"># This will succeed.</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">"underground"</span><span class="p">,</span> <span class="n">has_und_at_both_ends</span><span class="p">)</span> + <span class="c"># This will fail.</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">"found"</span><span class="p">,</span> <span class="n">has_und_at_both_ends</span><span class="p">)</span> + <span class="c"># So will this.</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">"undead"</span><span class="p">,</span> <span class="n">has_und_at_both_ends</span><span class="p">)</span> +</pre></div> +</div> +<p>At this point some people ask themselves, “why bother doing this at all? why +not just have two separate assertions?”. It’s a good question.</p> +<p>The first reason is that when a <code class="docutils literal"><span class="pre">MatchesAll</span></code> gets a mismatch, the error will +include information about all of the bits that mismatched. When you have two +separate assertions, as below:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_two_separate_assertions</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">"foo"</span><span class="p">,</span> <span class="n">StartsWith</span><span class="p">(</span><span class="s">"und"</span><span class="p">))</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="s">"foo"</span><span class="p">,</span> <span class="n">EndsWith</span><span class="p">(</span><span class="s">"und"</span><span class="p">))</span> +</pre></div> +</div> +<p>Then you get absolutely no information from the second assertion if the first +assertion fails. Tests are largely there to help you debug code, so having +more information in error messages is a big help.</p> +<p>The second reason is that it is sometimes useful to give a name to a set of +matchers. <code class="docutils literal"><span class="pre">has_und_at_both_ends</span></code> is a bit contrived, of course, but it is +clear. The <code class="docutils literal"><span class="pre">FileExists</span></code> and <code class="docutils literal"><span class="pre">DirExists</span></code> matchers included in testtools +are perhaps better real examples.</p> +<p>If you want only the first mismatch to be reported, pass <code class="docutils literal"><span class="pre">first_only=True</span></code> +as a keyword parameter to <code class="docutils literal"><span class="pre">MatchesAll</span></code>.</p> +</div> +<div class="section" id="matchesany"> +<h4>MatchesAny<a class="headerlink" href="#matchesany" title="Permalink to this headline">¶</a></h4> +<p>Like <a class="reference internal" href="#matchesall">MatchesAll</a>, <code class="docutils literal"><span class="pre">MatchesAny</span></code> combines many matchers to make a new +matcher. The difference is that the new matchers will match a thing if it +matches <em>any</em> of the component matchers.</p> +<p>For example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_matches_any_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="mi">42</span><span class="p">,</span> <span class="n">MatchesAny</span><span class="p">(</span><span class="n">Equals</span><span class="p">(</span><span class="mi">5</span><span class="p">),</span> <span class="n">Not</span><span class="p">(</span><span class="n">Equals</span><span class="p">(</span><span class="mi">6</span><span class="p">))))</span> +</pre></div> +</div> +</div> +<div class="section" id="allmatch"> +<h4>AllMatch<a class="headerlink" href="#allmatch" title="Permalink to this headline">¶</a></h4> +<p>Matches many values against a single matcher. Can be used to make sure that +many things all meet the same condition:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_all_match_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">([</span><span class="mi">2</span><span class="p">,</span> <span class="mi">3</span><span class="p">,</span> <span class="mi">5</span><span class="p">,</span> <span class="mi">7</span><span class="p">],</span> <span class="n">AllMatch</span><span class="p">(</span><span class="n">LessThan</span><span class="p">(</span><span class="mi">10</span><span class="p">)))</span> +</pre></div> +</div> +<p>If the match fails, then all of the values that fail to match will be included +in the error message.</p> +<p>In some ways, this is the converse of <a class="reference internal" href="#matchesall">MatchesAll</a>.</p> +</div> +<div class="section" id="matcheslistwise"> +<h4>MatchesListwise<a class="headerlink" href="#matcheslistwise" title="Permalink to this headline">¶</a></h4> +<p>Where <code class="docutils literal"><span class="pre">MatchesAny</span></code> and <code class="docutils literal"><span class="pre">MatchesAll</span></code> combine many matchers to match a +single value, <code class="docutils literal"><span class="pre">MatchesListwise</span></code> combines many matches to match many values.</p> +<p>For example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_matches_listwise_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span> + <span class="p">[</span><span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">3</span><span class="p">],</span> <span class="n">MatchesListwise</span><span class="p">(</span><span class="nb">map</span><span class="p">(</span><span class="n">Equals</span><span class="p">,</span> <span class="p">[</span><span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">3</span><span class="p">])))</span> +</pre></div> +</div> +<p>This is useful for writing custom, domain-specific matchers.</p> +<p>If you want only the first mismatch to be reported, pass <code class="docutils literal"><span class="pre">first_only=True</span></code> +to <code class="docutils literal"><span class="pre">MatchesListwise</span></code>.</p> +</div> +<div class="section" id="matchessetwise"> +<h4>MatchesSetwise<a class="headerlink" href="#matchessetwise" title="Permalink to this headline">¶</a></h4> +<p>Combines many matchers to match many values, without regard to their order.</p> +<p>Here’s an example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_matches_setwise_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span> + <span class="p">[</span><span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">3</span><span class="p">],</span> <span class="n">MatchesSetwise</span><span class="p">(</span><span class="n">Equals</span><span class="p">(</span><span class="mi">2</span><span class="p">),</span> <span class="n">Equals</span><span class="p">(</span><span class="mi">3</span><span class="p">),</span> <span class="n">Equals</span><span class="p">(</span><span class="mi">1</span><span class="p">)))</span> +</pre></div> +</div> +<p>Much like <code class="docutils literal"><span class="pre">MatchesListwise</span></code>, best used for writing custom, domain-specific +matchers.</p> +</div> +<div class="section" id="matchesstructure"> +<h4>MatchesStructure<a class="headerlink" href="#matchesstructure" title="Permalink to this headline">¶</a></h4> +<p>Creates a matcher that matches certain attributes of an object against a +pre-defined set of matchers.</p> +<p>It’s much easier to understand in Python than in English:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_matches_structure_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">foo</span> <span class="o">=</span> <span class="n">Foo</span><span class="p">()</span> + <span class="n">foo</span><span class="o">.</span><span class="n">a</span> <span class="o">=</span> <span class="mi">1</span> + <span class="n">foo</span><span class="o">.</span><span class="n">b</span> <span class="o">=</span> <span class="mi">2</span> + <span class="n">matcher</span> <span class="o">=</span> <span class="n">MatchesStructure</span><span class="p">(</span><span class="n">a</span><span class="o">=</span><span class="n">Equals</span><span class="p">(</span><span class="mi">1</span><span class="p">),</span> <span class="n">b</span><span class="o">=</span><span class="n">Equals</span><span class="p">(</span><span class="mi">2</span><span class="p">))</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="n">foo</span><span class="p">,</span> <span class="n">matcher</span><span class="p">)</span> +</pre></div> +</div> +<p>Since all of the matchers used were <code class="docutils literal"><span class="pre">Equals</span></code>, we could also write this using +the <code class="docutils literal"><span class="pre">byEquality</span></code> helper:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_matches_structure_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">foo</span> <span class="o">=</span> <span class="n">Foo</span><span class="p">()</span> + <span class="n">foo</span><span class="o">.</span><span class="n">a</span> <span class="o">=</span> <span class="mi">1</span> + <span class="n">foo</span><span class="o">.</span><span class="n">b</span> <span class="o">=</span> <span class="mi">2</span> + <span class="n">matcher</span> <span class="o">=</span> <span class="n">MatchesStructure</span><span class="o">.</span><span class="n">byEquality</span><span class="p">(</span><span class="n">a</span><span class="o">=</span><span class="mi">1</span><span class="p">,</span> <span class="n">b</span><span class="o">=</span><span class="mi">2</span><span class="p">)</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="n">foo</span><span class="p">,</span> <span class="n">matcher</span><span class="p">)</span> +</pre></div> +</div> +<p><code class="docutils literal"><span class="pre">MatchesStructure.fromExample</span></code> takes an object and a list of attributes and +creates a <code class="docutils literal"><span class="pre">MatchesStructure</span></code> matcher where each attribute of the matched +object must equal each attribute of the example object. For example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="n">matcher</span> <span class="o">=</span> <span class="n">MatchesStructure</span><span class="o">.</span><span class="n">fromExample</span><span class="p">(</span><span class="n">foo</span><span class="p">,</span> <span class="s">'a'</span><span class="p">,</span> <span class="s">'b'</span><span class="p">)</span> +</pre></div> +</div> +<p>is exactly equivalent to <code class="docutils literal"><span class="pre">matcher</span></code> in the previous example.</p> +</div> +<div class="section" id="matchespredicate"> +<h4>MatchesPredicate<a class="headerlink" href="#matchespredicate" title="Permalink to this headline">¶</a></h4> +<p>Sometimes, all you want to do is create a matcher that matches if a given +function returns True, and mismatches if it returns False.</p> +<p>For example, you might have an <code class="docutils literal"><span class="pre">is_prime</span></code> function and want to make a +matcher based on it:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_prime_numbers</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">IsPrime</span> <span class="o">=</span> <span class="n">MatchesPredicate</span><span class="p">(</span><span class="n">is_prime</span><span class="p">,</span> <span class="s">'</span><span class="si">%s</span><span class="s"> is not prime.'</span><span class="p">)</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="mi">7</span><span class="p">,</span> <span class="n">IsPrime</span><span class="p">)</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="mi">1983</span><span class="p">,</span> <span class="n">IsPrime</span><span class="p">)</span> + <span class="c"># This will fail.</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="mi">42</span><span class="p">,</span> <span class="n">IsPrime</span><span class="p">)</span> +</pre></div> +</div> +<p>Which will produce the error message:</p> +<div class="highlight-python"><div class="highlight"><pre>Traceback (most recent call last): + File "...", line ..., in test_prime_numbers + self.assertThat(42, IsPrime) +MismatchError: 42 is not prime. +</pre></div> +</div> +</div> +<div class="section" id="matchespredicatewithparams"> +<h4>MatchesPredicateWithParams<a class="headerlink" href="#matchespredicatewithparams" title="Permalink to this headline">¶</a></h4> +<p>Sometimes you can’t use a trivial predicate and instead need to pass in some +parameters each time. In that case, MatchesPredicateWithParams is your go-to +tool for creating ad hoc matchers. MatchesPredicateWithParams takes a predicate +function and message and returns a factory to produce matchers from that. The +predicate needs to return a boolean (or any truthy object), and accept the +object to match + whatever was passed into the factory.</p> +<p>For example, you might have an <code class="docutils literal"><span class="pre">divisible</span></code> function and want to make a +matcher based on it:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_divisible_numbers</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">IsDivisibleBy</span> <span class="o">=</span> <span class="n">MatchesPredicateWithParams</span><span class="p">(</span> + <span class="n">divisible</span><span class="p">,</span> <span class="s">'{0} is not divisible by {1}'</span><span class="p">)</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="mi">7</span><span class="p">,</span> <span class="n">IsDivisibleBy</span><span class="p">(</span><span class="mi">1</span><span class="p">))</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="mi">7</span><span class="p">,</span> <span class="n">IsDivisibleBy</span><span class="p">(</span><span class="mi">7</span><span class="p">))</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="mi">7</span><span class="p">,</span> <span class="n">IsDivisibleBy</span><span class="p">(</span><span class="mi">2</span><span class="p">))</span> + <span class="c"># This will fail.</span> +</pre></div> +</div> +<p>Which will produce the error message:</p> +<div class="highlight-python"><div class="highlight"><pre>Traceback (most recent call last): + File "...", line ..., in test_divisible + self.assertThat(7, IsDivisibleBy(2)) +MismatchError: 7 is not divisible by 2. +</pre></div> +</div> +</div> +<div class="section" id="raises"> +<h4>Raises<a class="headerlink" href="#raises" title="Permalink to this headline">¶</a></h4> +<p>Takes whatever the callable raises as an exc_info tuple and matches it against +whatever matcher it was given. For example, if you want to assert that a +callable raises an exception of a given type:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_raises_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span> + <span class="k">lambda</span><span class="p">:</span> <span class="mi">1</span><span class="o">/</span><span class="mi">0</span><span class="p">,</span> <span class="n">Raises</span><span class="p">(</span><span class="n">MatchesException</span><span class="p">(</span><span class="ne">ZeroDivisionError</span><span class="p">)))</span> +</pre></div> +</div> +<p>Although note that this could also be written as:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_raises_example_convenient</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="k">lambda</span><span class="p">:</span> <span class="mi">1</span><span class="o">/</span><span class="mi">0</span><span class="p">,</span> <span class="n">raises</span><span class="p">(</span><span class="ne">ZeroDivisionError</span><span class="p">))</span> +</pre></div> +</div> +<p>See also <a class="reference internal" href="#matchesexception">MatchesException</a> and <a class="reference internal" href="#the-raises-helper">the raises helper</a></p> +</div> +</div> +<div class="section" id="writing-your-own-matchers"> +<h3>Writing your own matchers<a class="headerlink" href="#writing-your-own-matchers" title="Permalink to this headline">¶</a></h3> +<p>Combining matchers is fun and can get you a very long way indeed, but +sometimes you will have to write your own. Here’s how.</p> +<p>You need to make two closely-linked objects: a <code class="docutils literal"><span class="pre">Matcher</span></code> and a +<code class="docutils literal"><span class="pre">Mismatch</span></code>. The <code class="docutils literal"><span class="pre">Matcher</span></code> knows how to actually make the comparison, and +the <code class="docutils literal"><span class="pre">Mismatch</span></code> knows how to describe a failure to match.</p> +<p>Here’s an example matcher:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">class</span> <span class="nc">IsDivisibleBy</span><span class="p">(</span><span class="nb">object</span><span class="p">):</span> + <span class="sd">"""Match if a number is divisible by another number."""</span> + <span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">divider</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">divider</span> <span class="o">=</span> <span class="n">divider</span> + <span class="k">def</span> <span class="nf">__str__</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="k">return</span> <span class="s">'IsDivisibleBy(</span><span class="si">%s</span><span class="s">)'</span> <span class="o">%</span> <span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">divider</span><span class="p">,)</span> + <span class="k">def</span> <span class="nf">match</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">actual</span><span class="p">):</span> + <span class="n">remainder</span> <span class="o">=</span> <span class="n">actual</span> <span class="o">%</span> <span class="bp">self</span><span class="o">.</span><span class="n">divider</span> + <span class="k">if</span> <span class="n">remainder</span> <span class="o">!=</span> <span class="mi">0</span><span class="p">:</span> + <span class="k">return</span> <span class="n">IsDivisibleByMismatch</span><span class="p">(</span><span class="n">actual</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">divider</span><span class="p">,</span> <span class="n">remainder</span><span class="p">)</span> + <span class="k">else</span><span class="p">:</span> + <span class="k">return</span> <span class="bp">None</span> +</pre></div> +</div> +<p>The matcher has a constructor that takes parameters that describe what you +actually <em>expect</em>, in this case a number that other numbers ought to be +divisible by. It has a <code class="docutils literal"><span class="pre">__str__</span></code> method, the result of which is displayed +on failure by <code class="docutils literal"><span class="pre">assertThat</span></code> and a <code class="docutils literal"><span class="pre">match</span></code> method that does the actual +matching.</p> +<p><code class="docutils literal"><span class="pre">match</span></code> takes something to match against, here <code class="docutils literal"><span class="pre">actual</span></code>, and decides +whether or not it matches. If it does match, then <code class="docutils literal"><span class="pre">match</span></code> must return +<code class="docutils literal"><span class="pre">None</span></code>. If it does <em>not</em> match, then <code class="docutils literal"><span class="pre">match</span></code> must return a <code class="docutils literal"><span class="pre">Mismatch</span></code> +object. <code class="docutils literal"><span class="pre">assertThat</span></code> will call <code class="docutils literal"><span class="pre">match</span></code> and then fail the test if it +returns a non-None value. For example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_is_divisible_by_example</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="c"># This succeeds, since IsDivisibleBy(5).match(10) returns None.</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="mi">10</span><span class="p">,</span> <span class="n">IsDivisibleBy</span><span class="p">(</span><span class="mi">5</span><span class="p">))</span> + <span class="c"># This fails, since IsDivisibleBy(7).match(10) returns a mismatch.</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="mi">10</span><span class="p">,</span> <span class="n">IsDivisibleBy</span><span class="p">(</span><span class="mi">7</span><span class="p">))</span> +</pre></div> +</div> +<p>The mismatch is responsible for what sort of error message the failing test +generates. Here’s an example mismatch:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">class</span> <span class="nc">IsDivisibleByMismatch</span><span class="p">(</span><span class="nb">object</span><span class="p">):</span> + <span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">number</span><span class="p">,</span> <span class="n">divider</span><span class="p">,</span> <span class="n">remainder</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">number</span> <span class="o">=</span> <span class="n">number</span> + <span class="bp">self</span><span class="o">.</span><span class="n">divider</span> <span class="o">=</span> <span class="n">divider</span> + <span class="bp">self</span><span class="o">.</span><span class="n">remainder</span> <span class="o">=</span> <span class="n">remainder</span> + + <span class="k">def</span> <span class="nf">describe</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="k">return</span> <span class="s">"</span><span class="si">%r</span><span class="s"> is not divisible by </span><span class="si">%r</span><span class="s">, </span><span class="si">%r</span><span class="s"> remains"</span> <span class="o">%</span> <span class="p">(</span> + <span class="bp">self</span><span class="o">.</span><span class="n">number</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">divider</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">remainder</span><span class="p">)</span> + + <span class="k">def</span> <span class="nf">get_details</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="k">return</span> <span class="p">{}</span> +</pre></div> +</div> +<p>The mismatch takes information about the mismatch, and provides a <code class="docutils literal"><span class="pre">describe</span></code> +method that assembles all of that into a nice error message for end users. +You can use the <code class="docutils literal"><span class="pre">get_details</span></code> method to provide extra, arbitrary data with +the mismatch (e.g. the contents of a log file). Most of the time it’s fine to +just return an empty dict. You can read more about <a class="reference internal" href="#details">Details</a> elsewhere in this +document.</p> +<p>Sometimes you don’t need to create a custom mismatch class. In particular, if +you don’t care <em>when</em> the description is calculated, then you can just do that +in the Matcher itself like this:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">match</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">actual</span><span class="p">):</span> + <span class="n">remainder</span> <span class="o">=</span> <span class="n">actual</span> <span class="o">%</span> <span class="bp">self</span><span class="o">.</span><span class="n">divider</span> + <span class="k">if</span> <span class="n">remainder</span> <span class="o">!=</span> <span class="mi">0</span><span class="p">:</span> + <span class="k">return</span> <span class="n">Mismatch</span><span class="p">(</span> + <span class="s">"</span><span class="si">%r</span><span class="s"> is not divisible by </span><span class="si">%r</span><span class="s">, </span><span class="si">%r</span><span class="s"> remains"</span> <span class="o">%</span> <span class="p">(</span> + <span class="n">actual</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">divider</span><span class="p">,</span> <span class="n">remainder</span><span class="p">))</span> + <span class="k">else</span><span class="p">:</span> + <span class="k">return</span> <span class="bp">None</span> +</pre></div> +</div> +<p>When writing a <code class="docutils literal"><span class="pre">describe</span></code> method or constructing a <code class="docutils literal"><span class="pre">Mismatch</span></code> object the +code should ensure it only emits printable unicode. As this output must be +combined with other text and forwarded for presentation, letting through +non-ascii bytes of ambiguous encoding or control characters could throw an +exception or mangle the display. In most cases simply avoiding the <code class="docutils literal"><span class="pre">%s</span></code> +format specifier and using <code class="docutils literal"><span class="pre">%r</span></code> instead will be enough. For examples of +more complex formatting see the <code class="docutils literal"><span class="pre">testtools.matchers</span></code> implementatons.</p> +</div> +</div> +<div class="section" id="details"> +<h2>Details<a class="headerlink" href="#details" title="Permalink to this headline">¶</a></h2> +<p>As we may have mentioned once or twice already, one of the great benefits of +automated tests is that they help find, isolate and debug errors in your +system.</p> +<p>Frequently however, the information provided by a mere assertion failure is +not enough. It’s often useful to have other information: the contents of log +files; what queries were run; benchmark timing information; what state certain +subsystem components are in and so forth.</p> +<p>testtools calls all of these things “details” and provides a single, powerful +mechanism for including this information in your test run.</p> +<p>Here’s an example of how to add them:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="kn">from</span> <span class="nn">testtools</span> <span class="kn">import</span> <span class="n">TestCase</span> +<span class="kn">from</span> <span class="nn">testtools.content</span> <span class="kn">import</span> <span class="n">text_content</span> + +<span class="k">class</span> <span class="nc">TestSomething</span><span class="p">(</span><span class="n">TestCase</span><span class="p">):</span> + + <span class="k">def</span> <span class="nf">test_thingy</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">addDetail</span><span class="p">(</span><span class="s">'arbitrary-color-name'</span><span class="p">,</span> <span class="n">text_content</span><span class="p">(</span><span class="s">"blue"</span><span class="p">))</span> + <span class="mi">1</span> <span class="o">/</span> <span class="mi">0</span> <span class="c"># Gratuitous error!</span> +</pre></div> +</div> +<p>A detail an arbitrary piece of content given a name that’s unique within the +test. Here the name is <code class="docutils literal"><span class="pre">arbitrary-color-name</span></code> and the content is +<code class="docutils literal"><span class="pre">text_content("blue")</span></code>. The name can be any text string, and the content +can be any <code class="docutils literal"><span class="pre">testtools.content.Content</span></code> object.</p> +<p>When the test runs, testtools will show you something like this:</p> +<div class="highlight-python"><div class="highlight"><pre>====================================================================== +ERROR: exampletest.TestSomething.test_thingy +---------------------------------------------------------------------- +arbitrary-color-name: {{{blue}}} + +Traceback (most recent call last): + File "exampletest.py", line 8, in test_thingy + 1 / 0 # Gratuitous error! +ZeroDivisionError: integer division or modulo by zero +------------ +Ran 1 test in 0.030s +</pre></div> +</div> +<p>As you can see, the detail is included as an attachment, here saying +that our arbitrary-color-name is “blue”.</p> +<div class="section" id="content"> +<h3>Content<a class="headerlink" href="#content" title="Permalink to this headline">¶</a></h3> +<p>For the actual content of details, testtools uses its own MIME-based Content +object. This allows you to attach any information that you could possibly +conceive of to a test, and allows testtools to use or serialize that +information.</p> +<p>The basic <code class="docutils literal"><span class="pre">testtools.content.Content</span></code> object is constructed from a +<code class="docutils literal"><span class="pre">testtools.content.ContentType</span></code> and a nullary callable that must return an +iterator of chunks of bytes that the content is made from.</p> +<p>So, to make a Content object that is just a simple string of text, you can +do:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="kn">from</span> <span class="nn">testtools.content</span> <span class="kn">import</span> <span class="n">Content</span> +<span class="kn">from</span> <span class="nn">testtools.content_type</span> <span class="kn">import</span> <span class="n">ContentType</span> + +<span class="n">text</span> <span class="o">=</span> <span class="n">Content</span><span class="p">(</span><span class="n">ContentType</span><span class="p">(</span><span class="s">'text'</span><span class="p">,</span> <span class="s">'plain'</span><span class="p">),</span> <span class="k">lambda</span><span class="p">:</span> <span class="p">[</span><span class="s">"some text"</span><span class="p">])</span> +</pre></div> +</div> +<p>Because adding small bits of text content is very common, there’s also a +convenience method:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="n">text</span> <span class="o">=</span> <span class="n">text_content</span><span class="p">(</span><span class="s">"some text"</span><span class="p">)</span> +</pre></div> +</div> +<p>To make content out of an image stored on disk, you could do something like:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="n">image</span> <span class="o">=</span> <span class="n">Content</span><span class="p">(</span><span class="n">ContentType</span><span class="p">(</span><span class="s">'image'</span><span class="p">,</span> <span class="s">'png'</span><span class="p">),</span> <span class="k">lambda</span><span class="p">:</span> <span class="nb">open</span><span class="p">(</span><span class="s">'foo.png'</span><span class="p">)</span><span class="o">.</span><span class="n">read</span><span class="p">())</span> +</pre></div> +</div> +<p>Or you could use the convenience function:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="n">image</span> <span class="o">=</span> <span class="n">content_from_file</span><span class="p">(</span><span class="s">'foo.png'</span><span class="p">,</span> <span class="n">ContentType</span><span class="p">(</span><span class="s">'image'</span><span class="p">,</span> <span class="s">'png'</span><span class="p">))</span> +</pre></div> +</div> +<p>The <code class="docutils literal"><span class="pre">lambda</span></code> helps make sure that the file is opened and the actual bytes +read only when they are needed – by default, when the test is finished. This +means that tests can construct and add Content objects freely without worrying +too much about how they affect run time.</p> +</div> +<div class="section" id="a-realistic-example"> +<h3>A realistic example<a class="headerlink" href="#a-realistic-example" title="Permalink to this headline">¶</a></h3> +<p>A very common use of details is to add a log file to failing tests. Say your +project has a server represented by a class <code class="docutils literal"><span class="pre">SomeServer</span></code> that you can start +up and shut down in tests, but runs in another process. You want to test +interaction with that server, and whenever the interaction fails, you want to +see the client-side error <em>and</em> the logs from the server-side. Here’s how you +might do it:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="kn">from</span> <span class="nn">testtools</span> <span class="kn">import</span> <span class="n">TestCase</span> +<span class="kn">from</span> <span class="nn">testtools.content</span> <span class="kn">import</span> <span class="n">attach_file</span><span class="p">,</span> <span class="n">Content</span> +<span class="kn">from</span> <span class="nn">testtools.content_type</span> <span class="kn">import</span> <span class="n">UTF8_TEXT</span> + +<span class="kn">from</span> <span class="nn">myproject</span> <span class="kn">import</span> <span class="n">SomeServer</span> + +<span class="k">class</span> <span class="nc">SomeTestCase</span><span class="p">(</span><span class="n">TestCase</span><span class="p">):</span> + + <span class="k">def</span> <span class="nf">setUp</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="nb">super</span><span class="p">(</span><span class="n">SomeTestCase</span><span class="p">,</span> <span class="bp">self</span><span class="p">)</span><span class="o">.</span><span class="n">setUp</span><span class="p">()</span> + <span class="bp">self</span><span class="o">.</span><span class="n">server</span> <span class="o">=</span> <span class="n">SomeServer</span><span class="p">()</span> + <span class="bp">self</span><span class="o">.</span><span class="n">server</span><span class="o">.</span><span class="n">start_up</span><span class="p">()</span> + <span class="bp">self</span><span class="o">.</span><span class="n">addCleanup</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">server</span><span class="o">.</span><span class="n">shut_down</span><span class="p">)</span> + <span class="bp">self</span><span class="o">.</span><span class="n">addCleanup</span><span class="p">(</span><span class="n">attach_file</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">server</span><span class="o">.</span><span class="n">logfile</span><span class="p">,</span> <span class="bp">self</span><span class="p">)</span> + + <span class="k">def</span> <span class="nf">attach_log_file</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">addDetail</span><span class="p">(</span> + <span class="s">'log-file'</span><span class="p">,</span> + <span class="n">Content</span><span class="p">(</span><span class="n">UTF8_TEXT</span><span class="p">,</span> + <span class="k">lambda</span><span class="p">:</span> <span class="nb">open</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">server</span><span class="o">.</span><span class="n">logfile</span><span class="p">,</span> <span class="s">'r'</span><span class="p">)</span><span class="o">.</span><span class="n">readlines</span><span class="p">()))</span> + + <span class="k">def</span> <span class="nf">test_a_thing</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertEqual</span><span class="p">(</span><span class="s">"cool"</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">server</span><span class="o">.</span><span class="n">temperature</span><span class="p">)</span> +</pre></div> +</div> +<p>This test will attach the log file of <code class="docutils literal"><span class="pre">SomeServer</span></code> to each test that is +run. testtools will only display the log file for failing tests, so it’s not +such a big deal.</p> +<p>If the act of adding at detail is expensive, you might want to use +<a class="reference internal" href="#addonexception">addOnException</a> so that you only do it when a test actually raises an +exception.</p> +</div> +</div> +<div class="section" id="controlling-test-execution"> +<h2>Controlling test execution<a class="headerlink" href="#controlling-test-execution" title="Permalink to this headline">¶</a></h2> +<div class="section" id="addcleanup"> +<span id="id1"></span><h3>addCleanup<a class="headerlink" href="#addcleanup" title="Permalink to this headline">¶</a></h3> +<p><code class="docutils literal"><span class="pre">TestCase.addCleanup</span></code> is a robust way to arrange for a clean up function to +be called before <code class="docutils literal"><span class="pre">tearDown</span></code>. This is a powerful and simple alternative to +putting clean up logic in a try/finally block or <code class="docutils literal"><span class="pre">tearDown</span></code> method. For +example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_foo</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">foo</span><span class="o">.</span><span class="n">lock</span><span class="p">()</span> + <span class="bp">self</span><span class="o">.</span><span class="n">addCleanup</span><span class="p">(</span><span class="n">foo</span><span class="o">.</span><span class="n">unlock</span><span class="p">)</span> + <span class="o">...</span> +</pre></div> +</div> +<p>This is particularly useful if you have some sort of factory in your test:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">make_locked_foo</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">foo</span> <span class="o">=</span> <span class="n">Foo</span><span class="p">()</span> + <span class="n">foo</span><span class="o">.</span><span class="n">lock</span><span class="p">()</span> + <span class="bp">self</span><span class="o">.</span><span class="n">addCleanup</span><span class="p">(</span><span class="n">foo</span><span class="o">.</span><span class="n">unlock</span><span class="p">)</span> + <span class="k">return</span> <span class="n">foo</span> + +<span class="k">def</span> <span class="nf">test_frotz_a_foo</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">foo</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">make_locked_foo</span><span class="p">()</span> + <span class="n">foo</span><span class="o">.</span><span class="n">frotz</span><span class="p">()</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertEqual</span><span class="p">(</span><span class="n">foo</span><span class="o">.</span><span class="n">frotz_count</span><span class="p">,</span> <span class="mi">1</span><span class="p">)</span> +</pre></div> +</div> +<p>Any extra arguments or keyword arguments passed to <code class="docutils literal"><span class="pre">addCleanup</span></code> are passed +to the callable at cleanup time.</p> +<p>Cleanups can also report multiple errors, if appropriate by wrapping them in +a <code class="docutils literal"><span class="pre">testtools.MultipleExceptions</span></code> object:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">raise</span> <span class="n">MultipleExceptions</span><span class="p">(</span><span class="n">exc_info1</span><span class="p">,</span> <span class="n">exc_info2</span><span class="p">)</span> +</pre></div> +</div> +</div> +<div class="section" id="fixtures"> +<h3>Fixtures<a class="headerlink" href="#fixtures" title="Permalink to this headline">¶</a></h3> +<p>Tests often depend on a system being set up in a certain way, or having +certain resources available to them. Perhaps a test needs a connection to the +database or access to a running external server.</p> +<p>One common way of doing this is to do:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">class</span> <span class="nc">SomeTest</span><span class="p">(</span><span class="n">TestCase</span><span class="p">):</span> + <span class="k">def</span> <span class="nf">setUp</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="nb">super</span><span class="p">(</span><span class="n">SomeTest</span><span class="p">,</span> <span class="bp">self</span><span class="p">)</span><span class="o">.</span><span class="n">setUp</span><span class="p">()</span> + <span class="bp">self</span><span class="o">.</span><span class="n">server</span> <span class="o">=</span> <span class="n">Server</span><span class="p">()</span> + <span class="bp">self</span><span class="o">.</span><span class="n">server</span><span class="o">.</span><span class="n">setUp</span><span class="p">()</span> + <span class="bp">self</span><span class="o">.</span><span class="n">addCleanup</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">server</span><span class="o">.</span><span class="n">tearDown</span><span class="p">)</span> +</pre></div> +</div> +<p>testtools provides a more convenient, declarative way to do the same thing:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">class</span> <span class="nc">SomeTest</span><span class="p">(</span><span class="n">TestCase</span><span class="p">):</span> + <span class="k">def</span> <span class="nf">setUp</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="nb">super</span><span class="p">(</span><span class="n">SomeTest</span><span class="p">,</span> <span class="bp">self</span><span class="p">)</span><span class="o">.</span><span class="n">setUp</span><span class="p">()</span> + <span class="bp">self</span><span class="o">.</span><span class="n">server</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">useFixture</span><span class="p">(</span><span class="n">Server</span><span class="p">())</span> +</pre></div> +</div> +<p><code class="docutils literal"><span class="pre">useFixture(fixture)</span></code> calls <code class="docutils literal"><span class="pre">setUp</span></code> on the fixture, schedules a clean up +to clean it up, and schedules a clean up to attach all <a class="reference internal" href="#details">details</a> held by the +fixture to the test case. The fixture object must meet the +<code class="docutils literal"><span class="pre">fixtures.Fixture</span></code> protocol (version 0.3.4 or newer, see <a class="reference external" href="http://pypi.python.org/pypi/fixtures">fixtures</a>).</p> +<p>If you have anything beyond the most simple test set up, we recommend that +you put this set up into a <code class="docutils literal"><span class="pre">Fixture</span></code> class. Once there, the fixture can be +easily re-used by other tests and can be combined with other fixtures to make +more complex resources.</p> +</div> +<div class="section" id="skipping-tests"> +<h3>Skipping tests<a class="headerlink" href="#skipping-tests" title="Permalink to this headline">¶</a></h3> +<p>Many reasons exist to skip a test: a dependency might be missing; a test might +be too expensive and thus should not berun while on battery power; or perhaps +the test is testing an incomplete feature.</p> +<p><code class="docutils literal"><span class="pre">TestCase.skipTest</span></code> is a simple way to have a test stop running and be +reported as a skipped test, rather than a success, error or failure. For +example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_make_symlink</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">symlink</span> <span class="o">=</span> <span class="nb">getattr</span><span class="p">(</span><span class="n">os</span><span class="p">,</span> <span class="s">'symlink'</span><span class="p">,</span> <span class="bp">None</span><span class="p">)</span> + <span class="k">if</span> <span class="n">symlink</span> <span class="ow">is</span> <span class="bp">None</span><span class="p">:</span> + <span class="bp">self</span><span class="o">.</span><span class="n">skipTest</span><span class="p">(</span><span class="s">"No symlink support"</span><span class="p">)</span> + <span class="n">symlink</span><span class="p">(</span><span class="n">whatever</span><span class="p">,</span> <span class="n">something_else</span><span class="p">)</span> +</pre></div> +</div> +<p>Using <code class="docutils literal"><span class="pre">skipTest</span></code> means that you can make decisions about what tests to run +as late as possible, and close to the actual tests. Without it, you might be +forced to use convoluted logic during test loading, which is a bit of a mess.</p> +<div class="section" id="legacy-skip-support"> +<h4>Legacy skip support<a class="headerlink" href="#legacy-skip-support" title="Permalink to this headline">¶</a></h4> +<p>If you are using this feature when running your test suite with a legacy +<code class="docutils literal"><span class="pre">TestResult</span></code> object that is missing the <code class="docutils literal"><span class="pre">addSkip</span></code> method, then the +<code class="docutils literal"><span class="pre">addError</span></code> method will be invoked instead. If you are using a test result +from testtools, you do not have to worry about this.</p> +<p>In older versions of testtools, <code class="docutils literal"><span class="pre">skipTest</span></code> was known as <code class="docutils literal"><span class="pre">skip</span></code>. Since +Python 2.7 added <code class="docutils literal"><span class="pre">skipTest</span></code> support, the <code class="docutils literal"><span class="pre">skip</span></code> name is now deprecated. +No warning is emitted yet – some time in the future we may do so.</p> +</div> +</div> +<div class="section" id="addonexception"> +<h3>addOnException<a class="headerlink" href="#addonexception" title="Permalink to this headline">¶</a></h3> +<p>Sometimes, you might wish to do something only when a test fails. Perhaps you +need to run expensive diagnostic routines or some such. +<code class="docutils literal"><span class="pre">TestCase.addOnException</span></code> allows you to easily do just this. For example:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">class</span> <span class="nc">SomeTest</span><span class="p">(</span><span class="n">TestCase</span><span class="p">):</span> + <span class="k">def</span> <span class="nf">setUp</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="nb">super</span><span class="p">(</span><span class="n">SomeTest</span><span class="p">,</span> <span class="bp">self</span><span class="p">)</span><span class="o">.</span><span class="n">setUp</span><span class="p">()</span> + <span class="bp">self</span><span class="o">.</span><span class="n">server</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">useFixture</span><span class="p">(</span><span class="n">SomeServer</span><span class="p">())</span> + <span class="bp">self</span><span class="o">.</span><span class="n">addOnException</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">attach_server_diagnostics</span><span class="p">)</span> + + <span class="k">def</span> <span class="nf">attach_server_diagnostics</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">exc_info</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">server</span><span class="o">.</span><span class="n">prep_for_diagnostics</span><span class="p">()</span> <span class="c"># Expensive!</span> + <span class="bp">self</span><span class="o">.</span><span class="n">addDetail</span><span class="p">(</span><span class="s">'server-diagnostics'</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">server</span><span class="o">.</span><span class="n">get_diagnostics</span><span class="p">)</span> + + <span class="k">def</span> <span class="nf">test_a_thing</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertEqual</span><span class="p">(</span><span class="s">'cheese'</span><span class="p">,</span> <span class="s">'chalk'</span><span class="p">)</span> +</pre></div> +</div> +<p>In this example, <code class="docutils literal"><span class="pre">attach_server_diagnostics</span></code> will only be called when a test +fails. It is given the exc_info tuple of the error raised by the test, just +in case it is needed.</p> +</div> +<div class="section" id="twisted-support"> +<h3>Twisted support<a class="headerlink" href="#twisted-support" title="Permalink to this headline">¶</a></h3> +<p>testtools provides <em>highly experimental</em> support for running Twisted tests – +tests that return a <a class="reference external" href="http://twistedmatrix.com/documents/current/core/howto/defer.html">Deferred</a> and rely on the Twisted reactor. You should not +use this feature right now. We reserve the right to change the API and +behaviour without telling you first.</p> +<p>However, if you are going to, here’s how you do it:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="kn">from</span> <span class="nn">testtools</span> <span class="kn">import</span> <span class="n">TestCase</span> +<span class="kn">from</span> <span class="nn">testtools.deferredruntest</span> <span class="kn">import</span> <span class="n">AsynchronousDeferredRunTest</span> + +<span class="k">class</span> <span class="nc">MyTwistedTests</span><span class="p">(</span><span class="n">TestCase</span><span class="p">):</span> + + <span class="n">run_tests_with</span> <span class="o">=</span> <span class="n">AsynchronousDeferredRunTest</span> + + <span class="k">def</span> <span class="nf">test_foo</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="c"># ...</span> + <span class="k">return</span> <span class="n">d</span> +</pre></div> +</div> +<p>In particular, note that you do <em>not</em> have to use a special base <code class="docutils literal"><span class="pre">TestCase</span></code> +in order to run Twisted tests.</p> +<p>You can also run individual tests within a test case class using the Twisted +test runner:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">class</span> <span class="nc">MyTestsSomeOfWhichAreTwisted</span><span class="p">(</span><span class="n">TestCase</span><span class="p">):</span> + + <span class="k">def</span> <span class="nf">test_normal</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="k">pass</span> + + <span class="nd">@run_test_with</span><span class="p">(</span><span class="n">AsynchronousDeferredRunTest</span><span class="p">)</span> + <span class="k">def</span> <span class="nf">test_twisted</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="c"># ...</span> + <span class="k">return</span> <span class="n">d</span> +</pre></div> +</div> +<p>Here are some tips for converting your Trial tests into testtools tests.</p> +<ul class="simple"> +<li>Use the <code class="docutils literal"><span class="pre">AsynchronousDeferredRunTest</span></code> runner</li> +<li>Make sure to upcall to <code class="docutils literal"><span class="pre">setUp</span></code> and <code class="docutils literal"><span class="pre">tearDown</span></code></li> +<li>Don’t use <code class="docutils literal"><span class="pre">setUpClass</span></code> or <code class="docutils literal"><span class="pre">tearDownClass</span></code></li> +<li>Don’t expect setting .todo, .timeout or .skip attributes to do anything</li> +<li><code class="docutils literal"><span class="pre">flushLoggedErrors</span></code> is <code class="docutils literal"><span class="pre">testtools.deferredruntest.flush_logged_errors</span></code></li> +<li><code class="docutils literal"><span class="pre">assertFailure</span></code> is <code class="docutils literal"><span class="pre">testtools.deferredruntest.assert_fails_with</span></code></li> +<li>Trial spins the reactor a couple of times before cleaning it up, +<code class="docutils literal"><span class="pre">AsynchronousDeferredRunTest</span></code> does not. If you rely on this behavior, use +<code class="docutils literal"><span class="pre">AsynchronousDeferredRunTestForBrokenTwisted</span></code>.</li> +</ul> +</div> +<div class="section" id="force-failure"> +<h3>force_failure<a class="headerlink" href="#force-failure" title="Permalink to this headline">¶</a></h3> +<p>Setting the <code class="docutils literal"><span class="pre">testtools.TestCase.force_failure</span></code> instance variable to <code class="docutils literal"><span class="pre">True</span></code> +will cause the test to be marked as a failure, but won’t stop the test code +from running (see <a class="reference internal" href="for-framework-folk.html#force-failure"><span>Delayed Test Failure</span></a>).</p> +</div> +</div> +<div class="section" id="test-helpers"> +<h2>Test helpers<a class="headerlink" href="#test-helpers" title="Permalink to this headline">¶</a></h2> +<p>testtools comes with a few little things that make it a little bit easier to +write tests.</p> +<div class="section" id="testcase-patch"> +<h3>TestCase.patch<a class="headerlink" href="#testcase-patch" title="Permalink to this headline">¶</a></h3> +<p><code class="docutils literal"><span class="pre">patch</span></code> is a convenient way to monkey-patch a Python object for the duration +of your test. It’s especially useful for testing legacy code. e.g.:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_foo</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">my_stream</span> <span class="o">=</span> <span class="n">StringIO</span><span class="p">()</span> + <span class="bp">self</span><span class="o">.</span><span class="n">patch</span><span class="p">(</span><span class="n">sys</span><span class="p">,</span> <span class="s">'stderr'</span><span class="p">,</span> <span class="n">my_stream</span><span class="p">)</span> + <span class="n">run_some_code_that_prints_to_stderr</span><span class="p">()</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertEqual</span><span class="p">(</span><span class="s">''</span><span class="p">,</span> <span class="n">my_stream</span><span class="o">.</span><span class="n">getvalue</span><span class="p">())</span> +</pre></div> +</div> +<p>The call to <code class="docutils literal"><span class="pre">patch</span></code> above masks <code class="docutils literal"><span class="pre">sys.stderr</span></code> with <code class="docutils literal"><span class="pre">my_stream</span></code> so that +anything printed to stderr will be captured in a StringIO variable that can be +actually tested. Once the test is done, the real <code class="docutils literal"><span class="pre">sys.stderr</span></code> is restored to +its rightful place.</p> +</div> +<div class="section" id="creation-methods"> +<h3>Creation methods<a class="headerlink" href="#creation-methods" title="Permalink to this headline">¶</a></h3> +<p>Often when writing unit tests, you want to create an object that is a +completely normal instance of its type. You don’t want there to be anything +special about its properties, because you are testing generic behaviour rather +than specific conditions.</p> +<p>A lot of the time, test authors do this by making up silly strings and numbers +and passing them to constructors (e.g. 42, ‘foo’, “bar” etc), and that’s +fine. However, sometimes it’s useful to be able to create arbitrary objects +at will, without having to make up silly sample data.</p> +<p>To help with this, <code class="docutils literal"><span class="pre">testtools.TestCase</span></code> implements creation methods called +<code class="docutils literal"><span class="pre">getUniqueString</span></code> and <code class="docutils literal"><span class="pre">getUniqueInteger</span></code>. They return strings and +integers that are unique within the context of the test that can be used to +assemble more complex objects. Here’s a basic example where +<code class="docutils literal"><span class="pre">getUniqueString</span></code> is used instead of saying “foo” or “bar” or whatever:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">class</span> <span class="nc">SomeTest</span><span class="p">(</span><span class="n">TestCase</span><span class="p">):</span> + + <span class="k">def</span> <span class="nf">test_full_name</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">first_name</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">getUniqueString</span><span class="p">()</span> + <span class="n">last_name</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">getUniqueString</span><span class="p">()</span> + <span class="n">p</span> <span class="o">=</span> <span class="n">Person</span><span class="p">(</span><span class="n">first_name</span><span class="p">,</span> <span class="n">last_name</span><span class="p">)</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertEqual</span><span class="p">(</span><span class="n">p</span><span class="o">.</span><span class="n">full_name</span><span class="p">,</span> <span class="s">"</span><span class="si">%s</span><span class="s"> </span><span class="si">%s</span><span class="s">"</span> <span class="o">%</span> <span class="p">(</span><span class="n">first_name</span><span class="p">,</span> <span class="n">last_name</span><span class="p">))</span> +</pre></div> +</div> +<p>And here’s how it could be used to make a complicated test:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">class</span> <span class="nc">TestCoupleLogic</span><span class="p">(</span><span class="n">TestCase</span><span class="p">):</span> + + <span class="k">def</span> <span class="nf">make_arbitrary_person</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="k">return</span> <span class="n">Person</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">getUniqueString</span><span class="p">(),</span> <span class="bp">self</span><span class="o">.</span><span class="n">getUniqueString</span><span class="p">())</span> + + <span class="k">def</span> <span class="nf">test_get_invitation</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">a</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">make_arbitrary_person</span><span class="p">()</span> + <span class="n">b</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">make_arbitrary_person</span><span class="p">()</span> + <span class="n">couple</span> <span class="o">=</span> <span class="n">Couple</span><span class="p">(</span><span class="n">a</span><span class="p">,</span> <span class="n">b</span><span class="p">)</span> + <span class="n">event_name</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">getUniqueString</span><span class="p">()</span> + <span class="n">invitation</span> <span class="o">=</span> <span class="n">couple</span><span class="o">.</span><span class="n">get_invitation</span><span class="p">(</span><span class="n">event_name</span><span class="p">)</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertEqual</span><span class="p">(</span> + <span class="n">invitation</span><span class="p">,</span> + <span class="s">"We invite </span><span class="si">%s</span><span class="s"> and </span><span class="si">%s</span><span class="s"> to </span><span class="si">%s</span><span class="s">"</span> <span class="o">%</span> <span class="p">(</span> + <span class="n">a</span><span class="o">.</span><span class="n">full_name</span><span class="p">,</span> <span class="n">b</span><span class="o">.</span><span class="n">full_name</span><span class="p">,</span> <span class="n">event_name</span><span class="p">))</span> +</pre></div> +</div> +<p>Essentially, creation methods like these are a way of reducing the number of +assumptions in your tests and communicating to test readers that the exact +details of certain variables don’t actually matter.</p> +<p>See pages 419-423 of <a class="reference external" href="http://xunitpatterns.com/">xUnit Test Patterns</a> by Gerard Meszaros for a detailed +discussion of creation methods.</p> +</div> +<div class="section" id="test-attributes"> +<h3>Test attributes<a class="headerlink" href="#test-attributes" title="Permalink to this headline">¶</a></h3> +<p>Inspired by the <code class="docutils literal"><span class="pre">nosetests</span></code> <code class="docutils literal"><span class="pre">attr</span></code> plugin, testtools provides support for +marking up test methods with attributes, which are then exposed in the test +id and can be used when filtering tests by id. (e.g. via <code class="docutils literal"><span class="pre">--load-list</span></code>):</p> +<div class="highlight-python"><div class="highlight"><pre><span class="kn">from</span> <span class="nn">testtools.testcase</span> <span class="kn">import</span> <span class="n">attr</span><span class="p">,</span> <span class="n">WithAttributes</span> + +<span class="k">class</span> <span class="nc">AnnotatedTests</span><span class="p">(</span><span class="n">WithAttributes</span><span class="p">,</span> <span class="n">TestCase</span><span class="p">):</span> + + <span class="nd">@attr</span><span class="p">(</span><span class="s">'simple'</span><span class="p">)</span> + <span class="k">def</span> <span class="nf">test_one</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="k">pass</span> + + <span class="nd">@attr</span><span class="p">(</span><span class="s">'more'</span><span class="p">,</span> <span class="s">'than'</span><span class="p">,</span> <span class="s">'one'</span><span class="p">)</span> + <span class="k">def</span> <span class="nf">test_two</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="k">pass</span> + + <span class="nd">@attr</span><span class="p">(</span><span class="s">'or'</span><span class="p">)</span> + <span class="nd">@attr</span><span class="p">(</span><span class="s">'stacked'</span><span class="p">)</span> + <span class="k">def</span> <span class="nf">test_three</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="k">pass</span> +</pre></div> +</div> +</div> +</div> +<div class="section" id="general-helpers"> +<h2>General helpers<a class="headerlink" href="#general-helpers" title="Permalink to this headline">¶</a></h2> +<div class="section" id="conditional-imports"> +<h3>Conditional imports<a class="headerlink" href="#conditional-imports" title="Permalink to this headline">¶</a></h3> +<p>Lots of the time we would like to conditionally import modules. testtools +uses the small library extras to do this. This used to be part of testtools.</p> +<p>Instead of:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">try</span><span class="p">:</span> + <span class="kn">from</span> <span class="nn">twisted.internet</span> <span class="kn">import</span> <span class="n">defer</span> +<span class="k">except</span> <span class="ne">ImportError</span><span class="p">:</span> + <span class="n">defer</span> <span class="o">=</span> <span class="bp">None</span> +</pre></div> +</div> +<p>You can do:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="n">defer</span> <span class="o">=</span> <span class="n">try_import</span><span class="p">(</span><span class="s">'twisted.internet.defer'</span><span class="p">)</span> +</pre></div> +</div> +<p>Instead of:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">try</span><span class="p">:</span> + <span class="kn">from</span> <span class="nn">StringIO</span> <span class="kn">import</span> <span class="n">StringIO</span> +<span class="k">except</span> <span class="ne">ImportError</span><span class="p">:</span> + <span class="kn">from</span> <span class="nn">io</span> <span class="kn">import</span> <span class="n">StringIO</span> +</pre></div> +</div> +<p>You can do:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="n">StringIO</span> <span class="o">=</span> <span class="n">try_imports</span><span class="p">([</span><span class="s">'StringIO.StringIO'</span><span class="p">,</span> <span class="s">'io.StringIO'</span><span class="p">])</span> +</pre></div> +</div> +</div> +<div class="section" id="safe-attribute-testing"> +<h3>Safe attribute testing<a class="headerlink" href="#safe-attribute-testing" title="Permalink to this headline">¶</a></h3> +<p><code class="docutils literal"><span class="pre">hasattr</span></code> is <a class="reference external" href="http://chipaca.com/post/3210673069/hasattr-17-less-harmful">broken</a> on many versions of Python. The helper <code class="docutils literal"><span class="pre">safe_hasattr</span></code> +can be used to safely test whether an object has a particular attribute. Like +<code class="docutils literal"><span class="pre">try_import</span></code> this used to be in testtools but is now in extras.</p> +</div> +<div class="section" id="nullary-callables"> +<h3>Nullary callables<a class="headerlink" href="#nullary-callables" title="Permalink to this headline">¶</a></h3> +<p>Sometimes you want to be able to pass around a function with the arguments +already specified. The normal way of doing this in Python is:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="n">nullary</span> <span class="o">=</span> <span class="k">lambda</span><span class="p">:</span> <span class="n">f</span><span class="p">(</span><span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">)</span> +<span class="n">nullary</span><span class="p">()</span> +</pre></div> +</div> +<p>Which is mostly good enough, but loses a bit of debugging information. If you +take the <code class="docutils literal"><span class="pre">repr()</span></code> of <code class="docutils literal"><span class="pre">nullary</span></code>, you’re only told that it’s a lambda, and +you get none of the juicy meaning that you’d get from the <code class="docutils literal"><span class="pre">repr()</span></code> of <code class="docutils literal"><span class="pre">f</span></code>.</p> +<p>The solution is to use <code class="docutils literal"><span class="pre">Nullary</span></code> instead:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="n">nullary</span> <span class="o">=</span> <span class="n">Nullary</span><span class="p">(</span><span class="n">f</span><span class="p">,</span> <span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">)</span> +<span class="n">nullary</span><span class="p">()</span> +</pre></div> +</div> +<p>Here, <code class="docutils literal"><span class="pre">repr(nullary)</span></code> will be the same as <code class="docutils literal"><span class="pre">repr(f)</span></code>.</p> +</div> +</div> +</div> + + + </div> + </div> + </div> + <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> + <div class="sphinxsidebarwrapper"> + <h3><a href="index.html">Table Of Contents</a></h3> + <ul> +<li><a class="reference internal" href="#">testtools for test authors</a><ul> +<li><a class="reference internal" href="#introduction">Introduction</a></li> +<li><a class="reference internal" href="#the-basics">The basics</a><ul> +<li><a class="reference internal" href="#running-your-tests">Running your tests</a><ul> +<li><a class="reference internal" href="#running-test-with-distutils">Running test with Distutils</a></li> +</ul> +</li> +</ul> +</li> +<li><a class="reference internal" href="#assertions">Assertions</a><ul> +<li><a class="reference internal" href="#improved-assertraises">Improved assertRaises</a></li> +<li><a class="reference internal" href="#expectedexception">ExpectedException</a></li> +<li><a class="reference internal" href="#assertin-assertnotin">assertIn, assertNotIn</a></li> +<li><a class="reference internal" href="#assertis-assertisnot">assertIs, assertIsNot</a></li> +<li><a class="reference internal" href="#assertisinstance">assertIsInstance</a></li> +<li><a class="reference internal" href="#expectfailure">expectFailure</a></li> +</ul> +</li> +<li><a class="reference internal" href="#matchers">Matchers</a><ul> +<li><a class="reference internal" href="#using-matchers">Using Matchers</a></li> +<li><a class="reference internal" href="#assert-that-function"><code class="docutils literal"><span class="pre">assert_that</span></code> Function</a><ul> +<li><a class="reference internal" href="#delayed-assertions">Delayed Assertions</a></li> +</ul> +</li> +<li><a class="reference internal" href="#stock-matchers">Stock matchers</a><ul> +<li><a class="reference internal" href="#equals">Equals</a></li> +<li><a class="reference internal" href="#is">Is</a></li> +<li><a class="reference internal" href="#isinstance">IsInstance</a></li> +<li><a class="reference internal" href="#the-raises-helper">The raises helper</a></li> +<li><a class="reference internal" href="#doctestmatches">DocTestMatches</a></li> +<li><a class="reference internal" href="#greaterthan">GreaterThan</a></li> +<li><a class="reference internal" href="#lessthan">LessThan</a></li> +<li><a class="reference internal" href="#startswith-endswith">StartsWith, EndsWith</a></li> +<li><a class="reference internal" href="#contains">Contains</a></li> +<li><a class="reference internal" href="#matchesexception">MatchesException</a></li> +<li><a class="reference internal" href="#notequals">NotEquals</a></li> +<li><a class="reference internal" href="#keysequal">KeysEqual</a></li> +<li><a class="reference internal" href="#matchesregex">MatchesRegex</a></li> +<li><a class="reference internal" href="#haslength">HasLength</a></li> +</ul> +</li> +<li><a class="reference internal" href="#file-and-path-related-matchers">File- and path-related matchers</a><ul> +<li><a class="reference internal" href="#pathexists">PathExists</a></li> +<li><a class="reference internal" href="#direxists">DirExists</a></li> +<li><a class="reference internal" href="#fileexists">FileExists</a></li> +<li><a class="reference internal" href="#dircontains">DirContains</a></li> +<li><a class="reference internal" href="#filecontains">FileContains</a></li> +<li><a class="reference internal" href="#haspermissions">HasPermissions</a></li> +<li><a class="reference internal" href="#samepath">SamePath</a></li> +<li><a class="reference internal" href="#tarballcontains">TarballContains</a></li> +</ul> +</li> +<li><a class="reference internal" href="#combining-matchers">Combining matchers</a><ul> +<li><a class="reference internal" href="#not">Not</a></li> +<li><a class="reference internal" href="#annotate">Annotate</a></li> +<li><a class="reference internal" href="#afterpreprocessing">AfterPreprocessing</a></li> +<li><a class="reference internal" href="#matchesall">MatchesAll</a></li> +<li><a class="reference internal" href="#matchesany">MatchesAny</a></li> +<li><a class="reference internal" href="#allmatch">AllMatch</a></li> +<li><a class="reference internal" href="#matcheslistwise">MatchesListwise</a></li> +<li><a class="reference internal" href="#matchessetwise">MatchesSetwise</a></li> +<li><a class="reference internal" href="#matchesstructure">MatchesStructure</a></li> +<li><a class="reference internal" href="#matchespredicate">MatchesPredicate</a></li> +<li><a class="reference internal" href="#matchespredicatewithparams">MatchesPredicateWithParams</a></li> +<li><a class="reference internal" href="#raises">Raises</a></li> +</ul> +</li> +<li><a class="reference internal" href="#writing-your-own-matchers">Writing your own matchers</a></li> +</ul> +</li> +<li><a class="reference internal" href="#details">Details</a><ul> +<li><a class="reference internal" href="#content">Content</a></li> +<li><a class="reference internal" href="#a-realistic-example">A realistic example</a></li> +</ul> +</li> +<li><a class="reference internal" href="#controlling-test-execution">Controlling test execution</a><ul> +<li><a class="reference internal" href="#addcleanup">addCleanup</a></li> +<li><a class="reference internal" href="#fixtures">Fixtures</a></li> +<li><a class="reference internal" href="#skipping-tests">Skipping tests</a><ul> +<li><a class="reference internal" href="#legacy-skip-support">Legacy skip support</a></li> +</ul> +</li> +<li><a class="reference internal" href="#addonexception">addOnException</a></li> +<li><a class="reference internal" href="#twisted-support">Twisted support</a></li> +<li><a class="reference internal" href="#force-failure">force_failure</a></li> +</ul> +</li> +<li><a class="reference internal" href="#test-helpers">Test helpers</a><ul> +<li><a class="reference internal" href="#testcase-patch">TestCase.patch</a></li> +<li><a class="reference internal" href="#creation-methods">Creation methods</a></li> +<li><a class="reference internal" href="#test-attributes">Test attributes</a></li> +</ul> +</li> +<li><a class="reference internal" href="#general-helpers">General helpers</a><ul> +<li><a class="reference internal" href="#conditional-imports">Conditional imports</a></li> +<li><a class="reference internal" href="#safe-attribute-testing">Safe attribute testing</a></li> +<li><a class="reference internal" href="#nullary-callables">Nullary callables</a></li> +</ul> +</li> +</ul> +</li> +</ul> + + <h4>Previous topic</h4> + <p class="topless"><a href="overview.html" + title="previous chapter">testtools: tasteful testing for Python</a></p> + <h4>Next topic</h4> + <p class="topless"><a href="for-framework-folk.html" + title="next chapter">testtools for framework folk</a></p> + <div role="note" aria-label="source link"> + <h3>This Page</h3> + <ul class="this-page-menu"> + <li><a href="_sources/for-test-authors.txt" + rel="nofollow">Show Source</a></li> + </ul> + </div> +<div id="searchbox" style="display: none" role="search"> + <h3>Quick search</h3> + <form class="search" action="search.html" method="get"> + <input type="text" name="q" /> + <input type="submit" value="Go" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> + <p class="searchtip" style="font-size: 90%"> + Enter search terms or a module, class or function name. + </p> +</div> +<script type="text/javascript">$('#searchbox').show(0);</script> + </div> + </div> + <div class="clearer"></div> + </div> + <div class="related" role="navigation" aria-label="related navigation"> + <h3>Navigation</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="genindex.html" title="General Index" + >index</a></li> + <li class="right" > + <a href="py-modindex.html" title="Python Module Index" + >modules</a> |</li> + <li class="right" > + <a href="for-framework-folk.html" title="testtools for framework folk" + >next</a> |</li> + <li class="right" > + <a href="overview.html" title="testtools: tasteful testing for Python" + >previous</a> |</li> + <li class="nav-item nav-item-0"><a href="index.html">testtools VERSION documentation</a> »</li> + </ul> + </div> + <div class="footer" role="contentinfo"> + © Copyright 2010, The testtools authors. + Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1. + </div> + </body> +</html>
\ No newline at end of file diff --git a/genindex.html b/genindex.html new file mode 100644 index 0000000..51efa07 --- /dev/null +++ b/genindex.html @@ -0,0 +1,850 @@ + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + + +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + + <title>Index — testtools VERSION documentation</title> + + <link rel="stylesheet" href="_static/classic.css" type="text/css" /> + <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> + + <script type="text/javascript"> + var DOCUMENTATION_OPTIONS = { + URL_ROOT: './', + VERSION: 'VERSION', + COLLAPSE_INDEX: false, + FILE_SUFFIX: '.html', + HAS_SOURCE: true + }; + </script> + <script type="text/javascript" src="_static/jquery.js"></script> + <script type="text/javascript" src="_static/underscore.js"></script> + <script type="text/javascript" src="_static/doctools.js"></script> + <link rel="top" title="testtools VERSION documentation" href="index.html" /> + </head> + <body role="document"> + <div class="related" role="navigation" aria-label="related navigation"> + <h3>Navigation</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="#" title="General Index" + accesskey="I">index</a></li> + <li class="right" > + <a href="py-modindex.html" title="Python Module Index" + >modules</a> |</li> + <li class="nav-item nav-item-0"><a href="index.html">testtools VERSION documentation</a> »</li> + </ul> + </div> + + <div class="document"> + <div class="documentwrapper"> + <div class="bodywrapper"> + <div class="body" role="main"> + + +<h1 id="index">Index</h1> + +<div class="genindex-jumpbox"> + <a href="#A"><strong>A</strong></a> + | <a href="#B"><strong>B</strong></a> + | <a href="#C"><strong>C</strong></a> + | <a href="#D"><strong>D</strong></a> + | <a href="#E"><strong>E</strong></a> + | <a href="#F"><strong>F</strong></a> + | <a href="#G"><strong>G</strong></a> + | <a href="#H"><strong>H</strong></a> + | <a href="#I"><strong>I</strong></a> + | <a href="#K"><strong>K</strong></a> + | <a href="#L"><strong>L</strong></a> + | <a href="#M"><strong>M</strong></a> + | <a href="#N"><strong>N</strong></a> + | <a href="#O"><strong>O</strong></a> + | <a href="#P"><strong>P</strong></a> + | <a href="#R"><strong>R</strong></a> + | <a href="#S"><strong>S</strong></a> + | <a href="#T"><strong>T</strong></a> + | <a href="#U"><strong>U</strong></a> + | <a href="#W"><strong>W</strong></a> + +</div> +<h2 id="A">A</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.StreamResultRouter.add_rule">add_rule() (testtools.StreamResultRouter method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestCase.addCleanup">addCleanup() (testtools.TestCase method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestCase.addDetail">addDetail() (testtools.TestCase method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestCase.addDetailUniqueName">addDetailUniqueName() (testtools.TestCase method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestResult.addError">addError() (testtools.TestResult method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestResult.addExpectedFailure">addExpectedFailure() (testtools.TestResult method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestResult.addFailure">addFailure() (testtools.TestResult method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestCase.addOnException">addOnException() (testtools.TestCase method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestResult.addSkip">addSkip() (testtools.TestResult method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestResult.addSuccess">addSuccess() (testtools.TestResult method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestResult.addUnexpectedSuccess">addUnexpectedSuccess() (testtools.TestResult method)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.AfterPreprocessing">AfterPreprocessing (class in testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.AllMatch">AllMatch (class in testtools.matchers)</a> + </dt> + + </dl></td> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.matchers.Annotate">Annotate (class in testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.AnyMatch">AnyMatch (class in testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.TestCase.assertEqual">assertEqual() (testtools.TestCase method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestCase.assertEquals">assertEquals() (testtools.TestCase method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestCase.assertIn">assertIn() (testtools.TestCase method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestCase.assertIs">assertIs() (testtools.TestCase method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestCase.assertIsNone">assertIsNone() (testtools.TestCase method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestCase.assertIsNot">assertIsNot() (testtools.TestCase method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestCase.assertIsNotNone">assertIsNotNone() (testtools.TestCase method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestCase.assertNotIn">assertNotIn() (testtools.TestCase method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestCase.assertRaises">assertRaises() (testtools.TestCase method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestCase.assertThat">assertThat() (testtools.TestCase method)</a> + </dt> + + </dl></td> +</tr></table> + +<h2 id="B">B</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.matchers.MatchesStructure.byEquality">byEquality() (testtools.matchers.MatchesStructure class method)</a> + </dt> + + </dl></td> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.matchers.MatchesStructure.byMatcher">byMatcher() (testtools.matchers.MatchesStructure class method)</a> + </dt> + + </dl></td> +</tr></table> + +<h2 id="C">C</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.clone_test_with_new_id">clone_test_with_new_id() (in module testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.Equals.comparator">comparator() (testtools.matchers.Equals method)</a> + </dt> + + <dd><dl> + + <dt><a href="api.html#testtools.matchers.GreaterThan.comparator">(testtools.matchers.GreaterThan method)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.Is.comparator">(testtools.matchers.Is method)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.LessThan.comparator">(testtools.matchers.LessThan method)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.NotEquals.comparator">(testtools.matchers.NotEquals method)</a> + </dt> + + </dl></dd> + + <dt><a href="api.html#testtools.ConcurrentStreamTestSuite">ConcurrentStreamTestSuite (class in testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.ConcurrentTestSuite">ConcurrentTestSuite (class in testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.ContainedByDict">ContainedByDict (class in testtools.matchers)</a> + </dt> + + </dl></td> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.matchers.Contains">Contains (class in testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.ContainsAll">ContainsAll() (in module testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.ContainsDict">ContainsDict (class in testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.CopyStreamResult">CopyStreamResult (class in testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.ExtendedToStreamDecorator.current_tags">current_tags (testtools.ExtendedToStreamDecorator attribute)</a> + </dt> + + <dd><dl> + + <dt><a href="api.html#testtools.TestResult.current_tags">(testtools.TestResult attribute)</a> + </dt> + + </dl></dd> + </dl></td> +</tr></table> + +<h2 id="D">D</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.DecorateTestCaseResult">DecorateTestCaseResult (class in testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.DirContains">DirContains (class in testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.DirExists">DirExists() (in module testtools.matchers)</a> + </dt> + + </dl></td> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.matchers.DocTestMatches">DocTestMatches (class in testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.TestResult.done">done() (testtools.TestResult method)</a> + </dt> + + </dl></td> +</tr></table> + +<h2 id="E">E</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.matchers.EndsWith">EndsWith (class in testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.Equals">Equals (class in testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.ErrorHolder">ErrorHolder() (in module testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.ExpectedException">ExpectedException (class in testtools)</a> + </dt> + + </dl></td> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.TestCase.expectFailure">expectFailure() (testtools.TestCase method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestCase.expectThat">expectThat() (testtools.TestCase method)</a> + </dt> + + + <dt><a href="api.html#testtools.ExtendedToOriginalDecorator">ExtendedToOriginalDecorator (class in testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.ExtendedToStreamDecorator">ExtendedToStreamDecorator (class in testtools)</a> + </dt> + + </dl></td> +</tr></table> + +<h2 id="F">F</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.TestCase.failUnlessEqual">failUnlessEqual() (testtools.TestCase method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestCase.failUnlessRaises">failUnlessRaises() (testtools.TestCase method)</a> + </dt> + + </dl></td> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.matchers.FileContains">FileContains (class in testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.FileExists">FileExists() (in module testtools.matchers)</a> + </dt> + + </dl></td> +</tr></table> + +<h2 id="G">G</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.TestCase.getDetails">getDetails() (testtools.TestCase method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestCase.getUniqueInteger">getUniqueInteger() (testtools.TestCase method)</a> + </dt> + + </dl></td> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.TestCase.getUniqueString">getUniqueString() (testtools.TestCase method)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.GreaterThan">GreaterThan (class in testtools.matchers)</a> + </dt> + + </dl></td> +</tr></table> + +<h2 id="H">H</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.matchers.HasPermissions">HasPermissions (class in testtools.matchers)</a> + </dt> + + </dl></td> +</tr></table> + +<h2 id="I">I</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.matchers.Annotate.if_message">if_message() (testtools.matchers.Annotate class method)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.Is">Is (class in testtools.matchers)</a> + </dt> + + </dl></td> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.matchers.IsInstance">IsInstance (class in testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.iterate_tests">iterate_tests() (in module testtools)</a> + </dt> + + </dl></td> +</tr></table> + +<h2 id="K">K</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.matchers.KeysEqual">KeysEqual (class in testtools.matchers)</a> + </dt> + + </dl></td> +</tr></table> + +<h2 id="L">L</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.matchers.LessThan">LessThan (class in testtools.matchers)</a> + </dt> + + </dl></td> +</tr></table> + +<h2 id="M">M</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.matchers.MatchesAll">MatchesAll (class in testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.MatchesAny">MatchesAny (class in testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.MatchesDict">MatchesDict (class in testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.MatchesException">MatchesException (class in testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.MatchesListwise">MatchesListwise (class in testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.MatchesPredicate">MatchesPredicate (class in testtools.matchers)</a> + </dt> + + </dl></td> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.matchers.MatchesPredicateWithParams">MatchesPredicateWithParams() (in module testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.MatchesRegex">MatchesRegex (class in testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.MatchesSetwise">MatchesSetwise (class in testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.MatchesStructure">MatchesStructure (class in testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.MultipleExceptions">MultipleExceptions</a> + </dt> + + + <dt><a href="api.html#testtools.MultiTestResult">MultiTestResult (class in testtools)</a> + </dt> + + </dl></td> +</tr></table> + +<h2 id="N">N</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.matchers.Not">Not (class in testtools.matchers)</a> + </dt> + + </dl></td> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.matchers.NotEquals">NotEquals (class in testtools.matchers)</a> + </dt> + + </dl></td> +</tr></table> + +<h2 id="O">O</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.TestCase.onException">onException() (testtools.TestCase method)</a> + </dt> + + </dl></td> +</tr></table> + +<h2 id="P">P</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.TestCase.patch">patch() (testtools.TestCase method)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.PathExists">PathExists() (in module testtools.matchers)</a> + </dt> + + </dl></td> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.PlaceHolder">PlaceHolder (class in testtools)</a> + </dt> + + </dl></td> +</tr></table> + +<h2 id="R">R</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.matchers.Raises">Raises (class in testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.raises">raises() (in module testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.StreamToQueue.route_code">route_code() (testtools.StreamToQueue method)</a> + </dt> + + + <dt><a href="api.html#testtools.ConcurrentStreamTestSuite.run">run() (testtools.ConcurrentStreamTestSuite method)</a> + </dt> + + <dd><dl> + + <dt><a href="api.html#testtools.ConcurrentTestSuite.run">(testtools.ConcurrentTestSuite method)</a> + </dt> + + + <dt><a href="api.html#testtools.RunTest.run">(testtools.RunTest method)</a> + </dt> + + </dl></dd> + </dl></td> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.run_test_with">run_test_with() (in module testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.TestCase.run_tests_with">run_tests_with (testtools.TestCase attribute)</a> + </dt> + + + <dt><a href="api.html#testtools.RunTest">RunTest (class in testtools)</a> + </dt> + + </dl></td> +</tr></table> + +<h2 id="S">S</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.matchers.SamePath">SamePath (class in testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.skip">skip() (in module testtools)</a> + </dt> + + <dd><dl> + + <dt><a href="api.html#testtools.TestCase.skip">(testtools.TestCase method)</a> + </dt> + + </dl></dd> + + <dt><a href="api.html#testtools.TestCase.skipException">skipException (testtools.TestCase attribute)</a> + </dt> + + + <dt><a href="api.html#testtools.skipIf">skipIf() (in module testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.TestCase.skipTest">skipTest() (testtools.TestCase method)</a> + </dt> + + + <dt><a href="api.html#testtools.skipUnless">skipUnless() (in module testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.matchers.StartsWith">StartsWith (class in testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.StreamResult.startTestRun">startTestRun() (testtools.StreamResult method)</a> + </dt> + + <dd><dl> + + <dt><a href="api.html#testtools.TestResult.startTestRun">(testtools.TestResult method)</a> + </dt> + + </dl></dd> + + <dt><a href="api.html#testtools.StreamResult.status">status() (testtools.StreamResult method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestControl.stop">stop() (testtools.TestControl method)</a> + </dt> + + </dl></td> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.StreamResult.stopTestRun">stopTestRun() (testtools.StreamResult method)</a> + </dt> + + <dd><dl> + + <dt><a href="api.html#testtools.TestResult.stopTestRun">(testtools.TestResult method)</a> + </dt> + + </dl></dd> + + <dt><a href="api.html#testtools.StreamFailFast">StreamFailFast (class in testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.StreamResult">StreamResult (class in testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.StreamResultRouter">StreamResultRouter (class in testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.StreamSummary">StreamSummary (class in testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.StreamTagger">StreamTagger (class in testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.StreamToDict">StreamToDict (class in testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.StreamToExtendedDecorator">StreamToExtendedDecorator (class in testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.StreamToQueue">StreamToQueue (class in testtools)</a> + </dt> + + </dl></td> +</tr></table> + +<h2 id="T">T</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.Tagger">Tagger (class in testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.ExtendedToStreamDecorator.tags">tags() (testtools.ExtendedToStreamDecorator method)</a> + </dt> + + <dd><dl> + + <dt><a href="api.html#testtools.TestResult.tags">(testtools.TestResult method)</a> + </dt> + + + <dt><a href="api.html#testtools.ThreadsafeForwardingResult.tags">(testtools.ThreadsafeForwardingResult method)</a> + </dt> + + </dl></dd> + + <dt><a href="api.html#testtools.matchers.TarballContains">TarballContains (class in testtools.matchers)</a> + </dt> + + + <dt><a href="api.html#testtools.TestByTestResult">TestByTestResult (class in testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.TestCase">TestCase (class in testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.TestCommand">TestCommand (class in testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.TestControl">TestControl (class in testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.TestResult">TestResult (class in testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.TestResultDecorator">TestResultDecorator (class in testtools)</a> + </dt> + + </dl></td> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#module-testtools">testtools (module)</a> + </dt> + + + <dt><a href="api.html#module-testtools.matchers">testtools.matchers (module)</a> + </dt> + + + <dt><a href="api.html#testtools.TextTestResult">TextTestResult (class in testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.ThreadsafeForwardingResult">ThreadsafeForwardingResult (class in testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.TestResult.time">time() (testtools.TestResult method)</a> + </dt> + + + <dt><a href="api.html#testtools.TimestampingStreamResult">TimestampingStreamResult (class in testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.try_import">try_import() (in module testtools)</a> + </dt> + + + <dt><a href="api.html#testtools.try_imports">try_imports() (in module testtools)</a> + </dt> + + </dl></td> +</tr></table> + +<h2 id="U">U</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.TestCase.useFixture">useFixture() (testtools.TestCase method)</a> + </dt> + + </dl></td> +</tr></table> + +<h2 id="W">W</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="api.html#testtools.MultiTestResult.wasSuccessful">wasSuccessful() (testtools.MultiTestResult method)</a> + </dt> + + <dd><dl> + + <dt><a href="api.html#testtools.StreamSummary.wasSuccessful">(testtools.StreamSummary method)</a> + </dt> + + + <dt><a href="api.html#testtools.TestResult.wasSuccessful">(testtools.TestResult method)</a> + </dt> + + </dl></dd> + </dl></td> +</tr></table> + + + + </div> + </div> + </div> + <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> + <div class="sphinxsidebarwrapper"> + + + +<div id="searchbox" style="display: none" role="search"> + <h3>Quick search</h3> + <form class="search" action="search.html" method="get"> + <input type="text" name="q" /> + <input type="submit" value="Go" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> + <p class="searchtip" style="font-size: 90%"> + Enter search terms or a module, class or function name. + </p> +</div> +<script type="text/javascript">$('#searchbox').show(0);</script> + </div> + </div> + <div class="clearer"></div> + </div> + <div class="related" role="navigation" aria-label="related navigation"> + <h3>Navigation</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="#" title="General Index" + >index</a></li> + <li class="right" > + <a href="py-modindex.html" title="Python Module Index" + >modules</a> |</li> + <li class="nav-item nav-item-0"><a href="index.html">testtools VERSION documentation</a> »</li> + </ul> + </div> + <div class="footer" role="contentinfo"> + © Copyright 2010, The testtools authors. + Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1. + </div> + </body> +</html>
\ No newline at end of file diff --git a/hacking.html b/hacking.html new file mode 100644 index 0000000..80be8d4 --- /dev/null +++ b/hacking.html @@ -0,0 +1,301 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + + +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + + <title>Contributing to testtools — testtools VERSION documentation</title> + + <link rel="stylesheet" href="_static/classic.css" type="text/css" /> + <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> + + <script type="text/javascript"> + var DOCUMENTATION_OPTIONS = { + URL_ROOT: './', + VERSION: 'VERSION', + COLLAPSE_INDEX: false, + FILE_SUFFIX: '.html', + HAS_SOURCE: true + }; + </script> + <script type="text/javascript" src="_static/jquery.js"></script> + <script type="text/javascript" src="_static/underscore.js"></script> + <script type="text/javascript" src="_static/doctools.js"></script> + <link rel="top" title="testtools VERSION documentation" href="index.html" /> + <link rel="next" title="testtools NEWS" href="news.html" /> + <link rel="prev" title="testtools for framework folk" href="for-framework-folk.html" /> + </head> + <body role="document"> + <div class="related" role="navigation" aria-label="related navigation"> + <h3>Navigation</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="genindex.html" title="General Index" + accesskey="I">index</a></li> + <li class="right" > + <a href="py-modindex.html" title="Python Module Index" + >modules</a> |</li> + <li class="right" > + <a href="news.html" title="testtools NEWS" + accesskey="N">next</a> |</li> + <li class="right" > + <a href="for-framework-folk.html" title="testtools for framework folk" + accesskey="P">previous</a> |</li> + <li class="nav-item nav-item-0"><a href="index.html">testtools VERSION documentation</a> »</li> + </ul> + </div> + + <div class="document"> + <div class="documentwrapper"> + <div class="bodywrapper"> + <div class="body" role="main"> + + <div class="section" id="contributing-to-testtools"> +<h1>Contributing to testtools<a class="headerlink" href="#contributing-to-testtools" title="Permalink to this headline">¶</a></h1> +<div class="section" id="getting-the-code"> +<h2>Getting the code<a class="headerlink" href="#getting-the-code" title="Permalink to this headline">¶</a></h2> +<p>Clone from <cite>github <https://github.com/testing-cabal/testools/></cite>. +Install for development:</p> +<div class="highlight-python"><div class="highlight"><pre>pip install -e .[dev,test] +</pre></div> +</div> +</div> +<div class="section" id="bugs-and-patches"> +<h2>Bugs and patches<a class="headerlink" href="#bugs-and-patches" title="Permalink to this headline">¶</a></h2> +<p><cite>File bugs <https://bugs.launchpad.net/testtools/+filebug></cite> on Launchpad, and +<cite>send patches <https://github.com/testing-cabal/testtools/></cite> on Github.</p> +</div> +<div class="section" id="coding-style"> +<h2>Coding style<a class="headerlink" href="#coding-style" title="Permalink to this headline">¶</a></h2> +<p>In general, follow <a class="reference external" href="http://www.python.org/dev/peps/pep-0008/">PEP 8</a> except where consistency with the standard +library’s <a class="reference external" href="http://docs.python.org/library/unittest.html">unittest</a> module would suggest otherwise.</p> +<p>testtools currently supports Python 2.6 and later, including Python 3.</p> +</div> +<div class="section" id="copyright-assignment"> +<h2>Copyright assignment<a class="headerlink" href="#copyright-assignment" title="Permalink to this headline">¶</a></h2> +<p>Part of testtools raison d’etre is to provide Python with improvements to the +testing code it ships. For that reason we require all contributions (that are +non-trivial) to meet one of the following rules:</p> +<ul class="simple"> +<li>be inapplicable for inclusion in Python.</li> +<li>be able to be included in Python without further contact with the contributor.</li> +<li>be copyright assigned to Jonathan M. Lange.</li> +</ul> +<p>Please pick one of these and specify it when contributing code to testtools.</p> +</div> +<div class="section" id="licensing"> +<h2>Licensing<a class="headerlink" href="#licensing" title="Permalink to this headline">¶</a></h2> +<p>All code that is not copyright assigned to Jonathan M. Lange (see Copyright +Assignment above) needs to be licensed under the <a class="reference external" href="http://www.opensource.org/licenses/mit-license.php">MIT license</a> that testtools +uses, so that testtools can ship it.</p> +</div> +<div class="section" id="testing"> +<h2>Testing<a class="headerlink" href="#testing" title="Permalink to this headline">¶</a></h2> +<p>Please write tests for every feature. This project ought to be a model +example of well-tested Python code!</p> +<p>Take particular care to make sure the <em>intent</em> of each test is clear.</p> +<p>You can run tests with <code class="docutils literal"><span class="pre">make</span> <span class="pre">check</span></code>.</p> +<p>By default, testtools hides many levels of its own stack when running tests. +This is for the convenience of users, who do not care about how, say, assert +methods are implemented. However, when writing tests for testtools itself, it +is often useful to see all levels of the stack. To do this, add +<code class="docutils literal"><span class="pre">run_tests_with</span> <span class="pre">=</span> <span class="pre">FullStackRunTest</span></code> to the top of a test’s class definition.</p> +<p>To install all the test dependencies, install the <code class="docutils literal"><span class="pre">test</span></code> extra:</p> +<div class="highlight-python"><div class="highlight"><pre>pip install e .[test] +</pre></div> +</div> +</div> +<div class="section" id="discussion"> +<h2>Discussion<a class="headerlink" href="#discussion" title="Permalink to this headline">¶</a></h2> +<p>When submitting a patch, it will help the review process a lot if there’s a +clear explanation of what the change does and why you think the change is a +good idea. For crasher bugs, this is generally a no-brainer, but for UI bugs +& API tweaks, the reason something is an improvement might not be obvious, so +it’s worth spelling out.</p> +<p>If you are thinking of implementing a new feature, you might want to have that +discussion on the [mailing list](<a class="reference external" href="mailto:testtools-dev%40lists.launchpad.net">testtools-dev<span>@</span>lists<span>.</span>launchpad<span>.</span>net</a>) before the +patch goes up for review. This is not at all mandatory, but getting feedback +early can help avoid dead ends.</p> +</div> +<div class="section" id="documentation"> +<h2>Documentation<a class="headerlink" href="#documentation" title="Permalink to this headline">¶</a></h2> +<p>Documents are written using the <a class="reference external" href="http://sphinx.pocoo.org/">Sphinx</a> variant of <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a>. All +public methods, functions, classes and modules must have API documentation. +When changing code, be sure to check the API documentation to see if it could +be improved. Before submitting changes to trunk, look over them and see if +the manuals ought to be updated.</p> +</div> +<div class="section" id="source-layout"> +<h2>Source layout<a class="headerlink" href="#source-layout" title="Permalink to this headline">¶</a></h2> +<p>The top-level directory contains the <code class="docutils literal"><span class="pre">testtools/</span></code> package directory, and +miscellaneous files like <code class="docutils literal"><span class="pre">README.rst</span></code> and <code class="docutils literal"><span class="pre">setup.py</span></code>.</p> +<p>The <code class="docutils literal"><span class="pre">testtools/</span></code> directory is the Python package itself. It is separated +into submodules for internal clarity, but all public APIs should be “promoted” +into the top-level package by importing them in <code class="docutils literal"><span class="pre">testtools/__init__.py</span></code>. +Users of testtools should never import a submodule in order to use a stable +API. Unstable APIs like <code class="docutils literal"><span class="pre">testtools.matchers</span></code> and +<code class="docutils literal"><span class="pre">testtools.deferredruntest</span></code> should be exported as submodules.</p> +<p>Tests belong in <code class="docutils literal"><span class="pre">testtools/tests/</span></code>.</p> +</div> +<div class="section" id="committing-to-trunk"> +<h2>Committing to trunk<a class="headerlink" href="#committing-to-trunk" title="Permalink to this headline">¶</a></h2> +<p>Testtools is maintained using git, with its master repo at +<a class="reference external" href="https://github.com/testing-cabal/testtools">https://github.com/testing-cabal/testtools</a>. This gives every contributor the +ability to commit their work to their own branches. However permission must be +granted to allow contributors to commit to the trunk branch.</p> +<p>Commit access to trunk is obtained by joining the <a class="reference external" href="https://github.com/organizations/testing-cabal/">testing-cabal</a>, either as an +Owner or a Committer. Commit access is contingent on obeying the testtools +contribution policy, see <a class="reference internal" href="#copyright-assignment">Copyright Assignment</a> above.</p> +</div> +<div class="section" id="code-review"> +<h2>Code Review<a class="headerlink" href="#code-review" title="Permalink to this headline">¶</a></h2> +<p>All code must be reviewed before landing on trunk. The process is to create a +branch on Github, and make a pull request into trunk. It will then be reviewed +before it can be merged to trunk. It will be reviewed by someone:</p> +<ul class="simple"> +<li>not the author</li> +<li>a committer</li> +</ul> +<p>As a special exception, since there are few testtools committers and thus +reviews are prone to blocking, a pull request from a committer that has not been +reviewed after 24 hours may be merged by that committer. When the team is larger +this policy will be revisited.</p> +<p>Code reviewers should look for the quality of what is being submitted, +including conformance with this HACKING file.</p> +<p>Changes which all users should be made aware of should be documented in NEWS.</p> +<p>We are now in full backwards compatibility mode - no more releases < 1.0.0, and +breaking compatibility will require consensus on the testtools-dev mailing list. +Exactly what constitutes a backwards incompatible change is vague, but coarsely:</p> +<ul class="simple"> +<li>adding required arguments or required calls to something that used to work</li> +<li>removing keyword or position arguments, removing methods, functions or modules</li> +<li>changing behaviour someone may have reasonably depended on</li> +</ul> +<p>Some things are not compatibility issues:</p> +<ul class="simple"> +<li>changes to _ prefixed methods, functions, modules, packages.</li> +</ul> +</div> +<div class="section" id="news-management"> +<h2>NEWS management<a class="headerlink" href="#news-management" title="Permalink to this headline">¶</a></h2> +<p>The file NEWS is structured as a sorted list of releases. Each release can have +a free form description and more or more sections with bullet point items. +Sections in use today are ‘Improvements’ and ‘Changes’. To ease merging between +branches, the bullet points are kept alphabetically sorted. The release NEXT is +permanently present at the top of the list.</p> +</div> +<div class="section" id="releasing"> +<h2>Releasing<a class="headerlink" href="#releasing" title="Permalink to this headline">¶</a></h2> +<div class="section" id="prerequisites"> +<h3>Prerequisites<a class="headerlink" href="#prerequisites" title="Permalink to this headline">¶</a></h3> +<p>Membership in the testing-cabal org on github as committer.</p> +<p>Membership in the pypi testtools project as maintainer.</p> +<p>Membership in the <a class="reference external" href="https://launchpad.net/~testtools-committers">https://launchpad.net/~testtools-committers</a>.</p> +</div> +<div class="section" id="tasks"> +<h3>Tasks<a class="headerlink" href="#tasks" title="Permalink to this headline">¶</a></h3> +<ol class="arabic simple"> +<li>Choose a version number, say X.Y.Z</li> +<li>Under NEXT in NEWS add a heading with the version number X.Y.Z.</li> +<li>Possibly write a blurb into NEWS.</li> +<li>Commit the changes.</li> +<li>Tag the release, <code class="docutils literal"><span class="pre">git</span> <span class="pre">tag</span> <span class="pre">-s</span> <span class="pre">X.Y.Z</span> <span class="pre">-m</span> <span class="pre">"Releasing</span> <span class="pre">X.Y.Z"</span></code></li> +<li>Run ‘make release’, this: +#. Creates a source distribution and uploads to PyPI +#. Ensures all Fix Committed bugs are in the release milestone +#. Makes a release on Launchpad and uploads the tarball +#. Marks all the Fix Committed bugs as Fix Released +#. Creates a new milestone</li> +<li>If a new series has been created (e.g. 0.10.0), make the series on Launchpad.</li> +<li>Push trunk to Github, <code class="docutils literal"><span class="pre">git</span> <span class="pre">push</span> <span class="pre">--tags</span> <span class="pre">origin</span> <span class="pre">master</span></code></li> +</ol> +</div> +</div> +</div> + + + </div> + </div> + </div> + <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> + <div class="sphinxsidebarwrapper"> + <h3><a href="index.html">Table Of Contents</a></h3> + <ul> +<li><a class="reference internal" href="#">Contributing to testtools</a><ul> +<li><a class="reference internal" href="#getting-the-code">Getting the code</a></li> +<li><a class="reference internal" href="#bugs-and-patches">Bugs and patches</a></li> +<li><a class="reference internal" href="#coding-style">Coding style</a></li> +<li><a class="reference internal" href="#copyright-assignment">Copyright assignment</a></li> +<li><a class="reference internal" href="#licensing">Licensing</a></li> +<li><a class="reference internal" href="#testing">Testing</a></li> +<li><a class="reference internal" href="#discussion">Discussion</a></li> +<li><a class="reference internal" href="#documentation">Documentation</a></li> +<li><a class="reference internal" href="#source-layout">Source layout</a></li> +<li><a class="reference internal" href="#committing-to-trunk">Committing to trunk</a></li> +<li><a class="reference internal" href="#code-review">Code Review</a></li> +<li><a class="reference internal" href="#news-management">NEWS management</a></li> +<li><a class="reference internal" href="#releasing">Releasing</a><ul> +<li><a class="reference internal" href="#prerequisites">Prerequisites</a></li> +<li><a class="reference internal" href="#tasks">Tasks</a></li> +</ul> +</li> +</ul> +</li> +</ul> + + <h4>Previous topic</h4> + <p class="topless"><a href="for-framework-folk.html" + title="previous chapter">testtools for framework folk</a></p> + <h4>Next topic</h4> + <p class="topless"><a href="news.html" + title="next chapter">testtools NEWS</a></p> + <div role="note" aria-label="source link"> + <h3>This Page</h3> + <ul class="this-page-menu"> + <li><a href="_sources/hacking.txt" + rel="nofollow">Show Source</a></li> + </ul> + </div> +<div id="searchbox" style="display: none" role="search"> + <h3>Quick search</h3> + <form class="search" action="search.html" method="get"> + <input type="text" name="q" /> + <input type="submit" value="Go" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> + <p class="searchtip" style="font-size: 90%"> + Enter search terms or a module, class or function name. + </p> +</div> +<script type="text/javascript">$('#searchbox').show(0);</script> + </div> + </div> + <div class="clearer"></div> + </div> + <div class="related" role="navigation" aria-label="related navigation"> + <h3>Navigation</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="genindex.html" title="General Index" + >index</a></li> + <li class="right" > + <a href="py-modindex.html" title="Python Module Index" + >modules</a> |</li> + <li class="right" > + <a href="news.html" title="testtools NEWS" + >next</a> |</li> + <li class="right" > + <a href="for-framework-folk.html" title="testtools for framework folk" + >previous</a> |</li> + <li class="nav-item nav-item-0"><a href="index.html">testtools VERSION documentation</a> »</li> + </ul> + </div> + <div class="footer" role="contentinfo"> + © Copyright 2010, The testtools authors. + Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1. + </div> + </body> +</html>
\ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..0d7d304 --- /dev/null +++ b/index.html @@ -0,0 +1,140 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + + +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + + <title>testtools: tasteful testing for Python — testtools VERSION documentation</title> + + <link rel="stylesheet" href="_static/classic.css" type="text/css" /> + <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> + + <script type="text/javascript"> + var DOCUMENTATION_OPTIONS = { + URL_ROOT: './', + VERSION: 'VERSION', + COLLAPSE_INDEX: false, + FILE_SUFFIX: '.html', + HAS_SOURCE: true + }; + </script> + <script type="text/javascript" src="_static/jquery.js"></script> + <script type="text/javascript" src="_static/underscore.js"></script> + <script type="text/javascript" src="_static/doctools.js"></script> + <link rel="top" title="testtools VERSION documentation" href="#" /> + <link rel="next" title="testtools: tasteful testing for Python" href="overview.html" /> + </head> + <body role="document"> + <div class="related" role="navigation" aria-label="related navigation"> + <h3>Navigation</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="genindex.html" title="General Index" + accesskey="I">index</a></li> + <li class="right" > + <a href="py-modindex.html" title="Python Module Index" + >modules</a> |</li> + <li class="right" > + <a href="overview.html" title="testtools: tasteful testing for Python" + accesskey="N">next</a> |</li> + <li class="nav-item nav-item-0"><a href="#">testtools VERSION documentation</a> »</li> + </ul> + </div> + + <div class="document"> + <div class="documentwrapper"> + <div class="bodywrapper"> + <div class="body" role="main"> + + <div class="section" id="testtools-tasteful-testing-for-python"> +<h1>testtools: tasteful testing for Python<a class="headerlink" href="#testtools-tasteful-testing-for-python" title="Permalink to this headline">¶</a></h1> +<p>testtools is a set of extensions to the Python standard library’s unit testing +framework. These extensions have been derived from many years of experience +with unit testing in Python and come from many different sources. testtools +also ports recent unittest changes all the way back to Python 2.4. The next +release of testtools will change that to support versions that are maintained +by the Python community instead, to allow the use of modern language features +within testtools.</p> +<p>Contents:</p> +<div class="toctree-wrapper compound"> +<ul> +<li class="toctree-l1"><a class="reference internal" href="overview.html">testtools: tasteful testing for Python</a></li> +<li class="toctree-l1"><a class="reference internal" href="for-test-authors.html">testtools for test authors</a></li> +<li class="toctree-l1"><a class="reference internal" href="for-framework-folk.html">testtools for framework folk</a></li> +<li class="toctree-l1"><a class="reference internal" href="hacking.html">Contributing to testtools</a></li> +<li class="toctree-l1"><a class="reference internal" href="news.html">Changes to testtools</a></li> +<li class="toctree-l1"><a class="reference internal" href="api.html">API reference documentation</a></li> +</ul> +</div> +</div> +<div class="section" id="indices-and-tables"> +<h1>Indices and tables<a class="headerlink" href="#indices-and-tables" title="Permalink to this headline">¶</a></h1> +<ul class="simple"> +<li><a class="reference internal" href="genindex.html"><span>Index</span></a></li> +<li><a class="reference internal" href="py-modindex.html"><span>Module Index</span></a></li> +<li><a class="reference internal" href="search.html"><span>Search Page</span></a></li> +</ul> +</div> + + + </div> + </div> + </div> + <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> + <div class="sphinxsidebarwrapper"> + <h3><a href="#">Table Of Contents</a></h3> + <ul> +<li><a class="reference internal" href="#">testtools: tasteful testing for Python</a></li> +<li><a class="reference internal" href="#indices-and-tables">Indices and tables</a></li> +</ul> + + <h4>Next topic</h4> + <p class="topless"><a href="overview.html" + title="next chapter">testtools: tasteful testing for Python</a></p> + <div role="note" aria-label="source link"> + <h3>This Page</h3> + <ul class="this-page-menu"> + <li><a href="_sources/index.txt" + rel="nofollow">Show Source</a></li> + </ul> + </div> +<div id="searchbox" style="display: none" role="search"> + <h3>Quick search</h3> + <form class="search" action="search.html" method="get"> + <input type="text" name="q" /> + <input type="submit" value="Go" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> + <p class="searchtip" style="font-size: 90%"> + Enter search terms or a module, class or function name. + </p> +</div> +<script type="text/javascript">$('#searchbox').show(0);</script> + </div> + </div> + <div class="clearer"></div> + </div> + <div class="related" role="navigation" aria-label="related navigation"> + <h3>Navigation</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="genindex.html" title="General Index" + >index</a></li> + <li class="right" > + <a href="py-modindex.html" title="Python Module Index" + >modules</a> |</li> + <li class="right" > + <a href="overview.html" title="testtools: tasteful testing for Python" + >next</a> |</li> + <li class="nav-item nav-item-0"><a href="#">testtools VERSION documentation</a> »</li> + </ul> + </div> + <div class="footer" role="contentinfo"> + © Copyright 2010, The testtools authors. + Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1. + </div> + </body> +</html>
\ No newline at end of file diff --git a/news.html b/news.html new file mode 100644 index 0000000..ee6510a --- /dev/null +++ b/news.html @@ -0,0 +1,1683 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + + +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + + <title>testtools NEWS — testtools VERSION documentation</title> + + <link rel="stylesheet" href="_static/classic.css" type="text/css" /> + <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> + + <script type="text/javascript"> + var DOCUMENTATION_OPTIONS = { + URL_ROOT: './', + VERSION: 'VERSION', + COLLAPSE_INDEX: false, + FILE_SUFFIX: '.html', + HAS_SOURCE: true + }; + </script> + <script type="text/javascript" src="_static/jquery.js"></script> + <script type="text/javascript" src="_static/underscore.js"></script> + <script type="text/javascript" src="_static/doctools.js"></script> + <link rel="top" title="testtools VERSION documentation" href="index.html" /> + <link rel="next" title="testtools API documentation" href="api.html" /> + <link rel="prev" title="Contributing to testtools" href="hacking.html" /> + </head> + <body role="document"> + <div class="related" role="navigation" aria-label="related navigation"> + <h3>Navigation</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="genindex.html" title="General Index" + accesskey="I">index</a></li> + <li class="right" > + <a href="py-modindex.html" title="Python Module Index" + >modules</a> |</li> + <li class="right" > + <a href="api.html" title="testtools API documentation" + accesskey="N">next</a> |</li> + <li class="right" > + <a href="hacking.html" title="Contributing to testtools" + accesskey="P">previous</a> |</li> + <li class="nav-item nav-item-0"><a href="index.html">testtools VERSION documentation</a> »</li> + </ul> + </div> + + <div class="document"> + <div class="documentwrapper"> + <div class="bodywrapper"> + <div class="body" role="main"> + + <div class="section" id="testtools-news"> +<h1>testtools NEWS<a class="headerlink" href="#testtools-news" title="Permalink to this headline">¶</a></h1> +<p>Changes and improvements to <a class="reference external" href="http://pypi.python.org/pypi/testtools">testtools</a>, grouped by release.</p> +<div class="section" id="next"> +<h2>NEXT<a class="headerlink" href="#next" title="Permalink to this headline">¶</a></h2> +</div> +<div class="section" id="id1"> +<h2>1.8.0<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2> +<div class="section" id="improvements"> +<h3>Improvements<a class="headerlink" href="#improvements" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>AsynchronousDeferredRunTest now correctly attaches the test log. +Previously it attached an empty file. (Colin Watson)</li> +</ul> +</div> +</div> +<div class="section" id="id2"> +<h2>1.7.1<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2> +<div class="section" id="id3"> +<h3>Improvements<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Building a wheel on Python 3 was missing <code class="docutils literal"><span class="pre">_compat2x.py</span></code> needed for Python2. +This was a side effect of the fix to bug #941958, where we fixed a cosmetic +error. (Robert Collins, #1430534)</li> +<li>During reporting in <code class="docutils literal"><span class="pre">TextTestResult</span></code> now always uses <code class="docutils literal"><span class="pre">ceil</span></code> rather than +depending on the undefined rounding behaviour in string formatting. +(Robert Collins)</li> +</ul> +</div> +</div> +<div class="section" id="id4"> +<h2>1.7.0<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2> +<div class="section" id="id5"> +<h3>Improvements<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Empty attachments to tests were triggering a file payload of None in the +<code class="docutils literal"><span class="pre">ExtendedToStreamDecorator</span></code> code, which caused multiple copies of +attachments that had been output prior to the empty one. +(Robert Collins, #1378609)</li> +</ul> +</div> +</div> +<div class="section" id="id6"> +<h2>1.6.1<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2> +<div class="section" id="changes"> +<h3>Changes<a class="headerlink" href="#changes" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Fix installing when <code class="docutils literal"><span class="pre">extras</span></code> is not already installed. Our guards +for the absence of unittest2 were not sufficient. +(Robert Collins, #1430076)</li> +</ul> +</div> +</div> +<div class="section" id="id7"> +<h2>1.6.0<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h2> +<div class="section" id="id8"> +<h3>Improvements<a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li><code class="docutils literal"><span class="pre">testtools.run</span></code> now accepts <code class="docutils literal"><span class="pre">--locals</span></code> to show local variables +in tracebacks, which can be a significant aid in debugging. In doing +so we’ve removed the code reimplementing linecache and traceback by +using the new traceback2 and linecache2 packages. +(Robert Collins, github #111)</li> +</ul> +</div> +<div class="section" id="id9"> +<h3>Changes<a class="headerlink" href="#id9" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li><code class="docutils literal"><span class="pre">testtools</span></code> now depends on <code class="docutils literal"><span class="pre">unittest2</span></code> 1.0.0 which brings in a dependency +on <code class="docutils literal"><span class="pre">traceback2</span></code> and via it <code class="docutils literal"><span class="pre">linecache2</span></code>. (Robert Collins)</li> +</ul> +</div> +</div> +<div class="section" id="id10"> +<h2>1.5.0<a class="headerlink" href="#id10" title="Permalink to this headline">¶</a></h2> +<div class="section" id="id11"> +<h3>Improvements<a class="headerlink" href="#id11" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>When an import error happens <code class="docutils literal"><span class="pre">testtools.run</span></code> will now show the full +error rather than just the name of the module that failed to import. +(Robert Collins)</li> +</ul> +</div> +</div> +<div class="section" id="id12"> +<h2>1.4.0<a class="headerlink" href="#id12" title="Permalink to this headline">¶</a></h2> +<div class="section" id="id13"> +<h3>Changes<a class="headerlink" href="#id13" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li><code class="docutils literal"><span class="pre">testtools.TestCase</span></code> now inherits from unittest2.TestCase, which +provides a <code class="docutils literal"><span class="pre">setUpClass</span></code> for upcalls on Python 2.6. +(Robert Collins, #1393283)</li> +</ul> +</div> +</div> +<div class="section" id="id14"> +<h2>1.3.0<a class="headerlink" href="#id14" title="Permalink to this headline">¶</a></h2> +<div class="section" id="id15"> +<h3>Changes<a class="headerlink" href="#id15" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Fixed our setup.py to use setup_requires to ensure the import dependencies +for testtools are present before setup.py runs (as setup.py imports testtools +to read out the version number). (Robert Collins)</li> +<li>Support setUpClass skipping with self.skipException. Previously this worked +with unittest from 2.7 and above but was not supported by testtools - it was +a happy accident. Since we now hard depend on unittest2, we need to invert +our exception lookup priorities to support it. Regular skips done through +raise self.skipException will continue to work, since they were always caught +in our code - its because the suite type being used to implement setUpClass +has changed that an issue occured. +(Robert Collins, #1393068)</li> +</ul> +</div> +</div> +<div class="section" id="id16"> +<h2>1.2.1<a class="headerlink" href="#id16" title="Permalink to this headline">¶</a></h2> +<div class="section" id="id17"> +<h3>Changes<a class="headerlink" href="#id17" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Correctly express our unittest2 dependency: we don’t work with old releases. +(Robert Collins)</li> +</ul> +</div> +</div> +<div class="section" id="id18"> +<h2>1.2.0<a class="headerlink" href="#id18" title="Permalink to this headline">¶</a></h2> +<div class="section" id="id19"> +<h3>Changes<a class="headerlink" href="#id19" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Depends on unittest2 for discovery functionality and the <code class="docutils literal"><span class="pre">TestProgram</span></code> base +class. This brings in many fixes made to discovery where previously we were +only using the discovery package or the version in the release of Python +that the test execution was occuring on. (Robert Collins, #1271133)</li> +<li>Fixed unit tests which were failing under pypy due to a change in the way +pypy formats tracebacks. (Thomi Richards)</li> +<li>Fixed the testtools test suite to run correctly when run via <code class="docutils literal"><span class="pre">unit2</span></code> +or <code class="docutils literal"><span class="pre">testtools.run</span> <span class="pre">discover</span></code>.</li> +<li>Make <cite>testtools.content.text_content</cite> error if anything other than text +is given as content. (Thomi Richards)</li> +<li>We now publish wheels of testtools. (Robert Collins, #issue84)</li> +</ul> +</div> +</div> +<div class="section" id="id20"> +<h2>1.1.0<a class="headerlink" href="#id20" title="Permalink to this headline">¶</a></h2> +<div class="section" id="id21"> +<h3>Improvements<a class="headerlink" href="#id21" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Exceptions in a <code class="docutils literal"><span class="pre">fixture.getDetails</span></code> method will no longer mask errors +raised from the same fixture’s <code class="docutils literal"><span class="pre">setUp</span></code> method. +(Robert Collins, #1368440)</li> +</ul> +</div> +</div> +<div class="section" id="id22"> +<h2>1.0.0<a class="headerlink" href="#id22" title="Permalink to this headline">¶</a></h2> +<p>Long overdue, we’ve adopted a backwards compatibility statement and recognized +that we have plenty of users depending on our behaviour - calling our version +1.0.0 is a recognition of that.</p> +<div class="section" id="id23"> +<h3>Improvements<a class="headerlink" href="#id23" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Fix a long-standing bug where tearDown and cleanUps would not be called if the +test run was interrupted. This should fix leaking external resources from +interrupted tests. +(Robert Collins, #1364188)</li> +<li>Fix a long-standing bug where calling sys.exit(0) from within a test would +cause the test suite to exit with 0, without reporting a failure of that +test. We still allow the test suite to be exited (since catching higher order +exceptions requires exceptional circumstances) but we now call a last-resort +handler on the TestCase, resulting in an error being reported for the test. +(Robert Collins, #1364188)</li> +<li>Fix an issue where tests skipped with the <code class="docutils literal"><span class="pre">skip``*</span> <span class="pre">family</span> <span class="pre">of</span> <span class="pre">decorators</span> <span class="pre">would</span> +<span class="pre">still</span> <span class="pre">have</span> <span class="pre">their</span> <span class="pre">``setUp</span></code> and <code class="docutils literal"><span class="pre">tearDown</span></code> functions called. +(Thomi Richards, #https://github.com/testing-cabal/testtools/issues/86)</li> +<li>We have adopted a formal backwards compatibility statement (see hacking.rst) +(Robert Collins)</li> +</ul> +</div> +</div> +<div class="section" id="id24"> +<h2>0.9.39<a class="headerlink" href="#id24" title="Permalink to this headline">¶</a></h2> +<p>Brown paper bag release - 0.9.38 was broken for some users, +_jython_aware_splitext was not defined entirely compatibly. +(Robert Collins, #https://github.com/testing-cabal/testtools/issues/100)</p> +</div> +<div class="section" id="id25"> +<h2>0.9.38<a class="headerlink" href="#id25" title="Permalink to this headline">¶</a></h2> +<p>Bug fixes for test importing.</p> +<div class="section" id="id26"> +<h3>Improvements<a class="headerlink" href="#id26" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Discovery import error detection wasn’t implemented for python 2.6 (the +‘discover’ module). (Robert Collins)</li> +<li>Discovery now executes load_tests (if present) in __init__ in all packages. +(Robert Collins, <a class="reference external" href="http://bugs.python.org/issue16662">http://bugs.python.org/issue16662</a>)</li> +</ul> +</div> +</div> +<div class="section" id="id27"> +<h2>0.9.37<a class="headerlink" href="#id27" title="Permalink to this headline">¶</a></h2> +<p>Minor improvements to correctness.</p> +<div class="section" id="id28"> +<h3>Changes<a class="headerlink" href="#id28" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li><code class="docutils literal"><span class="pre">stdout</span></code> is now correctly honoured on <code class="docutils literal"><span class="pre">run.TestProgram</span></code> - before the +runner objects would be created with no stdout parameter. If construction +fails, the previous parameter list is attempted, permitting compatibility +with Runner classes that don’t accept stdout as a parameter. +(Robert Collins)</li> +<li>The <code class="docutils literal"><span class="pre">ExtendedToStreamDecorator</span></code> now handles content objects with one less +packet - the last packet of the source content is sent with EOF set rather +than an empty packet with EOF set being sent after the last packet of the +source content. (Robert Collins)</li> +</ul> +</div> +</div> +<div class="section" id="id29"> +<h2>0.9.36<a class="headerlink" href="#id29" title="Permalink to this headline">¶</a></h2> +<p>Welcome to our long overdue 0.9.36 release, which improves compatibility with +Python3.4, adds assert_that, a function for using matchers without TestCase +objects, and finally will error if you try to use setUp or tearDown twice - +since that invariably leads to bad things of one sort or another happening.</p> +<div class="section" id="id30"> +<h3>Changes<a class="headerlink" href="#id30" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Error if <code class="docutils literal"><span class="pre">setUp</span></code> or <code class="docutils literal"><span class="pre">tearDown</span></code> are called twice. +(Robert Collins, #882884)</li> +<li>Make testtools compatible with the <code class="docutils literal"><span class="pre">unittest.expectedFailure</span></code> decorator in +Python 3.4. (Thomi Richards)</li> +</ul> +</div> +<div class="section" id="id31"> +<h3>Improvements<a class="headerlink" href="#id31" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Introduce the assert_that function, which allows matchers to be used +independent of testtools.TestCase. (Daniel Watkins, #1243834)</li> +</ul> +</div> +</div> +<div class="section" id="id32"> +<h2>0.9.35<a class="headerlink" href="#id32" title="Permalink to this headline">¶</a></h2> +<div class="section" id="id33"> +<h3>Changes<a class="headerlink" href="#id33" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Removed a number of code paths where Python 2.4 and Python 2.5 were +explicitly handled. (Daniel Watkins)</li> +</ul> +</div> +<div class="section" id="id34"> +<h3>Improvements<a class="headerlink" href="#id34" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Added the <code class="docutils literal"><span class="pre">testtools.TestCase.expectThat</span></code> method, which implements +delayed assertions. (Thomi Richards)</li> +<li>Docs are now built as part of the Travis-CI build, reducing the chance of +Read The Docs being broken accidentally. (Daniel Watkins, #1158773)</li> +</ul> +</div> +</div> +<div class="section" id="id35"> +<h2>0.9.34<a class="headerlink" href="#id35" title="Permalink to this headline">¶</a></h2> +<div class="section" id="id36"> +<h3>Improvements<a class="headerlink" href="#id36" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Added ability for <code class="docutils literal"><span class="pre">testtools.TestCase</span></code> instances to force a test to +fail, even if no assertions failed. (Thomi Richards)</li> +<li>Added <code class="docutils literal"><span class="pre">testtools.content.StacktraceContent</span></code>, a content object that +automatically creates a <code class="docutils literal"><span class="pre">StackLinesContent</span></code> object containing the current +stack trace. (Thomi Richards)</li> +<li><code class="docutils literal"><span class="pre">AnyMatch</span></code> is now exported properly in <code class="docutils literal"><span class="pre">testtools.matchers</span></code>. +(Robert Collins, Rob Kennedy, github #44)</li> +<li>In Python 3.3, if there are duplicate test ids, tests.sort() will +fail and raise TypeError. Detect the duplicate test ids firstly in +sorted_tests() to ensure that all test ids are unique. +(Kui Shi, #1243922)</li> +<li><code class="docutils literal"><span class="pre">json_content</span></code> is now in the <code class="docutils literal"><span class="pre">__all__</span></code> attribute for +<code class="docutils literal"><span class="pre">testtools.content</span></code>. (Robert Collins)</li> +<li>Network tests now bind to 127.0.0.1 to avoid (even temporary) network +visible ports. (Benedikt Morbach, github #46)</li> +<li>Test listing now explicitly indicates by printing ‘Failed to import’ and +exiting (2) when an import has failed rather than only signalling through the +test name. (Robert Collins, #1245672)</li> +<li><code class="docutils literal"><span class="pre">test_compat.TestDetectEncoding.test_bom</span></code> now works on Python 3.3 - the +corner case with euc_jp is no longer permitted in Python 3.3 so we can +skip it. (Martin [gz], #1251962)</li> +</ul> +</div> +</div> +<div class="section" id="id37"> +<h2>0.9.33<a class="headerlink" href="#id37" title="Permalink to this headline">¶</a></h2> +<div class="section" id="id38"> +<h3>Improvements<a class="headerlink" href="#id38" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Added <code class="docutils literal"><span class="pre">addDetailuniqueName</span></code> method to <code class="docutils literal"><span class="pre">testtools.TestCase</span></code> class. +(Thomi Richards)</li> +<li>Removed some unused code from <code class="docutils literal"><span class="pre">testtools.content.TracebackContent</span></code>. +(Thomi Richards)</li> +<li>Added <code class="docutils literal"><span class="pre">testtools.StackLinesContent</span></code>: a content object for displaying +pre-processed stack lines. (Thomi Richards)</li> +<li><code class="docutils literal"><span class="pre">StreamSummary</span></code> was calculating testsRun incorrectly: <code class="docutils literal"><span class="pre">exists</span></code> status +tests were counted as run tests, but they are not. +(Robert Collins, #1203728)</li> +</ul> +</div> +</div> +<div class="section" id="id39"> +<h2>0.9.32<a class="headerlink" href="#id39" title="Permalink to this headline">¶</a></h2> +<p>Regular maintenance release. Special thanks to new contributor, Xiao Hanyu!</p> +<div class="section" id="id40"> +<h3>Changes<a class="headerlink" href="#id40" title="Permalink to this headline">¶</a></h3> +<blockquote> +<div><ul class="simple"> +<li><code class="docutils literal"><span class="pre">testttols.compat._format_exc_info</span></code> has been refactored into several +smaller functions. (Thomi Richards)</li> +</ul> +</div></blockquote> +</div> +<div class="section" id="id41"> +<h3>Improvements<a class="headerlink" href="#id41" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Stacktrace filtering no longer hides unittest frames that are surrounded by +user frames. We will reenable this when we figure out a better algorithm for +retaining meaning. (Robert Collins, #1188420)</li> +<li>The compatibility code for skipped tests with unittest2 was broken. +(Robert Collins, #1190951)</li> +<li>Various documentation improvements (Clint Byrum, Xiao Hanyu).</li> +</ul> +</div> +</div> +<div class="section" id="id42"> +<h2>0.9.31<a class="headerlink" href="#id42" title="Permalink to this headline">¶</a></h2> +<div class="section" id="id43"> +<h3>Improvements<a class="headerlink" href="#id43" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li><code class="docutils literal"><span class="pre">ExpectedException</span></code> now accepts a msg parameter for describing an error, +much the same as assertEquals etc. (Robert Collins)</li> +</ul> +</div> +</div> +<div class="section" id="id44"> +<h2>0.9.30<a class="headerlink" href="#id44" title="Permalink to this headline">¶</a></h2> +<p>A new sort of TestResult, the StreamResult has been added, as a prototype for +a revised standard library test result API. Expect this API to change. +Although we will try to preserve compatibility for early adopters, it is +experimental and we might need to break it if it turns out to be unsuitable.</p> +<div class="section" id="id45"> +<h3>Improvements<a class="headerlink" href="#id45" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li><code class="docutils literal"><span class="pre">assertRaises</span></code> works properly for exception classes that have custom +metaclasses</li> +<li><code class="docutils literal"><span class="pre">ConcurrentTestSuite</span></code> was silently eating exceptions that propagate from +the test.run(result) method call. Ignoring them is fine in a normal test +runner, but when they happen in a different thread, the thread that called +suite.run() is not in the stack anymore, and the exceptions are lost. We now +create a synthetic test recording any such exception. +(Robert Collins, #1130429)</li> +<li>Fixed SyntaxError raised in <code class="docutils literal"><span class="pre">_compat2x.py</span></code> when installing via Python 3. +(Will Bond, #941958)</li> +<li>New class <code class="docutils literal"><span class="pre">StreamResult</span></code> which defines the API for the new result type. +(Robert Collins)</li> +<li>New support class <code class="docutils literal"><span class="pre">ConcurrentStreamTestSuite</span></code> for convenient construction +and utilisation of <code class="docutils literal"><span class="pre">StreamToQueue</span></code> objects. (Robert Collins)</li> +<li>New support class <code class="docutils literal"><span class="pre">CopyStreamResult</span></code> which forwards events onto multiple +<code class="docutils literal"><span class="pre">StreamResult</span></code> objects (each of which receives all the events). +(Robert Collins)</li> +<li>New support class <code class="docutils literal"><span class="pre">StreamSummary</span></code> which summarises a <code class="docutils literal"><span class="pre">StreamResult</span></code> +stream compatibly with <code class="docutils literal"><span class="pre">TestResult</span></code> code. (Robert Collins)</li> +<li>New support class <code class="docutils literal"><span class="pre">StreamTagger</span></code> which adds or removes tags from +<code class="docutils literal"><span class="pre">StreamResult</span></code> events. (RobertCollins)</li> +<li>New support class <code class="docutils literal"><span class="pre">StreamToDict</span></code> which converts a <code class="docutils literal"><span class="pre">StreamResult</span></code> to a +series of dicts describing a test. Useful for writing trivial stream +analysers. (Robert Collins)</li> +<li>New support class <code class="docutils literal"><span class="pre">TestControl</span></code> which permits cancelling an in-progress +run. (Robert Collins)</li> +<li>New support class <code class="docutils literal"><span class="pre">StreamFailFast</span></code> which calls a <code class="docutils literal"><span class="pre">TestControl</span></code> instance +to abort the test run when a failure is detected. (Robert Collins)</li> +<li>New support class <code class="docutils literal"><span class="pre">ExtendedToStreamDecorator</span></code> which translates both regular +unittest TestResult API calls and the ExtendedTestResult API which testtools +has supported into the StreamResult API. ExtendedToStreamDecorator also +forwards calls made in the StreamResult API, permitting it to be used +anywhere a StreamResult is used. Key TestResult query methods like +wasSuccessful and shouldStop are synchronised with the StreamResult API +calls, but the detailed statistics like the list of errors are not - a +separate consumer will be created to support that. +(Robert Collins)</li> +<li>New support class <code class="docutils literal"><span class="pre">StreamToExtendedDecorator</span></code> which translates +<code class="docutils literal"><span class="pre">StreamResult</span></code> API calls into <code class="docutils literal"><span class="pre">ExtendedTestResult</span></code> (or any older +<code class="docutils literal"><span class="pre">TestResult</span></code>) calls. This permits using un-migrated result objects with +new runners / tests. (Robert Collins)</li> +<li>New support class <code class="docutils literal"><span class="pre">StreamToQueue</span></code> for sending messages to one +<code class="docutils literal"><span class="pre">StreamResult</span></code> from multiple threads. (Robert Collins)</li> +<li>New support class <code class="docutils literal"><span class="pre">TimestampingStreamResult</span></code> which adds a timestamp to +events with no timestamp. (Robert Collins)</li> +<li>New <code class="docutils literal"><span class="pre">TestCase</span></code> decorator <code class="docutils literal"><span class="pre">DecorateTestCaseResult</span></code> that adapts the +<code class="docutils literal"><span class="pre">TestResult</span></code> or <code class="docutils literal"><span class="pre">StreamResult</span></code> a case will be run with, for ensuring that +a particular result object is used even if the runner running the test doesn’t +know to use it. (Robert Collins)</li> +<li>New test support class <code class="docutils literal"><span class="pre">testtools.testresult.doubles.StreamResult</span></code>, which +captures all the StreamResult events. (Robert Collins)</li> +<li><code class="docutils literal"><span class="pre">PlaceHolder</span></code> can now hold tags, and applies them before, and removes them +after, the test. (Robert Collins)</li> +<li><code class="docutils literal"><span class="pre">PlaceHolder</span></code> can now hold timestamps, and applies them before the test and +then before the outcome. (Robert Collins)</li> +<li><code class="docutils literal"><span class="pre">StreamResultRouter</span></code> added. This is useful for demultiplexing - e.g. for +partitioning analysis of events or sending feedback encapsulated in +StreamResult events back to their source. (Robert Collins)</li> +<li><code class="docutils literal"><span class="pre">testtools.run.TestProgram</span></code> now supports the <code class="docutils literal"><span class="pre">TestRunner</span></code> taking over +responsibility for formatting the output of <code class="docutils literal"><span class="pre">--list-tests</span></code>. +(Robert Collins)</li> +<li>The error message for setUp and tearDown upcall errors was broken on Python +3.4. (Monty Taylor, Robert Collins, #1140688)</li> +<li>The repr of object() on pypy includes the object id, which was breaking a +test that accidentally depended on the CPython repr for object(). +(Jonathan Lange)</li> +</ul> +</div> +</div> +<div class="section" id="id46"> +<h2>0.9.29<a class="headerlink" href="#id46" title="Permalink to this headline">¶</a></h2> +<p>A simple bug fix, and better error messages when you don’t up-call.</p> +<div class="section" id="id47"> +<h3>Changes<a class="headerlink" href="#id47" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li><code class="docutils literal"><span class="pre">testtools.content_type.ContentType</span></code> incorrectly used ‘,’ rather than ‘;’ +to separate parameters. (Robert Collins)</li> +</ul> +</div> +<div class="section" id="id48"> +<h3>Improvements<a class="headerlink" href="#id48" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li><code class="docutils literal"><span class="pre">testtools.compat.unicode_output_stream</span></code> was wrapping a stream encoder +around <code class="docutils literal"><span class="pre">io.StringIO</span></code> and <code class="docutils literal"><span class="pre">io.TextIOWrapper</span></code> objects, which was incorrect. +(Robert Collins)</li> +<li>Report the name of the source file for setUp and tearDown upcall errors. +(Monty Taylor)</li> +</ul> +</div> +</div> +<div class="section" id="id49"> +<h2>0.9.28<a class="headerlink" href="#id49" title="Permalink to this headline">¶</a></h2> +<p>Testtools has moved VCS - <a class="reference external" href="https://github.com/testing-cabal/testtools/">https://github.com/testing-cabal/testtools/</a> is +the new home. Bug tracking is still on Launchpad, and releases are on Pypi.</p> +<p>We made this change to take advantage of the richer ecosystem of tools around +Git, and to lower the barrier for new contributors.</p> +<div class="section" id="id50"> +<h3>Improvements<a class="headerlink" href="#id50" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>New <code class="docutils literal"><span class="pre">testtools.testcase.attr</span></code> and <code class="docutils literal"><span class="pre">testtools.testcase.WithAttributes</span></code> +helpers allow marking up test case methods with simple labels. This permits +filtering tests with more granularity than organising them into modules and +test classes. (Robert Collins)</li> +</ul> +</div> +</div> +<div class="section" id="id51"> +<h2>0.9.27<a class="headerlink" href="#id51" title="Permalink to this headline">¶</a></h2> +<div class="section" id="id52"> +<h3>Improvements<a class="headerlink" href="#id52" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>New matcher <code class="docutils literal"><span class="pre">HasLength</span></code> for matching the length of a collection. +(Robert Collins)</li> +<li>New matcher <code class="docutils literal"><span class="pre">MatchesPredicateWithParams</span></code> make it still easier to create +ad hoc matchers. (Robert Collins)</li> +<li>We have a simpler release process in future - see doc/hacking.rst. +(Robert Collins)</li> +</ul> +</div> +</div> +<div class="section" id="id53"> +<h2>0.9.26<a class="headerlink" href="#id53" title="Permalink to this headline">¶</a></h2> +<p>Brown paper bag fix: failed to document the need for setup to be able to use +extras. Compounded by pip not supporting setup_requires.</p> +<div class="section" id="id54"> +<h3>Changes<a class="headerlink" href="#id54" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>setup.py now can generate egg_info even if extras is not available. +Also lists extras in setup_requires for easy_install. +(Robert Collins, #1102464)</li> +</ul> +</div> +</div> +<div class="section" id="id55"> +<h2>0.9.25<a class="headerlink" href="#id55" title="Permalink to this headline">¶</a></h2> +<div class="section" id="id56"> +<h3>Changes<a class="headerlink" href="#id56" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li><code class="docutils literal"><span class="pre">python</span> <span class="pre">-m</span> <span class="pre">testtools.run</span> <span class="pre">--load-list</span></code> will now preserve any custom suites +(such as <code class="docutils literal"><span class="pre">testtools.FixtureSuite</span></code> or <code class="docutils literal"><span class="pre">testresources.OptimisingTestSuite</span></code>) +rather than flattening them. +(Robert Collins, #827175)</li> +<li>Testtools now depends on extras, a small library split out from it to contain +generally useful non-testing facilities. Since extras has been around for a +couple of testtools releases now, we’re making this into a hard dependency of +testtools. (Robert Collins)</li> +<li>Testtools now uses setuptools rather than distutils so that we can document +the extras dependency. (Robert Collins)</li> +</ul> +</div> +<div class="section" id="id57"> +<h3>Improvements<a class="headerlink" href="#id57" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Testtools will no longer override test code registered details called +‘traceback’ when reporting caught exceptions from test code. +(Robert Collins, #812793)</li> +</ul> +</div> +</div> +<div class="section" id="id58"> +<h2>0.9.24<a class="headerlink" href="#id58" title="Permalink to this headline">¶</a></h2> +<div class="section" id="id59"> +<h3>Changes<a class="headerlink" href="#id59" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li><code class="docutils literal"><span class="pre">testtools.run</span> <span class="pre">discover</span></code> will now sort the tests it discovered. This is a +workaround for <a class="reference external" href="http://bugs.python.org/issue16709">http://bugs.python.org/issue16709</a>. Non-standard test suites +are preserved, and their <code class="docutils literal"><span class="pre">sort_tests()</span></code> method called (if they have such an +attribute). <code class="docutils literal"><span class="pre">testtools.testsuite.sorted_tests(suite,</span> <span class="pre">True)</span></code> can be used by +such suites to do a local sort. (Robert Collins, #1091512)</li> +<li><code class="docutils literal"><span class="pre">ThreadsafeForwardingResult</span></code> now defines a stub <code class="docutils literal"><span class="pre">progress</span></code> method, which +fixes <code class="docutils literal"><span class="pre">testr</span> <span class="pre">run</span></code> of streams containing progress markers (by discarding the +progress data). (Robert Collins, #1019165)</li> +</ul> +</div> +</div> +<div class="section" id="id60"> +<h2>0.9.23<a class="headerlink" href="#id60" title="Permalink to this headline">¶</a></h2> +<div class="section" id="id61"> +<h3>Changes<a class="headerlink" href="#id61" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li><code class="docutils literal"><span class="pre">run.TestToolsTestRunner</span></code> now accepts the verbosity, buffer and failfast +arguments the upstream python TestProgram code wants to give it, making it +possible to support them in a compatible fashion. (Robert Collins)</li> +</ul> +</div> +<div class="section" id="id62"> +<h3>Improvements<a class="headerlink" href="#id62" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li><code class="docutils literal"><span class="pre">testtools.run</span></code> now supports the <code class="docutils literal"><span class="pre">-f</span></code> or <code class="docutils literal"><span class="pre">--failfast</span></code> parameter. +Previously it was advertised in the help but ignored. +(Robert Collins, #1090582)</li> +<li><code class="docutils literal"><span class="pre">AnyMatch</span></code> added, a new matcher that matches when any item in a collection +matches the given matcher. (Jonathan Lange)</li> +<li>Spelling corrections to documentation. (Vincent Ladeuil)</li> +<li><code class="docutils literal"><span class="pre">TestProgram</span></code> now has a sane default for its <code class="docutils literal"><span class="pre">testRunner</span></code> argument. +(Vincent Ladeuil)</li> +<li>The test suite passes on Python 3 again. (Robert Collins)</li> +</ul> +</div> +</div> +<div class="section" id="id63"> +<h2>0.9.22<a class="headerlink" href="#id63" title="Permalink to this headline">¶</a></h2> +<div class="section" id="id64"> +<h3>Improvements<a class="headerlink" href="#id64" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li><code class="docutils literal"><span class="pre">content_from_file</span></code> and <code class="docutils literal"><span class="pre">content_from_stream</span></code> now accept seek_offset and +seek_whence parameters allowing them to be used to grab less than the full +stream, or to be used with StringIO streams. (Robert Collins, #1088693)</li> +</ul> +</div> +</div> +<div class="section" id="id65"> +<h2>0.9.21<a class="headerlink" href="#id65" title="Permalink to this headline">¶</a></h2> +<div class="section" id="id66"> +<h3>Improvements<a class="headerlink" href="#id66" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li><code class="docutils literal"><span class="pre">DirContains</span></code> correctly exposed, after being accidentally hidden in the +great matcher re-organization of 0.9.17. (Jonathan Lange)</li> +</ul> +</div> +</div> +<div class="section" id="id67"> +<h2>0.9.20<a class="headerlink" href="#id67" title="Permalink to this headline">¶</a></h2> +<p>Three new matchers that’ll rock your world.</p> +<div class="section" id="id68"> +<h3>Improvements<a class="headerlink" href="#id68" title="Permalink to this headline">¶</a></h3> +<ul> +<li><p class="first">New, powerful matchers that match items in a dictionary:</p> +<ul class="simple"> +<li><code class="docutils literal"><span class="pre">MatchesDict</span></code>, match every key in a dictionary with a key in a +dictionary of matchers. For when the set of expected keys is equal to the +set of observed keys.</li> +<li><code class="docutils literal"><span class="pre">ContainsDict</span></code>, every key in a dictionary of matchers must be +found in a dictionary, and the values for those keys must match. For when +the set of expected keys is a subset of the set of observed keys.</li> +<li><code class="docutils literal"><span class="pre">ContainedByDict</span></code>, every key in a dictionary must be found in +a dictionary of matchers. For when the set of expected keys is a superset +of the set of observed keys.</li> +</ul> +<p>The names are a little confusing, sorry. We’re still trying to figure out +how to present the concept in the simplest way possible.</p> +</li> +</ul> +</div> +</div> +<div class="section" id="id69"> +<h2>0.9.19<a class="headerlink" href="#id69" title="Permalink to this headline">¶</a></h2> +<p>How embarrassing! Three releases in two days.</p> +<p>We’ve worked out the kinks and have confirmation from our downstreams that +this is all good. Should be the last release for a little while. Please +ignore 0.9.18 and 0.9.17.</p> +<div class="section" id="id70"> +<h3>Improvements<a class="headerlink" href="#id70" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Include the matcher tests in the release, allowing the tests to run and +pass from the release tarball. (Jonathan Lange)</li> +<li>Fix cosmetic test failures in Python 3.3, introduced during release 0.9.17. +(Jonathan Lange)</li> +</ul> +</div> +</div> +<div class="section" id="id71"> +<h2>0.9.18<a class="headerlink" href="#id71" title="Permalink to this headline">¶</a></h2> +<p>Due to an oversight, release 0.9.18 did not contain the new +<code class="docutils literal"><span class="pre">testtools.matchers</span></code> package and was thus completely broken. This release +corrects that, returning us all to normality.</p> +</div> +<div class="section" id="id72"> +<h2>0.9.17<a class="headerlink" href="#id72" title="Permalink to this headline">¶</a></h2> +<p>This release brings better discover support and Python3.x improvements. There +are still some test failures on Python3.3 but they are cosmetic - the library +is as usable there as on any other Python 3 release.</p> +<div class="section" id="id73"> +<h3>Changes<a class="headerlink" href="#id73" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>The <code class="docutils literal"><span class="pre">testtools.matchers</span></code> package has been split up. No change to the +public interface. (Jonathan Lange)</li> +</ul> +</div> +<div class="section" id="id74"> +<h3>Improvements<a class="headerlink" href="#id74" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li><code class="docutils literal"><span class="pre">python</span> <span class="pre">-m</span> <span class="pre">testtools.run</span> <span class="pre">discover</span> <span class="pre">.</span> <span class="pre">--list</span></code> now works. (Robert Collins)</li> +<li>Correctly handling of bytes vs text in JSON content type. (Martin [gz])</li> +</ul> +</div> +</div> +<div class="section" id="id75"> +<h2>0.9.16<a class="headerlink" href="#id75" title="Permalink to this headline">¶</a></h2> +<p>Some new matchers and a new content helper for JSON content.</p> +<p>This is the first release of testtools to drop support for Python 2.4 and 2.5. +If you need support for either of those versions, please use testtools 0.9.15.</p> +<div class="section" id="id76"> +<h3>Improvements<a class="headerlink" href="#id76" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>New content helper, <code class="docutils literal"><span class="pre">json_content</span></code> (Jonathan Lange)</li> +<li>New matchers:<ul> +<li><code class="docutils literal"><span class="pre">ContainsAll</span></code> for asserting one thing is a subset of another +(Raphaël Badin)</li> +<li><code class="docutils literal"><span class="pre">SameMembers</span></code> for asserting two iterators have the same members. +(Jonathan Lange)</li> +</ul> +</li> +<li>Reraising of exceptions in Python 3 is more reliable. (Martin [gz])</li> +</ul> +</div> +</div> +<div class="section" id="id77"> +<h2>0.9.15<a class="headerlink" href="#id77" title="Permalink to this headline">¶</a></h2> +<p>This is the last release to support Python2.4 and 2.5. It brings in a slew of +improvements to test tagging and concurrency, making running large test suites +with partitioned workers more reliable and easier to reproduce exact test +ordering in a given worker. See our sister project <code class="docutils literal"><span class="pre">testrepository</span></code> for a +test runner that uses these features.</p> +<div class="section" id="id78"> +<h3>Changes<a class="headerlink" href="#id78" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li><code class="docutils literal"><span class="pre">PlaceHolder</span></code> and <code class="docutils literal"><span class="pre">ErrorHolder</span></code> now support being given result details. +(Robert Collins)</li> +<li><code class="docutils literal"><span class="pre">ErrorHolder</span></code> is now just a function - all the logic is in <code class="docutils literal"><span class="pre">PlaceHolder</span></code>. +(Robert Collins)</li> +<li><code class="docutils literal"><span class="pre">TestResult</span></code> and all other <code class="docutils literal"><span class="pre">TestResult</span></code>-like objects in testtools +distinguish between global tags and test-local tags, as per the subunit +specification. (Jonathan Lange)</li> +<li>This is the <strong>last</strong> release of testtools that supports Python 2.4 or 2.5. +These releases are no longer supported by the Python community and do not +receive security updates. If this affects you, you will need to either +stay on this release or perform your own backports. +(Jonathan Lange, Robert Collins)</li> +<li><code class="docutils literal"><span class="pre">ThreadsafeForwardingResult</span></code> now forwards global tags as test-local tags, +making reasoning about the correctness of the multiplexed stream simpler. +This preserves the semantic value (what tags apply to a given test) while +consuming less stream size (as no negative-tag statement is needed). +(Robert Collins, Gary Poster, #986434)</li> +</ul> +</div> +<div class="section" id="id79"> +<h3>Improvements<a class="headerlink" href="#id79" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>API documentation corrections. (Raphaël Badin)</li> +<li><code class="docutils literal"><span class="pre">ConcurrentTestSuite</span></code> now takes an optional <code class="docutils literal"><span class="pre">wrap_result</span></code> parameter +that can be used to wrap the <code class="docutils literal"><span class="pre">ThreadsafeForwardingResults</span></code> created by +the suite. (Jonathan Lange)</li> +<li><code class="docutils literal"><span class="pre">Tagger</span></code> added. It’s a new <code class="docutils literal"><span class="pre">TestResult</span></code> that tags all tests sent to +it with a particular set of tags. (Jonathan Lange)</li> +<li><code class="docutils literal"><span class="pre">testresultdecorator</span></code> brought over from subunit. (Jonathan Lange)</li> +<li>All <code class="docutils literal"><span class="pre">TestResult</span></code> wrappers now correctly forward <code class="docutils literal"><span class="pre">current_tags</span></code> from +their wrapped results, meaning that <code class="docutils literal"><span class="pre">current_tags</span></code> can always be relied +upon to return the currently active tags on a test result.</li> +<li><code class="docutils literal"><span class="pre">TestByTestResult</span></code>, a <code class="docutils literal"><span class="pre">TestResult</span></code> that calls a method once per test, +added. (Jonathan Lange)</li> +<li><code class="docutils literal"><span class="pre">ThreadsafeForwardingResult</span></code> correctly forwards <code class="docutils literal"><span class="pre">tags()</span></code> calls where +only one of <code class="docutils literal"><span class="pre">new_tags</span></code> or <code class="docutils literal"><span class="pre">gone_tags</span></code> are specified. +(Jonathan Lange, #980263)</li> +<li><code class="docutils literal"><span class="pre">ThreadsafeForwardingResult</span></code> no longer leaks local tags from one test +into all future tests run. (Jonathan Lange, #985613)</li> +<li><code class="docutils literal"><span class="pre">ThreadsafeForwardingResult</span></code> has many, many more tests. (Jonathan Lange)</li> +</ul> +</div> +</div> +<div class="section" id="id80"> +<h2>0.9.14<a class="headerlink" href="#id80" title="Permalink to this headline">¶</a></h2> +<p>Our sister project, <a class="reference external" href="https://launchpad.net/subunit">subunit</a>, was using a +private API that was deleted in the 0.9.13 release. This release restores +that API in order to smooth out the upgrade path.</p> +<p>If you don’t use subunit, then this release won’t matter very much to you.</p> +</div> +<div class="section" id="id81"> +<h2>0.9.13<a class="headerlink" href="#id81" title="Permalink to this headline">¶</a></h2> +<p>Plenty of new matchers and quite a few critical bug fixes (especially to do +with stack traces from failed assertions). A net win for all.</p> +<div class="section" id="id82"> +<h3>Changes<a class="headerlink" href="#id82" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li><code class="docutils literal"><span class="pre">MatchesAll</span></code> now takes an <code class="docutils literal"><span class="pre">first_only</span></code> keyword argument that changes how +mismatches are displayed. If you were previously passing matchers to +<code class="docutils literal"><span class="pre">MatchesAll</span></code> with keyword arguments, then this change might affect your +test results. (Jonathan Lange)</li> +</ul> +</div> +<div class="section" id="id83"> +<h3>Improvements<a class="headerlink" href="#id83" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Actually hide all of the testtools stack for assertion failures. The +previous release promised clean stack, but now we actually provide it. +(Jonathan Lange, #854769)</li> +<li><code class="docutils literal"><span class="pre">assertRaises</span></code> now includes the <code class="docutils literal"><span class="pre">repr</span></code> of the callable that failed to raise +properly. (Jonathan Lange, #881052)</li> +<li>Asynchronous tests no longer hang when run with trial. +(Jonathan Lange, #926189)</li> +<li><code class="docutils literal"><span class="pre">Content</span></code> objects now have an <code class="docutils literal"><span class="pre">as_text</span></code> method to convert their contents +to Unicode text. (Jonathan Lange)</li> +<li>Failed equality assertions now line up. (Jonathan Lange, #879339)</li> +<li><code class="docutils literal"><span class="pre">FullStackRunTest</span></code> no longer aborts the test run if a test raises an +error. (Jonathan Lange)</li> +<li><code class="docutils literal"><span class="pre">MatchesAll</span></code> and <code class="docutils literal"><span class="pre">MatchesListwise</span></code> both take a <code class="docutils literal"><span class="pre">first_only</span></code> keyword +argument. If True, they will report only on the first mismatch they find, +and not continue looking for other possible mismatches. +(Jonathan Lange)</li> +<li>New helper, <code class="docutils literal"><span class="pre">Nullary</span></code> that turns callables with arguments into ones that +don’t take arguments. (Jonathan Lange)</li> +<li>New matchers:<ul> +<li><code class="docutils literal"><span class="pre">DirContains</span></code> matches the contents of a directory. +(Jonathan Lange, James Westby)</li> +<li><code class="docutils literal"><span class="pre">DirExists</span></code> matches if a directory exists. +(Jonathan Lange, James Westby)</li> +<li><code class="docutils literal"><span class="pre">FileContains</span></code> matches the contents of a file. +(Jonathan Lange, James Westby)</li> +<li><code class="docutils literal"><span class="pre">FileExists</span></code> matches if a file exists. +(Jonathan Lange, James Westby)</li> +<li><code class="docutils literal"><span class="pre">HasPermissions</span></code> matches the permissions of a file. (Jonathan Lange)</li> +<li><code class="docutils literal"><span class="pre">MatchesPredicate</span></code> matches if a predicate is true. (Jonathan Lange)</li> +<li><code class="docutils literal"><span class="pre">PathExists</span></code> matches if a path exists. (Jonathan Lange, James Westby)</li> +<li><code class="docutils literal"><span class="pre">SamePath</span></code> matches if two paths are the same. (Jonathan Lange)</li> +<li><code class="docutils literal"><span class="pre">TarballContains</span></code> matches the contents of a tarball. (Jonathan Lange)</li> +</ul> +</li> +<li><code class="docutils literal"><span class="pre">MultiTestResult</span></code> supports the <code class="docutils literal"><span class="pre">tags</span></code> method. +(Graham Binns, Francesco Banconi, #914279)</li> +<li><code class="docutils literal"><span class="pre">ThreadsafeForwardingResult</span></code> supports the <code class="docutils literal"><span class="pre">tags</span></code> method. +(Graham Binns, Francesco Banconi, #914279)</li> +<li><code class="docutils literal"><span class="pre">ThreadsafeForwardingResult</span></code> no longer includes semaphore acquisition time +in the test duration (for implicitly timed test runs). +(Robert Collins, #914362)</li> +</ul> +</div> +</div> +<div class="section" id="id84"> +<h2>0.9.12<a class="headerlink" href="#id84" title="Permalink to this headline">¶</a></h2> +<dl class="docutils"> +<dt>This is a very big release. We’ve made huge improvements on three fronts:</dt> +<dd><ol class="first last arabic simple"> +<li>Test failures are way nicer and easier to read</li> +<li>Matchers and <code class="docutils literal"><span class="pre">assertThat</span></code> are much more convenient to use</li> +<li>Correct handling of extended unicode characters</li> +</ol> +</dd> +</dl> +<p>We’ve trimmed off the fat from the stack trace you get when tests fail, we’ve +cut out the bits of error messages that just didn’t help, we’ve made it easier +to annotate mismatch failures, to compare complex objects and to match raised +exceptions.</p> +<p>Testing code was never this fun.</p> +<div class="section" id="id85"> +<h3>Changes<a class="headerlink" href="#id85" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li><code class="docutils literal"><span class="pre">AfterPreproccessing</span></code> renamed to <code class="docutils literal"><span class="pre">AfterPreprocessing</span></code>, which is a more +correct spelling. Old name preserved for backwards compatibility, but is +now deprecated. Please stop using it. +(Jonathan Lange, #813460)</li> +<li><code class="docutils literal"><span class="pre">assertThat</span></code> raises <code class="docutils literal"><span class="pre">MismatchError</span></code> instead of +<code class="docutils literal"><span class="pre">TestCase.failureException</span></code>. <code class="docutils literal"><span class="pre">MismatchError</span></code> is a subclass of +<code class="docutils literal"><span class="pre">AssertionError</span></code>, so in most cases this change will not matter. However, +if <code class="docutils literal"><span class="pre">self.failureException</span></code> has been set to a non-default value, then +mismatches will become test errors rather than test failures.</li> +<li><code class="docutils literal"><span class="pre">gather_details</span></code> takes two dicts, rather than two detailed objects. +(Jonathan Lange, #801027)</li> +<li><code class="docutils literal"><span class="pre">MatchesRegex</span></code> mismatch now says “<value> does not match /<regex>/” rather +than “<regex> did not match <value>”. The regular expression contains fewer +backslashes too. (Jonathan Lange, #818079)</li> +<li>Tests that run with <code class="docutils literal"><span class="pre">AsynchronousDeferredRunTest</span></code> now have the <code class="docutils literal"><span class="pre">reactor</span></code> +attribute set to the running reactor. (Jonathan Lange, #720749)</li> +</ul> +</div> +<div class="section" id="id86"> +<h3>Improvements<a class="headerlink" href="#id86" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>All public matchers are now in <code class="docutils literal"><span class="pre">testtools.matchers.__all__</span></code>. +(Jonathan Lange, #784859)</li> +<li><code class="docutils literal"><span class="pre">assertThat</span></code> can actually display mismatches and matchers that contain +extended unicode characters. (Jonathan Lange, Martin [gz], #804127)</li> +<li><code class="docutils literal"><span class="pre">assertThat</span></code> output is much less verbose, displaying only what the mismatch +tells us to display. Old-style verbose output can be had by passing +<code class="docutils literal"><span class="pre">verbose=True</span></code> to assertThat. (Jonathan Lange, #675323, #593190)</li> +<li><code class="docutils literal"><span class="pre">assertThat</span></code> accepts a message which will be used to annotate the matcher. +This can be given as a third parameter or as a keyword parameter. +(Robert Collins)</li> +<li>Automated the Launchpad part of the release process. +(Jonathan Lange, #623486)</li> +<li>Correctly display non-ASCII unicode output on terminals that claim to have a +unicode encoding. (Martin [gz], #804122)</li> +<li><code class="docutils literal"><span class="pre">DocTestMatches</span></code> correctly handles unicode output from examples, rather +than raising an error. (Martin [gz], #764170)</li> +<li><code class="docutils literal"><span class="pre">ErrorHolder</span></code> and <code class="docutils literal"><span class="pre">PlaceHolder</span></code> added to docs. (Jonathan Lange, #816597)</li> +<li><code class="docutils literal"><span class="pre">ExpectedException</span></code> now matches any exception of the given type by +default, and also allows specifying a <code class="docutils literal"><span class="pre">Matcher</span></code> rather than a mere regular +expression. (Jonathan Lange, #791889)</li> +<li><code class="docutils literal"><span class="pre">FixtureSuite</span></code> added, allows test suites to run with a given fixture. +(Jonathan Lange)</li> +<li>Hide testtools’s own stack frames when displaying tracebacks, making it +easier for test authors to focus on their errors. +(Jonathan Lange, Martin [gz], #788974)</li> +<li>Less boilerplate displayed in test failures and errors. +(Jonathan Lange, #660852)</li> +<li><code class="docutils literal"><span class="pre">MatchesException</span></code> now allows you to match exceptions against any matcher, +rather than just regular expressions. (Jonathan Lange, #791889)</li> +<li><code class="docutils literal"><span class="pre">MatchesException</span></code> now permits a tuple of types rather than a single type +(when using the type matching mode). (Robert Collins)</li> +<li><code class="docutils literal"><span class="pre">MatchesStructure.byEquality</span></code> added to make the common case of matching +many attributes by equality much easier. <code class="docutils literal"><span class="pre">MatchesStructure.byMatcher</span></code> +added in case folk want to match by things other than equality. +(Jonathan Lange)</li> +<li>New convenience assertions, <code class="docutils literal"><span class="pre">assertIsNone</span></code> and <code class="docutils literal"><span class="pre">assertIsNotNone</span></code>. +(Christian Kampka)</li> +<li>New matchers:<ul> +<li><code class="docutils literal"><span class="pre">AllMatch</span></code> matches many values against a single matcher. +(Jonathan Lange, #615108)</li> +<li><code class="docutils literal"><span class="pre">Contains</span></code>. (Robert Collins)</li> +<li><code class="docutils literal"><span class="pre">GreaterThan</span></code>. (Christian Kampka)</li> +</ul> +</li> +<li>New helper, <code class="docutils literal"><span class="pre">safe_hasattr</span></code> added. (Jonathan Lange)</li> +<li><code class="docutils literal"><span class="pre">reraise</span></code> added to <code class="docutils literal"><span class="pre">testtools.compat</span></code>. (Jonathan Lange)</li> +</ul> +</div> +</div> +<div class="section" id="id87"> +<h2>0.9.11<a class="headerlink" href="#id87" title="Permalink to this headline">¶</a></h2> +<p>This release brings consistent use of super for better compatibility with +multiple inheritance, fixed Python3 support, improvements in fixture and mather +outputs and a compat helper for testing libraries that deal with bytestrings.</p> +<div class="section" id="id88"> +<h3>Changes<a class="headerlink" href="#id88" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li><code class="docutils literal"><span class="pre">TestCase</span></code> now uses super to call base <code class="docutils literal"><span class="pre">unittest.TestCase</span></code> constructor, +<code class="docutils literal"><span class="pre">setUp</span></code> and <code class="docutils literal"><span class="pre">tearDown</span></code>. (Tim Cole, #771508)</li> +<li>If, when calling <code class="docutils literal"><span class="pre">useFixture</span></code> an error occurs during fixture set up, we +still attempt to gather details from the fixture. (Gavin Panella)</li> +</ul> +</div> +<div class="section" id="id89"> +<h3>Improvements<a class="headerlink" href="#id89" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Additional compat helper for <code class="docutils literal"><span class="pre">BytesIO</span></code> for libraries that build on +testtools and are working on Python 3 porting. (Robert Collins)</li> +<li>Corrected documentation for <code class="docutils literal"><span class="pre">MatchesStructure</span></code> in the test authors +document. (Jonathan Lange)</li> +<li><code class="docutils literal"><span class="pre">LessThan</span></code> error message now says something that is logically correct. +(Gavin Panella, #762008)</li> +<li>Multiple details from a single fixture are now kept separate, rather than +being mooshed together. (Gavin Panella, #788182)</li> +<li>Python 3 support now back in action. (Martin [gz], #688729)</li> +<li><code class="docutils literal"><span class="pre">try_import</span></code> and <code class="docutils literal"><span class="pre">try_imports</span></code> have a callback that is called whenever +they fail to import a module. (Martin Pool)</li> +</ul> +</div> +</div> +<div class="section" id="id90"> +<h2>0.9.10<a class="headerlink" href="#id90" title="Permalink to this headline">¶</a></h2> +<p>The last release of testtools could not be easy_installed. This is considered +severe enough for a re-release.</p> +<div class="section" id="id91"> +<h3>Improvements<a class="headerlink" href="#id91" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Include <code class="docutils literal"><span class="pre">doc/</span></code> in the source distribution, making testtools installable +from PyPI again (Tres Seaver, #757439)</li> +</ul> +</div> +</div> +<div class="section" id="id92"> +<h2>0.9.9<a class="headerlink" href="#id92" title="Permalink to this headline">¶</a></h2> +<p>Many, many new matchers, vastly expanded documentation, stacks of bug fixes, +better unittest2 integration. If you’ve ever wanted to try out testtools but +been afraid to do so, this is the release to try.</p> +<div class="section" id="id93"> +<h3>Changes<a class="headerlink" href="#id93" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>The timestamps generated by <code class="docutils literal"><span class="pre">TestResult</span></code> objects when no timing data has +been received are now datetime-with-timezone, which allows them to be +sensibly serialised and transported. (Robert Collins, #692297)</li> +</ul> +</div> +<div class="section" id="id94"> +<h3>Improvements<a class="headerlink" href="#id94" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li><code class="docutils literal"><span class="pre">AnnotatedMismatch</span></code> now correctly returns details. +(Jonathan Lange, #724691)</li> +<li>distutils integration for the testtools test runner. Can now use it for +‘python setup.py test’. (Christian Kampka, #693773)</li> +<li><code class="docutils literal"><span class="pre">EndsWith</span></code> and <code class="docutils literal"><span class="pre">KeysEqual</span></code> now in testtools.matchers.__all__. +(Jonathan Lange, #692158)</li> +<li><code class="docutils literal"><span class="pre">MatchesException</span></code> extended to support a regular expression check against +the str() of a raised exception. (Jonathan Lange)</li> +<li><code class="docutils literal"><span class="pre">MultiTestResult</span></code> now forwards the <code class="docutils literal"><span class="pre">time</span></code> API. (Robert Collins, #692294)</li> +<li><code class="docutils literal"><span class="pre">MultiTestResult</span></code> now documented in the manual. (Jonathan Lange, #661116)</li> +<li>New content helpers <code class="docutils literal"><span class="pre">content_from_file</span></code>, <code class="docutils literal"><span class="pre">content_from_stream</span></code> and +<code class="docutils literal"><span class="pre">attach_file</span></code> make it easier to attach file-like objects to a +test. (Jonathan Lange, Robert Collins, #694126)</li> +<li>New <code class="docutils literal"><span class="pre">ExpectedException</span></code> context manager to help write tests against things +that are expected to raise exceptions. (Aaron Bentley)</li> +<li>New matchers:<ul> +<li><code class="docutils literal"><span class="pre">MatchesListwise</span></code> matches an iterable of matchers against an iterable +of values. (Michael Hudson-Doyle)</li> +<li><code class="docutils literal"><span class="pre">MatchesRegex</span></code> matches a string against a regular expression. +(Michael Hudson-Doyle)</li> +<li><code class="docutils literal"><span class="pre">MatchesStructure</span></code> matches attributes of an object against given +matchers. (Michael Hudson-Doyle)</li> +<li><code class="docutils literal"><span class="pre">AfterPreproccessing</span></code> matches values against a matcher after passing them +through a callable. (Michael Hudson-Doyle)</li> +<li><code class="docutils literal"><span class="pre">MatchesSetwise</span></code> matches an iterable of matchers against an iterable of +values, without regard to order. (Michael Hudson-Doyle)</li> +</ul> +</li> +<li><code class="docutils literal"><span class="pre">setup.py</span></code> can now build a snapshot when Bazaar is installed but the tree +is not a Bazaar tree. (Jelmer Vernooij)</li> +<li>Support for running tests using distutils (Christian Kampka, #726539)</li> +<li>Vastly improved and extended documentation. (Jonathan Lange)</li> +<li>Use unittest2 exception classes if available. (Jelmer Vernooij)</li> +</ul> +</div> +</div> +<div class="section" id="id95"> +<h2>0.9.8<a class="headerlink" href="#id95" title="Permalink to this headline">¶</a></h2> +<p>In this release we bring some very interesting improvements:</p> +<ul class="simple"> +<li>new matchers for exceptions, sets, lists, dicts and more.</li> +<li>experimental (works but the contract isn’t supported) twisted reactor +support.</li> +<li>The built in runner can now list tests and filter tests (the -l and +–load-list options).</li> +</ul> +<div class="section" id="id96"> +<h3>Changes<a class="headerlink" href="#id96" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>addUnexpectedSuccess is translated to addFailure for test results that don’t +know about addUnexpectedSuccess. Further, it fails the entire result for +all testtools TestResults (i.e. wasSuccessful() returns False after +addUnexpectedSuccess has been called). Note that when using a delegating +result such as ThreadsafeForwardingResult, MultiTestResult or +ExtendedToOriginalDecorator then the behaviour of addUnexpectedSuccess is +determined by the delegated to result(s). +(Jonathan Lange, Robert Collins, #654474, #683332)</li> +<li>startTestRun will reset any errors on the result. That is, wasSuccessful() +will always return True immediately after startTestRun() is called. This +only applies to delegated test results (ThreadsafeForwardingResult, +MultiTestResult and ExtendedToOriginalDecorator) if the delegated to result +is a testtools test result - we cannot reliably reset the state of unknown +test result class instances. (Jonathan Lange, Robert Collins, #683332)</li> +<li>Responsibility for running test cleanups has been moved to <code class="docutils literal"><span class="pre">RunTest</span></code>. +This change does not affect public APIs and can be safely ignored by test +authors. (Jonathan Lange, #662647)</li> +</ul> +</div> +<div class="section" id="id97"> +<h3>Improvements<a class="headerlink" href="#id97" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>New matchers:<ul> +<li><code class="docutils literal"><span class="pre">EndsWith</span></code> which complements the existing <code class="docutils literal"><span class="pre">StartsWith</span></code> matcher. +(Jonathan Lange, #669165)</li> +<li><code class="docutils literal"><span class="pre">MatchesException</span></code> matches an exception class and parameters. (Robert +Collins)</li> +<li><code class="docutils literal"><span class="pre">KeysEqual</span></code> matches a dictionary with particular keys. (Jonathan Lange)</li> +</ul> +</li> +<li><code class="docutils literal"><span class="pre">assertIsInstance</span></code> supports a custom error message to be supplied, which +is necessary when using <code class="docutils literal"><span class="pre">assertDictEqual</span></code> on Python 2.7 with a +<code class="docutils literal"><span class="pre">testtools.TestCase</span></code> base class. (Jelmer Vernooij)</li> +<li>Experimental support for running tests that return Deferreds. +(Jonathan Lange, Martin [gz])</li> +<li>Provide a per-test decorator, run_test_with, to specify which RunTest +object to use for a given test. (Jonathan Lange, #657780)</li> +<li>Fix the runTest parameter of TestCase to actually work, rather than raising +a TypeError. (Jonathan Lange, #657760)</li> +<li>Non-release snapshots of testtools will now work with buildout. +(Jonathan Lange, #613734)</li> +<li>Malformed SyntaxErrors no longer blow up the test suite. (Martin [gz])</li> +<li><code class="docutils literal"><span class="pre">MismatchesAll.describe</span></code> no longer appends a trailing newline. +(Michael Hudson-Doyle, #686790)</li> +<li>New helpers for conditionally importing modules, <code class="docutils literal"><span class="pre">try_import</span></code> and +<code class="docutils literal"><span class="pre">try_imports</span></code>. (Jonathan Lange)</li> +<li><code class="docutils literal"><span class="pre">Raises</span></code> added to the <code class="docutils literal"><span class="pre">testtools.matchers</span></code> module - matches if the +supplied callable raises, and delegates to an optional matcher for validation +of the exception. (Robert Collins)</li> +<li><code class="docutils literal"><span class="pre">raises</span></code> added to the <code class="docutils literal"><span class="pre">testtools.matchers</span></code> module - matches if the +supplied callable raises and delegates to <code class="docutils literal"><span class="pre">MatchesException</span></code> to validate +the exception. (Jonathan Lange)</li> +<li>Tests will now pass on Python 2.6.4 : an <code class="docutils literal"><span class="pre">Exception</span></code> change made only in +2.6.4 and reverted in Python 2.6.5 was causing test failures on that version. +(Martin [gz], #689858).</li> +<li><code class="docutils literal"><span class="pre">testtools.TestCase.useFixture</span></code> has been added to glue with fixtures nicely. +(Robert Collins)</li> +<li><code class="docutils literal"><span class="pre">testtools.run</span></code> now supports <code class="docutils literal"><span class="pre">-l</span></code> to list tests rather than executing +them. This is useful for integration with external test analysis/processing +tools like subunit and testrepository. (Robert Collins)</li> +<li><code class="docutils literal"><span class="pre">testtools.run</span></code> now supports <code class="docutils literal"><span class="pre">--load-list</span></code>, which takes a file containing +test ids, one per line, and intersects those ids with the tests found. This +allows fine grained control of what tests are run even when the tests cannot +be named as objects to import (e.g. due to test parameterisation via +testscenarios). (Robert Collins)</li> +<li>Update documentation to say how to use testtools.run() on Python 2.4. +(Jonathan Lange, #501174)</li> +<li><code class="docutils literal"><span class="pre">text_content</span></code> conveniently converts a Python string to a Content object. +(Jonathan Lange, James Westby)</li> +</ul> +</div> +</div> +<div class="section" id="id98"> +<h2>0.9.7<a class="headerlink" href="#id98" title="Permalink to this headline">¶</a></h2> +<p>Lots of little cleanups in this release; many small improvements to make your +testing life more pleasant.</p> +<div class="section" id="id99"> +<h3>Improvements<a class="headerlink" href="#id99" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Cleanups can raise <code class="docutils literal"><span class="pre">testtools.MultipleExceptions</span></code> if they have multiple +exceptions to report. For instance, a cleanup which is itself responsible for +running several different internal cleanup routines might use this.</li> +<li>Code duplication between assertEqual and the matcher Equals has been removed.</li> +<li>In normal circumstances, a TestCase will no longer share details with clones +of itself. (Andrew Bennetts, bug #637725)</li> +<li>Less exception object cycles are generated (reduces peak memory use between +garbage collection). (Martin [gz])</li> +<li>New matchers ‘DoesNotStartWith’ and ‘StartsWith’ contributed by Canonical +from the Launchpad project. Written by James Westby.</li> +<li>Timestamps as produced by subunit protocol clients are now forwarded in the +ThreadsafeForwardingResult so correct test durations can be reported. +(Martin [gz], Robert Collins, #625594)</li> +<li>With unittest from Python 2.7 skipped tests will now show only the reason +rather than a serialisation of all details. (Martin [gz], #625583)</li> +<li>The testtools release process is now a little better documented and a little +smoother. (Jonathan Lange, #623483, #623487)</li> +</ul> +</div> +</div> +<div class="section" id="id100"> +<h2>0.9.6<a class="headerlink" href="#id100" title="Permalink to this headline">¶</a></h2> +<p>Nothing major in this release, just enough small bits and pieces to make it +useful enough to upgrade to.</p> +<p>In particular, a serious bug in assertThat() has been fixed, it’s easier to +write Matchers, there’s a TestCase.patch() method for those inevitable monkey +patches and TestCase.assertEqual gives slightly nicer errors.</p> +<div class="section" id="id101"> +<h3>Improvements<a class="headerlink" href="#id101" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>‘TestCase.assertEqual’ now formats errors a little more nicely, in the +style of bzrlib.</li> +<li>Added <cite>PlaceHolder</cite> and <cite>ErrorHolder</cite>, TestCase-like objects that can be +used to add results to a <cite>TestResult</cite>.</li> +<li>‘Mismatch’ now takes optional description and details parameters, so +custom Matchers aren’t compelled to make their own subclass.</li> +<li>jml added a built-in UTF8_TEXT ContentType to make it slightly easier to +add details to test results. See bug #520044.</li> +<li>Fix a bug in our built-in matchers where assertThat would blow up if any +of them failed. All built-in mismatch objects now provide get_details().</li> +<li>New ‘Is’ matcher, which lets you assert that a thing is identical to +another thing.</li> +<li>New ‘LessThan’ matcher which lets you assert that a thing is less than +another thing.</li> +<li>TestCase now has a ‘patch()’ method to make it easier to monkey-patching +objects in tests. See the manual for more information. Fixes bug #310770.</li> +<li>MultiTestResult methods now pass back return values from the results it +forwards to.</li> +</ul> +</div> +</div> +<div class="section" id="id102"> +<h2>0.9.5<a class="headerlink" href="#id102" title="Permalink to this headline">¶</a></h2> +<p>This release fixes some obscure traceback formatting issues that probably +weren’t affecting you but were certainly breaking our own test suite.</p> +<div class="section" id="id103"> +<h3>Changes<a class="headerlink" href="#id103" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Jamu Kakar has updated classes in testtools.matchers and testtools.runtest +to be new-style classes, fixing bug #611273.</li> +</ul> +</div> +<div class="section" id="id104"> +<h3>Improvements<a class="headerlink" href="#id104" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Martin[gz] fixed traceback handling to handle cases where extract_tb returns +a source line of None. Fixes bug #611307.</li> +<li>Martin[gz] fixed an unicode issue that was causing the tests to fail, +closing bug #604187.</li> +<li>testtools now handles string exceptions (although why would you want to use +them?) and formats their tracebacks correctly. Thanks to Martin[gz] for +fixing bug #592262.</li> +</ul> +</div> +</div> +<div class="section" id="id105"> +<h2>0.9.4<a class="headerlink" href="#id105" title="Permalink to this headline">¶</a></h2> +<p>This release overhauls the traceback formatting layer to deal with Python 2 +line numbers and traceback objects often being local user encoded strings +rather than unicode objects. Test discovery has also been added and Python 3.1 +is also supported. Finally, the Mismatch protocol has been extended to let +Matchers collaborate with tests in supplying detailed data about failures.</p> +<div class="section" id="id106"> +<h3>Changes<a class="headerlink" href="#id106" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>testtools.utils has been renamed to testtools.compat. Importing +testtools.utils will now generate a deprecation warning.</li> +</ul> +</div> +<div class="section" id="id107"> +<h3>Improvements<a class="headerlink" href="#id107" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Add machinery for Python 2 to create unicode tracebacks like those used by +Python 3. This means testtools no longer throws on encountering non-ascii +filenames, source lines, or exception strings when displaying test results. +Largely contributed by Martin[gz] with some tweaks from Robert Collins.</li> +<li>James Westby has supplied test discovery support using the Python 2.7 +TestRunner in testtools.run. This requires the ‘discover’ module. This +closes bug #250764.</li> +<li>Python 3.1 is now supported, thanks to Martin[gz] for a partial patch. +This fixes bug #592375.</li> +<li>TestCase.addCleanup has had its docstring corrected about when cleanups run.</li> +<li>TestCase.skip is now deprecated in favour of TestCase.skipTest, which is the +Python2.7 spelling for skip. This closes bug #560436.</li> +<li>Tests work on IronPython patch from Martin[gz] applied.</li> +<li>Thanks to a patch from James Westby testtools.matchers.Mismatch can now +supply a get_details method, which assertThat will query to provide +additional attachments. This can be used to provide additional detail +about the mismatch that doesn’t suite being included in describe(). For +instance, if the match process was complex, a log of the process could be +included, permitting debugging.</li> +<li>testtools.testresults.real._StringException will now answer __str__ if its +value is unicode by encoding with UTF8, and vice versa to answer __unicode__. +This permits subunit decoded exceptions to contain unicode and still format +correctly.</li> +</ul> +</div> +</div> +<div class="section" id="id108"> +<h2>0.9.3<a class="headerlink" href="#id108" title="Permalink to this headline">¶</a></h2> +<p>More matchers, Python 2.4 support, faster test cloning by switching to copy +rather than deepcopy and better output when exceptions occur in cleanups are +the defining characteristics of this release.</p> +<div class="section" id="id109"> +<h3>Improvements<a class="headerlink" href="#id109" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>New matcher “Annotate” that adds a simple string message to another matcher, +much like the option ‘message’ parameter to standard library assertFoo +methods.</li> +<li>New matchers “Not” and “MatchesAll”. “Not” will invert another matcher, and +“MatchesAll” that needs a successful match for all of its arguments.</li> +<li>On Python 2.4, where types.FunctionType cannot be deepcopied, testtools will +now monkeypatch copy._deepcopy_dispatch using the same trivial patch that +added such support to Python 2.5. The monkey patch is triggered by the +absence of FunctionType from the dispatch dict rather than a version check. +Bug #498030.</li> +<li>On windows the test ‘test_now_datetime_now’ should now work reliably.</li> +<li>TestCase.getUniqueInteger and TestCase.getUniqueString now have docstrings.</li> +<li>TestCase.getUniqueString now takes an optional prefix parameter, so you can +now use it in circumstances that forbid strings with ‘.’s, and such like.</li> +<li>testtools.testcase.clone_test_with_new_id now uses copy.copy, rather than +copy.deepcopy. Tests that need a deeper copy should use the copy protocol to +control how they are copied. Bug #498869.</li> +<li>The backtrace test result output tests should now pass on windows and other +systems where os.sep is not ‘/’.</li> +<li>When a cleanUp or tearDown exception occurs, it is now accumulated as a new +traceback in the test details, rather than as a separate call to addError / +addException. This makes testtools work better with most TestResult objects +and fixes bug #335816.</li> +</ul> +</div> +</div> +<div class="section" id="id110"> +<h2>0.9.2<a class="headerlink" href="#id110" title="Permalink to this headline">¶</a></h2> +<p>Python 3 support, more matchers and better consistency with Python 2.7 – +you’d think that would be enough for a point release. Well, we here on the +testtools project think that you deserve more.</p> +<p>We’ve added a hook so that user code can be called just-in-time whenever there +is an exception, and we’ve also factored out the “run” logic of test cases so +that new outcomes can be added without fiddling with the actual flow of logic.</p> +<p>It might sound like small potatoes, but it’s changes like these that will +bring about the end of test frameworks.</p> +<div class="section" id="id111"> +<h3>Improvements<a class="headerlink" href="#id111" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>A failure in setUp and tearDown now report as failures not as errors.</li> +<li>Cleanups now run after tearDown to be consistent with Python 2.7’s cleanup +feature.</li> +<li>ExtendedToOriginalDecorator now passes unrecognised attributes through +to the decorated result object, permitting other extensions to the +TestCase -> TestResult protocol to work.</li> +<li>It is now possible to trigger code just-in-time after an exception causes +a test outcome such as failure or skip. See the testtools MANUAL or +<code class="docutils literal"><span class="pre">pydoc</span> <span class="pre">testtools.TestCase.addOnException</span></code>. (bug #469092)</li> +<li>New matcher Equals which performs a simple equality test.</li> +<li>New matcher MatchesAny which looks for a match of any of its arguments.</li> +<li>TestCase no longer breaks if a TestSkipped exception is raised with no +parameters.</li> +<li>TestCase.run now clones test cases before they are run and runs the clone. +This reduces memory footprint in large test runs - state accumulated on +test objects during their setup and execution gets freed when test case +has finished running unless the TestResult object keeps a reference. +NOTE: As test cloning uses deepcopy, this can potentially interfere if +a test suite has shared state (such as the testscenarios or testresources +projects use). Use the __deepcopy__ hook to control the copying of such +objects so that the shared references stay shared.</li> +<li>Testtools now accepts contributions without copyright assignment under some +circumstances. See HACKING for details.</li> +<li>Testtools now provides a convenient way to run a test suite using the +testtools result object: python -m testtools.run testspec [testspec...].</li> +<li>Testtools now works on Python 3, thanks to Benjamin Peterson.</li> +<li>Test execution now uses a separate class, testtools.RunTest to run single +tests. This can be customised and extended in a more consistent fashion than +the previous run method idiom. See pydoc for more information.</li> +<li>The test doubles that testtools itself uses are now available as part of +the testtools API in testtols.testresult.doubles.</li> +<li>TracebackContent now sets utf8 as the charset encoding, rather than not +setting one and encoding with the default encoder.</li> +<li>With python2.7 testtools.TestSkipped will be the unittest.case.SkipTest +exception class making skips compatible with code that manually raises the +standard library exception. (bug #490109)</li> +</ul> +</div> +<div class="section" id="id112"> +<h3>Changes<a class="headerlink" href="#id112" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>TestCase.getUniqueInteger is now implemented using itertools.count. Thanks +to Benjamin Peterson for the patch. (bug #490111)</li> +</ul> +</div> +</div> +<div class="section" id="id113"> +<h2>0.9.1<a class="headerlink" href="#id113" title="Permalink to this headline">¶</a></h2> +<p>The new matcher API introduced in 0.9.0 had a small flaw where the matchee +would be evaluated twice to get a description of the mismatch. This could lead +to bugs if the act of matching caused side effects to occur in the matchee. +Since having such side effects isn’t desirable, we have changed the API now +before it has become widespread.</p> +<div class="section" id="id114"> +<h3>Changes<a class="headerlink" href="#id114" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Matcher API changed to avoid evaluating matchee twice. Please consult +the API documentation.</li> +<li>TestCase.getUniqueString now uses the test id, not the test method name, +which works nicer with parameterised tests.</li> +</ul> +</div> +<div class="section" id="id115"> +<h3>Improvements<a class="headerlink" href="#id115" title="Permalink to this headline">¶</a></h3> +<ul class="simple"> +<li>Python2.4 is now supported again.</li> +</ul> +</div> +</div> +<div class="section" id="id116"> +<h2>0.9.0<a class="headerlink" href="#id116" title="Permalink to this headline">¶</a></h2> +<p>This release of testtools is perhaps the most interesting and exciting one +it’s ever had. We’ve continued in bringing together the best practices of unit +testing from across a raft of different Python projects, but we’ve also +extended our mission to incorporating unit testing concepts from other +languages and from our own research, led by Robert Collins.</p> +<p>We now support skipping and expected failures. We’ll make sure that you +up-call setUp and tearDown, avoiding unexpected testing weirdnesses. We’re +now compatible with Python 2.5, 2.6 and 2.7 unittest library.</p> +<p>All in all, if you are serious about unit testing and want to get the best +thinking from the whole Python community, you should get this release.</p> +<div class="section" id="id117"> +<h3>Improvements<a class="headerlink" href="#id117" title="Permalink to this headline">¶</a></h3> +<ul> +<li><p class="first">A new TestResult API has been added for attaching details to test outcomes. +This API is currently experimental, but is being prepared with the intent +of becoming an upstream Python API. For more details see pydoc +testtools.TestResult and the TestCase addDetail / getDetails methods.</p> +</li> +<li><p class="first">assertThat has been added to TestCase. This new assertion supports +a hamcrest-inspired matching protocol. See pydoc testtools.Matcher for +details about writing matchers, and testtools.matchers for the included +matchers. See <a class="reference external" href="http://code.google.com/p/hamcrest/">http://code.google.com/p/hamcrest/</a>.</p> +</li> +<li><p class="first">Compatible with Python 2.6 and Python 2.7</p> +</li> +<li><p class="first">Failing to upcall in setUp or tearDown will now cause a test failure. +While the base methods do nothing, failing to upcall is usually a problem +in deeper hierarchies, and checking that the root method is called is a +simple way to catch this common bug.</p> +</li> +<li><p class="first">New TestResult decorator ExtendedToOriginalDecorator which handles +downgrading extended API calls like addSkip to older result objects that +do not support them. This is used internally to make testtools simpler but +can also be used to simplify other code built on or for use with testtools.</p> +</li> +<li><p class="first">New TextTestResult supporting the extended APIs that testtools provides.</p> +</li> +<li><dl class="first docutils"> +<dt>Nose will no longer find ‘runTest’ tests in classes derived from</dt> +<dd><p class="first last">testtools.testcase.TestCase (bug #312257).</p> +</dd> +</dl> +</li> +<li><p class="first">Supports the Python 2.7/3.1 addUnexpectedSuccess and addExpectedFailure +TestResult methods, with a support function ‘knownFailure’ to let tests +trigger these outcomes.</p> +</li> +<li><p class="first">When using the skip feature with TestResult objects that do not support it +a test success will now be reported. Previously an error was reported but +production experience has shown that this is too disruptive for projects that +are using skips: they cannot get a clean run on down-level result objects.</p> +</li> +</ul> +</div> +</div> +</div> + + + </div> + </div> + </div> + <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> + <div class="sphinxsidebarwrapper"> + <h3><a href="index.html">Table Of Contents</a></h3> + <ul> +<li><a class="reference internal" href="#">testtools NEWS</a><ul> +<li><a class="reference internal" href="#next">NEXT</a></li> +<li><a class="reference internal" href="#id1">1.8.0</a><ul> +<li><a class="reference internal" href="#improvements">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id2">1.7.1</a><ul> +<li><a class="reference internal" href="#id3">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id4">1.7.0</a><ul> +<li><a class="reference internal" href="#id5">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id6">1.6.1</a><ul> +<li><a class="reference internal" href="#changes">Changes</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id7">1.6.0</a><ul> +<li><a class="reference internal" href="#id8">Improvements</a></li> +<li><a class="reference internal" href="#id9">Changes</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id10">1.5.0</a><ul> +<li><a class="reference internal" href="#id11">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id12">1.4.0</a><ul> +<li><a class="reference internal" href="#id13">Changes</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id14">1.3.0</a><ul> +<li><a class="reference internal" href="#id15">Changes</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id16">1.2.1</a><ul> +<li><a class="reference internal" href="#id17">Changes</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id18">1.2.0</a><ul> +<li><a class="reference internal" href="#id19">Changes</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id20">1.1.0</a><ul> +<li><a class="reference internal" href="#id21">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id22">1.0.0</a><ul> +<li><a class="reference internal" href="#id23">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id24">0.9.39</a></li> +<li><a class="reference internal" href="#id25">0.9.38</a><ul> +<li><a class="reference internal" href="#id26">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id27">0.9.37</a><ul> +<li><a class="reference internal" href="#id28">Changes</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id29">0.9.36</a><ul> +<li><a class="reference internal" href="#id30">Changes</a></li> +<li><a class="reference internal" href="#id31">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id32">0.9.35</a><ul> +<li><a class="reference internal" href="#id33">Changes</a></li> +<li><a class="reference internal" href="#id34">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id35">0.9.34</a><ul> +<li><a class="reference internal" href="#id36">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id37">0.9.33</a><ul> +<li><a class="reference internal" href="#id38">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id39">0.9.32</a><ul> +<li><a class="reference internal" href="#id40">Changes</a></li> +<li><a class="reference internal" href="#id41">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id42">0.9.31</a><ul> +<li><a class="reference internal" href="#id43">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id44">0.9.30</a><ul> +<li><a class="reference internal" href="#id45">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id46">0.9.29</a><ul> +<li><a class="reference internal" href="#id47">Changes</a></li> +<li><a class="reference internal" href="#id48">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id49">0.9.28</a><ul> +<li><a class="reference internal" href="#id50">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id51">0.9.27</a><ul> +<li><a class="reference internal" href="#id52">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id53">0.9.26</a><ul> +<li><a class="reference internal" href="#id54">Changes</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id55">0.9.25</a><ul> +<li><a class="reference internal" href="#id56">Changes</a></li> +<li><a class="reference internal" href="#id57">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id58">0.9.24</a><ul> +<li><a class="reference internal" href="#id59">Changes</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id60">0.9.23</a><ul> +<li><a class="reference internal" href="#id61">Changes</a></li> +<li><a class="reference internal" href="#id62">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id63">0.9.22</a><ul> +<li><a class="reference internal" href="#id64">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id65">0.9.21</a><ul> +<li><a class="reference internal" href="#id66">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id67">0.9.20</a><ul> +<li><a class="reference internal" href="#id68">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id69">0.9.19</a><ul> +<li><a class="reference internal" href="#id70">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id71">0.9.18</a></li> +<li><a class="reference internal" href="#id72">0.9.17</a><ul> +<li><a class="reference internal" href="#id73">Changes</a></li> +<li><a class="reference internal" href="#id74">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id75">0.9.16</a><ul> +<li><a class="reference internal" href="#id76">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id77">0.9.15</a><ul> +<li><a class="reference internal" href="#id78">Changes</a></li> +<li><a class="reference internal" href="#id79">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id80">0.9.14</a></li> +<li><a class="reference internal" href="#id81">0.9.13</a><ul> +<li><a class="reference internal" href="#id82">Changes</a></li> +<li><a class="reference internal" href="#id83">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id84">0.9.12</a><ul> +<li><a class="reference internal" href="#id85">Changes</a></li> +<li><a class="reference internal" href="#id86">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id87">0.9.11</a><ul> +<li><a class="reference internal" href="#id88">Changes</a></li> +<li><a class="reference internal" href="#id89">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id90">0.9.10</a><ul> +<li><a class="reference internal" href="#id91">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id92">0.9.9</a><ul> +<li><a class="reference internal" href="#id93">Changes</a></li> +<li><a class="reference internal" href="#id94">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id95">0.9.8</a><ul> +<li><a class="reference internal" href="#id96">Changes</a></li> +<li><a class="reference internal" href="#id97">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id98">0.9.7</a><ul> +<li><a class="reference internal" href="#id99">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id100">0.9.6</a><ul> +<li><a class="reference internal" href="#id101">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id102">0.9.5</a><ul> +<li><a class="reference internal" href="#id103">Changes</a></li> +<li><a class="reference internal" href="#id104">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id105">0.9.4</a><ul> +<li><a class="reference internal" href="#id106">Changes</a></li> +<li><a class="reference internal" href="#id107">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id108">0.9.3</a><ul> +<li><a class="reference internal" href="#id109">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id110">0.9.2</a><ul> +<li><a class="reference internal" href="#id111">Improvements</a></li> +<li><a class="reference internal" href="#id112">Changes</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id113">0.9.1</a><ul> +<li><a class="reference internal" href="#id114">Changes</a></li> +<li><a class="reference internal" href="#id115">Improvements</a></li> +</ul> +</li> +<li><a class="reference internal" href="#id116">0.9.0</a><ul> +<li><a class="reference internal" href="#id117">Improvements</a></li> +</ul> +</li> +</ul> +</li> +</ul> + + <h4>Previous topic</h4> + <p class="topless"><a href="hacking.html" + title="previous chapter">Contributing to testtools</a></p> + <h4>Next topic</h4> + <p class="topless"><a href="api.html" + title="next chapter">testtools API documentation</a></p> + <div role="note" aria-label="source link"> + <h3>This Page</h3> + <ul class="this-page-menu"> + <li><a href="_sources/news.txt" + rel="nofollow">Show Source</a></li> + </ul> + </div> +<div id="searchbox" style="display: none" role="search"> + <h3>Quick search</h3> + <form class="search" action="search.html" method="get"> + <input type="text" name="q" /> + <input type="submit" value="Go" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> + <p class="searchtip" style="font-size: 90%"> + Enter search terms or a module, class or function name. + </p> +</div> +<script type="text/javascript">$('#searchbox').show(0);</script> + </div> + </div> + <div class="clearer"></div> + </div> + <div class="related" role="navigation" aria-label="related navigation"> + <h3>Navigation</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="genindex.html" title="General Index" + >index</a></li> + <li class="right" > + <a href="py-modindex.html" title="Python Module Index" + >modules</a> |</li> + <li class="right" > + <a href="api.html" title="testtools API documentation" + >next</a> |</li> + <li class="right" > + <a href="hacking.html" title="Contributing to testtools" + >previous</a> |</li> + <li class="nav-item nav-item-0"><a href="index.html">testtools VERSION documentation</a> »</li> + </ul> + </div> + <div class="footer" role="contentinfo"> + © Copyright 2010, The testtools authors. + Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1. + </div> + </body> +</html>
\ No newline at end of file diff --git a/objects.inv b/objects.inv Binary files differnew file mode 100644 index 0000000..614d92b --- /dev/null +++ b/objects.inv diff --git a/overview.html b/overview.html new file mode 100644 index 0000000..d601581 --- /dev/null +++ b/overview.html @@ -0,0 +1,218 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + + +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + + <title>testtools: tasteful testing for Python — testtools VERSION documentation</title> + + <link rel="stylesheet" href="_static/classic.css" type="text/css" /> + <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> + + <script type="text/javascript"> + var DOCUMENTATION_OPTIONS = { + URL_ROOT: './', + VERSION: 'VERSION', + COLLAPSE_INDEX: false, + FILE_SUFFIX: '.html', + HAS_SOURCE: true + }; + </script> + <script type="text/javascript" src="_static/jquery.js"></script> + <script type="text/javascript" src="_static/underscore.js"></script> + <script type="text/javascript" src="_static/doctools.js"></script> + <link rel="top" title="testtools VERSION documentation" href="index.html" /> + <link rel="next" title="testtools for test authors" href="for-test-authors.html" /> + <link rel="prev" title="testtools: tasteful testing for Python" href="index.html" /> + </head> + <body role="document"> + <div class="related" role="navigation" aria-label="related navigation"> + <h3>Navigation</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="genindex.html" title="General Index" + accesskey="I">index</a></li> + <li class="right" > + <a href="py-modindex.html" title="Python Module Index" + >modules</a> |</li> + <li class="right" > + <a href="for-test-authors.html" title="testtools for test authors" + accesskey="N">next</a> |</li> + <li class="right" > + <a href="index.html" title="testtools: tasteful testing for Python" + accesskey="P">previous</a> |</li> + <li class="nav-item nav-item-0"><a href="index.html">testtools VERSION documentation</a> »</li> + </ul> + </div> + + <div class="document"> + <div class="documentwrapper"> + <div class="bodywrapper"> + <div class="body" role="main"> + + <div class="section" id="testtools-tasteful-testing-for-python"> +<h1>testtools: tasteful testing for Python<a class="headerlink" href="#testtools-tasteful-testing-for-python" title="Permalink to this headline">¶</a></h1> +<p>testtools is a set of extensions to the Python standard library’s unit testing +framework. These extensions have been derived from many years of experience +with unit testing in Python and come from many different sources. testtools +supports Python versions all the way back to Python 2.6.</p> +<p>What better way to start than with a contrived code snippet?:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="kn">from</span> <span class="nn">testtools</span> <span class="kn">import</span> <span class="n">TestCase</span> +<span class="kn">from</span> <span class="nn">testtools.content</span> <span class="kn">import</span> <span class="n">Content</span> +<span class="kn">from</span> <span class="nn">testtools.content_type</span> <span class="kn">import</span> <span class="n">UTF8_TEXT</span> +<span class="kn">from</span> <span class="nn">testtools.matchers</span> <span class="kn">import</span> <span class="n">Equals</span> + +<span class="kn">from</span> <span class="nn">myproject</span> <span class="kn">import</span> <span class="n">SillySquareServer</span> + +<span class="k">class</span> <span class="nc">TestSillySquareServer</span><span class="p">(</span><span class="n">TestCase</span><span class="p">):</span> + + <span class="k">def</span> <span class="nf">setUp</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="nb">super</span><span class="p">(</span><span class="n">TestSillySquare</span><span class="p">,</span> <span class="bp">self</span><span class="p">)</span><span class="o">.</span><span class="n">setUp</span><span class="p">()</span> + <span class="bp">self</span><span class="o">.</span><span class="n">server</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">useFixture</span><span class="p">(</span><span class="n">SillySquareServer</span><span class="p">())</span> + <span class="bp">self</span><span class="o">.</span><span class="n">addCleanup</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">attach_log_file</span><span class="p">)</span> + + <span class="k">def</span> <span class="nf">attach_log_file</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">addDetail</span><span class="p">(</span> + <span class="s">'log-file'</span><span class="p">,</span> + <span class="n">Content</span><span class="p">(</span><span class="n">UTF8_TEXT</span><span class="p">,</span> + <span class="k">lambda</span><span class="p">:</span> <span class="nb">open</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">server</span><span class="o">.</span><span class="n">logfile</span><span class="p">,</span> <span class="s">'r'</span><span class="p">)</span><span class="o">.</span><span class="n">readlines</span><span class="p">()))</span> + + <span class="k">def</span> <span class="nf">test_server_is_cool</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">server</span><span class="o">.</span><span class="n">temperature</span><span class="p">,</span> <span class="n">Equals</span><span class="p">(</span><span class="s">"cool"</span><span class="p">))</span> + + <span class="k">def</span> <span class="nf">test_square</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">server</span><span class="o">.</span><span class="n">silly_square_of</span><span class="p">(</span><span class="mi">7</span><span class="p">),</span> <span class="n">Equals</span><span class="p">(</span><span class="mi">49</span><span class="p">))</span> +</pre></div> +</div> +<div class="section" id="why-use-testtools"> +<h2>Why use testtools?<a class="headerlink" href="#why-use-testtools" title="Permalink to this headline">¶</a></h2> +<div class="section" id="better-assertion-methods"> +<h3>Better assertion methods<a class="headerlink" href="#better-assertion-methods" title="Permalink to this headline">¶</a></h3> +<p>The standard assertion methods that come with unittest aren’t as helpful as +they could be, and there aren’t quite enough of them. testtools adds +<code class="docutils literal"><span class="pre">assertIn</span></code>, <code class="docutils literal"><span class="pre">assertIs</span></code>, <code class="docutils literal"><span class="pre">assertIsInstance</span></code> and their negatives.</p> +</div> +<div class="section" id="matchers-better-than-assertion-methods"> +<h3>Matchers: better than assertion methods<a class="headerlink" href="#matchers-better-than-assertion-methods" title="Permalink to this headline">¶</a></h3> +<p>Of course, in any serious project you want to be able to have assertions that +are specific to that project and the particular problem that it is addressing. +Rather than forcing you to define your own assertion methods and maintain your +own inheritance hierarchy of <code class="docutils literal"><span class="pre">TestCase</span></code> classes, testtools lets you write +your own “matchers”, custom predicates that can be plugged into a unit test:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">test_response_has_bold</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="c"># The response has bold text.</span> + <span class="n">response</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">server</span><span class="o">.</span><span class="n">getResponse</span><span class="p">()</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertThat</span><span class="p">(</span><span class="n">response</span><span class="p">,</span> <span class="n">HTMLContains</span><span class="p">(</span><span class="n">Tag</span><span class="p">(</span><span class="s">'bold'</span><span class="p">,</span> <span class="s">'b'</span><span class="p">)))</span> +</pre></div> +</div> +</div> +<div class="section" id="more-debugging-info-when-you-need-it"> +<h3>More debugging info, when you need it<a class="headerlink" href="#more-debugging-info-when-you-need-it" title="Permalink to this headline">¶</a></h3> +<p>testtools makes it easy to add arbitrary data to your test result. If you +want to know what’s in a log file when a test fails, or what the load was on +the computer when a test started, or what files were open, you can add that +information with <code class="docutils literal"><span class="pre">TestCase.addDetail</span></code>, and it will appear in the test +results if that test fails.</p> +</div> +<div class="section" id="extend-unittest-but-stay-compatible-and-re-usable"> +<h3>Extend unittest, but stay compatible and re-usable<a class="headerlink" href="#extend-unittest-but-stay-compatible-and-re-usable" title="Permalink to this headline">¶</a></h3> +<p>testtools goes to great lengths to allow serious test authors and test +<em>framework</em> authors to do whatever they like with their tests and their +extensions while staying compatible with the standard library’s unittest.</p> +<p>testtools has completely parametrized how exceptions raised in tests are +mapped to <code class="docutils literal"><span class="pre">TestResult</span></code> methods and how tests are actually executed (ever +wanted <code class="docutils literal"><span class="pre">tearDown</span></code> to be called regardless of whether <code class="docutils literal"><span class="pre">setUp</span></code> succeeds?)</p> +<p>It also provides many simple but handy utilities, like the ability to clone a +test, a <code class="docutils literal"><span class="pre">MultiTestResult</span></code> object that lets many result objects get the +results from one test suite, adapters to bring legacy <code class="docutils literal"><span class="pre">TestResult</span></code> objects +into our new golden age.</p> +</div> +<div class="section" id="cross-python-compatibility"> +<h3>Cross-Python compatibility<a class="headerlink" href="#cross-python-compatibility" title="Permalink to this headline">¶</a></h3> +<p>testtools gives you the very latest in unit testing technology in a way that +will work with Python 2.6, 2.7, 3.1 and 3.2.</p> +<p>If you wish to use testtools with Python 2.4 or 2.5, then please use testtools +0.9.15. Up to then we supported Python 2.4 and 2.5, but we found the +constraints involved in not using the newer language features onerous as we +added more support for versions post Python 3.</p> +</div> +</div> +</div> + + + </div> + </div> + </div> + <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> + <div class="sphinxsidebarwrapper"> + <h3><a href="index.html">Table Of Contents</a></h3> + <ul> +<li><a class="reference internal" href="#">testtools: tasteful testing for Python</a><ul> +<li><a class="reference internal" href="#why-use-testtools">Why use testtools?</a><ul> +<li><a class="reference internal" href="#better-assertion-methods">Better assertion methods</a></li> +<li><a class="reference internal" href="#matchers-better-than-assertion-methods">Matchers: better than assertion methods</a></li> +<li><a class="reference internal" href="#more-debugging-info-when-you-need-it">More debugging info, when you need it</a></li> +<li><a class="reference internal" href="#extend-unittest-but-stay-compatible-and-re-usable">Extend unittest, but stay compatible and re-usable</a></li> +<li><a class="reference internal" href="#cross-python-compatibility">Cross-Python compatibility</a></li> +</ul> +</li> +</ul> +</li> +</ul> + + <h4>Previous topic</h4> + <p class="topless"><a href="index.html" + title="previous chapter">testtools: tasteful testing for Python</a></p> + <h4>Next topic</h4> + <p class="topless"><a href="for-test-authors.html" + title="next chapter">testtools for test authors</a></p> + <div role="note" aria-label="source link"> + <h3>This Page</h3> + <ul class="this-page-menu"> + <li><a href="_sources/overview.txt" + rel="nofollow">Show Source</a></li> + </ul> + </div> +<div id="searchbox" style="display: none" role="search"> + <h3>Quick search</h3> + <form class="search" action="search.html" method="get"> + <input type="text" name="q" /> + <input type="submit" value="Go" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> + <p class="searchtip" style="font-size: 90%"> + Enter search terms or a module, class or function name. + </p> +</div> +<script type="text/javascript">$('#searchbox').show(0);</script> + </div> + </div> + <div class="clearer"></div> + </div> + <div class="related" role="navigation" aria-label="related navigation"> + <h3>Navigation</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="genindex.html" title="General Index" + >index</a></li> + <li class="right" > + <a href="py-modindex.html" title="Python Module Index" + >modules</a> |</li> + <li class="right" > + <a href="for-test-authors.html" title="testtools for test authors" + >next</a> |</li> + <li class="right" > + <a href="index.html" title="testtools: tasteful testing for Python" + >previous</a> |</li> + <li class="nav-item nav-item-0"><a href="index.html">testtools VERSION documentation</a> »</li> + </ul> + </div> + <div class="footer" role="contentinfo"> + © Copyright 2010, The testtools authors. + Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1. + </div> + </body> +</html>
\ No newline at end of file diff --git a/py-modindex.html b/py-modindex.html new file mode 100644 index 0000000..fd03104 --- /dev/null +++ b/py-modindex.html @@ -0,0 +1,114 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + + +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + + <title>Python Module Index — testtools VERSION documentation</title> + + <link rel="stylesheet" href="_static/classic.css" type="text/css" /> + <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> + + <script type="text/javascript"> + var DOCUMENTATION_OPTIONS = { + URL_ROOT: './', + VERSION: 'VERSION', + COLLAPSE_INDEX: false, + FILE_SUFFIX: '.html', + HAS_SOURCE: true + }; + </script> + <script type="text/javascript" src="_static/jquery.js"></script> + <script type="text/javascript" src="_static/underscore.js"></script> + <script type="text/javascript" src="_static/doctools.js"></script> + <link rel="top" title="testtools VERSION documentation" href="index.html" /> + + + + </head> + <body role="document"> + <div class="related" role="navigation" aria-label="related navigation"> + <h3>Navigation</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="genindex.html" title="General Index" + accesskey="I">index</a></li> + <li class="right" > + <a href="#" title="Python Module Index" + >modules</a> |</li> + <li class="nav-item nav-item-0"><a href="index.html">testtools VERSION documentation</a> »</li> + </ul> + </div> + + <div class="document"> + <div class="documentwrapper"> + <div class="bodywrapper"> + <div class="body" role="main"> + + + <h1>Python Module Index</h1> + + <div class="modindex-jumpbox"> + <a href="#cap-t"><strong>t</strong></a> + </div> + + <table class="indextable modindextable" cellspacing="0" cellpadding="2"> + <tr class="pcap"><td></td><td> </td><td></td></tr> + <tr class="cap" id="cap-t"><td></td><td> + <strong>t</strong></td><td></td></tr> + <tr> + <td><img src="_static/minus.png" class="toggler" + id="toggle-1" style="display: none" alt="-" /></td> + <td> + <a href="api.html#module-testtools"><code class="xref">testtools</code></a></td><td> + <em></em></td></tr> + <tr class="cg-1"> + <td></td> + <td> + <a href="api.html#module-testtools.matchers"><code class="xref">testtools.matchers</code></a></td><td> + <em></em></td></tr> + </table> + + + </div> + </div> + </div> + <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> + <div class="sphinxsidebarwrapper"> +<div id="searchbox" style="display: none" role="search"> + <h3>Quick search</h3> + <form class="search" action="search.html" method="get"> + <input type="text" name="q" /> + <input type="submit" value="Go" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> + <p class="searchtip" style="font-size: 90%"> + Enter search terms or a module, class or function name. + </p> +</div> +<script type="text/javascript">$('#searchbox').show(0);</script> + </div> + </div> + <div class="clearer"></div> + </div> + <div class="related" role="navigation" aria-label="related navigation"> + <h3>Navigation</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="genindex.html" title="General Index" + >index</a></li> + <li class="right" > + <a href="#" title="Python Module Index" + >modules</a> |</li> + <li class="nav-item nav-item-0"><a href="index.html">testtools VERSION documentation</a> »</li> + </ul> + </div> + <div class="footer" role="contentinfo"> + © Copyright 2010, The testtools authors. + Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1. + </div> + </body> +</html>
\ No newline at end of file diff --git a/search.html b/search.html new file mode 100644 index 0000000..3654262 --- /dev/null +++ b/search.html @@ -0,0 +1,105 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + + +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + + <title>Search — testtools VERSION documentation</title> + + <link rel="stylesheet" href="_static/classic.css" type="text/css" /> + <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> + + <script type="text/javascript"> + var DOCUMENTATION_OPTIONS = { + URL_ROOT: './', + VERSION: 'VERSION', + COLLAPSE_INDEX: false, + FILE_SUFFIX: '.html', + HAS_SOURCE: true + }; + </script> + <script type="text/javascript" src="_static/jquery.js"></script> + <script type="text/javascript" src="_static/underscore.js"></script> + <script type="text/javascript" src="_static/doctools.js"></script> + <script type="text/javascript" src="_static/searchtools.js"></script> + <link rel="top" title="testtools VERSION documentation" href="index.html" /> + <script type="text/javascript"> + jQuery(function() { Search.loadIndex("searchindex.js"); }); + </script> + + <script type="text/javascript" id="searchindexloader"></script> + + + </head> + <body role="document"> + <div class="related" role="navigation" aria-label="related navigation"> + <h3>Navigation</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="genindex.html" title="General Index" + accesskey="I">index</a></li> + <li class="right" > + <a href="py-modindex.html" title="Python Module Index" + >modules</a> |</li> + <li class="nav-item nav-item-0"><a href="index.html">testtools VERSION documentation</a> »</li> + </ul> + </div> + + <div class="document"> + <div class="documentwrapper"> + <div class="bodywrapper"> + <div class="body" role="main"> + + <h1 id="search-documentation">Search</h1> + <div id="fallback" class="admonition warning"> + <script type="text/javascript">$('#fallback').hide();</script> + <p> + Please activate JavaScript to enable the search + functionality. + </p> + </div> + <p> + From here you can search these documents. Enter your search + words into the box below and click "search". Note that the search + function will automatically search for all of the words. Pages + containing fewer words won't appear in the result list. + </p> + <form action="" method="get"> + <input type="text" name="q" value="" /> + <input type="submit" value="search" /> + <span id="search-progress" style="padding-left: 10px"></span> + </form> + + <div id="search-results"> + + </div> + + </div> + </div> + </div> + <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> + <div class="sphinxsidebarwrapper"> + </div> + </div> + <div class="clearer"></div> + </div> + <div class="related" role="navigation" aria-label="related navigation"> + <h3>Navigation</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="genindex.html" title="General Index" + >index</a></li> + <li class="right" > + <a href="py-modindex.html" title="Python Module Index" + >modules</a> |</li> + <li class="nav-item nav-item-0"><a href="index.html">testtools VERSION documentation</a> »</li> + </ul> + </div> + <div class="footer" role="contentinfo"> + © Copyright 2010, The testtools authors. + Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1. + </div> + </body> +</html>
\ No newline at end of file diff --git a/searchindex.js b/searchindex.js new file mode 100644 index 0000000..700c5e5 --- /dev/null +++ b/searchindex.js @@ -0,0 +1 @@ +Search.setIndex({envversion:46,filenames:["api","for-framework-folk","for-test-authors","hacking","index","news","overview"],objects:{"":{testtools:[0,0,0,"-"]},"testtools.ConcurrentStreamTestSuite":{run:[0,2,1,""]},"testtools.ConcurrentTestSuite":{run:[0,2,1,""]},"testtools.ExtendedToStreamDecorator":{current_tags:[0,4,1,""],tags:[0,2,1,""]},"testtools.MultiTestResult":{wasSuccessful:[0,2,1,""]},"testtools.RunTest":{run:[0,2,1,""]},"testtools.StreamResult":{startTestRun:[0,2,1,""],status:[0,2,1,""],stopTestRun:[0,2,1,""]},"testtools.StreamResultRouter":{add_rule:[0,2,1,""]},"testtools.StreamSummary":{wasSuccessful:[0,2,1,""]},"testtools.StreamToQueue":{route_code:[0,2,1,""]},"testtools.TestCase":{addCleanup:[0,2,1,""],addDetail:[0,2,1,""],addDetailUniqueName:[0,2,1,""],addOnException:[0,2,1,""],assertEqual:[0,2,1,""],assertEquals:[0,2,1,""],assertIn:[0,2,1,""],assertIs:[0,2,1,""],assertIsNone:[0,2,1,""],assertIsNot:[0,2,1,""],assertIsNotNone:[0,2,1,""],assertNotIn:[0,2,1,""],assertRaises:[0,2,1,""],assertThat:[0,2,1,""],expectFailure:[0,2,1,""],expectThat:[0,2,1,""],failUnlessEqual:[0,2,1,""],failUnlessRaises:[0,2,1,""],getDetails:[0,2,1,""],getUniqueInteger:[0,2,1,""],getUniqueString:[0,2,1,""],onException:[0,2,1,""],patch:[0,2,1,""],run_tests_with:[0,4,1,""],skip:[0,2,1,""],skipException:[0,4,1,""],skipTest:[0,2,1,""],useFixture:[0,2,1,""]},"testtools.TestControl":{stop:[0,2,1,""]},"testtools.TestResult":{addError:[0,2,1,""],addExpectedFailure:[0,2,1,""],addFailure:[0,2,1,""],addSkip:[0,2,1,""],addSuccess:[0,2,1,""],addUnexpectedSuccess:[0,2,1,""],current_tags:[0,4,1,""],done:[0,2,1,""],startTestRun:[0,2,1,""],stopTestRun:[0,2,1,""],tags:[0,2,1,""],time:[0,2,1,""],wasSuccessful:[0,2,1,""]},"testtools.ThreadsafeForwardingResult":{tags:[0,2,1,""]},"testtools.matchers":{AfterPreprocessing:[0,1,1,""],AllMatch:[0,1,1,""],Annotate:[0,1,1,""],AnyMatch:[0,1,1,""],ContainedByDict:[0,1,1,""],Contains:[0,1,1,""],ContainsAll:[0,3,1,""],ContainsDict:[0,1,1,""],DirContains:[0,1,1,""],DirExists:[0,3,1,""],DocTestMatches:[0,1,1,""],EndsWith:[0,1,1,""],Equals:[0,1,1,""],FileContains:[0,1,1,""],FileExists:[0,3,1,""],GreaterThan:[0,1,1,""],HasPermissions:[0,1,1,""],Is:[0,1,1,""],IsInstance:[0,1,1,""],KeysEqual:[0,1,1,""],LessThan:[0,1,1,""],MatchesAll:[0,1,1,""],MatchesAny:[0,1,1,""],MatchesDict:[0,1,1,""],MatchesException:[0,1,1,""],MatchesListwise:[0,1,1,""],MatchesPredicate:[0,1,1,""],MatchesPredicateWithParams:[0,3,1,""],MatchesRegex:[0,1,1,""],MatchesSetwise:[0,1,1,""],MatchesStructure:[0,1,1,""],Not:[0,1,1,""],NotEquals:[0,1,1,""],PathExists:[0,3,1,""],Raises:[0,1,1,""],SamePath:[0,1,1,""],StartsWith:[0,1,1,""],TarballContains:[0,1,1,""],raises:[0,3,1,""]},"testtools.matchers.Annotate":{if_message:[0,5,1,""]},"testtools.matchers.Equals":{comparator:[0,2,1,""]},"testtools.matchers.GreaterThan":{comparator:[0,2,1,""]},"testtools.matchers.Is":{comparator:[0,2,1,""]},"testtools.matchers.LessThan":{comparator:[0,2,1,""]},"testtools.matchers.MatchesStructure":{byEquality:[0,5,1,""],byMatcher:[0,5,1,""]},"testtools.matchers.NotEquals":{comparator:[0,2,1,""]},testtools:{ConcurrentStreamTestSuite:[0,1,1,""],ConcurrentTestSuite:[0,1,1,""],CopyStreamResult:[0,1,1,""],DecorateTestCaseResult:[0,1,1,""],ErrorHolder:[0,3,1,""],ExpectedException:[0,1,1,""],ExtendedToOriginalDecorator:[0,1,1,""],ExtendedToStreamDecorator:[0,1,1,""],MultiTestResult:[0,1,1,""],MultipleExceptions:[0,6,1,""],PlaceHolder:[0,1,1,""],RunTest:[0,1,1,""],StreamFailFast:[0,1,1,""],StreamResult:[0,1,1,""],StreamResultRouter:[0,1,1,""],StreamSummary:[0,1,1,""],StreamTagger:[0,1,1,""],StreamToDict:[0,1,1,""],StreamToExtendedDecorator:[0,1,1,""],StreamToQueue:[0,1,1,""],Tagger:[0,1,1,""],TestByTestResult:[0,1,1,""],TestCase:[0,1,1,""],TestCommand:[0,1,1,""],TestControl:[0,1,1,""],TestResult:[0,1,1,""],TestResultDecorator:[0,1,1,""],TextTestResult:[0,1,1,""],ThreadsafeForwardingResult:[0,1,1,""],TimestampingStreamResult:[0,1,1,""],clone_test_with_new_id:[0,3,1,""],iterate_tests:[0,3,1,""],matchers:[0,0,0,"-"],run_test_with:[0,3,1,""],skip:[0,3,1,""],skipIf:[0,3,1,""],skipUnless:[0,3,1,""],try_import:[0,3,1,""],try_imports:[0,3,1,""]}},objnames:{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","method","Python method"],"3":["py","function","Python function"],"4":["py","attribute","Python attribute"],"5":["py","classmethod","Python class method"],"6":["py","exception","Python exception"]},objtypes:{"0":"py:module","1":"py:class","2":"py:method","3":"py:function","4":"py:attribute","5":"py:classmethod","6":"py:exception"},terms:{"0x26e2180":0,"__all__":[0,5],"__call__":1,"__deepcopy__":5,"__init__":[0,2,3,5],"__ne__":0,"__str__":[2,5],"__testtools_tb_locals__":1,"__unicode__":5,"_basic":0,"_compat2x":5,"_deepcopy_dispatch":5,"_event":1,"_except":0,"_format_exc_info":5,"_jython_aware_splitext":5,"_read":[0,2],"_run_us":0,"_runtest":0,"_stringexcept":5,"abstract":0,"boolean":2,"break":[3,5],"byte":[0,2,5],"case":[0,1,2,5],"catch":[0,5],"class":[0,1,2,3,5,6],"default":[0,1,2,3,5],"export":[3,5],"final":[0,1,2,5],"function":[0,1],"import":[0,1],"long":[1,2,5],"new":[0,1,2],"public":[0,3,5],"rapha\u00ebl":5,"return":[0,1,2,5],"short":[0,1],"super":[0,2,5,6],"switch":5,"throw":[2,5],"true":[0,1,2,5],"try":[0,1,2,5],"while":[0,2,5,6],a_datetim:0,aaron:5,abc:2,abil:[3,5,6],abl:[0,1,2,3,5,6],abort:[0,1,5],about:[0,1,2,3,5],abov:[2,3,5],absenc:5,absolut:2,accept:[0,2,5],access:[2,3],accid:5,accident:5,accommod:0,account:0,accumul:[0,5],accur:[0,1],achiev:1,acquisit:5,across:[0,1,5],act:[2,5],action:[0,5],activ:[0,1,5],actual:[0,1,2,5,6],adapt:[1,2,5,6],add:[0,1,2,3,5,6],add_rul:[0,1],addcleanup:[0,1],adddetail:[0,2,5,6],adddetailuniquenam:[0,5],adderror:[0,1,2,5],addexcept:5,addexpectedfailur:[0,5],addfailur:[0,1,5],addit:[0,1,2,5],addonexcept:0,address:6,addskip:0,addsuccess:0,addunexpectedsuccess:[0,5],adjac:0,adjust:0,adopt:5,advanc:2,advantag:5,advertis:5,affect:[0,2,5],afraid:5,after:[0,1,2,3,5],after_run:0,afterpreproccess:5,afterpreprocess:0,again:[1,5],against:[0,1,2,5],ahead:0,aid:[0,1,2,5],aim:0,aka:2,algorithm:5,alia:0,align:2,all:[0,1,2,3,4,5,6],allmatch:0,allow:[0,1,2,3,4,5,6],almost:2,alphabet:3,alreadi:[0,2,5],also:[0,1,2,4,5,6],alter:1,altern:[0,2],although:[2,5],alwai:[0,5],ambigu:[0,2],analys:[1,5],analysi:[0,5],andrew:5,ani:[0,1,2,5,6],annot:0,annotatedmismatch:5,annotatedtest:2,announc:1,anonym:0,anoth:[0,1,2,5],answer:[2,5],anymatch:[0,5],anymor:5,anyth:[0,2,5],anywai:0,anywher:5,app:2,appear:6,append:5,appli:[0,1,2,5],applic:0,appropri:[1,2],arbitrari:[0,1,2,6],aren:[5,6],arg:[0,2],argument:[0,1,2,3,5],aristo:2,around:[0,2,5],arrang:2,arriv:1,as_text:5,ascii:[2,5],ask:2,aspect:1,assembl:2,assert:0,assert_fails_with:2,assertdictequ:5,assertequ:[0,2,5],assertfailur:2,assertfoo:5,asserti:0,assertin:0,assertionerror:[0,5],assertisnon:[0,5],assertisnot:0,assertisnotinst:2,assertisnotnon:[0,5],assertnotequ:[0,2],assertnotin:0,assertrais:0,assertthat:[0,2,5,6],asserttru:0,assign:0,associ:0,assum:[0,2],assumpt:[0,1,2],asynchron:5,asynchronousdeferredruntest:[2,5],asynchronousdeferredruntestforbrokentwist:2,atom:0,attach:[0,2,5],attach_fil:[2,5],attach_log_fil:[2,6],attach_server_diagnost:2,attempt:[0,1,5],attr:[2,5],attribut:[0,1],author:[0,1],autom:[2,5],automat:5,avail:[0,1,2,5],avoid:[0,2,3,5],awai:1,awar:3,back:[0,1,2,4,5,6],backport:5,backslash:5,backtrac:5,backward:[0,3,5],bad:[2,5],bad_valu:2,badin:5,badli:2,bag:5,banconi:5,bar:2,barrier:[0,5],base:[0,2,5],basic:0,batch:[0,1],batteri:2,bazaar:5,becaus:[1,2,5],becom:[2,5],been:[0,1,3,4,5,6],befor:[0,1,2,3,5],before_run:0,begin:2,behav:[0,2],behavior:2,behaviour:[0,2,3,5],belong:3,below:2,benchmark:2,benedikt:5,benefit:2,benjamin:5,bennett:5,bentlei:5,berun:2,best:[1,2,5],better:[2,5],between:[0,1,3,5],beyond:2,big:[2,5],bin:2,bind:5,binn:5,bit:[1,2,5],block:[1,2,3],blow:5,blue:2,blurb:3,boilerpl:5,bold:6,bond:5,both:[1,2,5],bother:[0,2],brainer:3,branch:3,bread:2,breakdown:2,bring:[5,6],broken:[2,5],brought:5,brown:5,buffer:[0,1,5],bug:[0,1,2],build:[2,5],buildout:5,built:[0,2,5],bullet:3,bunch:2,bundl:[0,2],butter:2,byequal:[0,2,5],bymatch:[0,5],byrum:5,bytesio:5,bytestr:[0,5],bzrlib:5,cabal:[3,5],calcul:[0,2,5],call:[0,1,2,3,5,6],callabl:0,callableobj:0,callback:[0,5],caller:0,callout:0,can:[0,1,2,3,5,6],cancel:5,cannot:[0,1,2,5],canon:5,capabl:2,captur:[2,5],care:[0,2,3],cast:0,cat:2,caught:[0,2,5],caus:[0,1,2,5],ceil:5,certain:2,certainli:[2,5],chalk:2,chanc:5,chang:[0,1,2,3,4],channel:1,charact:[2,5],characterist:5,charset:[0,5],chatter:0,check:[0,2,3,5],chees:2,childdir:2,choos:[0,3],chose:0,chosen:0,christian:5,chunk:[0,2],circumst:5,claim:5,clariti:3,classmethod:0,clean:[1,2,5],cleanup:[0,2,5],clear:[2,3],client:[1,2,5],clint:5,clone:[3,5,6],clone_test_with_new_id:[0,1,5],close:[2,5],cloud:1,cluster:1,cmdclass:2,coalesc:1,coars:3,code:[0,1,2],coerc:0,cole:5,colin:5,collabor:5,collat:1,collect:[2,5],collin:5,color:2,colorless:2,com:[3,5],combin:[0,1],come:[0,2,4,6],command:[0,2],committ:3,common:[0,2,5],commun:[2,4,5],compar:[0,5],comparison:2,compat:[0,1,3,5],compel:5,complement:5,complet:[0,1,2,5,6],complex:[0,2,5],complic:2,compon:[1,2],composit:1,compound:5,comput:[1,6],conceiv:2,concept:[0,5],concurr:[0,1,5],concurrentstreamtestsuit:0,concurrenttestsuit:0,condit:0,condition:[2,5],configur:2,confirm:5,conflat:1,conflict:0,conform:3,confound:1,confus:[0,5],conjuct:1,connect:[0,2],consensu:3,consid:[0,1,5],consist:[0,1,3,5],constitu:0,constitut:3,constraint:6,construct:[0,2,5],constructor:[0,1,2,5],consult:[1,5],consum:[0,5],consume_rout:[0,1],contact:3,contain:[0,1],containedbydict:[0,5],containsal:[0,5],containsdict:[0,5],content:0,content_from_fil:[2,5],content_from_stream:5,content_object:0,content_typ:[2,5,6],contenttyp:[2,5],context:[0,1,2,5],conting:3,continu:[0,2,5],contract:[0,5],contributor:[3,5],contriv:[2,6],control:0,conveni:[0,1,2,3,5],convers:2,convert:[0,1,2,5],convolut:2,cool:[2,6],coordin:1,copi:[0,1,5],copystreamresult:[0,5],core:2,corner:5,correct:[1,2,5],correctli:5,correspond:0,cosmet:5,could:[0,1,2,3,5,6],count:[1,5],coupl:[2,5],cours:[2,6],cpython:5,crasher:3,creat:[0,1,2,3,5],creation:0,critic:5,current:[0,2,3,5],current_tag:[0,5],custom:0,customis:[0,5],customrunn:0,customruntestfactori:1,cut:5,cycl:5,dai:5,daniel:5,data:[0,1,2,5,6],databas:[0,2],datetim:[0,2,5],dead:3,deal:[1,2,5],death:2,debug:[2,5],decid:[0,1,2],decis:2,declar:2,decod:5,decor:0,decoratetestcaseresult:0,deem:0,deepcopi:5,deeper:5,def:[0,1,2,6],defer:[2,5],deferredruntest:[2,3],defici:2,defin:[0,1,2,5,6],definit:3,degrad:0,delai:0,deleg:5,delet:[0,5],deliv:1,demultiplex:5,depend:[0,2,3,5],deprec:[0,2,5],dequeu:0,deriv:[2,4,5,6],describ:[0,2,5],descript:[0,1,2,3,5],deserv:5,design:1,desir:[0,1,5],destin:0,detail:[0,1],detect:[0,1,2,5],determin:[0,5],dev:3,develop:3,diagnost:[0,2],dict:[0,1,2,5],dictionari:[0,5],did:5,didn:5,differ:[0,1,2,4,5,6],differenti:1,digit:0,dircontain:0,directli:0,directori:[0,2,3,5],direxist:0,discard:[0,1,5],discov:[2,5],discoveri:[1,5],discuss:2,disk:2,dispatch:[0,1,5],displai:[1,2,5],disrupt:5,dist:0,distinct:[1,2],distinguish:5,distribut:[1,3,5],divid:2,divis:2,do_someth:0,do_start_stop_run:0,doc:[1,2,5],docstr:[0,5],doctest:[0,2],doctestmatch:0,doe:[0,1,2,3,5],doesn:[1,5],doesnotstartwith:5,dog:2,domain:2,don:[0,1,2,5],done:[0,1,2,5],dot:1,doubl:0,down:[1,2,5],downgrad:5,downstream:5,doyl:5,drop:5,duck:2,due:[1,5],duplic:[1,5],durat:[0,2,5],dure:[0,1,2,5],dynam:[0,1],each:[0,1,2,3,5],earli:[3,5],eas:3,easi:[0,1,6],easier:[2,5],easili:[0,2],easy_instal:5,eat:5,ecosystem:5,effect:[0,5],egg_info:5,either:[0,1,2,3,5],element:[0,1],ellipsi:2,els:2,elsewher:2,embarrass:5,embed:1,emit:[0,1,2],empti:[0,2,5],encapsul:[1,5],encod:[2,5],encount:5,end:[0,2,3,5],endswith:0,enforc:0,english:2,enjoy:2,enough:[1,2,5,6],enqueu:0,ensur:[0,1,2,3,5],entir:[1,5],enumer:0,environ:1,eof:[0,5],equal:0,equival:[0,2],err:0,error:[0,1,2,5],error_callback:0,errorhold:[0,1,5],especi:[2,5],essenti:2,etc:[0,2,5],etr:3,euc_jp:5,evalu:5,even:[0,1,5],event:[0,1,5],event_nam:2,ever:[0,2,5,6],everi:[0,2,3,5],everyth:1,evolv:2,exact:[2,5],exactli:[0,2,3],exampl:[0,1],exampletest:2,exc:0,exc_info1:2,exc_info2:2,exc_info:[0,2],exc_typ:0,excclass:0,except:0,exception_caught:0,exception_class:0,exception_handl:[0,1],exception_match:0,exception_valu:0,exceptionclass:[0,1],excit:5,execut:0,exist:[0,2,5],exit:[0,5],expand:5,expect:[0,1,2,5],expectedexcept:0,expectedfailur:5,expectfailur:0,expectthat:[0,2,5],expens:[0,2],experi:[4,5,6],experiment:[0,2,5],explain:0,explan:3,explicitli:[0,1,5],expos:[2,5],express:[0,2,5],extend:[0,1,2,5],extendedtestresult:[0,1,5],extendedtooriginaldecor:0,extendedtostreamdecor:0,extens:0,extern:[2,5],extra:[0,2,3,5],extra_arg:1,extract_tb:5,extradata:0,facil:[0,5],facilit:1,factor:5,factori:[0,1,2],fail:[0,1,2,5,6],failfast:[0,5],failunlessequ:0,failunlessrais:0,failur:0,failureexcept:5,fall:1,fallback:[0,1],fals:[0,2,5],famili:5,far:0,fashion:[1,5],faster:5,fat:5,favour:[0,5],featur:[1,2,3,4,5,6],fed:1,feedback:[3,5],few:[2,3,5],fewer:[0,5],fiddl:5,figur:5,file:[0,1],file_byt:0,file_nam:0,filebug:3,filecontain:0,fileexist:0,filenam:[0,5],filesystem:2,filter:[0,1,2,5],find:[1,2,5],fine:[1,2,5],finish:[0,1,2,5],first:[0,1,2,5],first_nam:2,first_onli:[0,2,5],firstli:5,fix:[2,3,5],fixtur:[0,1],flag:[0,2],flatten:[1,5],flaw:5,flexabl:0,flexibl:1,flow:5,flush:0,flush_logged_error:2,flushloggederror:2,flux:2,focu:5,follow:[0,1,2,3],foo:[0,1,2],foo_alia:2,footprint:5,forbid:5,forc:[0,2,5,6],force_failur:[0,1],fork:1,form:[1,3],formal:5,format:0,forth:[1,2],forward:[0,1,2,5],found:[0,1,2,5,6],four:0,frame:5,francesco:5,free:3,freed:5,freeli:2,frequent:2,from:[0,1,2,3,4,5,6],fromexampl:[0,2],front:[0,1,5],frotz:2,frotz_count:2,full:[3,5],full_nam:2,fullstackruntest:[3,5],fun:[2,5],functiontyp:5,functool:0,further:[0,3,5],futur:[0,2,5],gain:0,garbag:5,gari:5,gather:[0,1,5],gather_detail:5,gavin:5,gener:[0,1],gerard:2,get:[0,1,2],get_detail:[2,5],get_diagnost:2,get_invit:2,getattr:2,getdetail:[0,5],getnam:[0,2],getrespons:6,getuniqueinteg:[0,2,5],getuniquestr:[0,2,5],getvalu:2,git:[3,5],github:[3,5],give:[0,2,3,5,6],given:[0,1,2,5],global:[0,5],glue:5,goe:[3,6],golden:6,gone_tag:[0,5],good:[1,2,3,5],googl:5,grab:5,gracefulli:0,graham:5,grain:[1,5],grant:3,granular:5,gratuit:2,great:[1,2,5,6],greater:[0,2],greaterthan:0,green:2,greet:2,grid:2,group:5,grow:2,guarante:0,guard:5,guid:1,hack:[1,3,5],had:[1,5],halt:0,hamcrest:[0,5],hand:1,handi:6,handl:0,handle_test:1,handler:[0,1,5],handler_funct:0,hang:5,hanyu:5,happen:[0,1,5],happi:5,happili:2,hard:5,hardwar:0,has_und_at_both_end:2,hasattr:2,haslength:0,haspermiss:0,have:[0,1,2,3,4,5,6],haystack:0,head:3,held:2,hello:2,help:[0,1,2,3,5,6],helper:[0,1],here:[0,1,2,5],heterogen:1,hidden:5,hide:[3,5],hierarchi:[5,6],higher:5,highli:2,hoc:[2,5],hold:5,home:[2,5],honour:[0,5],hook:[1,5],hour:3,how:[1,2,3,5,6],howev:[1,2,3,5],htmlcontain:6,http:[1,3,5],hudson:5,huge:5,hung:0,hybrid:1,hyphen:0,id_rsa:2,idea:[1,2,3],ident:[0,2,5],identif:0,identifi:0,idiom:5,if_messag:0,ignor:[0,1,5],imag:2,immedi:[0,2,5],implement:[0,1,2,3,5],implementaton:2,implementor:0,impli:[0,1],implicitli:5,importerror:[0,2],improv:0,inapplic:3,includ:[0,1,2,3,5],inclus:3,incompat:[2,3],incomplet:[0,1,2],incorpor:5,incorrect:5,incorrectli:5,increment:1,inde:2,independ:5,index:4,indic:0,individu:[0,2],inevit:5,info:0,inform:[0,1,2,5,6],inherit:[0,2,5,6],inject:1,inprogress:0,input:2,insert:[0,1],inspir:[0,2,5],instal:[2,3,5],instanc:0,instead:[0,1,2,4,5],integ:[0,2],integr:[2,5],intend:1,intent:[0,3,5],interact:[0,2],interest:[0,2,5],interfac:[0,1,5],interfer:5,interim:0,intermediari:0,intern:[0,3,5],internet:2,interrupt:[0,5],intersect:5,intrins:0,introduc:5,invari:5,invert:[0,5],invit:2,invok:[0,2],involv:[0,6],ironpython:5,is_:0,is_prim:2,isdivisiblebi:2,isdivisiblebymismatch:2,iseven:0,isinst:0,isn:5,isnot:2,isol:2,isprim:2,issu:[1,3,5],issue16662:5,issue16709:[1,5],issue84:5,item:[0,2,3,5],iter:[0,2,5],iterate_test:0,itertool:5,itself:[0,2,3,5],jame:5,jamu:5,jelmer:5,jml:[2,5],join:[0,3],jonathan:[3,5],json:5,json_cont:5,juici:2,just:[0,1,2,5],kakar:5,kampka:5,keep:5,kei:[0,1,2,5],kennedi:5,kept:[3,5],keysequ:0,keyword:[0,2,3,5],keywordargu:0,kind:[0,1,2],kink:5,know:[1,2,5,6],knowledg:1,known:2,knownfailur:[0,5],kui:5,kwarg:[0,2],label:5,lack:1,ladeuil:5,lambda:[0,2,6],land:3,lang:[3,5],languag:[4,5,6],larg:[0,1,2,5],larger:3,last:[0,2,5],last_nam:2,last_resort:[0,1],lastli:1,late:2,latenc:0,later:[0,2,3],latest:6,latter:0,launchpad:[3,5],layer:5,lead:5,leak:5,least:0,led:5,left:0,legaci:1,len:0,length:[2,5,6],less:[0,2,5],lessthan:0,let:[2,5,6],level:[0,3,5],librari:[0,1,2,3,4,5,6],life:5,like:[0,1,2,3,5,6],limit:1,line:[0,2,5],linecach:5,linecache2:5,link:2,linux:2,list:[0,1,2,3,5],list_of_primes_under_ten:2,listdir:2,littl:[2,5],load:[0,2,5,6],load_test:5,local:[0,1,5],lock:2,log:[0,1,2,5,6],logfil:[2,6],logic:[0,2,5],longer:5,look:[0,1,2,3,5],lookup:[0,5],lose:2,lost:5,lot:[2,3,5],love:2,lower:5,machin:[0,1],machineri:[0,5],made:[0,1,2,3,5],mai:[0,2,3],mail:3,maintain:[3,4,6],mainten:5,major:5,make:[0,1,2,3,5,6],make_arbitrary_person:2,make_locked_foo:2,make_test:0,malform:5,manag:[0,2],mandatori:3,mangl:2,mani:[0,1,2,3,4,5,6],manner:0,manual:[1,2,3,5],map:[0,1,2,6],mark:[0,2,3,5],marker:5,martin:5,mask:[2,5],master:3,match:[0,2,5],matche:[0,5],matchesal:0,matchesani:0,matchesdict:[0,5],matchesexcept:0,matcheslistwis:0,matchespred:0,matchespredicatewithparam:0,matchesregex:0,matchessetwis:0,matchesstructur:0,mather:5,matter:[0,2,5],mean:[0,2,5],mechan:[0,1,2],meet:[0,1,2,3],member:5,membership:3,memori:5,mention:2,mere:[1,2,5],merg:3,mergefunctionmetadata:0,mess:2,messag:[0,2,5],meszaro:2,metaclass:5,method:[0,1],michael:5,might:[0,1,2,3,5],migrat:[0,1,5],mileston:3,mime:[0,2],mime_typ:0,minor:5,miracl:2,miscellan:3,mismatch:[0,2,5],mismatcherror:[0,2,5],mismatchesal:5,miss:[0,2,5],mission:5,mit:3,mix:[0,1],mode:[0,1,2,3,5],model:3,modern:4,modifi:0,modul:[0,2,3,4,5],module_nam:0,modulo:2,monkei:[0,2,5],monkeypatch:5,monti:5,moosh:5,morbach:5,more:[0,1,2,3,5],most:[0,1,2,5],mostli:2,move:5,msg:[0,2,5],much:[0,1,2,5],multipl:[0,1,2,5],multipleexcept:[0,2,5],multiplex:[0,1,5],multipli:2,multitestresult:0,must:[0,1,2,3,5],my_stream:2,myclass:2,myproject:[2,6],mytestssomeofwhicharetwist:2,mytwistedtest:2,name:[0,1,2,5],necessari:5,necessarili:1,need:[0,1,2,3,5],needl:0,neg:[2,5,6],negat:2,net:[3,5],network:[0,5],never:[0,3,5],new_id:0,new_tag:[0,5],newer:[0,2,6],newlin:5,next:[0,3,4],nice:[1,2,5],nicer:5,non:[0,1,2,3,5],none:[0,2,5],normal:[1,2,5],normalize_whitespac:2,nose:[2,5],nosetest:2,note:[0,1,2,5],notequ:0,noth:[0,1,5],notic:0,notif:0,notifi:[0,1],now:[2,3,5],number:[1,2,3,5],obei:3,obj:0,object:[0,1,2,5,6],obscur:5,observ:[0,1,2,5],obtain:[0,3],obviou:3,occur:[0,1,5],octal:[0,2],octal_permiss:0,octet:0,off:[1,5],often:[0,2,3,5],old:[0,5],older:[0,1,2,5],on_error:0,on_test:0,onc:[0,1,2,5],oner:6,onexcept:0,onli:[0,1,2,5],onto:[0,1,5],open:[0,2,6],oper:[0,2],opportun:0,oppos:2,optimisingtestsuit:5,option:[0,1,2,5],orang:2,order:[0,1,2,3,5],org:[1,3,5],organ:5,organis:5,origin:[0,1,3],other:[0,1,2,5],otherwis:[0,3],ought:[2,3],our:[2,5,6],out:[0,1,2,3,5],outcom:[0,1,5],output:[0,1,2,5],outsid:[0,1],over:[0,1,3,5],overdu:5,overhaul:5,overload:2,overrid:5,overridden:[0,1],oversight:5,own:1,owner:3,packag:[2,3,5],packagecontainingtest:2,packet:5,page:[2,4],pair:[0,1],panella:5,paper:5,parallel:[1,2],parallelis:0,paramet:[0,2,5],parameter:1,parameteris:[0,5],parametr:6,parent:0,part:[0,2,3,5],partial:5,particular:[0,2,3,5,6],particularli:[0,1,2],partit:5,pass:[0,1,2,5],patch:0,path:0,pathexist:0,pathhasfilecont:[0,2],pattern:[0,1,2],payload:5,pdb:0,peak:5,peopl:[1,2],pep:3,per:[0,1,5],perform:[2,5],perhap:[2,5],perman:3,permiss:[0,2,3,5],permit:[0,1,5],person:2,peterson:5,phrase:2,pick:[0,3],piec:[1,2,5],pip:[3,5],pipe:2,place:[0,2],placehold:0,plai:1,plain:[0,2],pleas:[0,3,5,6],pleasant:5,plenti:5,plug:6,plugin:2,plumb:1,png:2,point:[0,2,3,5],polici:[0,3],policy_arg:0,politicallyequ:2,polymorph:2,pool:5,popen:2,port:[4,5],posit:3,possibl:[0,1,2,3,5],post:6,poster:5,potato:[2,5],potenti:[1,5],power:[2,5],practic:5,pre:[2,5],predic:[0,2,5,6],prefer:2,prefix:[0,3,5],prep_for_diagnost:2,prepar:[0,5],preprocessor:0,present:[0,1,2,3,5],preserv:[0,5],prevent:[0,1],previou:[2,5],previous:5,prime:2,principl:1,print:[0,1,2,5],printabl:2,prior:[0,5],priori:0,prioriti:5,pristin:0,privat:5,probabl:[2,5],problem:[1,5,6],problemat:1,process:[0,1,2,3,5],produc:[1,2,5],product:5,progress:[1,5],project:[0,1,2,3,5,6],promis:5,promot:3,prone:3,propag:5,proper:1,properli:5,properti:2,propog:0,protocol:[0,2,5],prototyp:[0,5],provid:[0,1,2,3,5,6],publish:5,pull:3,pure:0,push:3,put:2,py_modul:2,pydoc:[0,1,5],pygl:0,pypi:[3,5],python26testresult:1,python27testresult:1,python2:[2,5],python3:5,python:[0,1,2,3],qualiti:3,queri:[0,1,2,5],question:2,queue:[0,1],quickli:2,quiet:1,quit:[2,5,6],raft:5,rais:[0,1],raison:3,ran:[1,2],rather:[0,1,2,5,6],reactor:[2,5],read:[0,2,5],reader:2,readi:0,readili:2,readlin:[2,6],readm:3,real:[2,5],realli:2,reason:[0,2,3,5],receiv:[0,5],recent:[0,2,4],recipi:1,recogn:5,recognit:5,recommend:[0,2],record:[0,1,2,5],recurs:2,reduc:[2,5],reenabl:5,refactor:5,refer:[0,2,4,5],regard:[2,5],regardless:[0,6],regex:5,regist:5,regular:[0,2,5],reimplement:5,relev:1,reli:[2,5],reliabl:5,remain:2,remaind:[1,2],rememb:2,remot:0,remov:[0,1,3,5],replac:[0,1],repo:3,report:[0,1,2,5],report_ndiff:2,repr:[2,5],repres:[0,1,2],represent:0,reproduc:5,request:3,requir:[1,3,5],rerais:5,research:5,reserv:2,reset:[0,1,5],resolv:2,resort:5,resourc:[2,5],respons:[0,1,2,5,6],rest:0,restor:[0,2,5],restructuredtext:3,result:[0,1,2,5,6],retain:5,returncod:2,revers:0,revert:5,revis:5,revisit:3,richard:5,richer:5,right:2,rob:5,robert:5,robertcollin:5,robust:2,rock:5,root:5,roughli:2,round:5,rout:0,route_cod:[0,1],route_code_prefix:[0,1],route_prefix:[0,1],router:[0,1],routin:[2,5],routing_cod:0,rst:[3,5],rule:[0,1,3],run:[0,1],run_some_code_that_prints_to_stderr:2,run_test_with:[0,1,2,5],run_tests_with:[0,1,2,3],runnabl:[0,1],runner:[0,1,2,5],runtest:[0,1,5],runtim:1,runtimeerror:2,safe:0,safe_hasattr:[2,5],sai:[2,3,5],same:[0,1,2,5],samememb:5,samepath:0,sampl:2,sane:5,schedul:[0,2],scope:0,search:[2,4],seaver:5,second:[0,2],secondli:1,section:3,secur:5,see:[0,1,2,3,5],seealso:0,seek_offset:5,seek_whenc:5,seen:[0,1],select:[0,1],self:[0,1,2,5,6],semant:[0,5],semaphor:[0,1,5],send:[0,3,5],sensibl:5,sent:[0,5],sep:5,separ:[0,1,2,3,5],sequenc:[0,2],seri:[3,5],serial:2,serialis:[0,5],seriou:[5,6],server:[2,6],set:[0,1,2,4,5,6],setup:[0,1,2,3,5,6],setup_requir:5,setupclass:[2,5],setuptool:5,sever:[1,5],share:5,shi:5,shim:1,ship:3,short_descript:0,should:[0,1,2,3,5],shouldstop:[0,1,5],show:[0,2,5],shown:5,shut:2,shut_down:2,side:[2,5],signal:[1,5],signific:5,silent:5,silli:2,silly_square_of:6,sillysquareserv:6,similar:[0,1],similarli:[0,1],simpl:[0,1,2,5,6],simpler:5,simplest:[1,5],simpli:[0,2],simplifi:[1,5],sinc:[0,2,3,5],singl:[0,1,2,5],sink:[0,1],sister:5,situat:2,size:5,skip:[0,1],skip_reason:[0,1],skipexcept:[0,5],skipif:0,skiptest:[0,2,5],skipunless:0,slew:5,slightli:[2,5],small:[2,5],smaller:5,smooth:5,smoother:5,snapshot:5,snippet:6,solut:2,some:[0,1,2,3,5],somefil:2,someon:[1,3],someprocesstest:2,someserv:2,sometest:[1,2],sometestcas:2,someth:[0,1,2,3,5],something_els:2,sometim:[1,2],soon:[1,2],sophist:2,sorri:5,sort:[0,1,2,3,5],sort_test:[1,5],sound:5,special:[0,1,2,3,5],specialis:[0,1],specif:[0,1,2,5,6],specifi:[0,1,2,3,5],spell:[3,5],sphinx:3,spin:2,split:5,spread:0,squar:2,stabl:3,stack:[2,3,5],stacklinescont:5,stacktrac:5,stacktracecont:5,stai:5,stand:5,standard:[0,1,2,3,4,5,6],start:[0,2,6],start_up:2,startswith:0,starttestrun:0,state:[0,2,5],statement:5,statist:5,statu:[0,1,5],stderr:[0,2],stderrr:2,stdin:0,stdout:[0,2,5],still:[0,1,5],stop:[0,1,2,5],stoptestrun:0,store:[0,2],str:[0,2,5],strategi:0,stream:[0,1,5],streamfailfast:[0,1,5],streamresult:0,streamresultrout:0,streamsummari:0,streamtagg:0,streamtodict:0,streamtoextendeddecor:0,streamtoqueu:0,strict:[0,2],strictli:1,string:[0,2,5],stringio:[2,5],structur:[0,1,3],stub:5,style:0,sub:0,subclass:[0,1,5],submit:[0,1,3],submodul:3,subprocess:[1,2],subsequ:0,subset:[0,1,5],substr:2,subsystem:2,subtest:0,subtli:2,subunit:5,succe:[0,1,2,6],succeed:0,succes:1,success:[0,2,5],suffer:0,suffici:5,sugar:0,suggest:3,suit:[0,1,2,5,6],suitabl:0,summari:[0,1],summaris:[0,5],superced:0,superset:5,suppli:[0,1,5],support:[0,1],sure:[1,2,3,5],surround:5,symlink:2,synchronis:[1,5],syntact:0,syntax:2,syntaxerror:5,synthet:5,system:[0,2,5],tag:[0,1,3,5,6],tagger:[0,5],take:[0,1,2,3,5],tarbal:[0,2,3,5],tarballcontain:0,tarfil:[0,2],target:[0,1],taylor:5,tb_label:0,tb_local:0,team:3,tear:1,teardown:[0,1,2,5,6],teardownclass:2,technolog:6,tell:[1,2,5],temperatur:[2,6],temporari:[2,5],term:1,termin:5,test:0,test_:2,test_a_th:2,test_after_preprocessing_exampl:2,test_all_match_exampl:2,test_annotate_exampl:2,test_annotate_example_2:2,test_annotate_example_3:2,test_assert_in_exampl:2,test_assert_is_exampl:2,test_assert_is_instance_exampl:2,test_bom:5,test_compat:5,test_contains_exampl:2,test_dict:1,test_divis:2,test_divisible_numb:2,test_doctest_exampl:2,test_equals_exampl:2,test_expect_failure_exampl:2,test_foo:[0,2],test_frotz_a_foo:2,test_full_nam:2,test_get_invit:2,test_greater_than_exampl:2,test_id:[0,1],test_is_divisible_by_exampl:2,test_is_exampl:2,test_isinstance_exampl:2,test_keys_equ:2,test_less_than_exampl:2,test_make_symlink:2,test_matches_all_exampl:2,test_matches_any_exampl:2,test_matches_exception_exampl:2,test_matches_listwise_exampl:2,test_matches_regex_exampl:2,test_matches_setwise_exampl:2,test_matches_structure_exampl:2,test_norm:2,test_not_exampl:2,test_not_example_2:2,test_now_datetime_now:5,test_on:2,test_prime_numb:2,test_process_output:2,test_raises_exampl:2,test_raises_example_conveni:2,test_response_has_bold:6,test_runn:0,test_server_is_cool:6,test_someth:1,test_squar:[2,6],test_square_bad_input:2,test_square_root_bad_input_2:2,test_square_silli:2,test_starts_and_ends_with_exampl:2,test_statu:[0,1],test_suite_or_cas:0,test_tag:0,test_thingi:2,test_thre:2,test_twist:2,test_two:2,test_two_separate_assert:2,testbytestresult:[0,5],testcas:0,testcommand:[0,2],testcontrol:0,testcouplelog:2,testdetectencod:5,testmethod:0,testool:3,testprogram:[1,5],testr:5,testrepositori:[2,5],testresourc:5,testresult:0,testresultdecor:0,testscenario:5,testsillysquar:[2,6],testsillysquareserv:6,testskip:5,testsometh:2,testspec:5,testsquar:2,testsrun:5,teststop:0,testsuit:0,testtol:5,testtoolstestrunn:5,testttol:5,text:[0,1,2,5,6],text_cont:[2,5],textiowrapp:5,texttestresult:0,than:[0,1,2,5],thank:5,thei:[0,1,2,5,6],them:[0,1,2,3,5,6],themselv:[0,2],therefor:0,thi:[0,1,2,3,5],thin:1,thing:[0,1,2,3,5],think:[1,2,3,5],third:[2,5],thomi:5,those:[1,2,5],though:1,thread:[0,1,5],threadsafeforwardingresult:0,three:[1,2,5],through:[0,2,5],thrown:0,thu:[2,3,5],tim:5,time:0,timeout:[0,2],timestamp:[0,1,5],timestampingstreamresult:0,timezon:[0,5],tip:2,tmp:2,todai:3,todo:2,togeth:[0,1,2,5],told:2,too:[2,5],tool:[2,5],top:[0,3],trace:5,traceback2:5,traceback:[0,2,5],tracebackcont:5,track:5,trail:5,translat:[0,5],transport:5,travi:5,tre:5,treat:[0,2],tree:5,tri:0,trial:[2,5],trigger:[0,1,5],trim:5,trivial:[0,1,2,3,5],truthi:2,try_import:[0,2,5],tupl:[0,1,2,5],turn:[2,5],tweak:[3,5],twice:[2,5],twist:0,two:[0,1,2,5],txt:2,type:[0,2,5],typeerror:[0,2,5],typic:0,und:2,undead:2,undefin:[0,5],under:[3,5],underground:2,understand:2,unexpect:[0,2,5],unexpectedsuccess:0,unicod:[0,2,5],unicode_output_stream:5,uniqu:[0,1,2,5],unique_int:0,unit2:5,unit:[0,1,2,4,5,6],unittest2:[1,2,5],unittest:[0,1,2,3,4,5],unix:2,unknown:[0,5],unles:0,unless:[0,5],unlik:[0,2],unlock:2,unreason:0,unrecognis:5,unrout:1,unspecifi:0,unstabl:3,unsuit:5,until:[0,1],unus:5,unusu:2,upcal:[2,5],updat:[0,1,3,5],upgrad:5,upload:3,upon:5,upstream:[0,5],usabl:5,usefixtur:[0,2,5,6],user:[0,1,2,3,5],usual:5,utc:0,utf8:[0,5],utf8_text:[2,5,6],util:[0,5,6],utilis:5,uxsuccess:[0,1],vagu:3,valid:[0,5],valu:[0,2,5],value_r:0,valueerror:[0,1],vanilla:1,variabl:[0,1,2,5],variant:[1,3],variat:[1,2],variou:[1,5],vastli:5,verbos:[0,1,5],veri:[0,1,2,5,6],vernooij:5,versa:5,version:[0,2,3,4,5,6],via:[1,2,5],vice:5,vincent:5,visibl:5,wai:[0,1,2,4,5,6],want:[0,1,2,3,5,6],warn:[2,5],wasn:5,wassuccess:[0,5],watkin:5,watson:5,weird:5,welcom:5,well:[1,2,3,5],were:[0,2,5,6],weren:5,westbi:5,what:[0,1,2,3,5,6],whatev:[1,2,6],wheel:5,when:[0,1,2,3,5],whenev:[2,5],where:[0,2,3,5],whether:[0,1,2,6],which:[0,1,2,3,5],who:[1,3],whole:[0,5],whose:0,why:[0,2,3,5],widespread:5,widget:2,win:5,window:[2,5],wise:2,wish:[0,1,2,6],withattribut:[2,5],within:[2,4,5],without:[0,1,2,3,5],won:[2,5],wonder:2,word:0,work:[0,1,3,5,6],workaround:5,worker:[0,1,5],workflow:2,world:[2,5],worri:2,worth:3,would:[0,1,2,3,5],wrap:[0,1,2,5],wrap_result:[0,5],wrapper:[0,1,5],write:[0,1],written:[2,3,5],wrong:0,xfail:0,xiao:5,xunit:2,year:[4,6],yellow:2,yet:[1,2],you:[0,1,2,3,5],your:[0,1],yourself:2,zero:2,zerodivisionerror:2,zope:2},titles:["testtools API documentation","testtools for framework folk","testtools for test authors","Contributing to testtools","testtools: tasteful testing for Python","testtools NEWS","testtools: tasteful testing for Python"],titleterms:{"function":2,"import":2,"new":[3,5],addcleanup:2,addonexcept:2,addskip:1,afterpreprocess:2,allmatch:2,annot:2,api:0,assert:[2,6],assert_that:2,asserti:2,assertin:2,assertisinst:2,assertisnot:2,assertnotin:2,assertrais:2,assign:3,attribut:2,author:2,basic:2,better:6,bug:3,callabl:2,chang:5,code:3,combin:2,commit:3,compat:6,concurrentstreamtestsuit:1,concurrenttestsuit:1,condit:2,contain:2,content:2,contribut:3,control:[1,2],copyright:3,creation:2,cross:6,custom:1,debug:6,decor:1,decoratetestcaseresult:1,delai:[1,2],detail:2,dircontain:2,direxist:2,discuss:3,distutil:2,doctestmatch:2,document:[0,3],doubl:1,endswith:2,equal:2,exampl:2,except:1,execut:[1,2],expectedexcept:2,expectfailur:2,extend:6,extendedtooriginaldecor:1,extendedtostreamdecor:1,extens:1,failur:1,file:2,filecontain:2,fileexist:2,filter_by_id:1,fixtur:2,fixturesuit:1,folk:1,force_failur:2,format:1,framework:1,gener:2,get:3,greaterthan:2,handl:1,haslength:2,haspermiss:2,helper:2,improv:[2,5],indic:4,info:6,instanc:1,introduct:[1,2],isinst:2,keysequ:2,layout:3,legaci:2,lessthan:2,licens:3,manag:3,matcher:[0,2,6],matchesal:2,matchesani:2,matchesexcept:2,matcheslistwis:2,matchespred:2,matchespredicatewithparam:2,matchesregex:2,matchessetwis:2,matchesstructur:2,method:[2,6],more:6,multitestresult:1,need:6,next:5,notequ:2,nullari:2,own:2,patch:[2,3],path:2,pathexist:2,placehold:1,prerequisit:3,python:[4,6],rais:2,realist:2,relat:2,releas:3,renam:1,review:3,run:2,safe:2,samepath:2,skip:2,sorted_test:1,sourc:3,stai:6,startswith:2,starttestrun:1,stock:2,stoptestrun:1,streamresult:1,streamresultrout:1,streamsummari:1,streamtagg:1,streamtodict:1,streamtoextendeddecor:1,streamtoqueu:1,style:3,support:2,tabl:4,tarballcontain:2,task:3,tast:[4,6],test:[1,2,3,4,6],testcas:[1,2],testcontrol:1,testresult:1,testresultdecor:1,testrunn:1,testsuit:1,testtool:[0,1,2,3,4,5,6],texttestresult:1,than:6,threadsafeforwardingresult:1,time:1,timestampingstreamresult:1,trunk:3,twist:2,unittest:6,usabl:6,when:6,why:6,write:2,you:6,your:2}})
\ No newline at end of file |