diff options
author | Sven Gothel <[email protected]> | 2022-07-08 03:29:47 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-07-08 03:29:47 +0200 |
commit | 1ad1d7b5b0dab7e1b36f86f08e209045abeb5b3c (patch) | |
tree | 9a09265843355f99e2f4cd0cf7d0b92c318c7ef0 /test | |
parent | b16e20dfabfd152c0ad69ce94b72c8c713993b69 (diff) |
Use jaulib's BasicTypes, PrintUtil and Clock, drop duplicates in BTUtil
Diffstat (limited to 'test')
-rw-r--r-- | test/java/test/org/direct_bt/TestBringup00.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/java/test/org/direct_bt/TestBringup00.java b/test/java/test/org/direct_bt/TestBringup00.java index 84a93211..b9b7ba71 100644 --- a/test/java/test/org/direct_bt/TestBringup00.java +++ b/test/java/test/org/direct_bt/TestBringup00.java @@ -34,8 +34,8 @@ import org.direct_bt.BTDeviceRegistry; import org.direct_bt.BTException; import org.direct_bt.BTFactory; import org.direct_bt.BTManager; -import org.direct_bt.BTUtils; import org.direct_bt.DirectBTVersion; +import org.jau.io.PrintUtil; import org.junit.Assert; import org.junit.FixMethodOrder; import org.junit.Test; @@ -61,7 +61,7 @@ public class TestBringup00 extends SingletonJunitCase { | IllegalAccessException | IllegalArgumentException | InvocationTargetException | ClassNotFoundException e) { e.printStackTrace(); - BTUtils.println(System.err, "Unable to instantiate Direct-BT BluetoothManager: "+e.getMessage()); + PrintUtil.println(System.err, "Unable to instantiate Direct-BT BluetoothManager: "+e.getMessage()); e.printStackTrace(); } if( null != manager ) { @@ -106,9 +106,9 @@ public class TestBringup00 extends SingletonJunitCase { return; } final List<BTAdapter> adapters = manager.getAdapters(); - BTUtils.println(System.err, "Adapter: Count "+adapters.size()); + PrintUtil.println(System.err, "Adapter: Count "+adapters.size()); for(int i=0; i<adapters.size(); i++) { - BTUtils.println(System.err, i+": "+adapters.get(i).toString()); + PrintUtil.println(System.err, i+": "+adapters.get(i).toString()); } for(final BTAdapter a : adapters) { // test runs w/o elevated permissions |