2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.controller.test.sal.binding.it;
10 import static org.ops4j.pax.exam.CoreOptions.maven;
11 import static org.ops4j.pax.exam.CoreOptions.mavenBundle;
12 import javax.inject.Inject;
13 import org.junit.runner.RunWith;
14 import org.opendaylight.controller.mdsal.it.base.AbstractMdsalTestBase;
15 import org.opendaylight.controller.sal.binding.api.BindingAwareBroker;
16 import org.ops4j.pax.exam.Option;
17 import org.ops4j.pax.exam.junit.PaxExam;
18 import org.ops4j.pax.exam.options.MavenUrlReference;
19 import org.ops4j.pax.exam.util.Filter;
21 @RunWith(PaxExam.class)
22 public abstract class AbstractIT extends AbstractMdsalTestBase {
25 @Filter(timeout=120*1000)
26 BindingAwareBroker broker;
29 public String getModuleName() {
30 return "binding-broker-impl";
34 public String getInstanceName() {
35 return "binding-broker-impl";
39 public MavenUrlReference getFeatureRepo() {
40 return maven().groupId("org.opendaylight.controller").artifactId("features-mdsal").classifier("features")
41 .type("xml").versionAsInProject();
45 public String getFeatureName() {
46 return "odl-mdsal-broker";
50 protected Option[] getAdditionalOptions() {
51 return new Option[]{mavenBundle("org.opendaylight.controller", "sal-test-model").versionAsInProject()};