Package net.mindengine.galen.tests

Examples of net.mindengine.galen.tests.TestSession


                       
                       
                        testInfoLock.lock();
                        try {
                            testInfos.add(info);
                            TestSession session = TestSession.register(info);
                            session.setReport(report);
                            session.setListener(listener);
                        }
                        catch (Exception ex) {
                            ex.printStackTrace();
                        }
                        finally {
View Full Code Here


        }
        if (excludedTags != null) {
            action.setExcludedTags(Arrays.asList(excludedTags));
        }

        TestSession session = TestSession.current();
        if (session == null) {
            throw new UnregisteredTestSession("Cannot check layout as there was no TestSession created");
        }

        TestReport report = session.getReport();
        CompleteListener listener = session.getListener();
        action.execute(report, new SeleniumBrowser(driver), null, listener);
    }
View Full Code Here

        this.originalCommand = originalCommand;
    }


    protected Properties getCurrentProperties() {
        TestSession session = TestSession.current();
        if (session != null) {
            if (session.getProperties() != null && session.getProperties().getProperties() != null) {
                return session.getProperties().getProperties();
            }
        }
        return new Properties();
    }
View Full Code Here

TOP

Related Classes of net.mindengine.galen.tests.TestSession

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.