# HG changeset patch # User Michael Van De Vanter # Date 1444313227 14400 # Node ID 0e13cbebc04cdabf404d15d2e05aca152880d772 # Parent c3ea80aa57628eec5686982fbb2110a48edec36e Truffle/Source: remove two previously @Ignored tests that are inconsistent with the current text model being used. diff -r c3ea80aa5762 -r 0e13cbebc04c truffle/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/source/SourceSectionTest.java --- a/truffle/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/source/SourceSectionTest.java Thu Oct 08 14:21:33 2015 +0200 +++ b/truffle/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/source/SourceSectionTest.java Thu Oct 08 10:07:07 2015 -0400 @@ -22,12 +22,13 @@ */ package com.oracle.truffle.api.test.source; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; + +import org.junit.Test; + import com.oracle.truffle.api.source.Source; import com.oracle.truffle.api.source.SourceSection; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNotNull; -import org.junit.Ignore; -import org.junit.Test; public class SourceSectionTest { @@ -56,14 +57,6 @@ assertEquals(section.getStartColumn(), 1); } - @Ignore - @Test - public void emptyLineTest0a() { - SourceSection section = emptyLineSource.createSection("test", 0, 0); - assertEquals(section.getEndLine(), 1); - assertEquals(section.getEndColumn(), 1); - } - @Test public void emptyLineTest1() { SourceSection section = emptyLineSource.createSection("test", 0, 1); @@ -77,20 +70,6 @@ assertEquals(section.getEndColumn(), 1); } - @Ignore - @Test - public void emptyLineTest2() { - SourceSection section = emptyLineSource.createSection("test", 1, 0); - assertNotNull(section); - assertEquals(section.getCode(), ""); - assertEquals(section.getCharIndex(), 1); - assertEquals(section.getCharLength(), 0); - assertEquals(section.getStartLine(), 1); - assertEquals(section.getStartColumn(), 1); - assertEquals(section.getEndLine(), 1); - assertEquals(section.getEndColumn(), 1); - } - @Test public void emptySectionTest2() { SourceSection section = shortSource.createSection("test", 0, 0);