Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Webtools Releng
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Projects
webtools
Releng
Webtools Releng
Commits
5fbee2a5
Commit
5fbee2a5
authored
15 years ago
by
david_williams
Browse files
Options
Downloads
Patches
Plain Diff
283792 read properties for versioning tests
parent
d7617c05
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/org.eclipse.wtp.releng.tests/src/org/eclipse/wtp/releng/tests/BuildTests.java
+24
-2
24 additions, 2 deletions
...ng.tests/src/org/eclipse/wtp/releng/tests/BuildTests.java
with
24 additions
and
2 deletions
tests/org.eclipse.wtp.releng.tests/src/org/eclipse/wtp/releng/tests/BuildTests.java
+
24
−
2
View file @
5fbee2a5
...
@@ -512,12 +512,34 @@ public class BuildTests extends TestCase {
...
@@ -512,12 +512,34 @@ public class BuildTests extends TestCase {
System
.
out
.
println
(
"relengTestsPropertiesFile does not exist"
);
System
.
out
.
println
(
"relengTestsPropertiesFile does not exist"
);
}
}
ArrayList
argsList
=
new
ArrayList
();
String
[]
args
=
new
String
[]{
qualifierArg
,
testToReferenceArg
,
referenceIDArg
,
referenceURLArg
,
listToReferenceFileArg
};
if
(
validValue
(
qualifierArg
))
{
argsList
.
add
(
qualifierArg
);
}
if
(
validValue
(
testToReferenceArg
))
{
argsList
.
add
(
testToReferenceArg
);
}
if
(
validValue
(
referenceIDArg
))
{
argsList
.
add
(
referenceIDArg
);
}
if
(
validValue
(
referenceURLArg
))
{
argsList
.
add
(
referenceURLArg
);
}
if
(
validValue
(
listToReferenceFileArg
))
{
argsList
.
add
(
listToReferenceFileArg
);
}
String
[]
args
=
(
String
[])
argsList
.
toArray
(
new
String
[]{});
return
args
;
return
args
;
}
}
private
boolean
validValue
(
String
arg
)
{
if
(
arg
!=
null
)
return
true
;
return
false
;
}
/**
/**
* This method does not really test anything, be itself (yet) it just uses
* This method does not really test anything, be itself (yet) it just uses
* a URL connection to access the internet just to make sure it is logged.
* a URL connection to access the internet just to make sure it is logged.
...
...
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