Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ public final class WPILibExtension

@Override
public void beforeAll(ExtensionContext context) {
// See https://www.chiefdelphi.com/t/driverstation-getalliance-in-gradle-test/
// Ensure the Hardware Abstraction Layer is initialized before we try to use it. This logic is
// based on a comment from Peter Johnson at
// https://www.chiefdelphi.com/t/driverstation-getalliance-in-gradle-test/
if (!HAL.initialize(500, 0)) {
throw new IllegalStateException("Could not initialize Hardware Abstraction Layer");
}
Expand Down
Loading