Fix incorrect OVSDB class names
[ovsdb.git] / schemas / hardware_vtep / src / test / java / org / opendaylight / ovsdb / schema / hardwarevtep / HardwareVtepSchemaSuiteIT.java
1 /*
2  * Copyright (C) 2014 Matt Oswalt
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Authors : Matt Oswalt
9  */
10
11 package org.opendaylight.ovsdb.schema.hardwarevtep;
12
13 import org.junit.runner.RunWith;
14 import org.junit.runners.Suite;
15 import org.opendaylight.ovsdb.lib.OvsdbClient;
16 import org.opendaylight.ovsdb.lib.notation.Row;
17 import org.opendaylight.ovsdb.lib.notation.UUID;
18 import org.opendaylight.ovsdb.lib.schema.DatabaseSchema;
19
20 import java.util.HashMap;
21 import java.util.Map;
22
23 @RunWith(Suite.class)
24 @Suite.SuiteClasses({
25         MonitorTestCases.class,
26         ManagerTestCases.class
27 })
28
29 public class HardwareVtepSchemaSuiteIT {
30     // Keep this data between test runs
31     static OvsdbClient ovsdbClient;
32     static DatabaseSchema dbSchema;
33     static UUID testManagerUuid;
34     static UUID testLogicalSwitchUuid;
35     static Map<String, Map<UUID, Row>> tableCache = new HashMap<String, Map<UUID, Row>>();
36
37     public static OvsdbClient getOvsdbClient() {
38         return ovsdbClient;
39     }
40
41     public static void setOvsdbClient(OvsdbClient ovsdbClient) {
42         HardwareVtepSchemaSuiteIT.ovsdbClient = ovsdbClient;
43     }
44
45     public static UUID getTestManagerUuid() {
46         return testManagerUuid;
47     }
48
49     public static void setTestManagerUuid(UUID testManagerUuid) {
50         HardwareVtepSchemaSuiteIT.testManagerUuid = testManagerUuid;
51     }
52
53     public static UUID getTestLogicalSwitchUuid() {
54         return testLogicalSwitchUuid;
55     }
56
57     public static void setTestLogicalSwitchUuid(UUID testLogicalSwitchUuid) {
58         HardwareVtepSchemaSuiteIT.testLogicalSwitchUuid = testLogicalSwitchUuid;
59     }
60
61     public static Map<String, Map<UUID, Row>> getTableCache() {
62         return tableCache;
63     }
64 }