Add data formatter for NSCFDictionary.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
It might be nice to split up the tests a bit. The data formatter tests have a history of testing 1000 things at once and saying "something failed in the this test with 1000 things". It would be nice if we knew that only dictionaries were failing by testing each type individually. Not required for this test, but try this out by reverting the changes in NSDictionary.cpp so you can see the kind of issue I am talking about.
Yes, I really wish unittest2 allowed non-aborting tests. If you split up all these tests, then you make the testsuite have to build and run some little executable over and over. It would be so nice if there were a way to say:
self.startTestBundle()
self.assertTrue(something) ... self.assertTrue(something_else)
self.endTestBundle()
where the failures would be held in the test bundle till "endTestBundle", and then all the failures reported.
That would allow us to test a bunch of independent things without having to build & run over and over.
Jim