Ejemplo n.º 1
0
 private void btnDoIt_Click(object sender, EventArgs e)
 {
     _mySession = new SprajaxSession(this.txtUrl.Text, this.txtDbConnString.Text, this.chkStoreAll.Checked);
     this.btnFootprint.Enabled = false;
     _mySession.RunFootprint();
     this.btnFuzz.Enabled = true;
 }
Ejemplo n.º 2
0
        public SessionResultsForm(Sprajax.Engine.SprajaxSession mySession)
        {
            this._mySession = mySession;
            InitializeComponent();

            this.lblBaseUri.Text = _mySession.BaseURL;

            foreach (Uri u in _mySession.JavaScriptURLs.Keys)
            {
                this.lstJavaScript.Items.Add(u.AbsoluteUri);
            }

            foreach (Framework f in _mySession.Frameworks.Keys)
            {
                this.lstFrameworks.Items.Add(f.ToString());
            }

            foreach (Uri u in _mySession.WebServicesCollections.Keys)
            {
                this.lstWebServiceEndpoint.Items.Add(u.AbsoluteUri);
            }

            this.dgCalls.AutoGenerateColumns = true;
            this.dgCalls.DataSource          = _mySession.Results;
            this.dgCalls.DataMember          = "results";
        }