Sha256: 34eb9dd06400b856e3892dbe96aaf6ad7a1287d75c65bc58a438586c197fe9f3

Contents?: true

Size: 1.08 KB

Versions: 224

Compression:

Stored size: 1.08 KB

Contents

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

require 'test/unit'
require 'rgen/environment'
require 'metamodels/uml13_metamodel'
require 'ea_support/ea_support'
require 'transformers/uml13_to_ecore'
require 'testmodel/class_model_checker'
require 'testmodel/object_model_checker'
require 'testmodel/ecore_model_checker'

class EAInstantiatorTest < Test::Unit::TestCase

    include Testmodel::ClassModelChecker
    include Testmodel::ObjectModelChecker
    include Testmodel::ECoreModelChecker
    
	MODEL_DIR = File.join(File.dirname(__FILE__),"testmodel")
		
	def test_instantiator
		envUML = RGen::Environment.new
    EASupport.instantiateUML13FromXMI11(envUML, MODEL_DIR+"/ea_testmodel.xml") 
    checkClassModel(envUML)
    checkObjectModel(envUML)
    envECore = RGen::Environment.new
    UML13ToECore.new(envUML, envECore).transform
    checkECoreModel(envECore)
	end
	
	def test_partial
		envUML = RGen::Environment.new
    EASupport.instantiateUML13FromXMI11(envUML, MODEL_DIR+"/ea_testmodel_partial.xml") 
		checkClassModelPartial(envUML)
	end
end

Version data entries

224 entries across 224 versions & 3 rubygems

Version Path
puppet-4.8.1-x64-mingw32 lib/puppet/vendor/rgen/test/ea_instantiator_test.rb
puppet-4.8.1-universal-darwin lib/puppet/vendor/rgen/test/ea_instantiator_test.rb
puppet-4.8.0 lib/puppet/vendor/rgen/test/ea_instantiator_test.rb
puppet-4.8.0-x86-mingw32 lib/puppet/vendor/rgen/test/ea_instantiator_test.rb
puppet-4.8.0-x64-mingw32 lib/puppet/vendor/rgen/test/ea_instantiator_test.rb
puppet-4.8.0-universal-darwin lib/puppet/vendor/rgen/test/ea_instantiator_test.rb
rgen-0.8.2 test/ea_instantiator_test.rb
puppet-retrospec-1.2.1 vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/ea_instantiator_test.rb
puppet-retrospec-1.2.0 vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/ea_instantiator_test.rb
puppet-4.7.0 lib/puppet/vendor/rgen/test/ea_instantiator_test.rb
puppet-4.7.0-x86-mingw32 lib/puppet/vendor/rgen/test/ea_instantiator_test.rb
puppet-4.7.0-x64-mingw32 lib/puppet/vendor/rgen/test/ea_instantiator_test.rb
puppet-4.7.0-universal-darwin lib/puppet/vendor/rgen/test/ea_instantiator_test.rb
puppet-4.6.2 lib/puppet/vendor/rgen/test/ea_instantiator_test.rb
puppet-4.6.2-x86-mingw32 lib/puppet/vendor/rgen/test/ea_instantiator_test.rb
puppet-4.6.2-x64-mingw32 lib/puppet/vendor/rgen/test/ea_instantiator_test.rb
puppet-4.6.2-universal-darwin lib/puppet/vendor/rgen/test/ea_instantiator_test.rb
puppet-4.6.1-x86-mingw32 lib/puppet/vendor/rgen/test/ea_instantiator_test.rb
puppet-4.6.1 lib/puppet/vendor/rgen/test/ea_instantiator_test.rb
puppet-4.6.1-x64-mingw32 lib/puppet/vendor/rgen/test/ea_instantiator_test.rb