SCRIPT Run java package replacements

This commit is contained in:
PJ Reiniger
2025-11-07 19:55:43 -05:00
committed by Peter Johnson
parent 12823a003d
commit f0a3c64121
1590 changed files with 8469 additions and 8469 deletions

View File

@@ -3,8 +3,8 @@ modifiableFileExclude {
}
generatedFileExclude {
src/generated/main/java/org/wpilib/commands3/button/
src/generated/main/java/org/wpilib/commands3/proto/
src/generated/main/java/org/wpilib/command3/button/
src/generated/main/java/org/wpilib/command3/proto/
}
repoRootNameOverride {

View File

@@ -2,11 +2,11 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import edu.wpi.first.hal.HALUtil;
import edu.wpi.first.networktables.NetworkTablesJNI;
import edu.wpi.first.util.CombinedRuntimeLoader;
import org.wpilib.hardware.hal.HALUtil;
import org.wpilib.networktables.NetworkTablesJNI;
import org.wpilib.util.runtime.CombinedRuntimeLoader;
/** Dev main. */
public final class DevMain {

View File

@@ -6,12 +6,12 @@
{% macro capitalize_first(string) -%}
{{ string[0]|capitalize + string[1:] }}
{%- endmacro %}
package org.wpilib.commands3.button;
package org.wpilib.command3.button;
import edu.wpi.first.wpilibj.{{ ConsoleName }}Controller;
import edu.wpi.first.wpilibj.event.EventLoop;
import org.wpilib.commands3.Scheduler;
import org.wpilib.commands3.Trigger;
import org.wpilib.{{ ConsoleName }}Controller;
import org.wpilib.event.EventLoop;
import org.wpilib.command3.Scheduler;
import org.wpilib.command3.Trigger;
/**
* A version of {@link {{ ConsoleName }}Controller} with {@link Trigger} factories for command-based.

View File

@@ -4,12 +4,12 @@
// THIS FILE WAS AUTO-GENERATED BY ./commandsv3/generate_files.py. DO NOT MODIFY
package org.wpilib.commands3.button;
package org.wpilib.command3.button;
import edu.wpi.first.wpilibj.PS4Controller;
import edu.wpi.first.wpilibj.event.EventLoop;
import org.wpilib.commands3.Scheduler;
import org.wpilib.commands3.Trigger;
import org.wpilib.driverstation.PS4Controller;
import org.wpilib.event.EventLoop;
import org.wpilib.command3.Scheduler;
import org.wpilib.command3.Trigger;
/**
* A version of {@link PS4Controller} with {@link Trigger} factories for command-based.

View File

@@ -4,12 +4,12 @@
// THIS FILE WAS AUTO-GENERATED BY ./commandsv3/generate_files.py. DO NOT MODIFY
package org.wpilib.commands3.button;
package org.wpilib.command3.button;
import edu.wpi.first.wpilibj.PS5Controller;
import edu.wpi.first.wpilibj.event.EventLoop;
import org.wpilib.commands3.Scheduler;
import org.wpilib.commands3.Trigger;
import org.wpilib.driverstation.PS5Controller;
import org.wpilib.event.EventLoop;
import org.wpilib.command3.Scheduler;
import org.wpilib.command3.Trigger;
/**
* A version of {@link PS5Controller} with {@link Trigger} factories for command-based.

View File

@@ -4,12 +4,12 @@
// THIS FILE WAS AUTO-GENERATED BY ./commandsv3/generate_files.py. DO NOT MODIFY
package org.wpilib.commands3.button;
package org.wpilib.command3.button;
import edu.wpi.first.wpilibj.StadiaController;
import edu.wpi.first.wpilibj.event.EventLoop;
import org.wpilib.commands3.Scheduler;
import org.wpilib.commands3.Trigger;
import org.wpilib.driverstation.StadiaController;
import org.wpilib.event.EventLoop;
import org.wpilib.command3.Scheduler;
import org.wpilib.command3.Trigger;
/**
* A version of {@link StadiaController} with {@link Trigger} factories for command-based.

View File

@@ -4,12 +4,12 @@
// THIS FILE WAS AUTO-GENERATED BY ./commandsv3/generate_files.py. DO NOT MODIFY
package org.wpilib.commands3.button;
package org.wpilib.command3.button;
import edu.wpi.first.wpilibj.XboxController;
import edu.wpi.first.wpilibj.event.EventLoop;
import org.wpilib.commands3.Scheduler;
import org.wpilib.commands3.Trigger;
import org.wpilib.driverstation.XboxController;
import org.wpilib.event.EventLoop;
import org.wpilib.command3.Scheduler;
import org.wpilib.command3.Trigger;
/**
* A version of {@link XboxController} with {@link Trigger} factories for command-based.

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
// Code generated by protocol buffer compiler. Do not edit!
package org.wpilib.commands3.proto;
package org.wpilib.command3.proto;
import java.io.IOException;
import us.hebi.quickbuf.Descriptors;

View File

@@ -2,9 +2,9 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import edu.wpi.first.util.ErrorMessages;
import org.wpilib.util.ErrorMessages;
/**
* A single trigger binding.

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
/**
* A scope for when a binding is live. Bindings tied to a scope must be deleted when the scope

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
/** Describes when a command bound to a trigger should run. */
enum BindingType {

View File

@@ -2,11 +2,11 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static edu.wpi.first.util.ErrorMessages.requireNonNullParam;
import static org.wpilib.util.ErrorMessages.requireNonNullParam;
import edu.wpi.first.units.measure.Time;
import org.wpilib.units.measure.Time;
import java.util.Collection;
import java.util.Collections;
import java.util.Set;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static java.util.Objects.requireNonNull;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import java.util.ArrayList;
import java.util.List;
@@ -30,7 +30,7 @@ final class CommandTraceHelper {
Coroutine.class.getName(),
Continuation.class.getName(),
Scheduler.class.getName(),
"org.wpilib.commands3.StagedCommandBuilder$BuilderBackedCommand",
"org.wpilib.command3.StagedCommandBuilder$BuilderBackedCommand",
"jdk.internal.vm.Continuation");
boolean sawRun = false;

View File

@@ -2,9 +2,9 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static edu.wpi.first.util.ErrorMessages.requireNonNullParam;
import static org.wpilib.util.ErrorMessages.requireNonNullParam;
import java.util.ArrayList;
import java.util.Collection;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import java.lang.invoke.MethodHandle;
import java.lang.invoke.MethodHandles;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import java.lang.invoke.MethodHandle;
import java.lang.invoke.MethodHandles;

View File

@@ -2,13 +2,13 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static edu.wpi.first.units.Units.Seconds;
import static edu.wpi.first.util.ErrorMessages.requireNonNullParam;
import static org.wpilib.units.Units.Seconds;
import static org.wpilib.util.ErrorMessages.requireNonNullParam;
import edu.wpi.first.units.measure.Time;
import edu.wpi.first.wpilibj.Timer;
import org.wpilib.units.measure.Time;
import org.wpilib.system.Timer;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;

View File

@@ -2,9 +2,9 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import edu.wpi.first.units.measure.Time;
import org.wpilib.units.measure.Time;
import java.util.List;
import java.util.function.Consumer;
import org.wpilib.annotation.NoDiscard;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import java.util.Collection;
import java.util.function.Consumer;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import java.util.function.BooleanSupplier;
import java.util.function.Consumer;

View File

@@ -2,9 +2,9 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static edu.wpi.first.util.ErrorMessages.requireNonNullParam;
import static org.wpilib.util.ErrorMessages.requireNonNullParam;
import java.util.Collection;
import java.util.HashSet;

View File

@@ -2,9 +2,9 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static edu.wpi.first.util.ErrorMessages.requireNonNullParam;
import static org.wpilib.util.ErrorMessages.requireNonNullParam;
import java.util.Arrays;
import java.util.LinkedHashSet;

View File

@@ -2,16 +2,16 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static edu.wpi.first.units.Units.Microseconds;
import static edu.wpi.first.units.Units.Milliseconds;
import static org.wpilib.units.Units.Microseconds;
import static org.wpilib.units.Units.Milliseconds;
import edu.wpi.first.util.ErrorMessages;
import edu.wpi.first.util.protobuf.ProtobufSerializable;
import edu.wpi.first.wpilibj.RobotController;
import edu.wpi.first.wpilibj.TimedRobot;
import edu.wpi.first.wpilibj.event.EventLoop;
import org.wpilib.util.ErrorMessages;
import org.wpilib.util.protobuf.ProtobufSerializable;
import org.wpilib.system.RobotController;
import org.wpilib.opmode.TimedRobot;
import org.wpilib.event.EventLoop;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
@@ -27,8 +27,8 @@ import java.util.Stack;
import java.util.function.Consumer;
import java.util.stream.Collectors;
import org.wpilib.annotation.NoDiscard;
import org.wpilib.commands3.button.CommandGenericHID;
import org.wpilib.commands3.proto.SchedulerProto;
import org.wpilib.command3.button.CommandGenericHID;
import org.wpilib.command3.proto.SchedulerProto;
/**
* Manages the lifecycles of {@link Coroutine}-based {@link Command Commands}. Commands may be

View File

@@ -2,9 +2,9 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import edu.wpi.first.wpilibj.RobotController;
import org.wpilib.system.RobotController;
import java.util.function.Consumer;
/**

View File

@@ -2,9 +2,9 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static edu.wpi.first.util.ErrorMessages.requireNonNullParam;
import static org.wpilib.util.ErrorMessages.requireNonNullParam;
import java.util.ArrayList;
import java.util.HashSet;

View File

@@ -2,9 +2,9 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static edu.wpi.first.util.ErrorMessages.requireNonNullParam;
import static org.wpilib.util.ErrorMessages.requireNonNullParam;
import java.util.ArrayList;
import java.util.Arrays;

View File

@@ -2,9 +2,9 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static edu.wpi.first.util.ErrorMessages.requireNonNullParam;
import static org.wpilib.util.ErrorMessages.requireNonNullParam;
import java.util.Arrays;
import java.util.Collection;

View File

@@ -2,14 +2,14 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static edu.wpi.first.units.Units.Seconds;
import static edu.wpi.first.util.ErrorMessages.requireNonNullParam;
import static org.wpilib.units.Units.Seconds;
import static org.wpilib.util.ErrorMessages.requireNonNullParam;
import edu.wpi.first.math.filter.Debouncer;
import edu.wpi.first.units.measure.Time;
import edu.wpi.first.wpilibj.event.EventLoop;
import org.wpilib.math.filter.Debouncer;
import org.wpilib.units.measure.Time;
import org.wpilib.event.EventLoop;
import java.util.ArrayList;
import java.util.EnumMap;
import java.util.List;
@@ -19,7 +19,7 @@ import java.util.function.BooleanSupplier;
/**
* Triggers allow users to specify conditions for when commands should run. Triggers can be set up
* to read from joystick and controller buttons (eg {@link
* org.wpilib.commands3.button.CommandXboxController#x()}) or be customized to read sensor values or
* org.wpilib.command3.button.CommandXboxController#x()}) or be customized to read sensor values or
* any other arbitrary true/false condition.
*
* <p>It is very easy to link a button to a command. For instance, you could link the trigger button

View File

@@ -2,12 +2,12 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3.button;
package org.wpilib.command3.button;
import edu.wpi.first.wpilibj.Gamepad;
import edu.wpi.first.wpilibj.event.EventLoop;
import org.wpilib.commands3.Scheduler;
import org.wpilib.commands3.Trigger;
import org.wpilib.driverstation.Gamepad;
import org.wpilib.event.EventLoop;
import org.wpilib.command3.Scheduler;
import org.wpilib.command3.Trigger;
/**
* A version of {@link Gamepad} with {@link Trigger} factories for command-based.

View File

@@ -2,16 +2,16 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3.button;
package org.wpilib.command3.button;
import edu.wpi.first.math.Pair;
import edu.wpi.first.wpilibj.DriverStation.POVDirection;
import edu.wpi.first.wpilibj.GenericHID;
import edu.wpi.first.wpilibj.event.EventLoop;
import org.wpilib.math.util.Pair;
import org.wpilib.driverstation.DriverStation.POVDirection;
import org.wpilib.driverstation.GenericHID;
import org.wpilib.event.EventLoop;
import java.util.HashMap;
import java.util.Map;
import org.wpilib.commands3.Scheduler;
import org.wpilib.commands3.Trigger;
import org.wpilib.command3.Scheduler;
import org.wpilib.command3.Trigger;
/**
* A version of {@link GenericHID} with {@link Trigger} factories for command-based.

View File

@@ -2,12 +2,12 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3.button;
package org.wpilib.command3.button;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.event.EventLoop;
import org.wpilib.commands3.Scheduler;
import org.wpilib.commands3.Trigger;
import org.wpilib.driverstation.Joystick;
import org.wpilib.event.EventLoop;
import org.wpilib.command3.Scheduler;
import org.wpilib.command3.Trigger;
/**
* A version of {@link Joystick} with {@link Trigger} factories for command-based.

View File

@@ -2,10 +2,10 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3.button;
package org.wpilib.command3.button;
import java.util.concurrent.atomic.AtomicBoolean;
import org.wpilib.commands3.Trigger;
import org.wpilib.command3.Trigger;
/**
* This class is intended to be used within a program. The programmer can manually set its value.

View File

@@ -2,12 +2,12 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3.button;
package org.wpilib.command3.button;
import static edu.wpi.first.util.ErrorMessages.requireNonNullParam;
import static org.wpilib.util.ErrorMessages.requireNonNullParam;
import edu.wpi.first.wpilibj.GenericHID;
import org.wpilib.commands3.Trigger;
import org.wpilib.driverstation.GenericHID;
import org.wpilib.command3.Trigger;
/** A {@link Trigger} that gets its state from a {@link GenericHID}. */
public class JoystickButton extends Trigger {

View File

@@ -2,15 +2,15 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3.button;
package org.wpilib.command3.button;
import static edu.wpi.first.util.ErrorMessages.requireNonNullParam;
import static org.wpilib.util.ErrorMessages.requireNonNullParam;
import edu.wpi.first.networktables.BooleanSubscriber;
import edu.wpi.first.networktables.BooleanTopic;
import edu.wpi.first.networktables.NetworkTable;
import edu.wpi.first.networktables.NetworkTableInstance;
import org.wpilib.commands3.Trigger;
import org.wpilib.networktables.BooleanSubscriber;
import org.wpilib.networktables.BooleanTopic;
import org.wpilib.networktables.NetworkTable;
import org.wpilib.networktables.NetworkTableInstance;
import org.wpilib.command3.Trigger;
/** A {@link Trigger} that uses a {@link NetworkTable} boolean field. */
public class NetworkButton extends Trigger {

View File

@@ -2,13 +2,13 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3.button;
package org.wpilib.command3.button;
import static edu.wpi.first.util.ErrorMessages.requireNonNullParam;
import static org.wpilib.util.ErrorMessages.requireNonNullParam;
import edu.wpi.first.wpilibj.DriverStation.POVDirection;
import edu.wpi.first.wpilibj.GenericHID;
import org.wpilib.commands3.Trigger;
import org.wpilib.driverstation.DriverStation.POVDirection;
import org.wpilib.driverstation.GenericHID;
import org.wpilib.command3.Trigger;
/** A {@link Trigger} that gets its state from a POV on a {@link GenericHID}. */
public class POVButton extends Trigger {

View File

@@ -2,10 +2,10 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3.button;
package org.wpilib.command3.button;
import edu.wpi.first.wpilibj.DriverStation;
import org.wpilib.commands3.Trigger;
import org.wpilib.driverstation.DriverStation;
import org.wpilib.command3.Trigger;
/**
* A class containing static {@link Trigger} factories for running callbacks when the robot mode

View File

@@ -2,13 +2,13 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3.proto;
package org.wpilib.command3.proto;
import edu.wpi.first.util.protobuf.Protobuf;
import org.wpilib.commands3.Command;
import org.wpilib.commands3.Mechanism;
import org.wpilib.commands3.Scheduler;
import org.wpilib.commands3.proto.ProtobufCommands.ProtobufCommand;
import org.wpilib.util.protobuf.Protobuf;
import org.wpilib.command3.Command;
import org.wpilib.command3.Mechanism;
import org.wpilib.command3.Scheduler;
import org.wpilib.command3.proto.ProtobufCommands.ProtobufCommand;
import us.hebi.quickbuf.Descriptors;
/** Protobuf serde for running commands. */

View File

@@ -2,11 +2,11 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3.proto;
package org.wpilib.command3.proto;
import edu.wpi.first.util.protobuf.Protobuf;
import org.wpilib.commands3.Mechanism;
import org.wpilib.commands3.proto.ProtobufCommands.ProtobufMechanism;
import org.wpilib.util.protobuf.Protobuf;
import org.wpilib.command3.Mechanism;
import org.wpilib.command3.proto.ProtobufCommands.ProtobufMechanism;
import us.hebi.quickbuf.Descriptors;
public class MechanismProto implements Protobuf<Mechanism, ProtobufMechanism> {

View File

@@ -2,12 +2,12 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3.proto;
package org.wpilib.command3.proto;
import edu.wpi.first.util.protobuf.Protobuf;
import org.wpilib.commands3.Command;
import org.wpilib.commands3.Scheduler;
import org.wpilib.commands3.proto.ProtobufCommands.ProtobufScheduler;
import org.wpilib.util.protobuf.Protobuf;
import org.wpilib.command3.Command;
import org.wpilib.command3.Scheduler;
import org.wpilib.command3.proto.ProtobufCommands.ProtobufScheduler;
import us.hebi.quickbuf.Descriptors;
/**

View File

@@ -2,7 +2,7 @@ syntax = "proto3";
package wpi.proto;
option java_package = "org.wpilib.commands3.proto";
option java_package = "org.wpilib.command3.proto";
/*
Or use the generate_files.py script:

View File

@@ -2,9 +2,9 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import edu.wpi.first.wpilibj.RobotController;
import org.wpilib.system.RobotController;
import java.util.ArrayList;
import java.util.List;
import org.junit.jupiter.api.BeforeEach;

View File

@@ -2,17 +2,17 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.wpilib.commands3.ConflictDetector.findAllConflicts;
import static org.wpilib.commands3.ConflictDetector.throwIfConflicts;
import static org.wpilib.command3.ConflictDetector.findAllConflicts;
import static org.wpilib.command3.ConflictDetector.throwIfConflicts;
import java.util.List;
import java.util.Set;
import org.junit.jupiter.api.Test;
import org.wpilib.commands3.ConflictDetector.Conflict;
import org.wpilib.command3.ConflictDetector.Conflict;
class ConflictDetectorTest extends CommandTestBase {
@Test

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import java.util.Set;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import java.util.Set;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
@@ -31,7 +31,7 @@ class SchedulerErrorHandlingTests extends CommandTestBase {
assertEquals("The exception", e.getMessage());
assertEquals(
"org.wpilib.commands3.SchedulerErrorHandlingTests", e.getStackTrace()[0].getClassName());
"org.wpilib.command3.SchedulerErrorHandlingTests", e.getStackTrace()[0].getClassName());
assertEquals("lambda$errorDetection$0", e.getStackTrace()[0].getMethodName());
assertEquals("=== Command Binding Trace ===", e.getStackTrace()[2].getClassName());

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static org.junit.jupiter.api.Assertions.assertEquals;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;

View File

@@ -2,16 +2,16 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static edu.wpi.first.units.Units.Microseconds;
import static edu.wpi.first.units.Units.Milliseconds;
import static edu.wpi.first.units.Units.Seconds;
import static org.wpilib.units.Units.Microseconds;
import static org.wpilib.units.Units.Milliseconds;
import static org.wpilib.units.Units.Seconds;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import edu.wpi.first.wpilibj.RobotController;
import org.wpilib.system.RobotController;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicLong;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package org.wpilib.commands3;
package org.wpilib.command3;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;