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:
Peter Johnson
2017-08-27 19:31:46 -07:00
parent ef3267833f
commit 91529cc435
3 changed files with 59 additions and 56 deletions

View File

@@ -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