Skip to content
Snippets Groups Projects
Commit 17b64a6c authored by Ger van Diepen's avatar Ger van Diepen
Browse files

BugID: 699

Make its output correct if run without log4cplus
parent bbc33652
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,9 @@ int main() {
INIT_LOGGER("tParameterSet");
cout << "\nReading in parameterfile 'tParameterSet.in_param'\n";
cout << ">>>\n";
ParameterSet myPS("tParameterSet.in_param");
cout << "<<<\n";
ParameterSet mySecondSet(myPS);
......@@ -98,10 +100,12 @@ int main() {
cout << mySubset;
cout << "\nTrying to read a non-existing key\n";
cout << ">>>\n";
try {
myPS.getInt32("is.er.niet");
}
catch (LOFAR::Exception& ex) {
cout << "<<<\n";
cout << "Told you the key didn't exist." << endl;
}
......
Reading in parameterfile 'tParameterSet.in_param'
>>>
WARN - Key a.b.c is defined twice. Ignoring first value.
<<<
Showing some values
a.b.c=700
......@@ -55,7 +57,9 @@ Subset a.b. contains:
[time3],[15 hour]
Trying to read a non-existing key
>>>
DEBUG - Key is.er.niet unknown
<<<
Told you the key didn't exist.
Finally write the parameterset to 'newset.stdout'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment