mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Removed extra newlines from beginning of Java classes (#859)
The content of this PR was generated by styleguide#111.
This commit is contained in:
committed by
Peter Johnson
parent
8346caed9c
commit
eedb8910c3
@@ -23,7 +23,6 @@ import static org.junit.Assert.assertEquals;
|
||||
* Tests that the {@link TiltPanCameraFixture}.
|
||||
*/
|
||||
public class GyroTest extends AbstractComsSetup {
|
||||
|
||||
private static final Logger logger = Logger.getLogger(GyroTest.class.getName());
|
||||
|
||||
public static final double TEST_ANGLE = 90.0;
|
||||
|
||||
@@ -21,5 +21,4 @@ import edu.wpi.first.wpilibj.test.AbstractTestSuite;
|
||||
CommandSequentialGroupTest.class, CommandSupersedeTest.class, CommandTimeoutTest.class,
|
||||
ConditionalCommandTest.class, DefaultCommandTest.class})
|
||||
public class CommandTestSuite extends AbstractTestSuite {
|
||||
|
||||
}
|
||||
|
||||
@@ -17,7 +17,6 @@ import edu.wpi.first.wpilibj.DigitalOutput;
|
||||
* Connects a digital input to a digital output.
|
||||
*/
|
||||
public class DIOCrossConnectFixture implements ITestFixture {
|
||||
|
||||
private static final Logger logger = Logger.getLogger(DIOCrossConnectFixture.class.getName());
|
||||
|
||||
private final DigitalInput m_input;
|
||||
|
||||
@@ -14,7 +14,6 @@ import edu.wpi.first.wpilibj.Relay;
|
||||
* A connection between a {@link Relay} and two {@link DigitalInput DigitalInputs}.
|
||||
*/
|
||||
public abstract class RelayCrossConnectFixture implements ITestFixture {
|
||||
|
||||
private DigitalInput m_inputOne;
|
||||
private DigitalInput m_inputTwo;
|
||||
private Relay m_relay;
|
||||
|
||||
@@ -13,7 +13,6 @@ package edu.wpi.first.wpilibj.fixtures;
|
||||
* test.
|
||||
*/
|
||||
public class SampleFixture implements ITestFixture {
|
||||
|
||||
@Override
|
||||
public boolean setup() {
|
||||
/*
|
||||
|
||||
@@ -14,7 +14,6 @@ import edu.wpi.first.wpilibj.Timer;
|
||||
* Simulates an encoder for testing purposes.
|
||||
*/
|
||||
public class FakeCounterSource {
|
||||
|
||||
private Thread m_task;
|
||||
private int m_count;
|
||||
private int m_milliSec;
|
||||
@@ -25,7 +24,6 @@ public class FakeCounterSource {
|
||||
* Thread object that allows emulation of an encoder.
|
||||
*/
|
||||
private class EncoderThread extends Thread {
|
||||
|
||||
FakeCounterSource m_encoder;
|
||||
|
||||
EncoderThread(FakeCounterSource encode) {
|
||||
|
||||
@@ -14,7 +14,6 @@ import edu.wpi.first.wpilibj.Timer;
|
||||
* Emulates a quadrature encoder.
|
||||
*/
|
||||
public class FakeEncoderSource {
|
||||
|
||||
private Thread m_task;
|
||||
private int m_count;
|
||||
private int m_milliSec;
|
||||
@@ -27,7 +26,6 @@ public class FakeEncoderSource {
|
||||
* Thread object that allows emulation of a quadrature encoder.
|
||||
*/
|
||||
private class QuadEncoderThread extends Thread {
|
||||
|
||||
FakeEncoderSource m_encoder;
|
||||
|
||||
QuadEncoderThread(FakeEncoderSource encode) {
|
||||
|
||||
@@ -30,7 +30,6 @@ import static org.junit.Assert.assertEquals;
|
||||
*/
|
||||
@SuppressWarnings("MultipleTopLevelClasses")
|
||||
public class AbstractTestSuiteTest {
|
||||
|
||||
@Ignore("Prevents ANT from trying to run these as tests")
|
||||
@RunWith(Suite.class)
|
||||
@SuiteClasses({FirstSampleTest.class, SecondSampleTest.class, ThirdSampleTest.class,
|
||||
|
||||
@@ -21,7 +21,6 @@ import java.io.File;
|
||||
* results for Jenkins.
|
||||
*/
|
||||
public class AntJunitLanucher {
|
||||
|
||||
/**
|
||||
* Main entry point for jenkins.
|
||||
*
|
||||
|
||||
@@ -36,7 +36,6 @@ public class RepeatRule implements TestRule {
|
||||
|
||||
|
||||
private static class RepeatStatement extends Statement {
|
||||
|
||||
private final int m_times;
|
||||
private final Statement m_statement;
|
||||
|
||||
|
||||
@@ -38,7 +38,6 @@ import edu.wpi.first.wpilibj.fixtures.TiltPanCameraFixture;
|
||||
* TestBench}.
|
||||
*/
|
||||
public final class TestBench {
|
||||
|
||||
/**
|
||||
* The time that it takes to have a motor go from rotating at full speed to completely stopped.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user