Ensure all passing user tests are called by their appropriate suite#10259
Ensure all passing user tests are called by their appropriate suite#10259zbynek merged 9 commits intogwtproject:mainfrom
Conversation
|
Listing all .*Test.java files, comparing with PR description specificaly mentions passing tests, I didn't try running any of these. The two test classes with underscore look like old versions of their conventionally named siblings and should be probably deleted. |
zbynek
left a comment
There was a problem hiding this comment.
Please check if some of the classes in my previous comment could/should be enabled too.
|
Three more:
The last one is not really testing anything. |
|
BidiFormatterBaseTest is also not GWTTestCase - added to i18n jre suite HorizontalAlignmentConstantParser_Test looks like an earlier iteration of HorizontalAlignmentConstantParserTest - added in the same commit, added now to the same suite. https://groups.google.com/g/google-web-toolkit-contributors/c/hYDKCdL1UMs/m/lzD9wdFuhF8J There's no suitable suite for CoverageTest, added one. |
|
NoGenerateJsInteropExportsTest isn't safe to add to the usual test runs, since -generateJsInteropExports is always specified, we'll need a custom run that handles this, will split to a new issue. |
|
StringReaderTest has three failures: gwt/user/test/com/google/gwt/emultest/java/io/StringReaderTest.java Lines 41 to 46 in 378fd96 I think that assertion is just wrong on 46, should be a gwt/user/test/com/google/gwt/emultest/java/io/StringReaderTest.java Lines 78 to 81 in 378fd96 This could be an implementation bug in the reader, or possibly something changed in String that broke this. Given the above, I suspect StringReader to be at fault. The same test passes on the JVM. gwt/user/test/com/google/gwt/emultest/java/io/StringReaderTest.java Lines 86 to 94 in 378fd96 Looks like the same kind of failure as above. |
|
LayoutPanelTest fails with a timeout (at least in HtmlUnit) gwt/user/test/com/google/gwt/user/client/ui/LayoutPanelTest.java Lines 38 to 43 in 378fd96 #4360 is where this test came from, and the test was disabled in c608a72. No commit message, just a dead link to the old review system. At one point it was also marked as not running with HtmlUnit, but it is hard to be sure if that's still the case. |
|
CoverageTest isn't needed to be called by a suite after all, it has a test run just for it, and fails without the extra setup: Lines 539 to 555 in 378fd96 |
|
Thanks for checking all of them.
|
zbynek
left a comment
There was a problem hiding this comment.
(just the two questions from my previous comment)
|
AbstractSequentialListTest should be included, yes. I'm not worried about SelectionScriptJavaScriptTest being in the wrong source dir - it isn't the only one, but i will make sure it ends up where it belongs. The whole mavenization script is an exercise in finding special cases (or giving up and acknowledging that the entire use case is too special to be fixed, e.g. "all of the gwt module cycles"). My hunch is that this test actually runs twice - once in the dev tests (which, broadly, don't use suites anyway), and again in the user tests when referenced by the suite. |
Fixes #10258