use of org.sonar.api.batch.fs.internal.FileMetadata in project sonarqube by SonarSource.
the class MetadataGeneratorProviderTest method create_builder.
@Test
public void create_builder() {
StatusDetectionFactory statusDetectionFactory = mock(StatusDetectionFactory.class, Mockito.RETURNS_MOCKS);
MetadataGeneratorProvider factory = new MetadataGeneratorProvider();
assertThat(factory.provide(new DefaultInputModule("module"), statusDetectionFactory, new FileMetadata())).isNotNull();
}
use of org.sonar.api.batch.fs.internal.FileMetadata in project sonarqube by SonarSource.
the class MetadataGeneratorTest method setUp.
@Before
public void setUp() {
MockitoAnnotations.initMocks(this);
metadata = new FileMetadata();
generator = new MetadataGenerator(new DefaultInputModule("module"), statusDetection, metadata);
}
Aggregations