-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPropertyUtilTest.java
More file actions
44 lines (38 loc) · 834 Bytes
/
PropertyUtilTest.java
File metadata and controls
44 lines (38 loc) · 834 Bytes
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
package com;
import com.PropertyUtil;
import org.junit.Test;
import org.junit.Before;
import org.junit.After;
/**
* PropertyUtil Tester.
*
* @author <Authors name>
* @since <pre>02/02/2018</pre>
* @version 1.0
*/
public class PropertyUtilTest {
private String url=null;
private String userName=null;
private String password=null;
@Before
public void before() throws Exception {
url= PropertyUtil.getProperty("url");
userName= PropertyUtil.getProperty("username");
password= PropertyUtil.getProperty("password");
}
@After
public void after() throws Exception {
}
/**
*
* Method: getProperty(String key)
*
*/
@Test
public void testGetProperty() throws Exception {
//TODO: Test goes here...
System.out.println(url);
System.out.println(userName);
System.out.println(password);
}
}