andreaturli commented on this pull request.


> +   private static final String FEATURES_XML = "features.xml";
+
+   @Inject
+   FeaturesService featuresService;
+
+   static File getFeaturesFile() throws URISyntaxException {
+      String featuresXml = System.getProperty(FEATURES_XML);
+      Assert.assertNotNull(featuresXml);
+      File featuresFile = new File(featuresXml);
+      Assert.assertNotNull(featuresFile.exists());
+      return featuresFile;
+   }
+
+   @Test
+   public void testJcloudsFeature() throws Exception {
+      featuresService.addRepository(getFeaturesFile().toURI());

I think it's a good idea

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/92

Reply via email to