/* * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.yangtools.yang.parser.impl; import static org.junit.Assert.assertEquals; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Set; import org.junit.Before; import org.junit.Test; import org.opendaylight.yangtools.yang.model.api.Module; /** * Test for testing of extensions and their arguments. * * @author Lukas Sedlak <lsedlak@cisco.com> */ public class ParsingExtensionValueTest { private Set modules; @Before public void init() throws Exception { DateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd"); modules = TestUtils.loadModules(getClass().getResource("/extensions").toURI()); assertEquals(2, modules.size()); } @Test public void parsingExtensionArgsTest() { } }