Package net.mindengine.galen.parser

Examples of net.mindengine.galen.parser.VarsContext


    @Override
    public List<GalenBasicTest> build(VarsContext context) {
       
        Table table = createTable(context);
       
        final VarsContext parameterizedContext = new VarsContext(new Properties(), context);
        final List<GalenBasicTest> suites = new LinkedList<GalenBasicTest>();
       
        table.forEach(new RowVisitor() {
            @Override
            public void visit(Map<String, String> values) {
                parameterizedContext.addValuesFromMap(values);
               
                if (toParameterize instanceof ParameterizedNode) {
                    ParameterizedNode parameterizedNode = (ParameterizedNode)toParameterize;
                    suites.addAll(parameterizedNode.build(parameterizedContext));
                }
View Full Code Here


        currentNode.add(newNode);
        return newNode;
    }

    public List<GalenBasicTest> buildSuites() {
        return rootNode.build(new VarsContext(properties));
    }
View Full Code Here

        else {
            this.properties = properties;
        }

        this.browser = browser;
        this.varsContext = new VarsContext(properties, this);
        this.processedFileIds = new HashSet<String>();
    }
View Full Code Here

TOP

Related Classes of net.mindengine.galen.parser.VarsContext

Copyright © 2018 www.massapicom. 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.