Package org.gradle.api.internal.tasks.testing.results

Examples of org.gradle.api.internal.tasks.testing.results.AttachParentTestResultProcessor.started()


            testNg.setTestSuites(GFileUtils.toPaths(suiteFiles));

            Object rootId = idGenerator.generateId();
            TestDescriptorInternal rootSuite = new DefaultTestSuiteDescriptor(rootId, options.getDefaultTestName());
            TestResultProcessor decorator = new AttachParentTestResultProcessor(processor);
            decorator.started(rootSuite, new TestStartEvent(System.currentTimeMillis()));
            testNg.addListener((Object) adaptListener(new TestNGTestResultProcessorAdapter(decorator, idGenerator)));
            try {
                testNg.run();
            } finally {
                decorator.completed(rootId, new TestCompleteEvent(System.currentTimeMillis()));
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.