Changeset 1145 for trunk/org.modelica.mdt.test/src/org/modelica
- Timestamp:
- 11/29/11 22:52:40 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/org.modelica.mdt.test/src/org/modelica/mdt/test/TestModelicaSourceFile.java
r1082 r1145 43 43 44 44 import org.eclipse.core.runtime.CoreException; 45 import org.modelica.mdt.core.IDefinitionLocation; 45 46 import org.modelica.mdt.core.IModelicaClass; 46 47 import org.modelica.mdt.core.IModelicaFolder; … … 146 147 assertEquals("Expected class name differs from actual class name for the given region.", className, actualClassName); 147 148 148 ISourceRegion actualSourceRegion = modelicaClass.getLocation().getSourceRegion(); 149 IDefinitionLocation location = modelicaClass.getLocation(); 150 ISourceRegion actualSourceRegion = location.getSourceRegion(); 149 151 150 152 int actualStartLine = actualSourceRegion.getStartLine();
Note: See TracChangeset
for help on using the changeset viewer.