Beispiel #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Before public void parseModel()
        public virtual void parseModel()
        {
            modelParser = new TestModelParser();
            string testXml         = this.GetType().Name + ".xml";
            Stream testXmlAsStream = this.GetType().getResourceAsStream(testXml);

            modelInstance = modelParser.parseModelFromStream(testXmlAsStream);
            wanda         = modelInstance.getModelElementById("wanda");
            flipper       = modelInstance.getModelElementById("flipper");
        }
Beispiel #2
0
 public ChildElementCollectionTest(string testName, ModelInstance testModelInstance, AbstractModelParser modelParser) : base(testName, testModelInstance, modelParser)
 {
 }
Beispiel #3
0
 public DomTest(string testName, ModelInstance testModelInstance, AbstractModelParser modelParser) : base(testName, testModelInstance, modelParser)
 {
 }
Beispiel #4
0
 public AlternativeNsTest(string testName, ModelInstance testModelInstance, AbstractModelParser modelParser) : base(testName, testModelInstance, modelParser)
 {
 }
Beispiel #5
0
 public ModelElementInstanceTest(string testName, ModelInstance testModelInstance, AbstractModelParser modelParser) : base(testName, testModelInstance, modelParser)
 {
 }
Beispiel #6
0
 public FlyingAnimalTest(string testName, ModelInstance testModelInstance, AbstractModelParser modelParser) : base(testName, testModelInstance, modelParser)
 {
 }
Beispiel #7
0
 public TestModelTest(string testName, ModelInstance testModelInstance, AbstractModelParser modelParser)
 {
     this.testName          = testName;
     this.testModelInstance = testModelInstance;
     this.modelParser       = modelParser;
 }