X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-binding-broker%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fbinding%2Ftest%2FConstantSchemaAbstractDataBrokerTest.java;fp=opendaylight%2Fmd-sal%2Fsal-binding-broker%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fbinding%2Ftest%2FConstantSchemaAbstractDataBrokerTest.java;h=0000000000000000000000000000000000000000;hp=93f15b70e9ed1ad7c2b87dbf01278ee778fce55f;hb=2611e6a728e586ea34dd891f30a473bf54d6cbd8;hpb=aaea3e9a92ae9d6fac04c4a065db4b35cbca9ed0;ds=sidebyside diff --git a/opendaylight/md-sal/sal-binding-broker/src/test/java/org/opendaylight/controller/md/sal/binding/test/ConstantSchemaAbstractDataBrokerTest.java b/opendaylight/md-sal/sal-binding-broker/src/test/java/org/opendaylight/controller/md/sal/binding/test/ConstantSchemaAbstractDataBrokerTest.java deleted file mode 100644 index 93f15b70e9..0000000000 --- a/opendaylight/md-sal/sal-binding-broker/src/test/java/org/opendaylight/controller/md/sal/binding/test/ConstantSchemaAbstractDataBrokerTest.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) 2016 Red Hat, Inc. 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 org.opendaylight.controller.md.sal.binding.test; - -import org.opendaylight.yangtools.yang.model.api.SchemaContext; - -/** - * AbstractDataBrokerTest which creates the SchemaContext - * only once, and keeps it in a static, instead of re-recreating - * it for each Test, and is thus faster. - * - * @author Michael Vorburger - * @deprecated This class is no longer useful, as {@link AbstractSchemaAwareTest#getSchemaContext()} provides effective - * caching. - */ -@Deprecated -public class ConstantSchemaAbstractDataBrokerTest extends AbstractConcurrentDataBrokerTest { - - public ConstantSchemaAbstractDataBrokerTest() { - } - - public ConstantSchemaAbstractDataBrokerTest(final boolean useMTDataTreeChangeListenerExecutor) { - super(useMTDataTreeChangeListenerExecutor); - } - - @Override - protected SchemaContext getSchemaContext() throws Exception { - return SchemaContextSingleton.getSchemaContext(super::getSchemaContext); - } - -}