Make test classes name consistence by putting 'Test' at end as per google java style guide
Issue-ID: POLICY-1258
Change-Id: Id79e5d3fe3688f7f2569b7996613595cc6b746e7
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
import org.junit.Test;
import org.onap.policy.controlloop.actorserviceprovider.spi.Actor;
-public class TestActorServiceProvider {
+public class ActorServiceProviderTest {
@Test
public void testActorServiceProvider() {
import org.junit.Test;
-public class TestCommonHeader {
+public class CommonHeaderTest {
@Test
public void testCommonHeader() {
import org.junit.Test;
-public class TestEnums {
+public class EnumsTest {
@Test
public void testResponseCode() {
import org.junit.Test;
-public class TestRequest {
+public class RequestTest {
@Test
public void testRequest() {
import org.junit.Test;
-public class TestResponseStatus {
+public class ResponseStatusTest {
@Test
public void testResonseStatus() {
import org.junit.Test;
-public class TestResponse {
+public class ResponseTest {
@Test
public void testResonse() {
import org.junit.Test;
-public class TestSerialization {
+public class SerializationTest {
@Test
public void test() {
import org.junit.Test;
-public class TestLcmCommonHeader {
+public class LcmCommonHeaderTest {
@Test
public void testLcmCommonHeader() {
import org.junit.Test;
-public class TestLcmRequest {
+public class LcmRequestTest {
@Test
public void testLcmRequest() {
import org.junit.Test;
-public class TestLcmRequestWrapper {
+public class LcmRequestWrapperTest {
@Test
public void testLcmRequestWrapperWrapper() {
import org.junit.Test;
-public class TestLcmResonseCode {
+public class LcmResonseCodeTest {
@Test
public void testLcmResponseCode() {
import org.junit.Test;
-public class TestLcmResponseStatus {
+public class LcmResponseStatusTest {
@Test
public void testResonseStatus() {
import org.junit.Test;
-public class TestLcmResponseWrapper {
+public class LcmResponseWrapperTest {
@Test
public void testLcmResponseWrapperWrapper() {
import org.junit.Test;
-public class TestLcmWrapper {
+public class LcmWrapperTest {
@Test
public void testLcmWrapper() {
import org.junit.Test;
-public class TestSerialization {
+public class SerializationTest {
@Test
public void test() {
import org.junit.Test;
import org.onap.policy.rest.RESTManager.Pair;
-public class TestGet {
+public class GetTest {
@Test(expected = NullPointerException.class)
public void testUrlNull() {
import org.junit.Test;
import org.onap.policy.rest.RESTManager.Pair;
-public class TestPair {
+public class PairTest {
@Test
public void testPair() {
import org.junit.Test;
import org.onap.policy.rest.RESTManager.Pair;
-public class TestPost {
+public class PostTest {
@Test
public void testUsernameNull() {
import org.junit.Test;
-public class TestResourceInstance {
+public class ResourceInstanceTest {
@Test
public void testConstructors() {
import org.junit.Test;
-public class TestResource {
+public class ResourceTest {
@Test
public void testConstructors() {
import org.junit.Test;
-public class TestServiceInstance {
+public class ServiceInstanceTest {
@Test
public void testConstructors() {
import org.junit.Test;
-public class TestService {
+public class ServiceTest {
@Test
public void testConstructors() {
import org.junit.Test;
import org.onap.policy.sdnc.util.Serialization;
-public class TestDemo {
+public class DemoTest {
@Test
public void test() {
import org.junit.Test;
-public class TestSdncHealAdditionalParams {
+public class SdncHealAdditionalParamsTest {
@Test
public void testSdncHealAdditionalParameters() {
import org.junit.Test;
-public class TestSdncHealRequest {
+public class SdncHealRequestTest {
@Test
public void testSdncHealRequest() {
import org.junit.Test;
-public class TestSdncHealServiceInfo {
+public class SdncHealServiceInfoTest {
@Test
public void testSdncHealServiceInfo() {
import org.onap.policy.rest.RESTManager.Pair;
import org.onap.policy.sdnc.util.Serialization;
-public class TestSdncManager {
+public class SdncManagerTest {
private static WorkingMemory mockedWorkingMemory;
private RESTManager mockedRestManager;
import org.junit.Test;
-public class TestSdncRequest {
+public class SdncRequestTest {
@Test
public void testSdncRequest() {
import org.junit.Test;
-public class TestSdncResponseDescriptor {
+public class SdncResponseDescriptorTest {
@Test
public void testSdncResponseDescriptor() {
import org.junit.Test;
-public class TestSdncResponse {
+public class SdncResponseTest {
@Test
public void testSdncResponse() {
import org.junit.Test;
-public class TestSerialization {
+public class SerializationTest {
@Test
public void test() {
import org.junit.Test;
-public class TestPciCommonHeader {
+public class PciCommonHeaderTest {
@Test
public void testPciCommonHeader() {
import org.junit.Test;
-public class TestPciRequest {
+public class PciRequestTest {
@Test
public void testPciRequest() {
import org.junit.Test;
-public class TestPciRequestWrapper {
+public class PciRequestWrapperTest {
@Test
public void testPciRequestWrapperWrapper() {
import org.junit.Test;
-public class TestPciResponseCode {
+public class PciResponseCodeTest {
@Test
public void testPciResponseCode() {
import org.junit.Test;
-public class TestPciResponseWrapper {
+public class PciResponseWrapperTest {
@Test
public void testPciResponseWrapperWrapper() {
import org.junit.Test;
-public class TestPciStatus {
+public class PciStatusTest {
@Test
public void testResponseStatus() {
import org.junit.Test;
-public class TestPciWrapper {
+public class PciWrapperTest {
@Test
public void testPciWrapper() {
import org.junit.Test;
-public class TestSerialization {
+public class SerializationTest {
@Test
public void test() {
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-public class TestDemo {
- private static final Logger logger = LoggerFactory.getLogger(TestDemo.class);
+public class DemoTest {
+ private static final Logger logger = LoggerFactory.getLogger(DemoTest.class);
@Test
public void test() {
import org.junit.Test;
-public class TestSoAsyncRequestStatus {
+public class SoAsyncRequestStatusTest {
@Test
public void testConstructor() {
import org.junit.Test;
-public class TestSoCloudConfiguration {
+public class SoCloudConfigurationTest {
@Test
public void testConstructor() {
import javax.ws.rs.core.Response;
@Path("/SO")
-public class TestSoDummyServer {
+public class SoDummyServerTest {
private static int postMessagesReceived = 0;
private static int putMessagesReceived = 0;
import org.junit.Test;
-public class TestSoInstanceReferences {
+public class SoInstanceReferencesTest {
@Test
public void testConstructor() {
import org.junit.Test;
import org.onap.policy.drools.system.PolicyEngine;
-public class TestSoManager {
+public class SoManagerTest {
private static final String BASE_URI = "http://localhost:46553/TestSOManager";
private static final String BASE_SO_URI = BASE_URI + "/SO";
private static HttpServer server;
*/
@BeforeClass
public static void setUp() throws IOException {
- final ResourceConfig rc = new ResourceConfig(TestSoDummyServer.class);
+ final ResourceConfig rc = new ResourceConfig(SoDummyServerTest.class);
//Grizzly by default doesn't allow payload for HTTP methods (ex: DELETE), for which HTTP spec doesn't
// explicitly state that.
//allow it before starting the server
import org.junit.Test;
-public class TestSoModelInfo {
+public class SoModelInfoTest {
@Test
public void testConstructor() {
import org.junit.Test;
-public class TestSoPolicyExceptionHolder {
+public class SoPolicyExceptionHolderTest {
@Test
public void testConstructor() {
import org.junit.Test;
-public class TestSoRelatedInstanceListElement {
+public class SoRelatedInstanceListElementTest {
@Test
public void testConstructor() {
import org.junit.Test;
-public class TestSoRelatedInstance {
+public class SoRelatedInstanceTest {
@Test
public void testConstructor() {
import org.junit.Test;
-public class TestSoRequestDetails {
+public class SoRequestDetailsTest {
@Test
public void testConstructor() {
import org.junit.Test;
-public class TestSoRequestError {
+public class SoRequestErrorTest {
@Test
public void testConstructor() {
import org.junit.Test;
-public class TestSoRequestInfo {
+public class SoRequestInfoTest {
@Test
public void testConstructor() {
import org.junit.Test;
-public class TestSoRequestParameters {
+public class SoRequestParametersTest {
@Test
public void testConstructor() {
import org.junit.Test;
-public class TestSoRequestReferences {
+public class SoRequestReferencesTest {
@Test
public void testConstructor() {
import org.junit.Test;
-public class TestSoRequestStatus {
+public class SoRequestStatusTest {
@Test
public void testConstructor() {
import org.junit.Test;
-public class TestSoRequest {
+public class SoRequestTest {
@Test
public void testConstructor() {
import org.junit.Test;
-public class TestSoResponse {
+public class SoResponseTest {
@Test
public void testConstructor() {
import org.junit.Test;
-public class TestSoResponseWrapper {
+public class SoResponseWrapperTest {
@Test
public void testConstructor() {
import org.junit.Test;
-public class TestSoServiceExceptionHolder {
+public class SoServiceExceptionHolderTest {
@Test
public void testConstructor() {
import org.junit.Test;
-public class TestSoSubscriberInfo {
+public class SoSubscriberInfoTest {
@Test
public void testConstructor() {
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-public class TestDemo {
- private static final Logger logger = LoggerFactory.getLogger(TestDemo.class);
+public class DemoTest {
+ private static final Logger logger = LoggerFactory.getLogger(DemoTest.class);
@Test
public void test() {
import org.junit.Test;
import org.onap.policy.vfc.util.Serialization;
-public class TestDemo {
+public class DemoTest {
@Test
public void test() {
import org.junit.Test;
-public class TestVfcHealActionVmInfo {
+public class VfcHealActionVmInfoTest {
@Test
public void testVfcHealActionVmInfo() {
import org.junit.Test;
-public class TestVfcHealAdditionalParams {
+public class VfcHealAdditionalParamsTest {
@Test
public void testVfcHealAdditionalParameters() {
import org.junit.Test;
-public class TestVfcHealRequest {
+public class VfcHealRequestTest {
@Test
public void testVfcHealRequest() {
import org.onap.policy.rest.RESTManager.Pair;
import org.onap.policy.vfc.util.Serialization;
-public class TestVfcManager {
+public class VfcManagerTest {
private static WorkingMemory mockedWorkingMemory;
private RESTManager mockedRestManager;
import org.junit.Test;
-public class TestVfcRequest {
+public class VfcRequestTest {
@Test
public void testVfcRequest() {
import org.junit.Test;
-public class TestVfcResponseDescriptor {
+public class VfcResponseDescriptorTest {
@Test
public void testVfcResponseDescriptor() {
import org.junit.Test;
-public class TestVfcResponse {
+public class VfcResponseTest {
@Test
public void testVfcResponse() {
import org.junit.Test;
-public class TestSerialization {
+public class SerializationTest {
@Test
public void test() {