blob: ddbe4e88828b0aaeb0013d4cb5f9bc89986be581 (
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.onap.vid.controller;
import org.junit.Test;
import org.onap.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);
}
}
|