Giter VIP home page Giter VIP logo

nmodel's Introduction

NModel

NModel fork from nmodel.codeplex.com

NModel is a model basded testing tool.

NModel hasn't changed in ages, but it still utilizes the .Net 2.0 and MSGlee for graph visualization.

This fork moves NModel to .Net 4.0 and builds against Microsft's now opensource version of AutomaticGraphLayout (the successor to GLEE which didn't use to be open source).

nmodel's People

Contributors

rassilon avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

nmodel's Issues

An action term created in the stepper reaches the model with modified arguments

From NModel Codeplex 3662 was worked around instead of fixed.

An action term created in the stepper and passed to the model from a class implementing the IStepper interface sometimes reaches the model with modified values. The action sometimes gets replaced in the WeakCache with an earlier instantiation of arguments. The error sometimes occurs on .Net but did not occur with the same code on Mono.

Sadly, the NModel issue doesn't have an example reproduction.

ct without logfile crashes at end

Issue 5158 from NModel.codeplex.com:

Run failed. Object reference not set to an instance of an object.
at NModel.Conformance.ConformanceTester.AddMetricsToEndOfLog() in c:\programs
\NModel\src\NModel\Conformance\ConformanceTesterMetrics.cs:line 70

AddMetricsToEndOfLog calls sw.WriteLine(")") but should use WriteLine(sw,")")

Create test wrappers for samples

Create test assemblies for the samples to ensure that all of the files continue to work as expected:

  • Bag
  • Chat
  • ClientServer
  • Composition
  • EmptyCoffeeMachine
  • FutureMarket
  • GML Examples
  • Graphics
  • NewsReader
  • NFA
  • Payroll
  • Reactive
  • RevisionControl
  • Robot
  • RPS
  • Scheduler
  • SP
  • Symmetries
  • WebApplication

NOTE: WebApplication's implementation is currently a PHP web app. ๐Ÿ˜ฆ

Upgrade Sample Solutions to VS 2013

The Sample solutions are currently .Net 2.0 old versions of the solutions, they need to be updated.

  • Bag
  • Chat
  • ClientServer
  • Composition
  • EmptyCoffeeMachine
  • FutureMarket
  • GML Examples
  • Graphics
  • NewsReader
  • NFA
  • Payroll
  • Reactive
  • RevisionControl
  • Robot
  • RPS
  • Scheduler
  • SP
  • Symmetries
  • WebApplication

mp2dot adds line break - bug?

From Nmodel issue 5152

I'm using mp2dot which was compiled by gmcs - Mono C# compiler version 2.4.2.3 on a Ubuntu Karmic Koala installation - Linux kernel 2.6.31.16: mp2dot /dot:editor.dot /r:Test.dll Editor.Factory.Create, where Test.dll was compiled by the same gmcs.

mp2dot doesn't throw any error. But:

The output file editor.dot then contains a line break which throws an error in the graphviz dot-tools dot, neato and also in xdot. (ErrorMessage.txt in the zip)

Might be minor but it seems to me to be a bug.

zip: Test.cs contains the model program, States.cs the state variable definitions referred to by Test.cs

State variables don't get updated when an object is deleted

From codeplex 3301:

I have noticed that state variables don't get updated when an object is deleted.
In the attached sample please check a state that comes after a removal of an Employee object, for instance node #66 (around the middle of the fsm). You can see that 'AllEmployees' only contains Employee(2) but 'myCompany' contains also Employee(1) and Employee(3).

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.