Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CoTA
cota-backend
Commits
49f19419
Commit
49f19419
authored
3 months ago
by
mamunozgil
Browse files
Options
Download
Email Patches
Plain Diff
submissionDirectory path fix
parent
257c0503
Pipeline
#10902
passed with stage
in 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/hftstuttgart/dtabackend/utils/ExecuteTestUtil.java
+1
-1
...ava/de/hftstuttgart/dtabackend/utils/ExecuteTestUtil.java
with
1 addition
and
1 deletion
+1
-1
src/main/java/de/hftstuttgart/dtabackend/utils/ExecuteTestUtil.java
+
1
-
1
View file @
49f19419
...
...
@@ -50,7 +50,7 @@ public class ExecuteTestUtil {
public
ResultSummary
runTests
(
String
assignmentId
,
Path
workDirectory
)
throws
IOException
,
InterruptedException
{
// Define paths for the submission-specific directories
String
submissionDirectory
=
th
i
s
.
basePathStudentsSubmissionCode
+
workDirectory
.
getFileName
()
;
// /dta-test-assignments/dta-submissionID
String
submissionDirectory
=
Pa
ths
.
get
(
basePathStudentsSubmissionCode
,
workDirectory
.
getFileName
()
.
toString
()).
toString
();
Path
testPath
=
Paths
.
get
(
submissionDirectory
,
"test"
);
Path
srcPath
=
Paths
.
get
(
submissionDirectory
,
"src"
);
Path
resultPath
=
Paths
.
get
(
submissionDirectory
,
"result"
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets