From: Eric C. <ecr...@us...> - 2006-06-22 20:28:28
|
User: ecrutchfield Date: 06/06/22 13:28:27 Modified: andromda-cs/src/test/expected cartridge-output.zip andromda-cs/src/test/uml CsCartridgeTestModel.xml.zip Added: andromda-cs/src/test/expected/org/andromda/cartridges/csharp SelfReferencingValueObject.cs TemplateTestVO.cs TestValueObject.cs RelatedValueObject.cs OrderedValueObject.cs TestIntEnumeration.cs TestEnumeration.cs Log: Add tests Revision Changes Path 1.1 cartridges/andromda-cs/src/test/expected/org/andromda/cartridges/csharp/SelfReferencingValueObject.cs Index: SelfReferencingValueObject.cs =================================================================== // Name: SelfReferencingValueObject.cs /** * Example license header for Cs files * * http://www.andromda.org/ */ // // Attention: Generated code! Do not modify by hand! // Generated by: ValueObject.vsl in andromda-cs-cartridge. using System; namespace org.andromda.cartridges.csharp { /// <summary> /// /// </summary> [Serializable] public class SelfReferencingValueObject { // ----- Attributes and Associations ----- private org.andromda.cartridges.csharp.SelfReferencingValueObject reference; // ----- Constructors ----- public SelfReferencingValueObject() { } /// <summary> /// Copy constructor /// </summary> public SelfReferencingValueObject(SelfReferencingValueObject otherBean) { if (otherBean != null) { this.reference = otherBean.reference; } } // ----- Accessors ----- /// <summary> /// /// </summary> public org.andromda.cartridges.csharp.SelfReferencingValueObject Reference { get { return reference; } set { this.reference = value; } } // ValueObject.vsl merge-point } } 1.1 cartridges/andromda-cs/src/test/expected/org/andromda/cartridges/csharp/TemplateTestVO.cs Index: TemplateTestVO.cs =================================================================== // Name: TemplateTestVO.cs /** * Example license header for Cs files * * http://www.andromda.org/ */ // // Attention: Generated code! Do not modify by hand! // Generated by: ValueObject.vsl in andromda-cs-cartridge. using System; namespace org.andromda.cartridges.csharp { /// <summary> /// /// </summary> [Serializable] public class TemplateTestVO { // ----- Attributes and Associations ----- private int someAttribute; private org.andromda.cartridges.csharp.TemplateTestVO[] reference; // ----- Constructors ----- public TemplateTestVO() { } /// <summary> /// Constructor taking all properties. /// </summary> public TemplateTestVO( int someAttribute, org.andromda.cartridges.csharp.TemplateTestVO[] reference) { this.someAttribute = someAttribute; this.reference = reference; } /// <summary> /// Copy constructor /// </summary> public TemplateTestVO(TemplateTestVO otherBean) { if (otherBean != null) { this.someAttribute = otherBean.someAttribute; this.reference = otherBean.reference; } } // ----- Accessors ----- /// <summary> /// /// </summary> public int SomeAttribute { get { return someAttribute; } set { this.someAttribute = value; } } /// <summary> /// /// </summary> public org.andromda.cartridges.csharp.TemplateTestVO[] Reference { get { return reference; } set { this.reference = value; } } // ValueObject.vsl merge-point } } 1.1 cartridges/andromda-cs/src/test/expected/org/andromda/cartridges/csharp/TestValueObject.cs Index: TestValueObject.cs =================================================================== // Name: TestValueObject.cs /** * Example license header for Cs files * * http://www.andromda.org/ */ // // Attention: Generated code! Do not modify by hand! // Generated by: ValueObject.vsl in andromda-cs-cartridge. using System; namespace org.andromda.cartridges.csharp { /// <summary> /// <p> /// A test complex type. /// </p> /// </summary> [Serializable] public class TestValueObject { // ----- Attributes and Associations ----- private System.Collections.ICollection attributeOne; private int? attributeTwo; private org.andromda.cartridges.csharp.RelatedValueObject[] relatedValueObjects; private org.andromda.cartridges.csharp.OrderedValueObject[] orderedValueObjects; // ----- Constructors ----- public TestValueObject() { } /// <summary> /// Constructor taking all properties. /// </summary> public TestValueObject( System.Collections.ICollection attributeOne, int? attributeTwo, org.andromda.cartridges.csharp.RelatedValueObject[] relatedValueObjects, org.andromda.cartridges.csharp.OrderedValueObject[] orderedValueObjects) { this.attributeOne = attributeOne; this.attributeTwo = attributeTwo; this.relatedValueObjects = relatedValueObjects; this.orderedValueObjects = orderedValueObjects; } /// <summary> /// Copy constructor /// </summary> public TestValueObject(TestValueObject otherBean) { if (otherBean != null) { this.attributeOne = otherBean.attributeOne; this.attributeTwo = otherBean.attributeTwo; this.relatedValueObjects = otherBean.relatedValueObjects; this.orderedValueObjects = otherBean.orderedValueObjects; } } // ----- Accessors ----- /// <summary> /// /// </summary> public System.Collections.ICollection AttributeOne { get { return attributeOne; } set { this.attributeOne = value; } } /// <summary> /// /// </summary> public int? AttributeTwo { get { return attributeTwo; } set { this.attributeTwo = value; } } /// <summary> /// /// </summary> public org.andromda.cartridges.csharp.RelatedValueObject[] RelatedValueObjects { get { return relatedValueObjects; } set { this.relatedValueObjects = value; } } /// <summary> /// /// </summary> public org.andromda.cartridges.csharp.OrderedValueObject[] OrderedValueObjects { get { return orderedValueObjects; } set { this.orderedValueObjects = value; } } // ValueObject.vsl merge-point } } 1.1 cartridges/andromda-cs/src/test/expected/org/andromda/cartridges/csharp/RelatedValueObject.cs Index: RelatedValueObject.cs =================================================================== // Name: RelatedValueObject.cs /** * Example license header for Cs files * * http://www.andromda.org/ */ // // Attention: Generated code! Do not modify by hand! // Generated by: ValueObject.vsl in andromda-cs-cartridge. using System; namespace org.andromda.cartridges.csharp { /// <summary> /// /// </summary> [Serializable] public class RelatedValueObject { // ----- Attributes and Associations ----- private org.andromda.cartridges.csharp.TestSuperInterface1 oneAttribute; private org.andromda.cartridges.csharp.TestValueObject testValueObject; private org.andromda.cartridges.csharp.TestEnumeration testEnumeration; // ----- Constructors ----- public RelatedValueObject() { } /// <summary> /// Constructor taking all properties. /// </summary> public RelatedValueObject( org.andromda.cartridges.csharp.TestSuperInterface1 oneAttribute, org.andromda.cartridges.csharp.TestValueObject testValueObject, org.andromda.cartridges.csharp.TestEnumeration testEnumeration) { this.oneAttribute = oneAttribute; this.testValueObject = testValueObject; this.testEnumeration = testEnumeration; } /// <summary> /// Copy constructor /// </summary> public RelatedValueObject(RelatedValueObject otherBean) { if (otherBean != null) { this.oneAttribute = otherBean.oneAttribute; this.testValueObject = otherBean.testValueObject; this.testEnumeration = otherBean.testEnumeration; } } // ----- Accessors ----- /// <summary> /// /// </summary> public org.andromda.cartridges.csharp.TestSuperInterface1 OneAttribute { get { return oneAttribute; } set { this.oneAttribute = value; } } /// <summary> /// /// </summary> public org.andromda.cartridges.csharp.TestValueObject TestValueObject { get { return testValueObject; } set { this.testValueObject = value; } } /// <summary> /// /// </summary> public org.andromda.cartridges.csharp.TestEnumeration TestEnumeration { get { return testEnumeration; } set { this.testEnumeration = value; } } // ValueObject.vsl merge-point } } 1.1 cartridges/andromda-cs/src/test/expected/org/andromda/cartridges/csharp/OrderedValueObject.cs Index: OrderedValueObject.cs =================================================================== // Name: OrderedValueObject.cs /** * Example license header for Cs files * * http://www.andromda.org/ */ // // Attention: Generated code! Do not modify by hand! // Generated by: ValueObject.vsl in andromda-cs-cartridge. using System; namespace org.andromda.cartridges.csharp { /// <summary> /// /// </summary> [Serializable] public class OrderedValueObject { // ----- Attributes and Associations ----- private org.andromda.cartridges.csharp.TestValueObject testValueObject; // ----- Constructors ----- public OrderedValueObject() { } /// <summary> /// Constructor taking all properties. /// </summary> public OrderedValueObject( org.andromda.cartridges.csharp.TestValueObject testValueObject) { this.testValueObject = testValueObject; } /// <summary> /// Copy constructor /// </summary> public OrderedValueObject(OrderedValueObject otherBean) { if (otherBean != null) { this.testValueObject = otherBean.testValueObject; } } // ----- Accessors ----- /// <summary> /// /// </summary> public org.andromda.cartridges.csharp.TestValueObject TestValueObject { get { return testValueObject; } set { this.testValueObject = value; } } // ValueObject.vsl merge-point } } 1.1 cartridges/andromda-cs/src/test/expected/org/andromda/cartridges/csharp/TestIntEnumeration.cs Index: TestIntEnumeration.cs =================================================================== // Name: TestIntEnumeration.cs /** * Example license header for Cs files * * http://www.andromda.org/ */ // // Attention: Generated code! Do not modify by hand! // Generated by: Enumeration.vsl in andromda-cs-cartridge. using System; namespace org.andromda.cartridges.csharp { /// <summary> /// /// </summary> public enum TestIntEnumeration { ATTRIBUTE_ONE = 12, ATTRIBUTE_TWO = 14 // Enumeration.vsl merge-point } } 1.1 cartridges/andromda-cs/src/test/expected/org/andromda/cartridges/csharp/TestEnumeration.cs Index: TestEnumeration.cs =================================================================== // Name: TestEnumeration.cs /** * Example license header for Cs files * * http://www.andromda.org/ */ // // Attention: Generated code! Do not modify by hand! // Generated by: Enumeration.vsl in andromda-cs-cartridge. using System; namespace org.andromda.cartridges.csharp { /// <summary> /// /// </summary> public enum :Long TestEnumeration { TEST1 = 0, TEST2 = 1203212 // Enumeration.vsl merge-point } } 1.2 +25 -41 cartridges/andromda-cs/src/test/expected/cartridge-output.zip <<Binary file>> 1.2 +77 -37 cartridges/andromda-cs/src/test/uml/CsCartridgeTestModel.xml.zip <<Binary file>> |