1 2 /** 3 * Portions of this software was developed by employees of the National Institute 4 * of Standards and Technology (NIST), an agency of the Federal Government and is 5 * being made available as a public service. Pursuant to title 17 United States 6 * Code Section 105, works of NIST employees are not subject to copyright 7 * protection in the United States. This software may be subject to foreign 8 * copyright. Permission in the United States and in foreign countries, to the 9 * extent that NIST may hold copyright, to use, copy, modify, create derivative 10 * works, and distribute this software and its documentation without fee is hereby 11 * granted on a non-exclusive basis, provided that this notice and disclaimer 12 * of warranty appears in all copies. 13 * 14 * THE SOFTWARE IS PROVIDED 'AS IS' WITHOUT ANY WARRANTY OF ANY KIND, EITHER 15 * EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY 16 * THAT THE SOFTWARE WILL CONFORM TO SPECIFICATIONS, ANY IMPLIED WARRANTIES OF 17 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND FREEDOM FROM 18 * INFRINGEMENT, AND ANY WARRANTY THAT THE DOCUMENTATION WILL CONFORM TO THE 19 * SOFTWARE, OR ANY WARRANTY THAT THE SOFTWARE WILL BE ERROR FREE. IN NO EVENT 20 * SHALL NIST BE LIABLE FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO, DIRECT, 21 * INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES, ARISING OUT OF, RESULTING FROM, 22 * OR IN ANY WAY CONNECTED WITH THIS SOFTWARE, WHETHER OR NOT BASED UPON WARRANTY, 23 * CONTRACT, TORT, OR OTHERWISE, WHETHER OR NOT INJURY WAS SUSTAINED BY PERSONS OR 24 * PROPERTY OR OTHERWISE, AND WHETHER OR NOT LOSS WAS SUSTAINED FROM, OR AROSE OUT 25 * OF THE RESULTS OF, OR USE OF, THE SOFTWARE OR SERVICES PROVIDED HEREUNDER. 26 */ 27 import gov.nist.secauto.decima.core.classpath.ClasspathHandler; 28 import gov.nist.secauto.decima.xml.testing.PathRunner; 29 30 import org.junit.BeforeClass; 31 import org.junit.runner.RunWith; 32 33 @RunWith(PathRunner.class) 34 @PathRunner.Paths("src/test/resources/unit-tests") 35 @PathRunner.Requirements(value = "classpath:requirements.xml", extensions = "classpath:swid-requirements-ext.xsd") 36 public class UnitIntegrationTest { 37 38 @BeforeClass 39 public static void initialize() { 40 ClasspathHandler.initialize(); 41 } 42 43 // public static List<File> paths() { 44 // return Collections.singletonList(new 45 // File("src/test/resources/unit-tests/baseline-minimal.xml")); 46 // return Collections.singletonList(new File("src/test/resources/unit-tests")); 47 // } 48 }