Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BudgetMaster
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Robert Goldmann
BudgetMaster
Commits
55fdffbb
Commit
55fdffbb
authored
Oct 7, 2018
by
Robert Goldmann
Browse files
Options
Downloads
Patches
Plain Diff
Fixed errors in UnitTests caused by #326
parent
3da1605c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#230
passed
Oct 7, 2018
Stage: build
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/test/java/de/deadlocker8/budgetmaster/database/DatabaseParser_v3Test.java
+15
-14
15 additions, 14 deletions
...dlocker8/budgetmaster/database/DatabaseParser_v3Test.java
with
15 additions
and
14 deletions
src/test/java/de/deadlocker8/budgetmaster/database/DatabaseParser_v3Test.java
+
15
−
14
View file @
55fdffbb
...
@@ -22,12 +22,25 @@ import java.util.Locale;
...
@@ -22,12 +22,25 @@ import java.util.Locale;
import
static
org
.
junit
.
Assert
.
assertEquals
;
import
static
org
.
junit
.
Assert
.
assertEquals
;
import
static
org
.
junit
.
Assert
.
assertTrue
;
import
static
org
.
junit
.
Assert
.
assertTrue
;
public
class
DatabaseParser_v3Test
implements
LocalizationDelegate
public
class
DatabaseParser_v3Test
{
{
@Before
@Before
public
void
before
()
public
void
before
()
{
{
Localization
.
setDelegate
(
this
);
Localization
.
setDelegate
(
new
LocalizationDelegate
()
{
@Override
public
Locale
getLocale
()
{
return
Locale
.
ENGLISH
;
}
@Override
public
String
getBaseResource
()
{
return
"languages/"
;
}
});
Localization
.
load
();
Localization
.
load
();
}
}
...
@@ -163,16 +176,4 @@ public class DatabaseParser_v3Test implements LocalizationDelegate
...
@@ -163,16 +176,4 @@ public class DatabaseParser_v3Test implements LocalizationDelegate
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
}
}
@Override
public
Locale
getLocale
()
{
return
Locale
.
ENGLISH
;
}
@Override
public
String
getBaseResource
()
{
return
"language/"
;
}
}
}
\ No newline at end of file
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