summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-01-27 01:45:21 +0100
committerSven Gothel <[email protected]>2021-01-27 01:45:21 +0100
commitfdde360da06225f903583e30658adde1ef9163aa (patch)
tree16f4d1ca260bb282ddc8906ddb4896a9766572ff /test
parentd92e7bb07240eb516864e75299b8b8421c7b9744 (diff)
Have BTFactory.main(..) show version info and available adapter, also whether jaulib is used or not; BTFactory: Shorten names (API)
direct_bt.jar: Don't use jaulib.jar in its Class-Path (manifest)
Diffstat (limited to 'test')
-rw-r--r--test/java/test/org/direct_bt/TestEUI48.java2
-rw-r--r--test/java/test/org/direct_bt/VersionInfo.java8
2 files changed, 3 insertions, 7 deletions
diff --git a/test/java/test/org/direct_bt/TestEUI48.java b/test/java/test/org/direct_bt/TestEUI48.java
index aa9dec9a..89260e5e 100644
--- a/test/java/test/org/direct_bt/TestEUI48.java
+++ b/test/java/test/org/direct_bt/TestEUI48.java
@@ -55,7 +55,7 @@ public class TestEUI48 extends JunitTracer {
static {
final BTManager manager;
try {
- manager = BTFactory.getDirectBTBluetoothManager();
+ manager = BTFactory.getDirectBTManager();
} catch (BTException | NoSuchMethodException | SecurityException
| IllegalAccessException | IllegalArgumentException
| InvocationTargetException | ClassNotFoundException e) {
diff --git a/test/java/test/org/direct_bt/VersionInfo.java b/test/java/test/org/direct_bt/VersionInfo.java
index 7f87f079..03f4ec7b 100644
--- a/test/java/test/org/direct_bt/VersionInfo.java
+++ b/test/java/test/org/direct_bt/VersionInfo.java
@@ -2,17 +2,13 @@ package test.org.direct_bt;
import java.io.IOException;
+import org.direct_bt.BTFactory;
import org.direct_bt.DirectBTVersion;
import org.jau.util.VersionUtil;
public class VersionInfo {
public static void main(final String args[]) throws IOException {
- System.err.println(VersionUtil.getPlatformInfo());
- System.err.println("Version Info:");
- System.err.println(DirectBTVersion.getInstance());
- System.err.println("");
- System.err.println("Full Manifest:");
- System.err.println(DirectBTVersion.getInstance().getFullManifestInfo(null));
+ BTFactory.main(args);
}
}