Skip to content
This repository was archived by the owner on Sep 14, 2019. It is now read-only.

Commit 84debd1

Browse files
committed
Integrated Pathfinder jar into the build.
Specifically: Moved it from lib/jars to lib/ so that the FRC Plugin will build with it and deploy it. Added it to .classpath so that Eclipse can find it. Added a simple test case to ensure that it is in the classpath.
1 parent 00c07ad commit 84debd1

3 files changed

Lines changed: 18 additions & 0 deletions

File tree

Robot2018/.classpath

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
33
<classpathentry kind="src" path="src"/>
4+
<classpathentry kind="src" path="test"/>
45
<classpathentry kind="var" path="wpilib" sourcepath="wpilib.sources"/>
56
<classpathentry kind="var" path="networktables" sourcepath="networktables.sources"/>
67
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
78
<classpathentry kind="var" path="opencv" sourcepath="opencv.sources"/>
89
<classpathentry kind="var" path="cscore" sourcepath="cscore.sources"/>
910
<classpathentry kind="var" path="wpiutil" sourcepath="wpiutil.sources"/>
11+
<classpathentry kind="lib" path="lib/Pathfinder-Java-1.8.jar"/>
12+
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/5"/>
1013
<classpathentry kind="output" path="bin"/>
1114
</classpath>
File renamed without changes.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package jaci.pathfinder;
2+
3+
import static org.junit.jupiter.api.Assertions.*;
4+
5+
import org.junit.jupiter.api.Test;
6+
7+
class PathfinderTest {
8+
9+
@Test
10+
/** Just a very basic test to ensure that the Pathfinder jar is installed, and we can reference it. **/
11+
void testPathfinder() {
12+
assertNotNull(new Pathfinder());
13+
}
14+
15+
}

0 commit comments

Comments
 (0)