Hi! I created a small test framework for jjs optimizers. I've also attached a small test for MethodInliner to show how it looks like.
Patch stats: .../com/google/gwt/dev/jjs/impl/MethodInliner.java | 11 +- .../gwt/dev/jjs/impl/JJSOptimizerTestCase.java | 195 ++++++++++++++++++++ .../gwt/dev/jjs/impl/MethodInlinerTest.gwt.xml | 21 ++ .../google/gwt/dev/jjs/impl/MethodInlinerTest.java | 84 +++++++++ .../dev/jjs/impl/data/MethodInlinerTestData.java | 69 +++++++ .../data/MethodInlinerTestData/BasicInline.txt | 24 +++ .../MoreThanTwoExpressionsCantBeInlined.txt | 32 ++++ .../TwoExpressionsCanBeInlined.txt | 31 +++ 8 files changed, 464 insertions(+), 3 deletions(-) -- Regards, Mike --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
test_framework.patch
Description: Binary data