Remove ImportResolutionMode.OPENCONFIG_SEMVER
[yangtools.git] / parser / yang-parser-spi / src / test / java / org / opendaylight / yangtools / yang / parser / spi / source / NamespaceTest.java
1 /*
2  * Copyright (c) 2017 Pantheon Technologies s.r.o. 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.yangtools.yang.parser.spi.source;
9
10 import static org.junit.Assert.assertNotNull;
11
12 import org.junit.Test;
13
14 public class NamespaceTest {
15     @Test
16     public void testNamespaces() {
17         // Touch behaviors
18         // FIXME: add more checks/split this up when behaviours are testable
19         assertNotNull(BelongsToModuleContext.BEHAVIOUR);
20         assertNotNull(BelongsToPrefixToModuleCtx.BEHAVIOUR);
21         assertNotNull(BelongsToPrefixToModuleName.BEHAVIOUR);
22         assertNotNull(ImpPrefixToNamespace.BEHAVIOUR);
23         assertNotNull(ImportedModuleContext.BEHAVIOUR);
24         assertNotNull(ImportPrefixToModuleCtx.BEHAVIOUR);
25         assertNotNull(IncludedSubmoduleNameToModuleCtx.BEHAVIOUR);
26         assertNotNull(IncludedModuleContext.BEHAVIOUR);
27         assertNotNull(ModuleCtxToModuleQName.BEHAVIOUR);
28         assertNotNull(ModuleNameToNamespace.BEHAVIOUR);
29         assertNotNull(ModuleQNameToModuleName.BEHAVIOUR);
30         assertNotNull(ModuleCtxToSourceIdentifier.BEHAVIOUR);
31         assertNotNull(ModuleNamespaceForBelongsTo.BEHAVIOUR);
32         assertNotNull(ModuleNameToModuleQName.BEHAVIOUR);
33         assertNotNull(ModulesDeviatedByModules.BEHAVIOUR);
34         assertNotNull(PrefixToModule.BEHAVIOUR);
35         assertNotNull(SupportedFeaturesNamespace.BEHAVIOUR);
36     }
37 }