2 * Copyright (c) 2017 Pantheon Technologies s.r.o. 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.yangtools.yang.parser.spi.source;
10 import static org.junit.Assert.assertNotNull;
12 import org.junit.Test;
14 public class NamespaceTest {
16 public void testNamespaces() {
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);