Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[papyrus-rt-dev] Test models

Hello team. 

Is anyone other than us (working on codegen) using the models under models/tests?

I'd like to reorganize these tests, and I've pushed change 77856 to gerrit with my proposed reorganization. Are there any objections to this? The folders are described below. We could add folders to deal with tooling, validation or migration as well. Any thoughts?

Models are now organized into several sub-folders within models/tests:


* executable: this should contain models which are "complete" in the sense that they correctly generate code which compiles and executes.


* codepattern: this contains models that are not necessarily intended to generate executable code, but rather they are intended to test the output produced by the code generator. It is split into the following sub-folders:

- general: contains models that deal with general features, such as different kinds of inter-element references and dependencies.

- structure: contains models that exercise the structural code generators (Capsules, Protocols)

- statemach: contains models that exercise the state machine generator

- rtcppproperties: contains models that exercise the RtCppProperties generation profile


* deprecated: contains older models that may have errors


* other: contains models not classified in the above hierarchy.




--
Ernesto Posse
Zeligsoft

Back to the top