Examples of LayoutSpec


Examples of net.mindengine.galen.reports.model.LayoutSpec

    }

    @Override
    public void onSpecError(GalenPageRunner pageRunner, PageValidation pageValidation, String objectName, Spec originalSpec, ValidationError error) {

        LayoutSpec spec = new LayoutSpec();
        spec.setPlace(originalSpec.getPlace());
        currentObject.getSpecs().add(spec);
       
        spec.setText(originalSpec.getOriginalText());
        spec.setFailed(true);

        spec.setOnlyWarn(originalSpec.isOnlyWarn());
        spec.setImageComparison(error.getImageComparison());
        spec.setErrorMessages(error.getMessages());
        spec.setErrorAreas(error.getErrorAreas());
       
        pickSubObjectsForSpec(spec);
    }
View Full Code Here

Examples of net.mindengine.galen.reports.model.LayoutSpec

        pickSubObjectsForSpec(spec);
    }

    @Override
    public void onSpecSuccess(GalenPageRunner pageRunner, PageValidation pageValidation, String objectName, Spec originalSpec) {
        LayoutSpec spec = new LayoutSpec();
        spec.setPlace(originalSpec.getPlace());
        currentObject.getSpecs().add(spec);
        spec.setText(originalSpec.getOriginalText());
        spec.setFailed(false);
       
        pickSubObjectsForSpec(spec);
    }
View Full Code Here

Examples of net.mindengine.galen.reports.model.LayoutSpec

        return report;
    }

    private LayoutSpec warnSpec() {
        LayoutSpec spec = new LayoutSpec();
        spec.setFailed(true);
        spec.setOnlyWarn(true);
        return spec;
    }
View Full Code Here

Examples of net.mindengine.galen.reports.model.LayoutSpec

        spec.setOnlyWarn(true);
        return spec;
    }

    private LayoutSpec failedSpec() {
        LayoutSpec spec = new LayoutSpec();
        spec.setFailed(true);
        spec.setOnlyWarn(false);
        return spec;
    }
View Full Code Here

Examples of net.mindengine.galen.reports.model.LayoutSpec

        spec.setOnlyWarn(false);
        return spec;
    }

    private LayoutSpec passedSpec() {
        LayoutSpec spec = new LayoutSpec();
        spec.setFailed(false);
        return spec;
    }
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.