Trees Indices Help
Trac
Package trac :: Package ticket :: Package tests :: Module query :: Class QueryTestCase

Class QueryTestCase

source code

 object --+ 
 | 
unittest.case.TestCase --+
 |
 QueryTestCase

Nested Classes

Inherited from unittest.case.TestCase: failureException

Instance Methods
prettifySQL(self, sql)
Returns a prettified version of the SQL as a list of lines to help in creating a useful diff between two SQL statements. source code
assertEqualSQL(self, sql, correct_sql) source code
setUp(self)
Hook method for setting up the test fixture before exercising it. source code
tearDown(self)
Hook method for deconstructing the test fixture after testing it. source code
test_all_ordered_by_id(self) source code
test_all_ordered_by_id_desc(self) source code
test_all_ordered_by_id_verbose(self) source code
test_all_ordered_by_id_from_unicode(self) source code
test_all_ordered_by_priority(self) source code
test_all_ordered_by_priority_desc(self) source code
test_all_ordered_by_version(self) source code
test_all_ordered_by_version_desc(self) source code
test_constrained_by_milestone(self) source code
test_all_grouped_by_milestone(self) source code
test_all_grouped_by_milestone_desc(self) source code
test_grouped_by_priority(self) source code
test_constrained_by_milestone_not(self) source code
test_constrained_by_status(self) source code
test_constrained_by_owner_containing(self) source code
test_constrained_by_owner_not_containing(self) source code
test_constrained_by_owner_beginswith(self) source code
test_constrained_by_owner_endswith(self) source code
test_constrained_by_custom_field(self) source code
test_grouped_by_custom_field(self) source code
test_constrained_by_id_ranges(self) source code
test_constrained_by_id_and_custom_field(self) source code
test_too_many_custom_fields(self) source code
test_constrained_by_multiple_owners(self) source code
test_constrained_by_multiple_owners_not(self) source code
test_constrained_by_multiple_owners_contain(self) source code
test_constrained_by_empty_value_contains(self) source code
test_constrained_by_empty_value_startswith(self) source code
test_constrained_by_empty_value_endswith(self) source code
test_constrained_by_time_range(self) source code
test_constrained_by_time_range_exclusion(self) source code
test_constrained_by_time_range_open_right(self) source code
test_constrained_by_time_range_open_left(self) source code
test_constrained_by_time_range_modified(self) source code
test_constrained_by_keywords(self) source code
test_constrained_by_milestone_or_version(self) source code
test_equal_in_value(self) source code
test_special_character_escape(self) source code
test_repeated_constraint_field(self) source code
test_user_var(self) source code
test_csv_escape(self) source code
test_csv_obfuscation(self) source code
test_template_data(self) source code

Inherited from unittest.case.TestCase: __call__, __eq__, __hash__, __init__, __ne__, __repr__, __str__, addCleanup, addTypeEqualityFunc, assertAlmostEqual, assertAlmostEquals, assertDictContainsSubset, assertDictEqual, assertEqual, assertEquals, assertFalse, assertGreater, assertGreaterEqual, assertIn, assertIs, assertIsInstance, assertIsNone, assertIsNot, assertIsNotNone, assertItemsEqual, assertLess, assertLessEqual, assertListEqual, assertMultiLineEqual, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertNotIn, assertNotIsInstance, assertNotRegexpMatches, assertRaises, assertRaisesRegexp, assertRegexpMatches, assertSequenceEqual, assertSetEqual, assertTrue, assertTupleEqual, assert_, countTestCases, debug, defaultTestResult, doCleanups, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription, skipTest

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods

Inherited from unittest.case.TestCase: setUpClass, tearDownClass

Class Variables

Inherited from unittest.case.TestCase: longMessage, maxDiff

Properties

Inherited from object: __class__

Method Details

setUp(self)

source code
Hook method for setting up the test fixture before exercising it.
Overrides: unittest.case.TestCase.setUp
(inherited documentation)

tearDown(self)

source code
Hook method for deconstructing the test fixture after testing it.
Overrides: unittest.case.TestCase.tearDown
(inherited documentation)

Trees Indices Help
Trac

AltStyle によって変換されたページ (->オリジナル) /