Ejemplo n.º 1
0
 @Override
 public BundleDeployResult deployBundle(BundleDeployRequest request) {
   BundleDeployResult result = new BundleDeployResult();
   // tests should be setting MockBundleManager.absolutePathToAssert to the path that should be
   // expected
   if (!request
       .getAbsoluteDestinationDirectory()
       .equals(new File(manager.absolutePathToAssert))) {
     result.setErrorMessage(
         "absolute path ["
             + request.getAbsoluteDestinationDirectory()
             + "] did not match the expected path ["
             + manager.absolutePathToAssert
             + "]");
     System.out.println(result.getErrorMessage());
   }
   return result;
 }