#!/bin/bash
#
# Test that the savediagram script runs at least in some way
#
python ../../../coral-start.py savediagram -t ps AssociationWithLabels.xmi 'Class Diagram_1'
python ../../../coral-start.py savediagram -t svg+xml AssociationWithLabels.xmi 'Class Diagram_1'
python ../../../coral-start.py savediagram -t png AssociationWithLabels.xmi 'Class Diagram_1'

# Also remove them to avoid cluttering up the directory
rm AssociationWithLabels-Class\ Diagram_1.png
rm AssociationWithLabels-Class\ Diagram_1.ps
rm AssociationWithLabels-Class\ Diagram_1.svg\+xml
