Skip to content

Commit

Permalink
tweak name to be GeneratedLexerDescriptors
Browse files Browse the repository at this point in the history
  • Loading branch information
parrt committed Jan 17, 2022
1 parent 6034525 commit 828a688
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

import static junit.framework.TestCase.fail;
import static junit.framework.TestCase.failNotEquals;
Expand Down Expand Up @@ -368,9 +366,9 @@ public static RuntimeTestDescriptor[] getRuntimeTestDescriptors(String group, St
}

if (group.equals("LexerExec")) {
descriptors.add(ExtraTests.getLineSeparatorLfTest(targetName));
descriptors.add(ExtraTests.getLineSeparatorCrLfTest(targetName));
descriptors.add(ExtraTests.getLargeLexerDescriptor(targetName));
descriptors.add(GeneratedLexerDescriptors.getLineSeparatorLfTest(targetName));
descriptors.add(GeneratedLexerDescriptors.getLineSeparatorCrLfTest(targetName));
descriptors.add(GeneratedLexerDescriptors.getLargeLexerDescriptor(targetName));
}

return descriptors.toArray(new RuntimeTestDescriptor[0]);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.antlr.v4.test.runtime;

public class ExtraTests {
public class GeneratedLexerDescriptors {
static RuntimeTestDescriptor getLineSeparatorLfTest(String targetName) {
UniversalRuntimeTestDescriptor result = new UniversalRuntimeTestDescriptor();
result.name = "LineSeparatorLf";
Expand Down

0 comments on commit 828a688

Please sign in to comment.