-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor the Java acceptance test. #4578
Conversation
Review status: 0 of 5 files reviewed at latest revision, 4 unresolved discussions, some commit checks failed. acceptance/java_test.go, line 30 [r1] (raw file): acceptance/main.java, line 1 [r1] (raw file): acceptance/main.java, line 6 [r1] (raw file): acceptance/main.java, line 20 [r1] (raw file): Comments from the review on Reviewable.io |
Review status: 0 of 5 files reviewed at latest revision, 5 unresolved discussions, some commit checks failed. acceptance/main.java, line 1 [r1] (raw file): acceptance/TestStatements.tmpl.java, line 7 [r1] (raw file): Comments from the review on Reviewable.io |
Review status: 0 of 5 files reviewed at latest revision, 5 unresolved discussions, some commit checks failed. acceptance/main.java, line 6 [r1] (raw file): Comments from the review on Reviewable.io |
Review status: 0 of 5 files reviewed at latest revision, 5 unresolved discussions, some commit checks failed. acceptance/java_test.go, line 30 [r1] (raw file): Comments from the review on Reviewable.io |
Review status: 0 of 5 files reviewed at latest revision, 5 unresolved discussions, some commit checks failed. acceptance/java_test.go, line 30 [r1] (raw file): Comments from the review on Reviewable.io |
Review status: 0 of 5 files reviewed at latest revision, 5 unresolved discussions, some commit checks failed. acceptance/java_test.go, line 30 [r1] (raw file): acceptance/main.java, line 1 [r1] (raw file): acceptance/main.java, line 6 [r1] (raw file): acceptance/main.java, line 20 [r1] (raw file): acceptance/TestStatements.tmpl.java, line 7 [r1] (raw file): Comments from the review on Reviewable.io |
4c56e16
to
719c510
Compare
Review status: 0 of 6 files reviewed at latest revision, 4 unresolved discussions. acceptance/java_test.go, line 30 [r1] (raw file): acceptance/main.java, line 6 [r1] (raw file): Comments from the review on Reviewable.io |
719c510
to
4d5295a
Compare
Ok guys this is not the ultimate Java acceptance refactoring PR. I really want to get something going in order to move forward with #4548 and #4550 and ultimately #4036. I propose that once this PR is merged and I can go on with #4548, we file another issue to make this Java testing even better than it is now post-Beta. |
Review status: 0 of 6 files reviewed at latest revision, 4 unresolved discussions. acceptance/java_test.go, line 30 [r1] (raw file): acceptance/main.java, line 6 [r1] (raw file): Comments from the review on Reviewable.io |
LGTM Reviewed 8 of 10 files at r2, 1 of 1 files at r3. acceptance/java/runjava.sh, line 1 [r3] (raw file): acceptance/java/runjava.sh, line 2 [r3] (raw file): acceptance/java/runjava.sh, line 11 [r3] (raw file): acceptance/java/runjava.sh, line 12 [r3] (raw file): acceptance/java/TestPlaceholders.java, line 25 [r3] (raw file): Comments from the review on Reviewable.io |
4d5295a
to
a6ca7f3
Compare
This patch pulls out Java code in separate standalone .java files.
a6ca7f3
to
8c06cec
Compare
Review status: 5 of 6 files reviewed at latest revision, 8 unresolved discussions. acceptance/java/runjava.sh, line 1 [r3] (raw file): acceptance/java/runjava.sh, line 2 [r3] (raw file): acceptance/java/runjava.sh, line 11 [r3] (raw file): acceptance/java/runjava.sh, line 12 [r3] (raw file): acceptance/java/TestPlaceholders.java, line 25 [r3] (raw file): Comments from the review on Reviewable.io |
LGTM but I still think it would be worthwhile to make the test configurable at runtime instead of swapping out which classes get compiled in. Review status: 3 of 6 files reviewed at latest revision, 7 unresolved discussions, some commit checks failed. Comments from the review on Reviewable.io |
Reviewed 1 of 10 files at r2, 3 of 3 files at r4. acceptance/java/runjava.sh, line 1 [r3] (raw file): acceptance/java/runjava.sh, line 2 [r3] (raw file): acceptance/java/runjava.sh, line 12 [r3] (raw file): acceptance/java/TestPlaceholders.java, line 25 [r3] (raw file): Comments from the review on Reviewable.io |
Review status: 5 of 6 files reviewed at latest revision, 5 unresolved discussions, some commit checks failed. acceptance/java/runjava.sh, line 1 [r3] (raw file): acceptance/java/runjava.sh, line 12 [r3] (raw file): acceptance/java/TestPlaceholders.java, line 25 [r3] (raw file): Comments from the review on Reviewable.io |
Closing in favor of #4591. |
This patch pulls out Java code in separate standalone .java files
and generalizes template substitution.