mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Fix Typos (NFC) (#5137)
This commit is contained in:
@@ -13,8 +13,8 @@ public class SampleFixture implements ITestFixture {
|
||||
public void setup() {
|
||||
/*
|
||||
* If this fixture actually accessed the hardware, here is where it would
|
||||
* set up the starting state of the test bench. For example, reseting
|
||||
* encoders, ensuring motors are stopped, reseting any serial communication
|
||||
* set up the starting state of the test bench. For example, resetting
|
||||
* encoders, ensuring motors are stopped, resetting any serial communication
|
||||
* if necessary, etc.
|
||||
*/
|
||||
}
|
||||
|
||||
@@ -72,7 +72,7 @@ public class FakeCounterSource implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Common initailization code. */
|
||||
/** Common initialization code. */
|
||||
private void initEncoder() {
|
||||
m_milliSec = 1;
|
||||
m_task = new EncoderThread(this);
|
||||
@@ -95,7 +95,7 @@ public class FakeCounterSource implements AutoCloseable {
|
||||
Timer.delay(0.01);
|
||||
}
|
||||
|
||||
/** Starts and completes a task set - does not return until thred has finished its operations. */
|
||||
/** Starts and completes a task set - does not return until thread has finished its operations. */
|
||||
public void execute() {
|
||||
start();
|
||||
complete();
|
||||
|
||||
@@ -75,7 +75,7 @@ public class FakePotentiometerSource implements AutoCloseable {
|
||||
return voltage * (m_potMaxAngle / m_potMaxVoltage);
|
||||
}
|
||||
|
||||
/** Frees the resouce. */
|
||||
/** Frees the resource. */
|
||||
@Override
|
||||
public void close() {
|
||||
if (m_initOutput) {
|
||||
|
||||
@@ -60,9 +60,9 @@ public class AntJunitLauncher {
|
||||
FormatterElement.TypeAttribute type = new FormatterElement.TypeAttribute();
|
||||
type.setValue("xml");
|
||||
|
||||
FormatterElement formater = new FormatterElement();
|
||||
formater.setType(type);
|
||||
task.addFormatter(formater);
|
||||
FormatterElement formatter = new FormatterElement();
|
||||
formatter.setType(type);
|
||||
task.addFormatter(formatter);
|
||||
|
||||
// Create the JUnitTest
|
||||
JUnitTest test = new JUnitTest(TestSuite.class.getName());
|
||||
|
||||
Reference in New Issue
Block a user