Example #1
0
        private void buttonLaunchAUT_Click(object sender, EventArgs e)
        {
            string path     = "..\\..\\..\\AppUnderTest\\bin\\Debug\\AppUnderTest.exe";
            string formName = "AppUnderTest.MainForm";

            _AUTMainForm = InProcess.Launch(path, formName, new object [] { "nikos" });
        }
Example #2
0
        public SoapMetadataSet(InProcess.InProcessMetadata inProcessMetadata, ServerObjects.Metadata serviceMetadata)
        {
            MapManager = inProcessMetadata.MapManager;
            ServiceMetadata = serviceMetadata;

            Id = serviceMetadata.MetadataId;
            Name = inProcessMetadata.Name;
            Value = inProcessMetadata.Value;
            Node = inProcessMetadata.Node;
            Relationship = inProcessMetadata.Relationship;
            ConnectionType = inProcessMetadata.ConnectionType;

            InProcessMetadata = inProcessMetadata;
        }
Example #3
0
        public SoapNode(InProcess.InProcessNode inProcessNode, ServerObjects.Node serviceNode)
        {
            ServiceNode = serviceNode;
            InProcessNode = inProcessNode;

            Id = serviceNode.NodeUid;
            DomainId = inProcessNode.DomainId;
            RootMapId = inProcessNode.RootMapId;
            OriginalId = inProcessNode.OriginalId;
            NodeType = inProcessNode.NodeType;
            Status = Proxy.LoadState.Full;

            MapManager = inProcessNode.MapManager;
            Relationships = inProcessNode.Relationships;
            Metadata = inProcessNode.Metadata;
        }
Example #4
0
        public SoapRelationship(InProcess.InProcessRelationship inProcessRelationship, ServerObjects.Relationship serviceRelationship)
        {
            ServiceRelationship = serviceRelationship;
            InProcessRelationship = inProcessRelationship;

            Id = serviceRelationship.RelationshipUid;
            DomainId = inProcessRelationship.DomainId;
            RootMapId = inProcessRelationship.RootMapId;
            OriginalId = inProcessRelationship.OriginalId;
            RelationshipType = inProcessRelationship.RelationshipType;
            Status = LoadState.Full;

            MapManager = inProcessRelationship.MapManager;
            Nodes = inProcessRelationship.Nodes;
            Metadata = inProcessRelationship.Metadata;
        }
Example #5
0
        private void button1_Click(object sender, EventArgs e)
        {
            //var pt = new Point(10, 10);
            //InProcess.SetFormPropertyValue(_AUTMainForm, "Location", pt);
            var text = InProcess.GetControlPropertyValue(_AUTMainForm, "textOutput", "Text");

            InProcess.SetControlPropertyValue(_AUTMainForm, "textOutput", "Text", "text set from test harness, previous text was " + text);
            var enabled = InProcess.GetControlPropertyValue(_AUTMainForm, "buttonGenerateAllCombinations", "Enabled");

            var ret  = InProcess.InvokeMethod(_AUTMainForm, "buttonGenerateAll_Click", new object[] { null, EventArgs.Empty });
            var ret2 = InProcess.InvokeMethod(_AUTMainForm, "GetTestString", new object[] { });

            var text2 = InProcess.GetControlPropertyValue(_AUTMainForm, "textOutput", "Text");

            //Assert.Eaus(text2, "nikos");
            //var CardsGrid
            //Asser(CardsGrid.lin1.cell2, "pistotiki")
        }
 public DelayedRelationshipActions(InProcess.InProcessRelationship relationshipContext)
 {
     RelationshipContext = relationshipContext;
 }
Example #7
0
 public DelayedNodeActions(InProcess.InProcessNode nodeContext)
 {
     NodeContext = nodeContext;
 }
 public DelayedMetadataActions(InProcess.InProcessMetadata metadataContext)
 {
     MetadataContext = metadataContext;
 }