Examples of PathWithLines


Examples of cucumber.runtime.model.PathWithLines

                if (line.isEmpty()) {
                    continue;
                }

                final Set<Object> resourceFilters = new HashSet<Object>(filters);
                final PathWithLines pathWithLines = new PathWithLines(line);
                resourceFilters.addAll(pathWithLines.lines);
                builder.parse(new ClassLoaderResource(tccl, pathWithLines.path), new ArrayList<Object>(resourceFilters));
            }
        } else { // client side
            for (final Map.Entry<String, Collection<URL>> entry : Features.createFeatureMap(CucumberConfiguration.instance().getTempDir(), cukespaceConfig.getProperty(CucumberConfiguration.FEATURE_HOME), clazz, tccl).entrySet()) {
                final PathWithLines pathWithLines = new PathWithLines(entry.getKey());
                final Set<Object> resourceFilters = new HashSet<Object>(filters);
                resourceFilters.addAll(pathWithLines.lines);
                for (final URL url : entry.getValue()) {
                    builder.parse(new URLResource(pathWithLines.path, url), new ArrayList<Object>(resourceFilters));
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.