-Makes the MotorEncoderFixture Generic for a specific motor type
-Adds Methods on the FakePotentiometerSource to allow raw values to be set
-Adds Runtime Printing of the Tests to indicate where we are in the program if something unexpected happens
Change-Id: I34c398b7852f1ff07efe1ead6a1169d9222af96a
New constructor for the AnalogPotentiometer to allow users to pass it an AnalogInput into the constructor
New FakePotentiometerSource to emulate a AnalogPotentiometer
Change-Id: I0f85b3d38e99d7ccbc7676bdf17fc3ec7e041e84
Added a PCM java test and a Counter C++ test
Add RelayTest for C++, fixed spelling error in Relay.cpp
Change-Id: I436ac34449d00e8dcd1b988758cc24e80534a2c7
Also splits up the tests into multiple TestSuites so that the they are explicitly associated with the tests in the package that they are running
Change-Id: I746f1125fcdc9a180c2eedd2505d6ae9003fbadc
AnalogModule and DigitalModule classes still exist, at least until they are
refactored into the classes that use them.
Change-Id: I5544d5418822f19d54ba0a5d651e64fad8b7b10d
Adds Logger output to tests when they fail to allow the rest of the tests to run while you can follow the failure stack trace. This allows you to begin working on fixing the failure before the remainder of the tests have run.
Change-Id: I84adfad0b31b166f027d0bf9797a23856dd02f97
Refactors the MotorEncoderTest to make use of the parameterized testing framework
Adds a test for the Preferences Class
Updates the TiltPanCameraTest to work
Makes the TimerTest use math for long values
Adds a Button Test to Test the internal Button
Speeds up the FakeCounterSource/FakeEncoderSource to decrease test time
Moves the AbstractComsSetup Block to a static method so that it only runs once
Updates the logging.properties class so that tests are quieter
Change-Id: I70b39f34122e6398f406a63e6ef04cde9fbe95ef
Modifies where the tilt-pan camera gets instantiated so that it can be used for multiple tests
Adds a test for counters
Updates the TestBench and TestSuite to reflect the physical changes to the board
Adds a test on the Digital Cross Connections
Adds a test on the counter to see if they are working properly
Increases the reset time on the TiltPan Fixture to allow it to calibrate correctly
Fixes the wasReset flag being calculated with a bitshift instead of using boolean algebra.
Adds/Updates Integration Tests
Introduces java.util.logging to the test framework to allow for easier debugging
Fully tests all DIO/Counter/Encoder features
Pulls in Command Tests from the old testing framework
Updates the build.xml to run the Ant Compiler with 1.7 if Java 1.8 is installed
Change-Id: I43d85054be393ef448643c1d35558cfa99749c99
Changes the format of the MotorEncoderFixture usage. Also adds a motor type to easily determine what speed controller is being used
Adds a TiltPanCameraTest to test the Gyroscope as well as the servo classes
Updates the TestBench and the TestSuite to reflect the new tests and the changes to these Tests
Begins integrating a test to check to see if counters and encoders are working correctly
Modifies the ServoClass to have the correct data for PWM generation.
Also modifies the PWM class to make the setBounds method to be protected
Modifies the TiltPanTest to rotate slower and reduces the acceptable deviation
Reduces the runtime of the MotorEncoderTest by lowering the runtime value
Updates the TestBench to load the Gyroscope before allocating the servos in order to allow for setup time
Also adds Documentation
Reorders the Tests to run the TiltPanTest first
Adds/Updates the copywright header to several files that were previously modified in this commit
Change-Id: I093f998d9687c6b6c6b8d4f6949fbe56ba236212
This is the first commit to add the WPILibJ integration test framework.
This creates a project called wpilibJavaIntegrationTests, which is will
create testing framework when running the maven package target. This
framework will need to have the TestBench.java file updated to match
the testing harness set up at WPI. Tests must currently be run manually.
Change-Id: I09fe0278580751e813af591c15b9079360089987