mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Removed extra newlines after open curly braces (#935)
Generated by wpilibsuite/styleguide#115.
This commit is contained in:
committed by
Peter Johnson
parent
938d5379e6
commit
adb6098353
@@ -27,7 +27,6 @@ public class MockDS {
|
||||
|
||||
@SuppressWarnings("JavadocMethod")
|
||||
public void start() {
|
||||
|
||||
m_thread = new Thread(() -> {
|
||||
DatagramSocket socket;
|
||||
try {
|
||||
|
||||
@@ -96,7 +96,6 @@ public class PDPTest extends AbstractComsSetup {
|
||||
*/
|
||||
@Test
|
||||
public void checkRunningCurrentForSpeedController() throws CANMessageNotFoundException {
|
||||
|
||||
/* Set the motor to full forward */
|
||||
me.getMotor().set(1.0);
|
||||
Timer.delay(2);
|
||||
|
||||
@@ -18,7 +18,6 @@ import edu.wpi.first.wpilibj.test.TestBench;
|
||||
* of a test, and ensuring that future tests will not be affected by the results of a test.
|
||||
*/
|
||||
public interface ITestFixture {
|
||||
|
||||
/**
|
||||
* Performs any required setup for this fixture, ensuring that all fixture elements are ready for
|
||||
* testing.
|
||||
|
||||
@@ -33,7 +33,6 @@ public class FakeEncoderSource {
|
||||
}
|
||||
|
||||
public void run() {
|
||||
|
||||
final DigitalOutput lead;
|
||||
final DigitalOutput lag;
|
||||
|
||||
|
||||
@@ -33,6 +33,5 @@ public class QuickTest extends AbstractComsSetup {
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -95,7 +95,6 @@ public final class TestBench {
|
||||
* @return a freshly allocated Talon, Encoder pair
|
||||
*/
|
||||
public MotorEncoderFixture<Talon> getTalonPair() {
|
||||
|
||||
MotorEncoderFixture<Talon> talonPair = new MotorEncoderFixture<Talon>() {
|
||||
@Override
|
||||
protected Talon giveSpeedController() {
|
||||
@@ -127,7 +126,6 @@ public final class TestBench {
|
||||
* @return a freshly allocated Victor, Encoder pair
|
||||
*/
|
||||
public MotorEncoderFixture<Victor> getVictorPair() {
|
||||
|
||||
MotorEncoderFixture<Victor> vicPair = new MotorEncoderFixture<Victor>() {
|
||||
@Override
|
||||
protected Victor giveSpeedController() {
|
||||
@@ -262,7 +260,6 @@ public final class TestBench {
|
||||
@SuppressWarnings("JavadocMethod")
|
||||
public static RelayCrossConnectFixture getRelayCrossConnectFixture() {
|
||||
RelayCrossConnectFixture relay = new RelayCrossConnectFixture() {
|
||||
|
||||
@Override
|
||||
protected Relay giveRelay() {
|
||||
return new Relay(0);
|
||||
|
||||
Reference in New Issue
Block a user