Giter VIP home page Giter VIP logo

emoflon-ibex-tests's People

Contributors

adrianmoeller avatar anthonyanjorin avatar arg0n1s avatar arikae avatar ayurshi avatar dome91 avatar isabella-grieser avatar legionarycohort avatar maxkratz avatar neeld1987 avatar nilsweidmann avatar patrickrobrecht avatar roppermann avatar smilicas avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

emoflon-ibex-tests's Issues

MocaTree metamodel makes FWD_OPT tests fail

For some 0..* edges, no inverse edge can be created because the featureID is 0

Affected classes:

TestBlockDiagramCodeAdapter
TestProcessCodeAdapter
TestVHDLTGGCodeAdapter

AlgorithmToStrategy_MA gets an exception when handling dependencies in CC and CO

When executing the performance tests for AlgorithmToStrategy_MA, CC and CO fail with an IndexOutOfBoundsException like this:

Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at org.emoflon.ibex.tgg.operational.strategies.cc.HandleDependencies.examineDependences(HandleDependencies.java:135)
at org.emoflon.ibex.tgg.operational.strategies.cc.HandleDependencies.examineDependences(HandleDependencies.java:125)
at org.emoflon.ibex.tgg.operational.strategies.cc.HandleDependencies.examineDependences(HandleDependencies.java:125)
at org.emoflon.ibex.tgg.operational.strategies.cc.HandleDependencies.lambda$5(HandleDependencies.java:115)
at java.util.HashMap$KeySpliterator.forEachRemaining(Unknown Source)
at java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
at org.emoflon.ibex.tgg.operational.strategies.cc.HandleDependencies.detectAllBundleCycles(HandleDependencies.java:114)
at org.emoflon.ibex.tgg.operational.strategies.cc.HandleDependencies.getCyclicDependenciesBetweenBundles(HandleDependencies.java:102)
at org.emoflon.ibex.tgg.operational.strategies.OPT.defineGurobiExclusions(OPT.java:245)
at org.emoflon.ibex.tgg.operational.strategies.OPT.chooseTGGRuleApplications(OPT.java:347)
at org.emoflon.ibex.tgg.operational.strategies.cc.CC.wrapUp(CC.java:192)
at org.emoflon.ibex.tgg.operational.strategies.OperationalStrategy.run(OperationalStrategy.java:318)
at testsuite.ibex.performance.run.PerformanceTest.timedExecution(PerformanceTest.java:41)
at testsuite.ibex.performance.run.PerformanceTest.lambda$1(PerformanceTest.java:72)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

EMF generator: Incompatibility with some of the test projects

Some of the test projects can not be compiled if the code generator is set to EMF (instead of SmartEMF):

  • Algorithms
  • Documents
  • FamiliesWithSiblings
  • TerraceHouses
  • Strategies
  • WoodenBlockSet

TODO: Set the Code Generator config in moflon.properties.xmi to SmartEMF and Enforced to true.

Test fails now and then

The test testsuite.ibex.ClassInhHier2DB_MA.sync.AlternatingSync.testAddSuperAttributeDeleteColumn fails now and then with a strange NPE. Would be nice to understand why, and decide if the test is worth "reparing", indicates an actual bug in our implementation, or is simply non-deterministic and should be deleted.

Use reset function to speed up slow tests

Especially for the tests that take so long, we can now use the newly implemented reset function of the engine to avoid a new init (which is what takes forever).

Please see VHDL tests to see how to do this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.