All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rest.RestResourceIterator Maven / Gradle / Ivy

Go to download

Rest Cucumber allows you to attach a rest client for retrieval of Cucumber feature files and posting of Cucumber test results

There is a newer version: 1.3
Show newest version
package rest;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import cucumber.runtime.io.Resource;

public class RestResourceIterator implements Iterator {
   private List issues;
   private Iterator i;

   public RestResourceIterator(List issues) {
      this.issues = new ArrayList(issues);
      i = this.issues.iterator();
   }

   public boolean hasNext() {
      return i.hasNext();
   }

   public Resource next() {
      return (Resource) i.next();
   }

   public void remove() {
      i.remove();
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy