root/trunk/plagger/t/99-pod-spell.t
| Revision 1968 (checked in by otsune, 4 years ago) |
|---|
| Line | |
|---|---|
| 1 | use strict; |
| 2 | use t::TestPlagger; |
| 3 | |
| 4 | BEGIN { |
| 5 | test_requires('Test::Spelling'); |
| 6 | } |
| 7 | |
| 8 | use FindBin; |
| 9 | use Test::Spelling; |
| 10 | |
| 11 | my $spell_cmd; |
| 12 | foreach my $path (split(/:/, $ENV{PATH})) { |
| 13 | -x "$path/spell" and $spell_cmd="spell", last; |
| 14 | -x "$path/ispell" and $spell_cmd="ispell -l", last; |
| 15 | -x "$path/aspell" and $spell_cmd="aspell list", last; |
| 16 | } |
| 17 | $ENV{SPELL_CMD} and $spell_cmd = $ENV{SPELL_CMD}; |
| 18 | $spell_cmd or plan skip_all => "no spell/ispell/aspell"; |
| 19 | set_spell_cmd($spell_cmd); |
| 20 | |
| 21 | add_authors_to_stopwords(); |
| 22 | add_stopwords(<DATA>); |
| 23 | all_pod_files_spelling_ok('lib'); |
| 24 | |
| 25 | sub add_authors_to_stopwords { |
| 26 | my $file = "$FindBin::Bin/../AUTHORS"; |
| 27 | open my $fh, "<", $file or die "$file: $!"; |
| 28 | while (<$fh>) { |
| 29 | chomp; |
| 30 | tr/\(\)//d; |
| 31 | add_stopwords(split /\s+/); |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | __DATA__ |
| 36 | API |
| 37 | AdSense |
| 38 | Anil |
| 39 | AppleScript |
| 40 | AtomPP |
| 41 | AutoLink |
| 42 | Babelfish |
| 43 | BalloonNotify |
| 44 | Blog |
| 45 | BlogPet |
| 46 | BlogPet's |
| 47 | Bloglines |
| 48 | Bulkfeeds |
| 49 | Buzzurl |
| 50 | CDTF |
| 51 | CONFIGS |
| 52 | CPAN |
| 53 | CSV |
| 54 | CVS |
| 55 | ControlPort |
| 56 | DWIM |
| 57 | DWIMs |
| 58 | DateTime |
| 59 | Deduped |
| 60 | Emoticon |
| 61 | EntryFullText |
| 62 | Estraier |
| 63 | FLV |
| 64 | FOAF |
| 65 | FULLTEXT |
| 66 | FeedBurner |
| 67 | FeedBurner's |
| 68 | FeedFlare |
| 69 | Filename |
| 70 | Firefox |
| 71 | Flickr |
| 72 | Fotolife |
| 73 | Frepa |
| 74 | FriendDiary |
| 75 | Gmail |
| 76 | GoogleTalk |
| 77 | Gungho |
| 78 | HTML |
| 79 | HTTP |
| 80 | Hatena |
| 81 | HatenaDiary |
| 82 | HatenaGroup |
| 83 | HatenaRSS |
| 84 | IDs |
| 85 | IE |
| 86 | IKC |
| 87 | IMAP |
| 88 | IP |
| 89 | InternetExplorer |
| 90 | JS |
| 91 | JSON |
| 92 | JSONP |
| 93 | KinoSearch |
| 94 | Langworth's |
| 95 | Lilypond |
| 96 | Lingr |
| 97 | Livedoor |
| 98 | Lucene |
| 99 | MSN |
| 100 | MSWin |
| 101 | MacOSX |
| 102 | Maildir |
| 103 | MeDoc |
| 104 | Mixi |
| 105 | Moritapo |
| 106 | MozRepl |
| 107 | MyDiary |
| 108 | NFC |
| 109 | NFD |
| 110 | NFKC |
| 111 | NFKD |
| 112 | Namaan |
| 113 | Namazu |
| 114 | NetNewsWire |
| 115 | Newsoku |
| 116 | Newsokuize |
| 117 | Nihongo |
| 118 | OPML |
| 119 | OSX |
| 120 | Odeo |
| 121 | |
| 122 | POPFile |
| 123 | POSIX |
| 124 | PSP |
| 125 | PalmDoc |
| 126 | Plagger |
| 127 | Pluggable |
| 128 | PowerPoint |
| 129 | RDF |
| 130 | RFC |
| 131 | RPC |
| 132 | RSS |
| 133 | Rast |
| 134 | RecentComment |
| 135 | SCREENSHOT |
| 136 | SQL |
| 137 | SSH |
| 138 | SSTP |
| 139 | STDOUT |
| 140 | SVN |
| 141 | Serializer |
| 142 | SmartFeed |
| 143 | SpamAssassin's |
| 144 | Splog |
| 145 | TODO |
| 146 | TZ |
| 147 | Tiarra |
| 148 | Trackback |
| 149 | Trott |
| 150 | UA |
| 151 | URI |
| 152 | URL |
| 153 | URLBL |
| 154 | URLs |
| 155 | UTC |
| 156 | Wiki |
| 157 | XHTML |
| 158 | XML |
| 159 | XMLRPC |
| 160 | XOXO |
| 161 | XPath |
| 162 | XXX |
| 163 | YAML |
| 164 | YahooBlogSearch |
| 165 | YouTube |
| 166 | aggregator |
| 167 | aggregators |
| 168 | al |
| 169 | ala |
| 170 | apihost |
| 171 | apirealm |
| 172 | apiurl |
| 173 | asahi |
| 174 | ascii |
| 175 | atomfeed |
| 176 | authen |
| 177 | autodiscovery |
| 178 | backend |
| 179 | ben |
| 180 | blog |
| 181 | blog's |
| 182 | blogroll |
| 183 | blogs |
| 184 | blosxom |
| 185 | bookmarked |
| 186 | bot |
| 187 | brian |
| 188 | callback |
| 189 | cc |
| 190 | ccTLD |
| 191 | ch |
| 192 | chRSSPermalink |
| 193 | co |
| 194 | com |
| 195 | conf |
| 196 | cronjob |
| 197 | csv |
| 198 | darwin |
| 199 | datetime |
| 200 | de |
| 201 | deduplicate |
| 202 | del |
| 203 | delimited |
| 204 | dir |
| 205 | embeddable |
| 206 | emoticons |
| 207 | en |
| 208 | euc |
| 209 | exe |
| 210 | extendedPing |
| 211 | fallbacks |
| 212 | feedburner's |
| 213 | filename |
| 214 | foaf |
| 215 | foafroll |
| 216 | foo |
| 217 | foobar |
| 218 | formatter |
| 219 | foy |
| 220 | freebsd |
| 221 | freenode |
| 222 | fulltext |
| 223 | gif |
| 224 | |
| 225 | guid |
| 226 | hackish |
| 227 | hatena |
| 228 | href |
| 229 | html |
| 230 | iCal |
| 231 | iPhoto |
| 232 | iPod |
| 233 | iTunes |
| 234 | icio |
| 235 | ics |
| 236 | ini |
| 237 | init |
| 238 | inline |
| 239 | ip |
| 240 | irc |
| 241 | ircbot |
| 242 | ized |
| 243 | ja |
| 244 | javascript |
| 245 | jp |
| 246 | json |
| 247 | jsonp |
| 248 | lang |
| 249 | lastBuildDate |
| 250 | linux |
| 251 | listsubs |
| 252 | livedoor |
| 253 | livedoorClip |
| 254 | login |
| 255 | mailfrom |
| 256 | mailroute |
| 257 | mailto |
| 258 | medoc |
| 259 | metadata |
| 260 | microformats |
| 261 | mixi |
| 262 | mp |
| 263 | namespace |
| 264 | perlbal |
| 265 | permalink |
| 266 | permalinks |
| 267 | photocast |
| 268 | pingserver |
| 269 | pipermail |
| 270 | plagger |
| 271 | plagger's |
| 272 | plaggerbot |
| 273 | plaintext |
| 274 | playlog |
| 275 | pluggable |
| 276 | plugins |
| 277 | pm |
| 278 | pubDate |
| 279 | qpsmtpd |
| 280 | quickstart |
| 281 | rdf |
| 282 | rebless |
| 283 | referer |
| 284 | remixer |
| 285 | rsd |
| 286 | rss |
| 287 | rssad |
| 288 | san |
| 289 | searchable |
| 290 | serializer |
| 291 | shiftjis |
| 292 | sixapart |
| 293 | smartfeeds |
| 294 | smtp |
| 295 | src |
| 296 | std |
| 297 | strptime |
| 298 | stylesheet |
| 299 | svn |
| 300 | swf |
| 301 | tDiary |
| 302 | tagline |
| 303 | takahashi |
| 304 | technorati |
| 305 | templatize |
| 306 | thingy |
| 307 | timezones |
| 308 | unsubscribe |
| 309 | url |
| 310 | urls |
| 311 | username |
| 312 | utf |
| 313 | varname |
| 314 | webbookmark |
| 315 | weblogUpdates |
| 316 | wget |
| 317 | win32 |
| 318 | wosit |
| 319 | www |
| 320 | xml |
| 321 | xul |
| 322 | yaml |
Note: See TracBrowser for help on using the browser.
