private void generateSpecDescriptionIfNecessary() { if (descriptionGenerated) return; new JUnitDescriptionGenerator(getSpec()).describeSpec(); descriptionGenerated = true; }
public void describeSpecMethods() { Description desc = Description.createSuiteDescription(spec.getReflection()); spec.setDescription(desc); for (FeatureInfo feature : spec.getAllFeatures()) describeFeature(feature); for (MethodInfo fixtureMethod : spec.getAllFixtureMethods()) describeMethod(fixtureMethod); }
private SpecInfo getSpec() { if (spec == null) { spec = new SpecInfoBuilder(clazz).build(); new JUnitDescriptionGenerator(spec).describeSpecMethods(); } return spec; }
private SpecInfo getSpec() { if (spec == null) { spec = new SpecInfoBuilder(clazz).build(); new JUnitDescriptionGenerator(spec).attach(); enrichSpecWithArquillian(spec); } return spec; }
private void aggregateDescriptionIfNecessary() { if (descriptionAggregated) return; new JUnitDescriptionGenerator(getSpec()).aggregate(); descriptionAggregated = true; }
private void describeFeature(FeatureInfo feature) { Description desc = describeMethod(feature.getFeatureMethod()); feature.setDescription(desc); if (feature.getDataProcessorMethod() != null) feature.getDataProcessorMethod().setDescription(desc); for (DataProviderInfo prov : feature.getDataProviders()) prov.getDataProviderMethod().setDescription(desc); }
private SpecInfo getSpec() { if (spec == null) { spec = new SpecInfoBuilder(clazz).build(); new JUnitDescriptionGenerator(spec).attach(); enrichSpecWithArquillian(spec); } return spec; }
private void aggregateDescriptionIfNecessary() { if (descriptionAggregated) return; new JUnitDescriptionGenerator(getSpec()).aggregate(); descriptionAggregated = true; }