Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
RagConnect
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
Environments
Terraform modules
Monitor
Incidents
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
RagConnect
Merge requests
!26
Resolve "Refactor debug messages from System.out to SLF4J"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Refactor debug messages from System.out to SLF4J"
46-refactor-debug-messages-from-system-out-to-slf4j
into
dev
Overview
0
Commits
4
Pipelines
5
Changes
1
Merged
René Schöne
requested to merge
46-refactor-debug-messages-from-system-out-to-slf4j
into
dev
3 years ago
Overview
0
Commits
4
Pipelines
5
Changes
1
Expand
Closes
#46 (closed)
Edited
3 years ago
by
René Schöne
0
0
Merge request reports
Viewing commit
11a7768d
Prev
Next
Show latest version
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
11a7768d
working on slf4j debug messages
· 11a7768d
René Schöne
authored
3 years ago
- fixed Errors test case after logging changes
ragconnect.tests/src/test/java/org/jastadd/ragconnect/tests/Errors.java
+
2
−
2
Options
@@ -53,10 +53,10 @@ public class Errors {
.
collect
(
Collectors
.
toList
());
Path
outPath
=
TestUtils
.
runCompiler
(
grammarFile
,
connectFiles
,
rootNode
,
ERROR_DIRECTORY
,
1
);
final
String
startOfErrorsPattern
=
"
SEVERE:
Errors:"
;
final
String
startOfErrorsPattern
=
"Errors:
\n
"
;
String
out
=
readFile
(
outPath
,
Charset
.
defaultCharset
());
assertThat
(
out
).
contains
(
startOfErrorsPattern
);
out
=
out
.
substring
(
out
.
indexOf
(
startOfErrorsPattern
)
+
16
);
out
=
out
.
substring
(
out
.
indexOf
(
startOfErrorsPattern
)
+
startOfErrorsPattern
.
length
()
);
Path
expectedPath
=
Paths
.
get
(
TestUtils
.
INPUT_DIRECTORY_PREFIX
)
.
resolve
(
ERROR_DIRECTORY
)
Loading