There is no need to define a different getModuleName() The same module name applies to the whole project and one can instantiate and test any classes from the project. So a test suite will do just fine.
On Sun, Aug 2, 2009 at 7:57 AM, Ben2008<[email protected]> wrote: > > So what was the answer? > > Just define different public String getModuleName() ?? > > > On Aug 2, 1:02 am, Marcelo Sena <[email protected]> wrote: >> Oh god I can't believe I'm that dumb. >> The answer was right in front of me the whole time. >> Sorry for asking. >> >> On Aug 1, 4:12 pm, Marcelo Sena <[email protected]> wrote: >> >> >> >> > Hi, >> > I wished to run several test cases with different modules like this: >> >> > public class StockWatcherTest extends GWTTestCase { >> > public String getModuleName() { >> > return "com.google.gwt.sample.stockwatcher.StockWatcher"; >> > } >> > public void testSimple() { >> > assertTrue(true); >> > } >> >> > } >> >> > public class StockPriceTest extends GWTTestCase >> > { >> > public String getModuleName() >> > { >> > return "com.google.gwt.sample.stockwatcher.StockPrice"; >> > } >> > public void testStockPriceStringDoubleDouble() >> > { >> > assertTrue(true); >> > } >> >> > } >> >> > Using Test suites won't work since getModuleName will return different >> > values. Do you guys know a way to address this?- Hide quoted text - >> >> - Show quoted text - > > > -- Marcelo Sena --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
