Chromium Code Reviews
DescriptionRefactor the pub tests.
The goal of this refactoring is to make it easier to flexibly set up the
filesystem before Pub runs and validate it afterwards. To do so, the pub tests
are made more modular by moving creation and validation out of the monolithic
testPub method. The declarative philosophy of testPub is maintained.
This CL also includes several changes to the unit test library. Most notably, it
causes stack traces to be displayed for errors that are thrown during tests.
Committed: https://code.google.com/p/dart/source/detail?r=7566
Patch Set 1 #
Total comments: 6
Patch Set 2 : Code review changes #Patch Set 3 : Rename guard to guardAsync #
Messages
Total messages: 5 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||