Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TeeTime-Framework
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nelson Tavares de Sousa
TeeTime-Framework
Commits
8c9344d2
Commit
8c9344d2
authored
Nov 4, 2015
by
Nelson Tavares de Sousa
Browse files
Options
Downloads
Patches
Plain Diff
fixed error and pmd issues
parent
929e0769
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/teetime/framework/Execution.java
+3
-3
3 additions, 3 deletions
src/main/java/teetime/framework/Execution.java
src/test/java/teetime/framework/ExecutionTest.java
+1
-1
1 addition, 1 deletion
src/test/java/teetime/framework/ExecutionTest.java
with
4 additions
and
4 deletions
src/main/java/teetime/framework/Execution.java
+
3
−
3
View file @
8c9344d2
...
...
@@ -170,7 +170,7 @@ public final class Execution<T extends Configuration> {
return
this
.
configuration
;
}
private
static
List
<
Configuration
>
configLoader
(
final
String
[]
args
)
{
private
static
List
<
Configuration
>
configLoader
(
final
String
...
args
)
{
List
<
Configuration
>
instances
=
new
ArrayList
<
Configuration
>();
for
(
String
each
:
args
)
{
try
{
...
...
@@ -190,10 +190,10 @@ public final class Execution<T extends Configuration> {
return
instances
;
}
public
static
void
main
(
final
String
[]
args
)
{
public
static
void
main
(
final
String
...
args
)
{
List
<
Configuration
>
instances
=
configLoader
(
args
);
for
(
Configuration
configuration
:
instances
)
{
new
Execution
<
Configuration
>(
configuration
).
executeBlocking
();
new
Execution
<
Configuration
>(
configuration
).
executeBlocking
();
// NOPMD
}
}
}
This diff is collapsed.
Click to expand it.
src/test/java/teetime/framework/ExecutionTest.java
+
1
−
1
View file @
8c9344d2
...
...
@@ -208,7 +208,7 @@ public class ExecutionTest {
@Test
public
void
mainMethod
()
{
assertFalse
(
MainMethodTestConfig
.
executed
);
Execution
.
main
(
new
String
[]
{
"teetime.framework.
Runner
Config"
}
);
Execution
.
main
(
"teetime.framework.
MainMethodTest
Config"
);
assertTrue
(
MainMethodTestConfig
.
executed
);
}
...
...
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