package integration

import org.junit.BeforeClass
import org.junit.Ignore
import org.junit.Test
import org.junit.Assert
import static com.xlson.groovycsv.CsvParser.parseCsv

@Ignore
// This test suit is currently being ignored because this commitFilter is not being
// used by the current implementation
public class TextualConflictFilterTest {

    @Test
    void mergeConflictTest () {
        String commitSHA = 'b610225c36e1eb020b9899be907e06b96a19c1c0'
        Assert.assertNull(TestSuite.outputCommits.get(commitSHA))
    }

    @Test
    void multipleConflict () {
        String commitSHA = 'ea29fc17bdf20b40208ae39f88fd8aa2b2a5322b'

        Assert.assertNull(TestSuite.outputCommits.get(commitSHA))
    }

    @Test
    void multipleConflictInOneFile() {
        String commitSHA = 'c00294fb7135e5bdcd6f7c3417405aea75b66444'
        Assert.assertNull(TestSuite.outputCommits.get(commitSHA))
    }

    @Test
    void noMergeConflictTest () {
        String commitSHA = 'ef1a4c9095c04af5eab2e0c54f590c053c48d410'
        Assert.assertNotNull(TestSuite.outputCommits.get(commitSHA))
    }
    
}