Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Test an em-dash with adjacent punctuation. | Greg Ward | 2002-08-22 | 1 | -0/+6 |
| | |||||
* | Factored out BaseTestCase.check_split() method -- use it wherever | Greg Ward | 2002-08-22 | 1 | -8/+8 |
| | | | | we need to test TextWrapper._split(). | ||||
* | Test _split() method in test_unix_options(). | Greg Ward | 2002-08-22 | 1 | -0/+9 |
| | |||||
* | Add test_unix_options() to WrapTestCase to test for SF bug #596434. | Greg Ward | 2002-08-22 | 1 | -0/+28 |
| | |||||
* | Standardize behavior: no docstrings in test functions. Also strip | Guido van Rossum | 2002-08-22 | 1 | -16/+16 |
| | | | | trailing whitespace. | ||||
* | Add test_em_dash() to WrapTestCase to make sure that TextWrapper handles | Greg Ward | 2002-08-22 | 1 | -2/+53 |
| | | | | | em-dashes -- like this -- properly. (Also--like this. Although this usage may be incompatible with fixing bug #596434; we shall see.) | ||||
* | Simplification/cleanup in IndentTestCases. | Greg Ward | 2002-08-22 | 1 | -16/+10 |
| | |||||
* | Factor LongWordTestCase out of WrapTestCase, and rename its methods | Greg Ward | 2002-08-22 | 1 | -13/+14 |
| | | | | | (tests) from test_funky_punc() to test_break_long() and test_long_words() to test_nobreak_long(). | ||||
* | Rename base test case class to (yawn) BaseTestCase. | Greg Ward | 2002-08-22 | 1 | -3/+3 |
| | |||||
* | Ditch the whole loop-over-subcases way of working. Add check_wrap() to | Greg Ward | 2002-08-22 | 1 | -74/+59 |
| | | | | | | | base class (WrapperTestCase) instead, and call it repeatedly in the methods that used to have a loop-over-subcases. Much simpler. Rename perennial temp variable 't' to 'text'. | ||||
* | Simplify and reformat the use of 'subcases' lists (and following | Greg Ward | 2002-08-22 | 1 | -52/+32 |
| | | | | | for-loops) in test_simple(), test_wrap_short() test_hyphenated(), and test_funky_punc(). | ||||
* | Add comment header block. | Greg Ward | 2002-08-22 | 1 | -12/+10 |
| | | | | | Remove some useless comments (redundant, or info presumably available in PyUnit docs). | ||||
* | Conform to standards documented in README: | Greg Ward | 2002-08-22 | 1 | -15/+19 |
| | | | | | | | * lowercase test*() methods * define test_main() and use it instead of unittest.main() Kill #! line. Improve some test names and docstrings. | ||||
* | Test script for the textwrap module. Kindly provided by Peter Hansen | Greg Ward | 2002-08-22 | 1 | -0/+261 |
<peter@engcorp.com> based on a test script that's been kicking around my home directory for a couple of months now and only saw the light of day because I included it when I sent textwrap.py to python-dev for review. |