-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[all] Refactor SofaTest to cut dependencies #471
Merged
guparan
merged 30 commits into
sofa-framework:master
from
SofaDefrost:moveTestToSofaKernel2
Nov 15, 2017
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
81e12e0
[SofaKernel] Add a base class for framework_test.
damienmarchal fcbb885
[SofaKernel] Add BaseTest & NumericTest in helper.
damienmarchal ae6c9be
[SofaKernel] Add in SofaSimulationGraph the base class for testing fu…
damienmarchal 640aabc
[SofaKernel] Update all the files in framework_test to use BaseTest o…
damienmarchal cbefd55
[SofaKernel] Move tests thats needs a simulation into frameworkextra_…
damienmarchal 244ab05
[SofaTest] Update so it now rely on helper/BaseTest & add deprecation…
damienmarchal 029be0f
[modules] add frameworkextra_test into CMakeLists.
damienmarchal b3a2ae4
[SofaGTestMain] Remove the dependency to SofaTest.
damienmarchal 54a2cb2
[SceneCreator] force loading of exernal component libraries (initComp…
damienmarchal 6b2d29b
[SofaKernel] Add SOFA_SIMULATION_GRAPH_API to BaseSimulationTest to a…
damienmarchal e9f0ab8
[packages] Add a packages for exposing all common components in a plu…
damienmarchal 2ca2be1
[SofaKernel] Add SimpleApi to create scene graph in a python like way.
damienmarchal ace7a3b
[BaseSimulation] Add a new way to create SceneInstance.
damienmarchal ba082bd
[SofaKernel] Updates the tests in simulation_test to remove the depen…
damienmarchal 1400e0f
[SceneCreator] Remove SimpleApi, it is now in SofaSimulationGraph
damienmarchal 22f77ea
[SceneCreator] Remove the dependency to SofaComponent* use the SofaAl…
damienmarchal 7d5b4c4
[SofaTest] Use the package SofaAllCommonComponents instead of using s…
damienmarchal 8e8d7a9
Merge remote-tracking branch 'upstream/master' into moveTestToSofaKer…
damienmarchal e588c70
[SofaTest] Add missing SOFA_TestPlugin_API
damienmarchal f7e1194
[SofaTest] Unify the SOFA_SOFATEST_API to be consistent with the rest…
damienmarchal f88a33c
[SofaKernel] Fix compilation problem because of linking issue.
damienmarchal e332328
[SofaMiscFem] Fix compilation problem because of linking issue.
damienmarchal ea80eea
Merge remote-tracking branch 'upstream/master' into moveTestToSofaKer…
damienmarchal 7d14652
[SofaKernel] remove framework_test/io/ImagePNG_test.cpp that poped-up…
damienmarchal 21a9456
[SofaTest] Repalce SOFA_TestPlugin_API to SOFA_SOFATEST_API to make i…
damienmarchal 7c3ae9d
[SofaTest] Remove the TestMessageHandler.cpp that is now useless.
damienmarchal 9bb2da5
Merge remote-tracking branch 'upstream/master' into moveTestToSofaKer…
damienmarchal 6904881
[CI] ADD: stop testing if unexpected crash occurs
guparan 116320c
[SofaTest] remove the link with gtest that cause the tests to crash.
damienmarchal 49b5071
[SofaFramework] Fix PluginManager_test & MeshVTKLoader_test that was …
damienmarchal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@damienmarchal could you explain why this folder has been created ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is that for the unit tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello Hugo,
Sure,
The goal of the PR is to cut the dependency between tests & core+modules. My problem was that modules are not plugins which was annoying to loose the dependency graph. So I decided to make plugin containing only the modules initialization so when you load the plugin the underlying modules get initialized properly. This is what packages/SofaAllCommonComponent is doing.
I created the folder packages to put this SofaAllCommonComponent to differentiate this from other real plugins that actually contains code.
Now, putting that in perspective I think this should and will be remove while we are moving toward the full pluginization and sofaNG re-organization.