diff --git a/api/build.gradle b/api/build.gradle index d01b7b924..75e5e7063 100644 --- a/api/build.gradle +++ b/api/build.gradle @@ -5,7 +5,8 @@ configurations { } dependencies { - + // TODO: can we remove the need for manifold? it shouldn't be necessary here + testAnnotationProcessor "systems.manifold:manifold-preprocessor:${rootProject.manifold_version}" } shadowJar { diff --git a/api/src/test/java/tests/BasicTest.java b/api/src/test/java/tests/BasicTest.java new file mode 100644 index 000000000..850bca94b --- /dev/null +++ b/api/src/test/java/tests/BasicTest.java @@ -0,0 +1,40 @@ +/* + * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * licensed under the GNU LGPL v3 License. + * + * Copyright (C) 2020-2022 James Seibel + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + +package tests; + +import org.junit.Assert; +import org.junit.Test; + +/** + * @author James Seibel + * @version 2022-9-5 + */ +public class BasicTest +{ + + /** This is just a quick demo to confirm the testing system is set up correctly. */ + @Test + public void ExampleTests() + { + Assert.assertTrue("Example test 1", true); + Assert.assertFalse("Example test 2", false); + } + +}