Skip to content

Commit

Permalink
remove leapmotion2
Browse files Browse the repository at this point in the history
  • Loading branch information
supertick committed Nov 4, 2024
1 parent 0c052dd commit c105709
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/test/java/org/myrobotlab/service/ServiceInterfaceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ private boolean serviceHasWebPage(String service) {

private boolean serviceInterfaceTest(String service) throws IOException {
// see if we can start/stop and release the service.

// set a configuration path
Runtime.setConfig("serviceInterfaceTest");

Expand All @@ -67,7 +67,7 @@ private boolean serviceInterfaceTest(String service) throws IOException {
}
System.out.println("Service Test:" + service);

if (service.equals("As5048AEncoder")){
if (service.equals("As5048AEncoder")) {
log.info("here");
}

Expand All @@ -85,7 +85,7 @@ private boolean serviceInterfaceTest(String service) throws IOException {
foo.startService();
foo.save();
// foo.load(); SHOULD NOT BE USED !
// foo.apply(); <- THIS SHOULD BE IMPLEMENTED
// foo.apply(); <- THIS SHOULD BE IMPLEMENTED
foo.stopService();

foo.releaseService();
Expand All @@ -103,16 +103,17 @@ public final void testAllServices() throws ClassNotFoundException, IOException {
ArrayList<String> servicesNotInServiceDataJson = new ArrayList<String>();

HashSet<String> blacklist = new HashSet<String>();
blacklist.add("OpenNi");
blacklist.add("As5048AEncoder");
blacklist.add("IntegratedMovement");
blacklist.add("OpenNi");
blacklist.add("As5048AEncoder");
blacklist.add("IntegratedMovement");
blacklist.add("VirtualDevice");
blacklist.add("Joystick");
blacklist.add("GoogleAssistant");
blacklist.add("LeapMotion");
blacklist.add("Python"); // python's interpreter cannot be restarted cleanly
blacklist.add("Runtime");
blacklist.add("OpenCV");
blacklist.add("LeapMotion2");
blacklist.add("InMoov2");
blacklist.add("WorkE");
blacklist.add("JMonkeyEngine");
Expand Down Expand Up @@ -164,7 +165,7 @@ public final void testAllServices() throws ClassNotFoundException, IOException {
continue;
}
// log.info("Testing Service: {}", service);

System.out.println("testing " + service);

MetaData st = ServiceData.getMetaData("org.myrobotlab.service." + service);
Expand Down

0 comments on commit c105709

Please sign in to comment.