All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qameta.allure.tree.TestResultGroupFactory Maven / Gradle / Ivy

The newest version!
package io.qameta.allure.tree;

import io.qameta.allure.entity.TestResult;

import static io.qameta.allure.tree.TreeUtils.createGroupUid;

/**
 * @author charlie (Dmitry Baev).
 */
public class TestResultGroupFactory implements TreeGroupFactory {

    @Override
    public TestResultTreeGroup create(final TestResultTreeGroup parent, final String name, final TestResult item) {
        return new TestResultTreeGroup(createGroupUid(parent.getUid(), name), name);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy