|
| 1 | +// Licensed to the Apache Software Foundation (ASF) under one |
| 2 | +// or more contributor license agreements. See the NOTICE file |
| 3 | +// distributed with this work for additional information |
| 4 | +// regarding copyright ownership. The ASF licenses this file |
| 5 | +// to you under the Apache License, Version 2.0 (the |
| 6 | +// "License"); you may not use this file except in compliance |
| 7 | +// the License. You may obtain a copy of the License at |
| 8 | +// |
| 9 | +// http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +// |
| 11 | +// Unless required by applicable law or agreed to in writing, |
| 12 | +// software distributed under the License is distributed on an |
| 13 | +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 14 | +// KIND, either express or implied. See the License for the |
| 15 | +// specific language governing permissions and limitations |
| 16 | +// under the License. |
1 | 17 | package com.cloud.usage; |
2 | 18 |
|
| 19 | +import static org.junit.Assert.assertEquals; |
| 20 | + |
| 21 | +import java.io.FileNotFoundException; |
| 22 | +import java.sql.Connection; |
| 23 | +import java.sql.DriverManager; |
| 24 | +import java.sql.SQLException; |
| 25 | +import java.util.Arrays; |
| 26 | +import java.util.Collection; |
| 27 | +import java.util.Properties; |
| 28 | + |
3 | 29 | import org.dbunit.DatabaseUnitException; |
4 | 30 | import org.dbunit.dataset.DataSetException; |
5 | 31 | import org.dbunit.dataset.IDataSet; |
6 | 32 | import org.dbunit.dataset.xml.FlatXmlDataSetBuilder; |
7 | 33 | import org.dbunit.ext.mysql.MySqlConnection; |
8 | 34 | import org.dbunit.operation.DatabaseOperation; |
9 | | - |
10 | | -import static org.junit.Assert.assertEquals; |
11 | | - |
12 | 35 | import org.junit.After; |
13 | 36 | import org.junit.Before; |
14 | 37 | import org.junit.Test; |
|
19 | 42 |
|
20 | 43 | import com.cloud.utils.PropertiesUtil; |
21 | 44 |
|
22 | | -import java.io.FileNotFoundException; |
23 | | -import java.sql.Connection; |
24 | | -import java.sql.DriverManager; |
25 | | -import java.sql.SQLException; |
26 | | -import java.util.Arrays; |
27 | | -import java.util.Collection; |
28 | | -import java.util.Properties; |
29 | | - |
30 | 45 | @RunWith(Parameterized.class) |
31 | 46 | public class UsageSanityCheckerIT{ |
32 | 47 |
|
|
0 commit comments