mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
Update NetworkTables for new API.
This fixes breakages due to the JNI move. Depends on: https://github.com/wpilibsuite/ntcore/pull/204
This commit is contained in:
@@ -7,14 +7,14 @@
|
||||
|
||||
package edu.wpi.first.wpilibj.hal;
|
||||
|
||||
import edu.wpi.first.wpilibj.networktables.NetworkTablesJNI;
|
||||
import edu.wpi.first.networktables.NetworkTablesJNI;
|
||||
import org.junit.Test;
|
||||
|
||||
public class JNITest {
|
||||
@Test
|
||||
public void jniNtcoreLinkTest() {
|
||||
// Test to verify that the JNI test link works correctly.
|
||||
NetworkTablesJNI.flush();
|
||||
NetworkTablesJNI.flush(NetworkTablesJNI.getDefaultInstance());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user