View Single Post
  #3   Spotlight this post!  
Unread 23-12-2013, 15:58
jfitz0807 jfitz0807 is offline
Registered User
FRC #2877 (Ligerbots)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Newton, MA
Posts: 67
jfitz0807 is an unknown quantity at this point
Re: Trying to use junit so I can test code without needing the cRIO

I unzipped the junit-3.8.2-api.zip into a new directory which now contains a junit folder which itself contains a framework folder. I added the full path to this junit folder in the Java Sources Classpath of the Project Properties. The list now looks like this:

C:/Users/John/sunspotfrcsdk\lib\wpilibj.jar
C:/Users/John/sunspotfrcsdk\lib\networktables-crio.jar
C:\Users\John\AppData\Roaming\NetBeans\7.2\docs\ju nit-3.8.2-api\junit
C:\Users\John\.m2\repository\junit\junit\3.8.2\jun it-3.8.2.jar

I just noticed that the first two which were automatically installed use "/" in the path whereas the last two, which I installed, only use "\". Could this be a problem? If it is, I don't know how to fix it.

Any other thoughts?
Reply With Quote