package ru.yandex.qatools.allure.testng.testdata;

import org.testng.annotations.Test;
import static org.testng.Assert.fail;

/**
 * Class with simple tests. It's used to check correctness of Allure TestNG listener.
 *
 * @author Kirill Kozlov kozlov.k.e@gmail.com
 *         Date: 04.02.14
 */
public class TestDataClass {

    @Test
    public void passedTest() { }

    @Test
    public void failedTest() {
        fail();
    }

    @Test(dependsOnMethods = "failedTest")
    public void skippedByDependencyTest() { }

}

@@ -74,19 +74,156 @@
 tations.
-Tes
+DataProvider;%0Aimport org.testng.annotations.Test;%0A%0Aimport static org.hamcrest.CoreMatchers.equalTo;%0Aimport static org.junit.Assert.assertTha
 t;%0Aimpor
@@ -653,10 +653,287 @@
 () %7B %7D%0A%0A
+    @DataProvider%0A    public Object%5B%5D%5B%5D dataProvider() %7B%0A        return new Object%5B%5D%5B%5D %7B%0A                %7B1%7D, %7B2%7D, %7B3%7D%0A        %7D;%0A    %7D%0A%0A    @Test(dataProvider = %22dataProvider%22)%0A    public void parametrizedTest(int parameter) %7B%0A        assertThat(parameter, equalTo(2));%0A    %7D%0A
 %7D%0A

Add test with dataProvider