Example #1
0
        public ScenarioClass(AAAMemento semanticModelState)
        {
            this.semanticModel = new AAA(semanticModelState);
            this.semanticModelState = semanticModelState;
            this.scenario = new Semantics(this, semanticModel);
            this.specGenerator = new TextSpecGenerator();
            this.metadataParser = new TestMetadataParser(this);

            semanticModelState.Text = metadataParser.TranslateTestClassNameToText();
        }
Example #2
0
 public static ScenarioSpecialCase New(Object test, Action<Semantics> action)
 {
     var metadataParser = new TestMetadataParser(test);
     return New(test, metadataParser.TranslateTestClassNameToText(), action);
 }