import it.Category4Suite;
import org.junit.Before;
import org.junit.ClassRule;
-import org.junit.Ignore;
import org.junit.Test;
import org.sonar.wsclient.services.Resource;
import org.sonar.wsclient.services.ResourceQuery;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
-@Ignore("Cross project duplications are temporary disabled, waiting to be reimplemented in CE or correctly implemented in the batch")
public class CrossProjectDuplicationsTest {
@ClassRule
@Test
public void testMeasures() throws Exception {
-
Resource project = getResource("com.sonarsource.it.samples.duplications:a");
assertThat(project, notNullValue());
assertThat(project.getMeasureIntValue("duplicated_lines"), is(0));