Merge "delete all .class files" into stable/beryllium
[nemo.git] / nemo-tools / sandbox / src / test / java / org / opendaylight / nemo / tool / sandbox / utils / PropertyLoaderTest.java
1 /*\r
2  * Copyright (c) 2015 Huawei, Inc. and others. All rights reserved.\r
3  *\r
4  * This program and the accompanying materials are made available under the\r
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
6  * and is available at http://www.eclipse.org/legal/epl-v10.html\r
7  */\r
8 package org.opendaylight.nemo.tool.sandbox.utils;\r
9 \r
10 import junit.framework.TestCase;\r
11 import org.junit.Before;\r
12 import org.junit.Test;\r
13 \r
14 import static org.junit.Assert.*;\r
15 import java.io.BufferedReader;\r
16 import java.io.IOException;\r
17 import java.io.InputStream;\r
18 import java.io.InputStreamReader;\r
19 import java.util.ArrayList;\r
20 import java.util.List;\r
21 /**\r
22  * Created by zhangmeng on 2016/1/14.\r
23  */\r
24 public class PropertyLoaderTest extends TestCase {\r
25     private PropertyLoader propertyLoader;\r
26     @Before\r
27     public void setUp() throws Exception {\r
28         propertyLoader = new PropertyLoader();\r
29     }\r
30 \r
31     @Test\r
32     public void testLoadProperties() throws Exception {\r
33         PropertyLoader.loadProperties("home","no file!");\r
34     }\r
35 \r
36     @Test\r
37     public void testReadLines() throws Exception {\r
38         PropertyLoader.readLines("home","no file!");\r
39     }\r
40 }