@Test public void createFeatureLabelTest() throws Exception { Label label = AllureModelUtils.createFeatureLabel("some-feature"); assertThat(label.getValue(), is("some-feature")); assertThat(label.getName(), is(LabelName.FEATURE.value())); }
public static Label createFeatureLabel(String feature) { return createLabel(LabelName.FEATURE, feature); }
AllureModelUtils { public static Label createFeatureLabel(String feature) { return createLabel(LabelName.FEATURE, feature); } }
AllureModelUtils { public static Label createFeatureLabel(String feature) { return createLabel(LabelName.FEATURE, feature); } AllureModelUtils(); }
AllureModelUtils { public static Label createFeatureLabel(String feature) { return createLabel(LabelName.FEATURE, feature); } AllureModelUtils(); static Validator getAllureSchemaValidator(); static Label createFeatureLabel(String feature); static Label createStoryLabel(String story); static Label createSeverityLabel(SeverityLevel level); static Label createProgrammingLanguageLabel(); static Label createTestFrameworkLabel(String testFrameworkName); static Label createIssueLabel(String issueKey); static Label createTestLabel(String testKey); static Label createHostLabel(String host); static Label createThreadLabel(String thread); static Label createTestSuiteLabel(String testSuite); static Label createTestGroupLabel(String testGroup); static Label createTestClassLabel(String testClass); static Label createTestMethodLabel(String testMethod); static Label createLabel(LabelName name, String value); }
AllureModelUtils { public static Label createFeatureLabel(String feature) { return createLabel(LabelName.FEATURE, feature); } AllureModelUtils(); static Validator getAllureSchemaValidator(); static Label createFeatureLabel(String feature); static Label createStoryLabel(String story); static Label createSeverityLabel(SeverityLevel level); static Label createProgrammingLanguageLabel(); static Label createTestFrameworkLabel(String testFrameworkName); static Label createIssueLabel(String issueKey); static Label createTestLabel(String testKey); static Label createHostLabel(String host); static Label createThreadLabel(String thread); static Label createTestSuiteLabel(String testSuite); static Label createTestGroupLabel(String testGroup); static Label createTestClassLabel(String testClass); static Label createTestMethodLabel(String testMethod); static Label createLabel(LabelName name, String value);  }