mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
Removed @author from comments (#88)
Keeping @author lines in the comments serves no functional purpose.
This commit is contained in:
committed by
Peter Johnson
parent
7a402b4170
commit
2f7eff7091
@@ -12,8 +12,6 @@ import edu.wpi.first.wpilibj.AnalogOutput;
|
||||
|
||||
/**
|
||||
* A fixture that connects an {@link AnalogInput} and an {@link AnalogOutput}.
|
||||
*
|
||||
* @author jonathanleitschuh
|
||||
*/
|
||||
public abstract class AnalogCrossConnectFixture implements ITestFixture {
|
||||
private boolean m_initialized = false;
|
||||
|
||||
@@ -19,8 +19,6 @@ import edu.wpi.first.wpilibj.mockhardware.FakePotentiometerSource;
|
||||
|
||||
/**
|
||||
* A fixture that wraps a {@link CANJaguar}.
|
||||
*
|
||||
* @author jonathanleitschuh
|
||||
*/
|
||||
public abstract class CANMotorEncoderFixture extends MotorEncoderFixture<CANJaguar> implements
|
||||
ITestFixture {
|
||||
|
||||
@@ -15,8 +15,6 @@ import edu.wpi.first.wpilibj.DigitalOutput;
|
||||
|
||||
/**
|
||||
* Connects a digital input to a digital output.
|
||||
*
|
||||
* @author Jonathan Leitschuh
|
||||
*/
|
||||
public class DIOCrossConnectFixture implements ITestFixture {
|
||||
|
||||
|
||||
@@ -15,8 +15,6 @@ import edu.wpi.first.wpilibj.mockhardware.FakeCounterSource;
|
||||
|
||||
/**
|
||||
* A fixture that can test the {@link Counter} using a {@link DIOCrossConnectFixture}.
|
||||
*
|
||||
* @author jonathanleitschuh
|
||||
*/
|
||||
public class FakeCounterFixture implements ITestFixture {
|
||||
private static final Logger logger = Logger.getLogger(FakeEncoderFixture.class.getName());
|
||||
|
||||
@@ -15,8 +15,6 @@ import edu.wpi.first.wpilibj.mockhardware.FakeEncoderSource;
|
||||
/**
|
||||
* An encoder that uses two {@link DIOCrossConnectFixture DIOCrossConnectFixtures} to test the
|
||||
* {@link Encoder}.
|
||||
*
|
||||
* @author jonathanleitschuh
|
||||
*/
|
||||
public class FakeEncoderFixture implements ITestFixture {
|
||||
private static final Logger logger = Logger.getLogger(FakeEncoderFixture.class.getName());
|
||||
|
||||
@@ -16,8 +16,6 @@ import edu.wpi.first.wpilibj.test.TestBench;
|
||||
* obtain references to hardware from the {@link TestBench} class, which is a singleton. Testing
|
||||
* Fixtures are responsible for ensuring that the hardware is in an appropriate state for the start
|
||||
* of a test, and ensuring that future tests will not be affected by the results of a test.
|
||||
*
|
||||
* @author Fredric Silberberg
|
||||
*/
|
||||
public interface ITestFixture {
|
||||
|
||||
|
||||
@@ -24,8 +24,6 @@ import edu.wpi.first.wpilibj.test.TestBench;
|
||||
* reuse. This class should be explicitly instantiated in the TestBed class to allow any test to
|
||||
* access this fixture. This allows tests to be mailable so that you can easily reconfigure the
|
||||
* physical testbed without breaking the tests.
|
||||
*
|
||||
* @author Jonathan Leitschuh
|
||||
*/
|
||||
public abstract class MotorEncoderFixture<T extends SpeedController> implements ITestFixture {
|
||||
private static final Logger logger = Logger.getLogger(MotorEncoderFixture.class.getName());
|
||||
|
||||
@@ -12,7 +12,6 @@ import edu.wpi.first.wpilibj.Relay;
|
||||
|
||||
/**
|
||||
* A connection between a {@link Relay} and two {@link DigitalInput DigitalInputs}.
|
||||
* @author jonathanleitschuh
|
||||
*/
|
||||
public abstract class RelayCrossConnectFixture implements ITestFixture {
|
||||
|
||||
|
||||
@@ -11,8 +11,6 @@ package edu.wpi.first.wpilibj.fixtures;
|
||||
/**
|
||||
* This is an example of how to use the {@link ITestFixture} interface to create test fixtures for a
|
||||
* test.
|
||||
*
|
||||
* @author Fredric Silberberg
|
||||
*/
|
||||
public class SampleFixture implements ITestFixture {
|
||||
|
||||
|
||||
@@ -16,8 +16,6 @@ import edu.wpi.first.wpilibj.Timer;
|
||||
/**
|
||||
* A class to represent the a physical Camera with two servos (tilt and pan) designed to test to see
|
||||
* if the gyroscope is operating normally.
|
||||
*
|
||||
* @author Jonathan Leitschuh
|
||||
*/
|
||||
public abstract class TiltPanCameraFixture implements ITestFixture {
|
||||
public static final Logger logger = Logger.getLogger(TiltPanCameraFixture.class.getName());
|
||||
|
||||
Reference in New Issue
Block a user