summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/openecomp/vid/controller/HealthCheckControllerTest.java
blob: 045ad9a61eb62cdfbf198842e3c84ea9fbb061b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package org.openecomp.vid.controller;

import org.junit.Test;
import org.openecomp.vid.controller.HealthCheckController.HealthStatus;

public class HealthCheckControllerTest {

	private HealthCheckController createTestSubject() {
		return new HealthCheckController();
	}

	@Test
	public void testGetProfileCount() throws Exception {
		HealthCheckController testSubject;
		String driver = "";
		String URL = "";
		String username = "";
		String password = "";
		int result;

		// default test
		testSubject = createTestSubject();
		result = testSubject.getProfileCount(driver, URL, username, password);
	}

	@Test
	public void testGethealthCheckStatusforIDNS() throws Exception {
		HealthCheckController testSubject;
		HealthStatus result;

		// default test
		testSubject = createTestSubject();
		result = testSubject.gethealthCheckStatusforIDNS();
	}

	@Test
	public void testGetHealthCheck() throws Exception {
		HealthCheckController testSubject;
		String UserAgent = "";
		String ECOMPRequestID = "";
		HealthStatus result;

		// default test
		testSubject = createTestSubject();
		result = testSubject.getHealthCheck(UserAgent, ECOMPRequestID);
	}
}