diff options
author | Arthur Martella <amartell@research.att.com> | 2018-03-28 23:05:00 -0400 |
---|---|---|
committer | Arthur Martella <amartell@research.att.com> | 2018-03-28 23:05:00 -0400 |
commit | 527b15d23fe447cbf72eb3548038f901bee0fb89 (patch) | |
tree | 53381020d124cc09a3e9395a0d85c6965b8313ab /adapters/mso-network-adapter/src | |
parent | 543324f84b6bc11fa0dcda6ae5de932e77cec2ff (diff) |
Remove PowerMockRunner
Did you know that using @RunWith(PowerMockRunner.class) makes tests count 0 lines of coverage in Sonar? I didn't.
Change-Id: I5c8fae2d0a329866e9c35a7c85344d368af4ad76
Issue-ID: SO-489
Signed-off-by: Arthur Martella <amartell@research.att.com>
Diffstat (limited to 'adapters/mso-network-adapter/src')
-rw-r--r-- | adapters/mso-network-adapter/src/test/java/org/openecomp/mso/adapters/network/NetworkAdapterRestTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adapters/mso-network-adapter/src/test/java/org/openecomp/mso/adapters/network/NetworkAdapterRestTest.java b/adapters/mso-network-adapter/src/test/java/org/openecomp/mso/adapters/network/NetworkAdapterRestTest.java index 8e304c654a..182190b1a7 100644 --- a/adapters/mso-network-adapter/src/test/java/org/openecomp/mso/adapters/network/NetworkAdapterRestTest.java +++ b/adapters/mso-network-adapter/src/test/java/org/openecomp/mso/adapters/network/NetworkAdapterRestTest.java @@ -65,7 +65,7 @@ import org.powermock.api.mockito.PowerMockito; import org.powermock.core.classloader.annotations.PrepareForTest; import org.powermock.modules.junit4.PowerMockRunner; -@RunWith(PowerMockRunner.class) +//@RunWith(PowerMockRunner.class) @PrepareForTest({NetworkAdapterRest.class, CreateNetworkTask.class, CreateNetworkRequest.class, DeleteNetworkTask.class, DeleteNetworkRequest.class}) public class NetworkAdapterRestTest { @Mock |