| 12 | Tests for browser in JUnit tests: |
| 13 | 1. round trip tested [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/cna/CNAImporterTest.java] for cna-model (sigtoynet-test) in test-suite [source:/Promot/trunk/promot/kb/testsuite/CNA/sigtoynet-test/] |
| 14 | 2. round trip tested, see 5. test-model for export of modular models would be nice although no problems for export are known yet, right now only tested for diana (no scripts for DIVA yet) |
| 15 | 3. junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/test/CmdAddSubclassTest.java] |
| 16 | 4. junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/test/CmdDeleteTest.java] |
| 17 | 5. junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/PromotTest.java] |
| 18 | 6. junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/test/CmdCopyClassTest.java] |
| 19 | |
14 | | 1. success iff library isPresent (included in file so file changes might break the test), model class present as PromotTreeNode, [source:/Promot/trunk/promot/kb/SignalTransd/EGF-model/EGF-LOAD.mdl]; test contents of model/PromotTreeNode? |
15 | | 2. same as 1. with different library and model (toy-model) |
16 | | 3. tested with import + simulation of all biomodels.org models, TODO: test for correctness of simulation results |
17 | | 4. round trip tested [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/cna/CNAImporterTest.java] for cna-model (sigtoynet-test) in test-suite [source:/Promot/trunk/promot/kb/testsuite/CNA/sigtoynet-test/] |
18 | | 5. Save a model into mdl (selected, all), compare generated files to expected; depends on selection test (13), test round trip of load+save of example |
19 | | 6. Export egf-model to SBML, compare generated file with expected output (file content + simulation results), TODO: export should work (be tested) for all models in kb, which tool for simulation (scriptable required)? comparison of simulation results after SBML round trip |
20 | | 7. Export egf-model to Diana/Diva, compare generated file with expected output (file content + simulation results), TODO: export should work (be tested) for all models in kb |
21 | | 8. round trip tested, see 5. test-model for export of modular models would be nice although no problems for export are known yet, right now only tested for diana (no scripts for DIVA yet) |
22 | | 9. junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/test/CmdAddSubclassTest.java] |
23 | | 10. junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/test/CmdDeleteTest.java] |
24 | | 11. junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/PromotTest.java] |
25 | | 12. junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/test/CmdCopyClassTest.java] |
| 22 | 7. success iff library isPresent (included in file so file changes might break the test), model class present as PromotTreeNode, [source:/Promot/trunk/promot/kb/SignalTransd/EGF-model/EGF-LOAD.mdl]; test contents of model/PromotTreeNode? |
| 23 | 8. same as 1. with different library and model (toy-model) |
| 24 | 9. tested with import + simulation of all biomodels.org models, TODO: test for correctness of simulation results |
| 25 | 10. Save a model into mdl (selected, all), compare generated files to expected; depends on selection test (13), test round trip of load+save of example |
| 26 | 11. Export egf-model to SBML, compare generated file with expected output (file content + simulation results), TODO: export should work (be tested) for all models in kb, which tool for simulation (scriptable required)? comparison of simulation results after SBML round trip |
| 27 | 12. Export egf-model to Diana/Diva, compare generated file with expected output (file content + simulation results), TODO: export should work (be tested) for all models in kb |
31 | | 1. Start Visual Editor for a class |
32 | | 2. Start Visual Explorer for a class |
33 | | 3. ViewMathematicalModel (display of instance) |
34 | | 4. Exit with Dialog for modified in Editor + Browser (change properties, load, import) |
35 | | 5. Search class (+class for slot in class) dialog, model type is not important, so test with egf_model, [[br]] |
| 33 | 16. Start Visual Editor for a class |
| 34 | 17. Start Visual Explorer for a class |
| 35 | 18. ViewMathematicalModel (display of instance) |
| 36 | 19. Exit with Dialog for modified in Editor + Browser (change properties, load, import) |
| 37 | 20. Search class (+class for slot in class) dialog, model type is not important, so test with egf_model, [[br]] |