Code Review
/
policy
/
engine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Policy TestSuite Enabled
[policy/engine.git]
/
ECOMP-PDP
/
src
/
test
/
java
/
org
/
openecomp
/
policy
/
pdp
/
test
/
custom
/
TestBase.java
diff --git
a/ECOMP-PDP/src/test/java/org/openecomp/policy/pdp/test/custom/TestBase.java
b/ECOMP-PDP/src/test/java/org/openecomp/policy/pdp/test/custom/TestBase.java
index
089526d
..
7e1928c
100644
(file)
--- a/
ECOMP-PDP/src/test/java/org/openecomp/policy/pdp/test/custom/TestBase.java
+++ b/
ECOMP-PDP/src/test/java/org/openecomp/policy/pdp/test/custom/TestBase.java
@@
-47,9
+47,9
@@
import org.apache.commons.cli.Option;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.ParseException;
import org.apache.commons.io.IOUtils;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.ParseException;
import org.apache.commons.io.IOUtils;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
import org.apache.http.entity.ContentType;
import org.apache.http.entity.ContentType;
+import org.openecomp.policy.common.logging.flexlogger.FlexLogger;
+import org.openecomp.policy.common.logging.flexlogger.Logger;
import com.att.research.xacml.api.AttributeValue;
import com.att.research.xacml.api.DataType;
import com.att.research.xacml.api.AttributeValue;
import com.att.research.xacml.api.DataType;
@@
-79,9
+79,7
@@
import com.att.research.xacml.std.json.JSONStructureException;
import com.att.research.xacml.util.FactoryException;
import com.att.research.xacml.util.XACMLProperties;
import com.google.common.base.Splitter;
import com.att.research.xacml.util.FactoryException;
import com.att.research.xacml.util.XACMLProperties;
import com.google.common.base.Splitter;
-import com.google.common.collect.Lists;
-import org.openecomp.policy.common.logging.flexlogger.FlexLogger;
-import org.openecomp.policy.common.logging.flexlogger.Logger;
+import com.google.common.collect.Lists;
/**
* This is a base class for setting up a test environment. Using properties files, it contains the
/**
* This is a base class for setting up a test environment. Using properties files, it contains the
@@
-496,7
+494,7
@@
public class TestBase extends SimpleFileVisitor<Path> {
this.sendRequest(file, group);
} catch (Exception e) {
logger.error(e);
this.sendRequest(file, group);
} catch (Exception e) {
logger.error(e);
-
e.printStackTrace(
);
+
logger.error("Exception Occured"+e
);
}
}
return super.visitFile(file, attrs);
}
}
return super.visitFile(file, attrs);