aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/controllers/HealthCheckControllerTest.java
blob: ca7a163a8bfe75ae73c4ac416ff703dc7fc4f066 (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
48
package org.onap.vid.controllers;

import org.junit.Test;
import org.onap.vid.controllers.HealthCheckController;
import org.onap.vid.controllers.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);
	}
}