Skip to content

Commit

Permalink
Slightly more realistic...
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan202 committed Aug 1, 2022
1 parent 89bce2f commit 9cae8b3
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ void identification() {
" // BUG: Diagnostic contains: No source code provided",
" .addSourceLines(\"A.java\")",
" // BUG: Diagnostic contains: Source code is malformed:",
" .addSourceLines(\"A.java\", \"class A {\")",
" .addSourceLines(\"B.java\", \"class B {\")",
" // Well-formed code, so not flagged.",
" .addSourceLines(\"A.java\", \"class A {}\")",
" .addSourceLines(\"C.java\", \"class C {}\")",
" // Malformed code, but not compile-time constant, so not flagged.",
" .addSourceLines(\"A.java\", \"class A {\" + getClass())",
" .addSourceLines(\"D.java\", \"class D {\" + getClass())",
" // BUG: Diagnostic contains: Test code should follow the Google Java style",
" .addSourceLines(\"A.java\", \"class A { }\")",
" .addSourceLines(\"E.java\", \"class E { }\")",
" .doTest();",
"",
" refactoringTestHelper",
Expand Down

0 comments on commit 9cae8b3

Please sign in to comment.