
- factor out class DetokenizerTestCase
- create an array of all of the test cases before running any of them
- in the case of an expected failure, move the TODO block deeper, just around the validation of the results

I'm not 100% I like this change, I think it makes the code slightly more elegant but it also makes it longer.


git-svn-id: f5d636078e73450abf2183305c5e43efec2a5605@4128 1f5c12ca-751b-0410-a591-d2e778427230

pjwilliams/mosesdecoder,KonceptGeek/mosesdecoder,alvations/mosesdecoder,moses-smt/mosesdecoder,hychyc07/mosesdecoder,moses-smt/mosesdecoder,emjotde/mosesdecoder_nmt,alvations/mosesdecoder,tofula/mosesdecoder,tofula/mosesdecoder,pjwilliams/mosesdecoder,hychyc07/mosesdecoder,tofula/mosesdecoder,alvations/mosesdecoder,moses-smt/mosesdecoder,moses-smt/mosesdecoder,pjwilliams/mosesdecoder,tofula/mosesdecoder,moses-smt/mosesdecoder,hychyc07/mosesdecoder,hychyc07/mosesdecoder,pjwilliams/mosesdecoder,tofula/mosesdecoder,moses-smt/mosesdecoder,hychyc07/mosesdecoder,moses-smt/mosesdecoder,alvations/mosesdecoder,tofula/mosesdecoder,alvations/mosesdecoder,alvations/mosesdecoder,alvations/mosesdecoder,pjwilliams/mosesdecoder,emjotde/mosesdecoder_nmt,pjwilliams/mosesdecoder,moses-smt/mosesdecoder,tofula/mosesdecoder,emjotde/mosesdecoder_nmt,KonceptGeek/mosesdecoder,KonceptGeek/mosesdecoder,emjotde/mosesdecoder_nmt,emjotde/mosesdecoder_nmt,KonceptGeek/mosesdecoder,tofula/mosesdecoder,moses-smt/mosesdecoder,pjwilliams/mosesdecoder,alvations/mosesdecoder,emjotde/mosesdecoder_nmt,pjwilliams/mosesdecoder,pjwilliams/mosesdecoder,alvations/mosesdecoder,pjwilliams/mosesdecoder,tofula/mosesdecoder,KonceptGeek/mosesdecoder,alvations/mosesdecoder,emjotde/mosesdecoder_nmt,hychyc07/mosesdecoder,moses-smt/mosesdecoder,emjotde/mosesdecoder_nmt,hychyc07/mosesdecoder,emjotde/mosesdecoder_nmt,moses-smt/mosesdecoder,hychyc07/mosesdecoder,tofula/mosesdecoder,KonceptGeek/mosesdecoder,hychyc07/mosesdecoder,hychyc07/mosesdecoder,KonceptGeek/mosesdecoder,alvations/mosesdecoder,KonceptGeek/mosesdecoder,KonceptGeek/mosesdecoder,emjotde/mosesdecoder_nmt,tofula/mosesdecoder,KonceptGeek/mosesdecoder