2 * Copyright (c) 2018 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.stmt;
10 import static org.junit.Assert.assertNotNull;
12 import org.junit.Test;
13 import org.opendaylight.yangtools.yang.parser.spi.meta.SomeModifiersUnresolvedException;
15 public class YT893Test {
16 @Test(expected = SomeModifiersUnresolvedException.class)
17 public void testCR() throws Exception {
18 StmtTestUtils.parseYangSource("/bugs/YT893/cr.yang");
22 public void testCRLF() throws Exception {
23 assertNotNull(StmtTestUtils.parseYangSource("/bugs/YT893/crlf.yang"));
27 public void testHTAB() throws Exception {
28 assertNotNull(StmtTestUtils.parseYangSource("/bugs/YT893/ht.yang"));
32 public void testLF() throws Exception {
33 assertNotNull(StmtTestUtils.parseYangSource("/bugs/YT893/lf.yang"));