Add testcase for words that shouldn't immediately preceed periods
authorali <ali@juiblex.co.uk>
Sun Feb 19 21:08:53 2012 +0000 (2012-02-19)
changeset 3120c603ca5649
parent 30 980add74a280
child 32 2d9823436510
Add testcase for words that shouldn't immediately preceed periods
test/compatibility/Makefile.am
test/compatibility/before-period.tst
     1.1 --- a/test/compatibility/Makefile.am	Sun Feb 19 10:06:41 2012 +0000
     1.2 +++ b/test/compatibility/Makefile.am	Sun Feb 19 21:08:53 2012 +0000
     1.3 @@ -6,6 +6,7 @@
     1.4  	user-defined-typo.tst brackets.tst single-quotes.tst grave-quotes.tst \
     1.5  	dashes.tst control-characters.tst unusual-characters.tst \
     1.6  	windows-1252.tst periods.tst long-line.tst unmarked-paragraph.tst \
     1.7 -	hebe-jeebies.tst mail-from.tst scannos.tst before-comma.tst
     1.8 +	hebe-jeebies.tst mail-from.tst scannos.tst before-comma.tst \
     1.9 +	before-period.tst
    1.10  
    1.11  dist_pkgdata_DATA=$(TESTS)
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/test/compatibility/before-period.tst	Sun Feb 19 21:08:53 2012 +0000
     2.3 @@ -0,0 +1,136 @@
     2.4 +**************** INPUT ****************
     2.5 +Certain words shouldn't be followed by periods and so we check for them.
     2.6 +
     2.7 +"I want every. Then we'll form a procession and march around the
     2.8 +buildings."
     2.9 +
    2.10 +Several days passed and during. Once they had a snake scare.
    2.11 +"Phew! that's." said Fred, when they bought their.
    2.12 +
    2.13 +"You mind your. Tom Rover!"
    2.14 +
    2.15 +"When you see him next, give him our."
    2.16 +
    2.17 +"He warned me not to say a word to anybody, stating that if I did,
    2.18 +he would put the police on my."
    2.19 +
    2.20 +"We don't know how she went, or." cried Dick, and. He slept but. She was
    2.21 +to do this in secret, for, as. She stated that possibly she would bring
    2.22 +the lady to the house for a day or two, but that if. He had not been
    2.23 +allowed to talk to the. The old tar described its. The boys and the tar
    2.24 +lost no time in jumping from one rock to another until.
    2.25 +
    2.26 +Dick, Tom and Sam are older than. But it was now late, and it would soon
    2.27 +become a problem, as to whether. William Philander Tubbs, a student whose.
    2.28 +Led by Koswell, who. John Powell, better known as Songbird because. But
    2.29 +the rascals overreached themselves, and when.
    2.30 +
    2.31 +"We ought to let."
    2.32 +
    2.33 +"Can't you hold the train till." And Dora suddenly turned very. The boys
    2.34 +had had to wait half an. They went on, and soon a turn of the road
    2.35 +brought them in sight of the farmhouse nestling so cozily among.
    2.36 +Now, as those. Then Fred told about himself, and how he was thinking of
    2.37 +going into. Presently they met a tramp whom. Eighteen of the students
    2.38 +of Brill College were having.
    2.39 +
    2.40 +"She has two patches of albinistic feathers in the center of her upper
    2.41 +breast, so I know it's." And thence.
    2.42 +
    2.43 +**************** EXPECTED ****************
    2.44 +
    2.45 +"I want every. Then we'll form a procession and march around the
    2.46 +    Line 3 column 14 - Query punctuation after every?
    2.47 +
    2.48 +Several days passed and during. Once they had a snake scare.
    2.49 +    Line 6 column 31 - Query punctuation after during?
    2.50 +
    2.51 +"Phew! that's." said Fred, when they bought their.
    2.52 +    Line 7 column 14 - Query punctuation after that's?
    2.53 +
    2.54 +"Phew! that's." said Fred, when they bought their.
    2.55 +    Line 7 column 50 - Query punctuation after their?
    2.56 +
    2.57 +"You mind your. Tom Rover!"
    2.58 +    Line 9 column 15 - Query punctuation after your?
    2.59 +
    2.60 +"When you see him next, give him our."
    2.61 +    Line 11 column 37 - Query punctuation after our?
    2.62 +
    2.63 +he would put the police on my."
    2.64 +    Line 14 column 30 - Query punctuation after my?
    2.65 +
    2.66 +"We don't know how she went, or." cried Dick, and. He slept but. She was
    2.67 +    Line 16 column 32 - Query punctuation after or?
    2.68 +
    2.69 +"We don't know how she went, or." cried Dick, and. He slept but. She was
    2.70 +    Line 16 column 50 - Query punctuation after and?
    2.71 +
    2.72 +"We don't know how she went, or." cried Dick, and. He slept but. She was
    2.73 +    Line 16 column 64 - Query punctuation after but?
    2.74 +
    2.75 +to do this in secret, for, as. She stated that possibly she would bring
    2.76 +    Line 17 column 30 - Query punctuation after as?
    2.77 +
    2.78 +the lady to the house for a day or two, but that if. He had not been
    2.79 +    Line 18 column 52 - Query punctuation after if?
    2.80 +
    2.81 +allowed to talk to the. The old tar described its. The boys and the tar
    2.82 +    Line 19 column 23 - Query punctuation after the?
    2.83 +
    2.84 +allowed to talk to the. The old tar described its. The boys and the tar
    2.85 +    Line 19 column 50 - Query punctuation after its?
    2.86 +
    2.87 +lost no time in jumping from one rock to another until.
    2.88 +    Line 20 column 55 - Query punctuation after until?
    2.89 +
    2.90 +Dick, Tom and Sam are older than. But it was now late, and it would soon
    2.91 +    Line 22 column 33 - Query punctuation after than?
    2.92 +
    2.93 +become a problem, as to whether. William Philander Tubbs, a student whose.
    2.94 +    Line 23 column 32 - Query punctuation after whether?
    2.95 +
    2.96 +become a problem, as to whether. William Philander Tubbs, a student whose.
    2.97 +    Line 23 column 74 - Query punctuation after whose?
    2.98 +
    2.99 +Led by Koswell, who. John Powell, better known as Songbird because. But
   2.100 +    Line 24 column 20 - Query punctuation after who?
   2.101 +
   2.102 +Led by Koswell, who. John Powell, better known as Songbird because. But
   2.103 +    Line 24 column 67 - Query punctuation after because?
   2.104 +
   2.105 +the rascals overreached themselves, and when.
   2.106 +    Line 25 column 45 - Query punctuation after when?
   2.107 +
   2.108 +"We ought to let."
   2.109 +    Line 27 column 17 - Query punctuation after let?
   2.110 +
   2.111 +"Can't you hold the train till." And Dora suddenly turned very. The boys
   2.112 +    Line 29 column 31 - Query punctuation after till?
   2.113 +
   2.114 +"Can't you hold the train till." And Dora suddenly turned very. The boys
   2.115 +    Line 29 column 63 - Query punctuation after very?
   2.116 +
   2.117 +had had to wait half an. They went on, and soon a turn of the road
   2.118 +    Line 30 column 24 - Query punctuation after an?
   2.119 +
   2.120 +brought them in sight of the farmhouse nestling so cozily among.
   2.121 +    Line 31 column 64 - Query punctuation after among?
   2.122 +
   2.123 +Now, as those. Then Fred told about himself, and how he was thinking of
   2.124 +    Line 32 column 14 - Query punctuation after those?
   2.125 +
   2.126 +going into. Presently they met a tramp whom. Eighteen of the students
   2.127 +    Line 33 column 11 - Query punctuation after into?
   2.128 +
   2.129 +going into. Presently they met a tramp whom. Eighteen of the students
   2.130 +    Line 33 column 44 - Query punctuation after whom?
   2.131 +
   2.132 +of Brill College were having.
   2.133 +    Line 34 column 29 - Query punctuation after having?
   2.134 +
   2.135 +breast, so I know it's." And thence.
   2.136 +    Line 37 column 23 - Query punctuation after it's?
   2.137 +
   2.138 +breast, so I know it's." And thence.
   2.139 +    Line 37 column 36 - Query punctuation after thence?