Sha256: 8b7318fcf02bd1d64b53183e2680843656b6448684de923b273a3eff60f01ffd
Contents?: true
Size: 734 Bytes
Versions: 5
Compression:
Stored size: 734 Bytes
Contents
$:.unshift File.join(File.dirname(__FILE__),"..","lib") require 'minitest/autorun' require 'rgen/environment' require 'metamodels/uml13_metamodel' require 'ea_support/ea_support' require 'rgen/serializer/xmi11_serializer' class EASerializerTest < MiniTest::Test MODEL_DIR = File.join(File.dirname(__FILE__),"testmodel") TEST_DIR = File.join(File.dirname(__FILE__),"ea_serializer_test") def test_serializer envUML = RGen::Environment.new EASupport.instantiateUML13FromXMI11(envUML, MODEL_DIR+"/ea_testmodel.xml") models = envUML.find(:class => UML13::Model) assert_equal 1, models.size EASupport.serializeUML13ToXMI11(envUML, MODEL_DIR+"/ea_testmodel_regenerated.xml") end end
Version data entries
5 entries across 5 versions & 1 rubygems