Sha256: 566fa2097afe78b6ef07369556b1ece3cfcb41008a483efbd03a84f8dffea692

Contents?: true

Size: 733 Bytes

Versions: 224

Compression:

Stored size: 733 Bytes

Contents

$:.unshift File.join(File.dirname(__FILE__),"..","lib")

require 'test/unit'
require 'rgen/environment'
require 'metamodels/uml13_metamodel'
require 'ea_support/ea_support'
require 'rgen/serializer/xmi11_serializer'

class EASerializerTest < Test::Unit::TestCase

	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

224 entries across 224 versions & 3 rubygems

Version Path
puppet-4.10.12 lib/puppet/vendor/rgen/test/ea_serializer_test.rb
puppet-4.10.12-x86-mingw32 lib/puppet/vendor/rgen/test/ea_serializer_test.rb
puppet-4.10.12-x64-mingw32 lib/puppet/vendor/rgen/test/ea_serializer_test.rb
puppet-4.10.12-universal-darwin lib/puppet/vendor/rgen/test/ea_serializer_test.rb
puppet-4.10.11 lib/puppet/vendor/rgen/test/ea_serializer_test.rb
puppet-4.10.11-x86-mingw32 lib/puppet/vendor/rgen/test/ea_serializer_test.rb
puppet-4.10.11-x64-mingw32 lib/puppet/vendor/rgen/test/ea_serializer_test.rb
puppet-4.10.11-universal-darwin lib/puppet/vendor/rgen/test/ea_serializer_test.rb
puppet-4.10.10 lib/puppet/vendor/rgen/test/ea_serializer_test.rb
puppet-4.10.10-x86-mingw32 lib/puppet/vendor/rgen/test/ea_serializer_test.rb
puppet-4.10.10-x64-mingw32 lib/puppet/vendor/rgen/test/ea_serializer_test.rb
puppet-4.10.10-universal-darwin lib/puppet/vendor/rgen/test/ea_serializer_test.rb
puppet-4.10.9 lib/puppet/vendor/rgen/test/ea_serializer_test.rb
puppet-4.10.9-x86-mingw32 lib/puppet/vendor/rgen/test/ea_serializer_test.rb
puppet-4.10.9-x64-mingw32 lib/puppet/vendor/rgen/test/ea_serializer_test.rb
puppet-4.10.9-universal-darwin lib/puppet/vendor/rgen/test/ea_serializer_test.rb
puppet-retrospec-1.5.0 vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/ea_serializer_test.rb
puppet-4.10.8 lib/puppet/vendor/rgen/test/ea_serializer_test.rb
puppet-4.10.8-x86-mingw32 lib/puppet/vendor/rgen/test/ea_serializer_test.rb
puppet-4.10.8-x64-mingw32 lib/puppet/vendor/rgen/test/ea_serializer_test.rb