Ignore:
Timestamp:
01/26/06 15:36:27 (19 years ago)
Author:
boris
Message:
  • added an abstraction around modelica nested lists and updated relevant methods to use it instead of the old Collection<Object> way
File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/org.modelica.mdt.test/src/org/modelica/mdt/test/TestCompilerProxy.java

    r286 r287  
    6060import junit.framework.TestCase;
    6161
    62 public class TestOMCProxy extends TestCase
     62/**
     63 * test org.modelica.mdt.core.CompilerProxy class' code
     64 */
     65public class TestCompilerProxy extends TestCase
    6366{
    6467    /* a source code file use in some tests */
     
    8285   
    8386    /**
    84      * test OMCProxy.getRestrictionType()
     87     * test CompilerProxy.getRestrictionType()
    8588     * @throws CompilerInstantiationException
    8689     */
     
    140143        }
    141144       
    142         CompilerProxy.loadFileInteractive(nested_models_mo);
     145        CompilerProxy.loadSourceFile(nested_models_mo);
    143146        if (CompilerProxy.getRestrictionType("hepp.hehehe")
    144147                != Type.CLASS)
     
    149152   
    150153    /**
    151      * test OMCProxy.getElementLocation()
     154     * test CompilerProxy.getElementLocation()
    152155     * @throws CompilerInstantiationException
    153156     */
    154     public void testGetElementLocation()
     157    public void testGetClassLocation()
    155158        throws ConnectException, UnexpectedReplyException, InvocationError,
    156159            CompilerInstantiationException
    157160    {
    158         CompilerProxy.loadFileInteractive(nested_models_mo);
     161        CompilerProxy.loadSourceFile(nested_models_mo);
    159162
    160163        /*
Note: See TracChangeset for help on using the changeset viewer.