Adjust for Binding RPC codegen changes
[controller.git] / opendaylight / md-sal / sal-binding-it / src / test / java / org / opendaylight / controller / test / sal / binding / it / AbstractIT.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
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 package org.opendaylight.controller.test.sal.binding.it;
9
10 import static org.ops4j.pax.exam.CoreOptions.maven;
11 import static org.ops4j.pax.exam.CoreOptions.mavenBundle;
12
13 import org.junit.runner.RunWith;
14 import org.opendaylight.controller.mdsal.it.base.AbstractMdsalTestBase;
15 import org.ops4j.pax.exam.Option;
16 import org.ops4j.pax.exam.junit.PaxExam;
17 import org.ops4j.pax.exam.options.MavenUrlReference;
18
19 @RunWith(PaxExam.class)
20 public abstract class AbstractIT extends AbstractMdsalTestBase {
21     @Override
22     public MavenUrlReference getFeatureRepo() {
23         return maven().groupId("org.opendaylight.controller").artifactId("features-mdsal").classifier("features")
24                 .type("xml").versionAsInProject();
25     }
26
27     @Override
28     public String getFeatureName() {
29         return "odl-mdsal-broker";
30     }
31
32     @Override
33     protected Option[] getAdditionalOptions() {
34         return new Option[]{mavenBundle("org.opendaylight.controller", "sal-test-model").versionAsInProject()};
35     }
36 }