Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dumpAst
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
JastAdd
dumpAst
Commits
20e94e9c
Commit
20e94e9c
authored
4 years ago
by
René Schöne
Browse files
Options
Downloads
Patches
Plain Diff
Fix bad argument in CompilerTest
parent
fa33a145
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
grammar2uml/src/test/java/de/tudresden/inf/st/jastadd/grammar2uml/test/CompilerTest.java
+4
-4
4 additions, 4 deletions
...dresden/inf/st/jastadd/grammar2uml/test/CompilerTest.java
with
4 additions
and
4 deletions
grammar2uml/src/test/java/de/tudresden/inf/st/jastadd/grammar2uml/test/CompilerTest.java
+
4
−
4
View file @
20e94e9c
...
...
@@ -18,13 +18,13 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
public
class
CompilerTest
{
@SuppressWarnings
(
"SameParameterValue"
)
void
transform
(
String
inputGrammar
,
String
input
Relast
2Uml
,
String
output
)
throws
CompilerException
{
void
transform
(
String
inputGrammar
,
String
input
Grammar
2Uml
,
String
output
)
throws
CompilerException
{
System
.
out
.
println
(
"Running test in directory '"
+
Paths
.
get
(
"."
).
toAbsolutePath
()
+
"'."
);
assertTrue
(
Paths
.
get
(
inputGrammar
).
toFile
().
exists
(),
"input grammar does not exist"
);
assertTrue
(
Paths
.
get
(
input
Relast
2Uml
).
toFile
().
exists
(),
"input grammar2uml does not exist"
);
assertTrue
(
Paths
.
get
(
input
Grammar
2Uml
).
toFile
().
exists
(),
"input grammar2uml does not exist"
);
assertFalse
(
Paths
.
get
(
inputGrammar
).
toFile
().
isDirectory
(),
"input grammar is a directory"
);
assertFalse
(
Paths
.
get
(
input
Relast
2Uml
).
toFile
().
isDirectory
(),
"input grammar2uml is a directory"
);
assertFalse
(
Paths
.
get
(
input
Grammar
2Uml
).
toFile
().
isDirectory
(),
"input grammar2uml is a directory"
);
File
outputFile
=
Paths
.
get
(
output
).
toFile
();
File
outputDirFile
=
outputFile
.
getParentFile
();
...
...
@@ -34,7 +34,7 @@ public class CompilerTest {
String
[]
args
=
{
"--output="
+
output
,
"--input
Relast
2Uml="
+
input
Relast
2Uml
,
"--input
Grammar
2Uml="
+
input
Grammar
2Uml
,
"--defaultFolders"
,
inputGrammar
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment