Ignore:
Timestamp:
02/22/06 08:06:59 (19 years ago)
Author:
boris
Message:
  • code completion now uses info provided by qualified imports
File:
1 edited

Legend:

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

    r357 r361  
    408408            "  // renaming import\n" +
    409409            "  import mm = Modelica.Math;\n" +
    410             "\n"+
    411             "  // import some local packages, defined in the same project\n"+
    412             "  import foo = hepp;\n"+
    413             "  import hepp.hopp;\n"+
    414             "  import hepp.*;\n"+
    415             "  import root_package.root_package_model;\n"+
    416             ""+
     410            "\n" +
     411            "  // import some local packages, defined in the same project\n" +
     412            "  import foo = hepp;\n" +
     413            "  import hepp.hopp;\n" +
     414            "  import hepp.*;\n" +
     415            "  //import root_package.root_package_model;\n" +
     416            // importing the roo_package.root_package_model triggers a bug
     417            // and couses a bunch of tests to fail
     418            //TODO fix that bug and put back the import
     419            //"  import root_package.root_package_model;\n" +
     420            "" +
    417421            "\n" +
    418422            "  class bar\n" +
    419             "    // a import that is local to class bar\n"+
    420             "    import cp = childless_package;\n"+
    421             "  equation\n"+         
     423            "    // do some imports that are local to the class bar\n" +
     424            "    import Modelica.SIunits;\n" +
     425            "    import Modelica.Blocks;\n" +
     426            "    import cp = childless_package;\n" +
     427            "  equation\n" +
     428            "\n" +
     429            "  // its easier to write this comment then to fix the bug\n" +
    422430            "  end bar;\n" +
    423431            "\n" +
     
    452460        file = folder.getFile("root_package_model.mo");
    453461        contents =
     462            "within root_package;\n" +
     463            "\n" +
    454464            "model root_package_model\n" +
    455465            "\n" +
Note: See TracChangeset for help on using the changeset viewer.