View Javadoc

1   /*
2    CppProgrammingLanguageTest.java
3    Creation date : 14/07/2010
4    Copyright © Benjamin Croizet (graffity2199@yahoo.fr)
5   
6    This program is free software; you can redistribute it and/or
7    modify it under the terms of the GNU General Public License
8    or GNU Lesser General Public License as published by the
9    Free Software Foundation; either version 3 of the License,
10   or (at your option) any later version.
11  
12   This program is distributed in the hope that it will be useful,
13   but WITHOUT ANY WARRANTY; without even the implied warranty of
14   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15   GNU General Public License for more details.
16  
17   You should have received copies of the GNU General Public License
18   and GNU Lesser General Public License along with this program;
19   if not, write to the Free Software Foundation, Inc.,
20   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
21   http://www.fsf.org/licensing/licenses/gpl.html
22   http://www.gnu.org/licenses/lgpl.html
23   */
24  
25  package net.sourceforge.plantumldependency.cli.main.option.programminglanguage.argument;
26  
27  import static net.sourceforge.plantumldependency.cli.main.option.programminglanguage.argument.ProgrammingLanguage.CPP;
28  import static org.junit.Assert.assertTrue;
29  import net.sourceforge.plantumldependency.common.ObjectTestWithString;
30  
31  import org.junit.Test;
32  import org.junit.experimental.theories.DataPoint;
33  
34  /**
35   * JUnit test classes for {@link CppProgrammingLanguage}.
36   *
37   * @author Benjamin Croizet (<a href="mailto:graffity2199@yahoo.fr>graffity2199@yahoo.fr</a>)
38   * @since 1.0.0
39   * @version 1.3.0
40   */
41  public class CppProgrammingLanguageTest extends ObjectTestWithString < CppProgrammingLanguage > {
42  
43      /** C++ programming language test 1 instance. */
44      @DataPoint
45      public static final ProgrammingLanguage CPP_PROGRAMMING_LANGUAGE1 = CPP;
46  
47      /** C++ programming language test 2 instance. */
48      @DataPoint
49      public static final ProgrammingLanguage CPP_PROGRAMMING_LANGUAGE2 = CPP;
50  
51      /** C++ programming language test 3 instance. */
52      @DataPoint
53      public static final ProgrammingLanguage CPP_PROGRAMMING_LANGUAGE3 = null;
54  
55      /**
56       * Test method for
57       * {@link net.sourceforge.plantumldependency.cli.main.option.programminglanguage.argument.CppProgrammingLanguage#readDependencyFromFile(String, net.sourceforge.plantumldependency.main.option.programminglanguage.context.ProgrammingLanguageContext)}
58       * .
59       */
60      @Test
61      public void testReadDependencyFromFile() {
62          // TODO not implemented yet
63          assertTrue(true);
64      }
65  }