Package org.netbeans.modules.gsf.testrunner.api

Examples of org.netbeans.modules.gsf.testrunner.api.Testcase


            this.stdErr = stdErr;
        }

        @Override
        public Testcase addTestcase(String name) {
            Testcase testcase = new Testcase(name, null, parent);
            testcases.add(testcase);
            return testcase;
        }
View Full Code Here


            this.stdOut = null;
        }

        @Override
        public Testcase addTestcase(String name) {
            Testcase testcase = new Testcase(name, null, session);
            session.addTestCase(testcase);
            return testcase;
        }
View Full Code Here

            String suiteName = name != null ? name : reportFile.getName();
            testSuite = session.startTestSuite(suiteName);
        }

        private Testcase tryGetTestCase(Attributes attributes, Status status) {
            Testcase result = tryGetTestCase(attributes);
            if (result != null) {
                result.setStatus(status);
            }
            return result;
        }
View Full Code Here

            String name = attributes.getValue("", "name");
            if (name == null) {
                return null;
            }

            Testcase result = testSuite.addTestcase(name);

            String className = attributes.getValue("", "classname");
            if (className != null) {
                result.setClassName(className);
            }

            long time = tryReadTimeMillis(attributes.getValue("", "time"), 0);
            result.setTimeMillis(time);

            return result;
        }
View Full Code Here

TOP

Related Classes of org.netbeans.modules.gsf.testrunner.api.Testcase

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.