Merge branch 'master' of ../controller
[yangtools.git] / yang / yang-parser-spi / src / test / java / org / opendaylight / yangtools / yang / parser / spi / 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;
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(ExtensionNamespace.BEHAVIOUR);
20         assertNotNull(GroupingNamespace.BEHAVIOUR);
21         assertNotNull(IdentityNamespace.BEHAVIOUR);
22         assertNotNull(ModuleNamespace.BEHAVIOUR);
23         assertNotNull(PreLinkageModuleNamespace.BEHAVIOUR);
24         assertNotNull(SubmoduleNamespace.BEHAVIOUR);
25         assertNotNull(TypeNamespace.BEHAVIOUR);
26
27         assertNotNull(NamespaceToModule.BEHAVIOUR);
28     }
29 }