root/gaphor/tags/gaphor-0.2.0/tests/model-consistency.sh

Revision 110, 309 bytes (checked in by arjanmol, 6 years ago)

Temp commit, not stable at all

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1 #!/bin/bash
2
3 # Check the consistency of the model by setting a value in every field
4
5 cat > testlist.py << EOF
6 from gaphor.UML import *
7
8 testlist = [
9 `cat ../gaphor/UML/modelelements.py | grep '^class' | grep -v 'Enumeration_' | sed 's/class \([a-zA-Z_0-9]*\).*/    \1,/g'`
10 ]
11 EOF
12
13 python model-consistency.py
14
Note: See TracBrowser for help on using the browser.