@Test public void testDescriptionValueGetter() throws Exception { Description description = annotationManager.getDescription(); assertThat(description.getValue(), is("some.description")); assertThat(description.getType(), is(DescriptionType.TEXT)); }
public ru.yandex.qatools.allure.model.Description getDescription() { Description description = getAnnotation(Description.class); return description == null ? null : new ru.yandex.qatools.allure.model.Description() .withValue(description.value()) .withType(description.type()); }
AnnotationManager { public ru.yandex.qatools.allure.model.Description getDescription() { Description description = getAnnotation(Description.class); return description == null ? null : new ru.yandex.qatools.allure.model.Description() .withValue(description.value()) .withType(description.type()); } }
AnnotationManager { public ru.yandex.qatools.allure.model.Description getDescription() { Description description = getAnnotation(Description.class); return description == null ? null : new ru.yandex.qatools.allure.model.Description() .withValue(description.value()) .withType(description.type()); } AnnotationManager(Collection<Annotation> annotations);  AnnotationManager(Annotation... annotations); }
AnnotationManager { public ru.yandex.qatools.allure.model.Description getDescription() { Description description = getAnnotation(Description.class); return description == null ? null : new ru.yandex.qatools.allure.model.Description() .withValue(description.value()) .withType(description.type()); } AnnotationManager(Collection<Annotation> annotations);  AnnotationManager(Annotation... annotations); void setDefaults(Annotation[] defaultAnnotations); void update(TestSuiteStartedEvent event); void update(TestCaseStartedEvent event); static TestCaseStartedEvent withExecutorInfo(TestCaseStartedEvent event); boolean isTitleAnnotationPresent(); boolean isDescriptionAnnotationPresent(); boolean isSeverityAnnotationPresent(); boolean isStoriesAnnotationPresent(); boolean isFeaturesAnnotationPresent(); boolean isIssuesAnnotationPresent(); boolean isIssueAnnotationPresent(); boolean isTestCaseIdAnnotationPresent(); String getTitle(); ru.yandex.qatools.allure.model.Description getDescription(); SeverityLevel getSeverity(); String getIssueKey(); List<Label> getStoryLabels(); List<Label> getFeatureLabels(); String[] getIssueKeys(); boolean isAnnotationPresent(Class<T> annotationType); T getAnnotation(Class<T> annotationType); }
AnnotationManager { public ru.yandex.qatools.allure.model.Description getDescription() { Description description = getAnnotation(Description.class); return description == null ? null : new ru.yandex.qatools.allure.model.Description() .withValue(description.value()) .withType(description.type()); } AnnotationManager(Collection<Annotation> annotations);  AnnotationManager(Annotation... annotations); void setDefaults(Annotation[] defaultAnnotations); void update(TestSuiteStartedEvent event); void update(TestCaseStartedEvent event); static TestCaseStartedEvent withExecutorInfo(TestCaseStartedEvent event); boolean isTitleAnnotationPresent(); boolean isDescriptionAnnotationPresent(); boolean isSeverityAnnotationPresent(); boolean isStoriesAnnotationPresent(); boolean isFeaturesAnnotationPresent(); boolean isIssuesAnnotationPresent(); boolean isIssueAnnotationPresent(); boolean isTestCaseIdAnnotationPresent(); String getTitle(); ru.yandex.qatools.allure.model.Description getDescription(); SeverityLevel getSeverity(); String getIssueKey(); List<Label> getStoryLabels(); List<Label> getFeatureLabels(); String[] getIssueKeys(); boolean isAnnotationPresent(Class<T> annotationType); T getAnnotation(Class<T> annotationType);  }