|
16 | 16 | // under the License. |
17 | 17 | package com.cloud.alert; |
18 | 18 |
|
19 | | -import com.cloud.alert.dao.AlertDao; |
20 | | -import com.cloud.capacity.Capacity; |
21 | | -import com.cloud.capacity.CapacityManager; |
22 | | -import com.cloud.host.Host; |
23 | | -import com.cloud.host.HostVO; |
24 | | -import com.cloud.host.dao.HostDao; |
| 19 | +import java.io.UnsupportedEncodingException; |
| 20 | +import java.util.List; |
| 21 | +import java.util.concurrent.Callable; |
| 22 | +import java.util.concurrent.ExecutorService; |
| 23 | +import java.util.concurrent.Executors; |
| 24 | +import java.util.concurrent.Future; |
| 25 | + |
| 26 | +import javax.mail.MessagingException; |
25 | 27 |
|
26 | 28 | import org.apache.cloudstack.storage.datastore.db.PrimaryDataStoreDao; |
27 | | -import org.apache.cloudstack.storage.datastore.db.StoragePoolVO; |
28 | 29 | import org.apache.cloudstack.utils.mailing.SMTPMailSender; |
29 | 30 | import org.apache.logging.log4j.Logger; |
30 | 31 | import org.junit.Assert; |
|
37 | 38 | import org.mockito.Spy; |
38 | 39 | import org.mockito.junit.MockitoJUnitRunner; |
39 | 40 |
|
40 | | -import javax.mail.MessagingException; |
41 | | -import java.io.UnsupportedEncodingException; |
42 | | -import java.net.NetworkInterface; |
43 | | -import java.util.List; |
44 | | -import java.util.concurrent.Callable; |
45 | | -import java.util.concurrent.ExecutorService; |
46 | | -import java.util.concurrent.Executors; |
47 | | -import java.util.concurrent.Future; |
| 41 | +import com.cloud.alert.dao.AlertDao; |
| 42 | +import com.cloud.capacity.CapacityManager; |
| 43 | +import com.cloud.host.Host; |
| 44 | +import com.cloud.host.HostVO; |
| 45 | +import com.cloud.host.dao.HostDao; |
48 | 46 |
|
49 | 47 | @RunWith(MockitoJUnitRunner.class) |
50 | 48 | public class AlertManagerImplTest { |
|
0 commit comments