X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Farchetypes%2Fopendaylight-startup%2Fsrc%2Fmain%2Fresources%2Farchetype-resources%2Fimpl%2Fsrc%2Ftest%2Fjava%2F__packageInPathFormat__%2Fimpl%2F__classPrefix__ProviderTest.java;fp=opendaylight%2Farchetypes%2Fopendaylight-startup%2Fsrc%2Fmain%2Fresources%2Farchetype-resources%2Fimpl%2Fsrc%2Ftest%2Fjava%2F__packageInPathFormat__%2Fimpl%2F__classPrefix__ProviderTest.java;h=0000000000000000000000000000000000000000;hb=8a1ef425e60d7c27faa40735f3ef1bbc5133a750;hp=09b3dc4622a4119bd9e0056bfd256b2e3123724d;hpb=bc99ff03ddcba2ceff83fd1ebba68731f39c864b;p=controller.git diff --git a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/impl/src/test/java/__packageInPathFormat__/impl/__classPrefix__ProviderTest.java b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/impl/src/test/java/__packageInPathFormat__/impl/__classPrefix__ProviderTest.java deleted file mode 100644 index 09b3dc4622..0000000000 --- a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/impl/src/test/java/__packageInPathFormat__/impl/__classPrefix__ProviderTest.java +++ /dev/null @@ -1,37 +0,0 @@ -#set( $symbol_pound = '#' ) -#set( $symbol_dollar = '$' ) -#set( $symbol_escape = '\' ) -#set( $provider = "${classPrefix}Provider" ) -/* - * ${copyright} and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -package ${package}.impl; - -import org.junit.Test; -import org.opendaylight.controller.sal.binding.api.BindingAwareBroker; - -import static org.mockito.Mockito.mock; - -public class ${classPrefix}ProviderTest { - @Test - public void testOnSessionInitiated() { - ${provider} provider = new ${provider}(); - - // ensure no exceptions - // currently this method is empty - provider.onSessionInitiated(mock(BindingAwareBroker.ProviderContext.class)); - } - - @Test - public void testClose() throws Exception { - ${provider} provider = new ${provider}(); - - // ensure no exceptions - // currently this method is empty - provider.close(); - } -}