2 * Copyright © 2016 Orange 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.transportpce.it;
10 import static org.ops4j.pax.exam.CoreOptions.composite;
11 import static org.ops4j.pax.exam.CoreOptions.maven;
12 import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.editConfigurationFilePut;
14 import org.junit.Assert;
15 import org.junit.Test;
16 import org.junit.runner.RunWith;
17 import org.opendaylight.controller.mdsal.it.base.AbstractMdsalTestBase;
18 import org.ops4j.pax.exam.Option;
19 import org.ops4j.pax.exam.junit.PaxExam;
20 import org.ops4j.pax.exam.karaf.options.LogLevelOption.LogLevel;
21 import org.ops4j.pax.exam.options.MavenUrlReference;
22 import org.ops4j.pax.exam.spi.reactors.ExamReactorStrategy;
23 import org.ops4j.pax.exam.spi.reactors.PerClass;
24 import org.slf4j.Logger;
25 import org.slf4j.LoggerFactory;
27 @RunWith(PaxExam.class)
28 @ExamReactorStrategy(PerClass.class)
29 public class TransportpceIT extends AbstractMdsalTestBase {
30 private static final Logger LOG = LoggerFactory.getLogger(TransportpceIT.class);
33 public MavenUrlReference getFeatureRepo() {
35 .groupId("org.opendaylight.transportpce")
36 .artifactId("transportpce-features")
37 .classifier("features")
39 .versionAsInProject();
43 public String getFeatureName() {
44 return "odl-transportpce-ui";
48 public Option getLoggingOption() {
49 Option option = editConfigurationFilePut(ORG_OPS4J_PAX_LOGGING_CFG,
50 logConfiguration(TransportpceIT.class),
51 LogLevel.INFO.name());
52 option = composite(option, super.getLoggingOption());
57 public void testtransportpceFeatureLoad() {
58 Assert.assertTrue(true);