07b008dfc01f725092b8dc7bb2aab3d4aa1b5be3
[yangtools.git] / yang / yang-parser-impl / src / test / java / org / opendaylight / yangtools / yang / parser / impl / ParsingExtensionValueTest.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. 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.impl;
9
10 import static org.junit.Assert.assertEquals;
11
12 import java.text.DateFormat;
13 import java.text.SimpleDateFormat;
14 import java.util.Set;
15 import org.junit.Before;
16 import org.junit.Test;
17 import org.opendaylight.yangtools.yang.model.api.Module;
18
19 /**
20  * Test for testing of extensions and their arguments.
21  *
22  * @author Lukas Sedlak <lsedlak@cisco.com>
23  */
24 public class ParsingExtensionValueTest {
25
26     private Set<Module> modules;
27
28     @Before
29     public void init() throws Exception {
30         DateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
31
32         modules = TestUtils.loadModules(getClass().getResource("/extensions").toURI());
33         assertEquals(2, modules.size());
34     }
35
36     @Test
37     public void parsingExtensionArgsTest() {
38
39     }
40 }