diff options
author | Jim Hahn <jrh3@att.com> | 2018-02-19 10:24:33 -0500 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2018-02-19 17:47:55 -0500 |
commit | 54800b25c8bcb27725c559e5fe7329dc46daf1a0 (patch) | |
tree | b8f63ad06704705402bb43b96dd4aee20059ec54 /utils-test/src/main/java/org/onap/policy/common/utils/test/ErrorsTester.java | |
parent | 19d3bfa5a1e6f69cde7a5e814b1975330249dcd0 (diff) |
Rename utils-test testXxx() methods
Fixed sonar complaints about the testXxx_Yyy() methods in the
XxxTester classes. In most cases, they were renamed to testYyy().
The top-level method, test(), was not renamed so-as not to break
existing tests that already depend on it.
Renamed testStringConstuctor() to testString().
Change-Id: I00e8993c71fa9d9cb83bea82276d9706dd0e7c45
Issue-ID: POLICY-246
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'utils-test/src/main/java/org/onap/policy/common/utils/test/ErrorsTester.java')
-rw-r--r-- | utils-test/src/main/java/org/onap/policy/common/utils/test/ErrorsTester.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils-test/src/main/java/org/onap/policy/common/utils/test/ErrorsTester.java b/utils-test/src/main/java/org/onap/policy/common/utils/test/ErrorsTester.java index 1a69e58c..46814c96 100644 --- a/utils-test/src/main/java/org/onap/policy/common/utils/test/ErrorsTester.java +++ b/utils-test/src/main/java/org/onap/policy/common/utils/test/ErrorsTester.java @@ -40,7 +40,7 @@ public class ErrorsTester extends ThrowablesTester { * @throws AssertionError * if the constructed objects fail to pass various tests */ - public <T extends Error> int testError(Class<T> claz) { - return testThrowable(claz); + public <T extends Error> int testAllError(Class<T> claz) { + return testAllThrowable(claz); } } |