| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629 |
- // Authors:
- // Rafael Mizrahi <[email protected]>
- // Erez Lotan <[email protected]>
- // Oren Gurfinkel <[email protected]>
- // Ofer Borstein
- //
- // Copyright (c) 2004 Mainsoft Co.
- //
- // Permission is hereby granted, free of charge, to any person obtaining
- // a copy of this software and associated documentation files (the
- // "Software"), to deal in the Software without restriction, including
- // without limitation the rights to use, copy, modify, merge, publish,
- // distribute, sublicense, and/or sell copies of the Software, and to
- // permit persons to whom the Software is furnished to do so, subject to
- // the following conditions:
- //
- // The above copyright notice and this permission notice shall be
- // included in all copies or substantial portions of the Software.
- //
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
- // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
- // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- //
- //------------------------------------------------------------------------------
- // <autogenerated>
- // This code was generated by a tool.
- // Runtime Version: 1.1.4322.573
- //
- // Changes to this file may cause incorrect behavior and will be lost if
- // the code is regenerated.
- // </autogenerated>
- //------------------------------------------------------------------------------
- namespace GHTUtils {
- using System;
- using System.Data;
- using System.Xml;
- using System.Runtime.Serialization;
-
-
- [Serializable()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Diagnostics.DebuggerStepThrough()]
- [System.ComponentModel.ToolboxItem(true)]
- public class GHTTestSuiteResult : DataSet {
-
- private TestSuiteResultsDataTable tableTestSuiteResults;
-
- private TestSuiteInfoDataTable tableTestSuiteInfo;
-
- public GHTTestSuiteResult() {
- this.InitClass();
- System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
- this.Tables.CollectionChanged += schemaChangedHandler;
- this.Relations.CollectionChanged += schemaChangedHandler;
- }
-
- protected GHTTestSuiteResult(SerializationInfo info, StreamingContext context) {
- string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
- if ((strSchema != null)) {
- DataSet ds = new DataSet();
- ds.ReadXmlSchema(new XmlTextReader(new System.IO.StringReader(strSchema)));
- if ((ds.Tables["TestSuiteResults"] != null)) {
- this.Tables.Add(new TestSuiteResultsDataTable(ds.Tables["TestSuiteResults"]));
- }
- if ((ds.Tables["TestSuiteInfo"] != null)) {
- this.Tables.Add(new TestSuiteInfoDataTable(ds.Tables["TestSuiteInfo"]));
- }
- this.DataSetName = ds.DataSetName;
- this.Prefix = ds.Prefix;
- this.Namespace = ds.Namespace;
- this.Locale = ds.Locale;
- this.CaseSensitive = ds.CaseSensitive;
- this.EnforceConstraints = ds.EnforceConstraints;
- this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
- this.InitVars();
- }
- else {
- this.InitClass();
- }
- this.GetSerializationData(info, context);
- System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
- this.Tables.CollectionChanged += schemaChangedHandler;
- this.Relations.CollectionChanged += schemaChangedHandler;
- }
-
- [System.ComponentModel.Browsable(false)]
- [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
- public TestSuiteResultsDataTable TestSuiteResults {
- get {
- return this.tableTestSuiteResults;
- }
- }
-
- [System.ComponentModel.Browsable(false)]
- [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
- public TestSuiteInfoDataTable TestSuiteInfo {
- get {
- return this.tableTestSuiteInfo;
- }
- }
-
- public override DataSet Clone() {
- GHTTestSuiteResult cln = ((GHTTestSuiteResult)(base.Clone()));
- cln.InitVars();
- return cln;
- }
-
- protected override bool ShouldSerializeTables() {
- return false;
- }
-
- protected override bool ShouldSerializeRelations() {
- return false;
- }
-
- protected override void ReadXmlSerializable(XmlReader reader) {
- this.Reset();
- DataSet ds = new DataSet();
- ds.ReadXml(reader);
- if ((ds.Tables["TestSuiteResults"] != null)) {
- this.Tables.Add(new TestSuiteResultsDataTable(ds.Tables["TestSuiteResults"]));
- }
- if ((ds.Tables["TestSuiteInfo"] != null)) {
- this.Tables.Add(new TestSuiteInfoDataTable(ds.Tables["TestSuiteInfo"]));
- }
- this.DataSetName = ds.DataSetName;
- this.Prefix = ds.Prefix;
- this.Namespace = ds.Namespace;
- this.Locale = ds.Locale;
- this.CaseSensitive = ds.CaseSensitive;
- this.EnforceConstraints = ds.EnforceConstraints;
- this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
- this.InitVars();
- }
-
- protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() {
- System.IO.MemoryStream stream = new System.IO.MemoryStream();
- this.WriteXmlSchema(new XmlTextWriter(stream, null));
- stream.Position = 0;
- return System.Xml.Schema.XmlSchema.Read(new XmlTextReader(stream), null);
- }
-
- internal void InitVars() {
- this.tableTestSuiteResults = ((TestSuiteResultsDataTable)(this.Tables["TestSuiteResults"]));
- if ((this.tableTestSuiteResults != null)) {
- this.tableTestSuiteResults.InitVars();
- }
- this.tableTestSuiteInfo = ((TestSuiteInfoDataTable)(this.Tables["TestSuiteInfo"]));
- if ((this.tableTestSuiteInfo != null)) {
- this.tableTestSuiteInfo.InitVars();
- }
- }
-
- private void InitClass() {
- this.DataSetName = "GHTTestSuiteResult";
- this.Prefix = "";
- this.Namespace = "http://www.mainsoft.com/GH/GHT/XMLSerializationTS/Result";
- this.Locale = new System.Globalization.CultureInfo("en-US");
- this.CaseSensitive = false;
- this.EnforceConstraints = true;
- this.tableTestSuiteResults = new TestSuiteResultsDataTable();
- this.Tables.Add(this.tableTestSuiteResults);
- this.tableTestSuiteInfo = new TestSuiteInfoDataTable();
- this.Tables.Add(this.tableTestSuiteInfo);
- }
-
- private bool ShouldSerializeTestSuiteResults() {
- return false;
- }
-
- private bool ShouldSerializeTestSuiteInfo() {
- return false;
- }
-
- private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {
- if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {
- this.InitVars();
- }
- }
-
- public delegate void TestSuiteResultsRowChangeEventHandler(object sender, TestSuiteResultsRowChangeEvent e);
-
- public delegate void TestSuiteInfoRowChangeEventHandler(object sender, TestSuiteInfoRowChangeEvent e);
-
- [System.Diagnostics.DebuggerStepThrough()]
- public class TestSuiteResultsDataTable : DataTable, System.Collections.IEnumerable {
-
- private DataColumn columnTestId;
-
- private DataColumn columnDescription;
-
- private DataColumn columnStatus;
-
- private DataColumn columnComment;
-
- private DataColumn columnStatusUrl;
-
- private DataColumn columnNetStatus;
-
- private DataColumn columnNetStatusUrl;
-
- private DataColumn columnNetMsg;
-
- private DataColumn columnNetExType;
-
- private DataColumn columnNetStack;
-
- private DataColumn columnNetInnerExType;
-
- private DataColumn columnNetInnerMsg;
-
- private DataColumn columnNetInnerstack;
-
- private DataColumn columnNetTestPhase;
-
- private DataColumn columnGHStatus;
-
- private DataColumn columnGHStatusUrl;
-
- private DataColumn columnGHExType;
-
- private DataColumn columnGHMsg;
-
- private DataColumn columnGHStack;
-
- private DataColumn columnGHInnerExType;
-
- private DataColumn columnGHInnerMsg;
-
- private DataColumn columnGHInnerStack;
-
- private DataColumn columnGHTestPhase;
-
- private DataColumn columnUserField1;
-
- private DataColumn columnUserField2;
-
- private DataColumn columnUserField3;
-
- internal TestSuiteResultsDataTable() :
- base("TestSuiteResults") {
- this.InitClass();
- }
-
- internal TestSuiteResultsDataTable(DataTable table) :
- base(table.TableName) {
- if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
- this.CaseSensitive = table.CaseSensitive;
- }
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
- this.Locale = table.Locale;
- }
- if ((table.Namespace != table.DataSet.Namespace)) {
- this.Namespace = table.Namespace;
- }
- this.Prefix = table.Prefix;
- this.MinimumCapacity = table.MinimumCapacity;
- this.DisplayExpression = table.DisplayExpression;
- }
-
- [System.ComponentModel.Browsable(false)]
- public int Count {
- get {
- return this.Rows.Count;
- }
- }
-
- internal DataColumn TestIdColumn {
- get {
- return this.columnTestId;
- }
- }
-
- internal DataColumn DescriptionColumn {
- get {
- return this.columnDescription;
- }
- }
-
- internal DataColumn StatusColumn {
- get {
- return this.columnStatus;
- }
- }
-
- internal DataColumn CommentColumn {
- get {
- return this.columnComment;
- }
- }
-
- internal DataColumn StatusUrlColumn {
- get {
- return this.columnStatusUrl;
- }
- }
-
- internal DataColumn NetStatusColumn {
- get {
- return this.columnNetStatus;
- }
- }
-
- internal DataColumn NetStatusUrlColumn {
- get {
- return this.columnNetStatusUrl;
- }
- }
-
- internal DataColumn NetMsgColumn {
- get {
- return this.columnNetMsg;
- }
- }
-
- internal DataColumn NetExTypeColumn {
- get {
- return this.columnNetExType;
- }
- }
-
- internal DataColumn NetStackColumn {
- get {
- return this.columnNetStack;
- }
- }
-
- internal DataColumn NetInnerExTypeColumn {
- get {
- return this.columnNetInnerExType;
- }
- }
-
- internal DataColumn NetInnerMsgColumn {
- get {
- return this.columnNetInnerMsg;
- }
- }
-
- internal DataColumn NetInnerstackColumn {
- get {
- return this.columnNetInnerstack;
- }
- }
-
- internal DataColumn NetTestPhaseColumn {
- get {
- return this.columnNetTestPhase;
- }
- }
-
- internal DataColumn GHStatusColumn {
- get {
- return this.columnGHStatus;
- }
- }
-
- internal DataColumn GHStatusUrlColumn {
- get {
- return this.columnGHStatusUrl;
- }
- }
-
- internal DataColumn GHExTypeColumn {
- get {
- return this.columnGHExType;
- }
- }
-
- internal DataColumn GHMsgColumn {
- get {
- return this.columnGHMsg;
- }
- }
-
- internal DataColumn GHStackColumn {
- get {
- return this.columnGHStack;
- }
- }
-
- internal DataColumn GHInnerExTypeColumn {
- get {
- return this.columnGHInnerExType;
- }
- }
-
- internal DataColumn GHInnerMsgColumn {
- get {
- return this.columnGHInnerMsg;
- }
- }
-
- internal DataColumn GHInnerStackColumn {
- get {
- return this.columnGHInnerStack;
- }
- }
-
- internal DataColumn GHTestPhaseColumn {
- get {
- return this.columnGHTestPhase;
- }
- }
-
- internal DataColumn UserField1Column {
- get {
- return this.columnUserField1;
- }
- }
-
- internal DataColumn UserField2Column {
- get {
- return this.columnUserField2;
- }
- }
-
- internal DataColumn UserField3Column {
- get {
- return this.columnUserField3;
- }
- }
-
- public TestSuiteResultsRow this[int index] {
- get {
- return ((TestSuiteResultsRow)(this.Rows[index]));
- }
- }
-
- public event TestSuiteResultsRowChangeEventHandler TestSuiteResultsRowChanged;
-
- public event TestSuiteResultsRowChangeEventHandler TestSuiteResultsRowChanging;
-
- public event TestSuiteResultsRowChangeEventHandler TestSuiteResultsRowDeleted;
-
- public event TestSuiteResultsRowChangeEventHandler TestSuiteResultsRowDeleting;
-
- public void AddTestSuiteResultsRow(TestSuiteResultsRow row) {
- this.Rows.Add(row);
- }
-
- public TestSuiteResultsRow AddTestSuiteResultsRow(
- string TestId,
- string Description,
- string Status,
- string Comment,
- string StatusUrl,
- string NetStatus,
- string NetStatusUrl,
- string NetMsg,
- string NetExType,
- string NetStack,
- string NetInnerExType,
- string NetInnerMsg,
- string NetInnerstack,
- string NetTestPhase,
- string GHStatus,
- string GHStatusUrl,
- string GHExType,
- string GHMsg,
- string GHStack,
- string GHInnerExType,
- string GHInnerMsg,
- string GHInnerStack,
- string GHTestPhase,
- string UserField1,
- string UserField2,
- string UserField3) {
- TestSuiteResultsRow rowTestSuiteResultsRow = ((TestSuiteResultsRow)(this.NewRow()));
- rowTestSuiteResultsRow.ItemArray = new object[] {
- TestId,
- Description,
- Status,
- Comment,
- StatusUrl,
- NetStatus,
- NetStatusUrl,
- NetMsg,
- NetExType,
- NetStack,
- NetInnerExType,
- NetInnerMsg,
- NetInnerstack,
- NetTestPhase,
- GHStatus,
- GHStatusUrl,
- GHExType,
- GHMsg,
- GHStack,
- GHInnerExType,
- GHInnerMsg,
- GHInnerStack,
- GHTestPhase,
- UserField1,
- UserField2,
- UserField3};
- this.Rows.Add(rowTestSuiteResultsRow);
- return rowTestSuiteResultsRow;
- }
-
- public System.Collections.IEnumerator GetEnumerator() {
- return this.Rows.GetEnumerator();
- }
-
- public override DataTable Clone() {
- TestSuiteResultsDataTable cln = ((TestSuiteResultsDataTable)(base.Clone()));
- cln.InitVars();
- return cln;
- }
-
- protected override DataTable CreateInstance() {
- return new TestSuiteResultsDataTable();
- }
-
- internal void InitVars() {
- this.columnTestId = this.Columns["TestId"];
- this.columnDescription = this.Columns["Description"];
- this.columnStatus = this.Columns["Status"];
- this.columnComment = this.Columns["Comment"];
- this.columnStatusUrl = this.Columns["StatusUrl"];
- this.columnNetStatus = this.Columns["NetStatus"];
- this.columnNetStatusUrl = this.Columns["NetStatusUrl"];
- this.columnNetMsg = this.Columns["NetMsg"];
- this.columnNetExType = this.Columns["NetExType"];
- this.columnNetStack = this.Columns["NetStack"];
- this.columnNetInnerExType = this.Columns["NetInnerExType"];
- this.columnNetInnerMsg = this.Columns["NetInnerMsg"];
- this.columnNetInnerstack = this.Columns["NetInnerstack"];
- this.columnNetTestPhase = this.Columns["NetTestPhase"];
- this.columnGHStatus = this.Columns["GHStatus"];
- this.columnGHStatusUrl = this.Columns["GHStatusUrl"];
- this.columnGHExType = this.Columns["GHExType"];
- this.columnGHMsg = this.Columns["GHMsg"];
- this.columnGHStack = this.Columns["GHStack"];
- this.columnGHInnerExType = this.Columns["GHInnerExType"];
- this.columnGHInnerMsg = this.Columns["GHInnerMsg"];
- this.columnGHInnerStack = this.Columns["GHInnerStack"];
- this.columnGHTestPhase = this.Columns["GHTestPhase"];
- this.columnUserField1 = this.Columns["UserField1"];
- this.columnUserField2 = this.Columns["UserField2"];
- this.columnUserField3 = this.Columns["UserField3"];
- }
-
- private void InitClass() {
- this.columnTestId = new DataColumn("TestId", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnTestId);
- this.columnDescription = new DataColumn("Description", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnDescription);
- this.columnStatus = new DataColumn("Status", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnStatus);
- this.columnComment = new DataColumn("Comment", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnComment);
- this.columnStatusUrl = new DataColumn("StatusUrl", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnStatusUrl);
- this.columnNetStatus = new DataColumn("NetStatus", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnNetStatus);
- this.columnNetStatusUrl = new DataColumn("NetStatusUrl", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnNetStatusUrl);
- this.columnNetMsg = new DataColumn("NetMsg", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnNetMsg);
- this.columnNetExType = new DataColumn("NetExType", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnNetExType);
- this.columnNetStack = new DataColumn("NetStack", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnNetStack);
- this.columnNetInnerExType = new DataColumn("NetInnerExType", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnNetInnerExType);
- this.columnNetInnerMsg = new DataColumn("NetInnerMsg", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnNetInnerMsg);
- this.columnNetInnerstack = new DataColumn("NetInnerstack", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnNetInnerstack);
- this.columnNetTestPhase = new DataColumn("NetTestPhase", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnNetTestPhase);
- this.columnGHStatus = new DataColumn("GHStatus", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnGHStatus);
- this.columnGHStatusUrl = new DataColumn("GHStatusUrl", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnGHStatusUrl);
- this.columnGHExType = new DataColumn("GHExType", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnGHExType);
- this.columnGHMsg = new DataColumn("GHMsg", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnGHMsg);
- this.columnGHStack = new DataColumn("GHStack", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnGHStack);
- this.columnGHInnerExType = new DataColumn("GHInnerExType", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnGHInnerExType);
- this.columnGHInnerMsg = new DataColumn("GHInnerMsg", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnGHInnerMsg);
- this.columnGHInnerStack = new DataColumn("GHInnerStack", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnGHInnerStack);
- this.columnGHTestPhase = new DataColumn("GHTestPhase", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnGHTestPhase);
- this.columnUserField1 = new DataColumn("UserField1", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnUserField1);
- this.columnUserField2 = new DataColumn("UserField2", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnUserField2);
- this.columnUserField3 = new DataColumn("UserField3", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnUserField3);
- this.columnTestId.AllowDBNull = false;
- this.columnStatus.AllowDBNull = false;
- }
-
- public TestSuiteResultsRow NewTestSuiteResultsRow() {
- return ((TestSuiteResultsRow)(this.NewRow()));
- }
-
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
- return new TestSuiteResultsRow(builder);
- }
-
- protected override System.Type GetRowType() {
- return typeof(TestSuiteResultsRow);
- }
-
- protected override void OnRowChanged(DataRowChangeEventArgs e) {
- base.OnRowChanged(e);
- if ((this.TestSuiteResultsRowChanged != null)) {
- this.TestSuiteResultsRowChanged(this, new TestSuiteResultsRowChangeEvent(((TestSuiteResultsRow)(e.Row)), e.Action));
- }
- }
-
- protected override void OnRowChanging(DataRowChangeEventArgs e) {
- base.OnRowChanging(e);
- if ((this.TestSuiteResultsRowChanging != null)) {
- this.TestSuiteResultsRowChanging(this, new TestSuiteResultsRowChangeEvent(((TestSuiteResultsRow)(e.Row)), e.Action));
- }
- }
-
- protected override void OnRowDeleted(DataRowChangeEventArgs e) {
- base.OnRowDeleted(e);
- if ((this.TestSuiteResultsRowDeleted != null)) {
- this.TestSuiteResultsRowDeleted(this, new TestSuiteResultsRowChangeEvent(((TestSuiteResultsRow)(e.Row)), e.Action));
- }
- }
-
- protected override void OnRowDeleting(DataRowChangeEventArgs e) {
- base.OnRowDeleting(e);
- if ((this.TestSuiteResultsRowDeleting != null)) {
- this.TestSuiteResultsRowDeleting(this, new TestSuiteResultsRowChangeEvent(((TestSuiteResultsRow)(e.Row)), e.Action));
- }
- }
-
- public void RemoveTestSuiteResultsRow(TestSuiteResultsRow row) {
- this.Rows.Remove(row);
- }
- }
-
- [System.Diagnostics.DebuggerStepThrough()]
- public class TestSuiteResultsRow : DataRow {
-
- private TestSuiteResultsDataTable tableTestSuiteResults;
-
- internal TestSuiteResultsRow(DataRowBuilder rb) :
- base(rb) {
- this.tableTestSuiteResults = ((TestSuiteResultsDataTable)(this.Table));
- }
-
- public string TestId {
- get {
- return ((string)(this[this.tableTestSuiteResults.TestIdColumn]));
- }
- set {
- this[this.tableTestSuiteResults.TestIdColumn] = value;
- }
- }
-
- public string Description {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.DescriptionColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.DescriptionColumn] = value;
- }
- }
-
- public string Status {
- get {
- return ((string)(this[this.tableTestSuiteResults.StatusColumn]));
- }
- set {
- this[this.tableTestSuiteResults.StatusColumn] = value;
- }
- }
-
- public string Comment {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.CommentColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.CommentColumn] = value;
- }
- }
-
- public string StatusUrl {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.StatusUrlColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.StatusUrlColumn] = value;
- }
- }
-
- public string NetStatus {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.NetStatusColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.NetStatusColumn] = value;
- }
- }
-
- public string NetStatusUrl {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.NetStatusUrlColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.NetStatusUrlColumn] = value;
- }
- }
-
- public string NetMsg {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.NetMsgColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.NetMsgColumn] = value;
- }
- }
-
- public string NetExType {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.NetExTypeColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.NetExTypeColumn] = value;
- }
- }
-
- public string NetStack {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.NetStackColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.NetStackColumn] = value;
- }
- }
-
- public string NetInnerExType {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.NetInnerExTypeColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.NetInnerExTypeColumn] = value;
- }
- }
-
- public string NetInnerMsg {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.NetInnerMsgColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.NetInnerMsgColumn] = value;
- }
- }
-
- public string NetInnerstack {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.NetInnerstackColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.NetInnerstackColumn] = value;
- }
- }
-
- public string NetTestPhase {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.NetTestPhaseColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.NetTestPhaseColumn] = value;
- }
- }
-
- public string GHStatus {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.GHStatusColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.GHStatusColumn] = value;
- }
- }
-
- public string GHStatusUrl {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.GHStatusUrlColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.GHStatusUrlColumn] = value;
- }
- }
-
- public string GHExType {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.GHExTypeColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.GHExTypeColumn] = value;
- }
- }
-
- public string GHMsg {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.GHMsgColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.GHMsgColumn] = value;
- }
- }
-
- public string GHStack {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.GHStackColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.GHStackColumn] = value;
- }
- }
-
- public string GHInnerExType {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.GHInnerExTypeColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.GHInnerExTypeColumn] = value;
- }
- }
-
- public string GHInnerMsg {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.GHInnerMsgColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.GHInnerMsgColumn] = value;
- }
- }
-
- public string GHInnerStack {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.GHInnerStackColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.GHInnerStackColumn] = value;
- }
- }
-
- public string GHTestPhase {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.GHTestPhaseColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.GHTestPhaseColumn] = value;
- }
- }
-
- public string UserField1 {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.UserField1Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.UserField1Column] = value;
- }
- }
-
- public string UserField2 {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.UserField2Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.UserField2Column] = value;
- }
- }
-
- public string UserField3 {
- get {
- try {
- return ((string)(this[this.tableTestSuiteResults.UserField3Column]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteResults.UserField3Column] = value;
- }
- }
-
- public bool IsDescriptionNull() {
- return this.IsNull(this.tableTestSuiteResults.DescriptionColumn);
- }
-
- public void SetDescriptionNull() {
- this[this.tableTestSuiteResults.DescriptionColumn] = System.Convert.DBNull;
- }
-
- public bool IsCommentNull() {
- return this.IsNull(this.tableTestSuiteResults.CommentColumn);
- }
-
- public void SetCommentNull() {
- this[this.tableTestSuiteResults.CommentColumn] = System.Convert.DBNull;
- }
-
- public bool IsStatusUrlNull() {
- return this.IsNull(this.tableTestSuiteResults.StatusUrlColumn);
- }
-
- public void SetStatusUrlNull() {
- this[this.tableTestSuiteResults.StatusUrlColumn] = System.Convert.DBNull;
- }
-
- public bool IsNetStatusNull() {
- return this.IsNull(this.tableTestSuiteResults.NetStatusColumn);
- }
-
- public void SetNetStatusNull() {
- this[this.tableTestSuiteResults.NetStatusColumn] = System.Convert.DBNull;
- }
-
- public bool IsNetStatusUrlNull() {
- return this.IsNull(this.tableTestSuiteResults.NetStatusUrlColumn);
- }
-
- public void SetNetStatusUrlNull() {
- this[this.tableTestSuiteResults.NetStatusUrlColumn] = System.Convert.DBNull;
- }
-
- public bool IsNetMsgNull() {
- return this.IsNull(this.tableTestSuiteResults.NetMsgColumn);
- }
-
- public void SetNetMsgNull() {
- this[this.tableTestSuiteResults.NetMsgColumn] = System.Convert.DBNull;
- }
-
- public bool IsNetExTypeNull() {
- return this.IsNull(this.tableTestSuiteResults.NetExTypeColumn);
- }
-
- public void SetNetExTypeNull() {
- this[this.tableTestSuiteResults.NetExTypeColumn] = System.Convert.DBNull;
- }
-
- public bool IsNetStackNull() {
- return this.IsNull(this.tableTestSuiteResults.NetStackColumn);
- }
-
- public void SetNetStackNull() {
- this[this.tableTestSuiteResults.NetStackColumn] = System.Convert.DBNull;
- }
-
- public bool IsNetInnerExTypeNull() {
- return this.IsNull(this.tableTestSuiteResults.NetInnerExTypeColumn);
- }
-
- public void SetNetInnerExTypeNull() {
- this[this.tableTestSuiteResults.NetInnerExTypeColumn] = System.Convert.DBNull;
- }
-
- public bool IsNetInnerMsgNull() {
- return this.IsNull(this.tableTestSuiteResults.NetInnerMsgColumn);
- }
-
- public void SetNetInnerMsgNull() {
- this[this.tableTestSuiteResults.NetInnerMsgColumn] = System.Convert.DBNull;
- }
-
- public bool IsNetInnerstackNull() {
- return this.IsNull(this.tableTestSuiteResults.NetInnerstackColumn);
- }
-
- public void SetNetInnerstackNull() {
- this[this.tableTestSuiteResults.NetInnerstackColumn] = System.Convert.DBNull;
- }
-
- public bool IsNetTestPhaseNull() {
- return this.IsNull(this.tableTestSuiteResults.NetTestPhaseColumn);
- }
-
- public void SetNetTestPhaseNull() {
- this[this.tableTestSuiteResults.NetTestPhaseColumn] = System.Convert.DBNull;
- }
-
- public bool IsGHStatusNull() {
- return this.IsNull(this.tableTestSuiteResults.GHStatusColumn);
- }
-
- public void SetGHStatusNull() {
- this[this.tableTestSuiteResults.GHStatusColumn] = System.Convert.DBNull;
- }
-
- public bool IsGHStatusUrlNull() {
- return this.IsNull(this.tableTestSuiteResults.GHStatusUrlColumn);
- }
-
- public void SetGHStatusUrlNull() {
- this[this.tableTestSuiteResults.GHStatusUrlColumn] = System.Convert.DBNull;
- }
-
- public bool IsGHExTypeNull() {
- return this.IsNull(this.tableTestSuiteResults.GHExTypeColumn);
- }
-
- public void SetGHExTypeNull() {
- this[this.tableTestSuiteResults.GHExTypeColumn] = System.Convert.DBNull;
- }
-
- public bool IsGHMsgNull() {
- return this.IsNull(this.tableTestSuiteResults.GHMsgColumn);
- }
-
- public void SetGHMsgNull() {
- this[this.tableTestSuiteResults.GHMsgColumn] = System.Convert.DBNull;
- }
-
- public bool IsGHStackNull() {
- return this.IsNull(this.tableTestSuiteResults.GHStackColumn);
- }
-
- public void SetGHStackNull() {
- this[this.tableTestSuiteResults.GHStackColumn] = System.Convert.DBNull;
- }
-
- public bool IsGHInnerExTypeNull() {
- return this.IsNull(this.tableTestSuiteResults.GHInnerExTypeColumn);
- }
-
- public void SetGHInnerExTypeNull() {
- this[this.tableTestSuiteResults.GHInnerExTypeColumn] = System.Convert.DBNull;
- }
-
- public bool IsGHInnerMsgNull() {
- return this.IsNull(this.tableTestSuiteResults.GHInnerMsgColumn);
- }
-
- public void SetGHInnerMsgNull() {
- this[this.tableTestSuiteResults.GHInnerMsgColumn] = System.Convert.DBNull;
- }
-
- public bool IsGHInnerStackNull() {
- return this.IsNull(this.tableTestSuiteResults.GHInnerStackColumn);
- }
-
- public void SetGHInnerStackNull() {
- this[this.tableTestSuiteResults.GHInnerStackColumn] = System.Convert.DBNull;
- }
-
- public bool IsGHTestPhaseNull() {
- return this.IsNull(this.tableTestSuiteResults.GHTestPhaseColumn);
- }
-
- public void SetGHTestPhaseNull() {
- this[this.tableTestSuiteResults.GHTestPhaseColumn] = System.Convert.DBNull;
- }
-
- public bool IsUserField1Null() {
- return this.IsNull(this.tableTestSuiteResults.UserField1Column);
- }
-
- public void SetUserField1Null() {
- this[this.tableTestSuiteResults.UserField1Column] = System.Convert.DBNull;
- }
-
- public bool IsUserField2Null() {
- return this.IsNull(this.tableTestSuiteResults.UserField2Column);
- }
-
- public void SetUserField2Null() {
- this[this.tableTestSuiteResults.UserField2Column] = System.Convert.DBNull;
- }
-
- public bool IsUserField3Null() {
- return this.IsNull(this.tableTestSuiteResults.UserField3Column);
- }
-
- public void SetUserField3Null() {
- this[this.tableTestSuiteResults.UserField3Column] = System.Convert.DBNull;
- }
- }
-
- [System.Diagnostics.DebuggerStepThrough()]
- public class TestSuiteResultsRowChangeEvent : EventArgs {
-
- private TestSuiteResultsRow eventRow;
-
- private DataRowAction eventAction;
-
- public TestSuiteResultsRowChangeEvent(TestSuiteResultsRow row, DataRowAction action) {
- this.eventRow = row;
- this.eventAction = action;
- }
-
- public TestSuiteResultsRow Row {
- get {
- return this.eventRow;
- }
- }
-
- public DataRowAction Action {
- get {
- return this.eventAction;
- }
- }
- }
-
- [System.Diagnostics.DebuggerStepThrough()]
- public class TestSuiteInfoDataTable : DataTable, System.Collections.IEnumerable {
-
- private DataColumn columnName;
-
- private DataColumn columnBuild;
-
- private DataColumn columnDescription;
-
- private DataColumn columnRunDate;
-
- private DataColumn columnRunBy;
-
- private DataColumn columnIsComparative;
-
- private DataColumn columnFileName;
-
- internal TestSuiteInfoDataTable() :
- base("TestSuiteInfo") {
- this.InitClass();
- }
-
- internal TestSuiteInfoDataTable(DataTable table) :
- base(table.TableName) {
- if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
- this.CaseSensitive = table.CaseSensitive;
- }
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
- this.Locale = table.Locale;
- }
- if ((table.Namespace != table.DataSet.Namespace)) {
- this.Namespace = table.Namespace;
- }
- this.Prefix = table.Prefix;
- this.MinimumCapacity = table.MinimumCapacity;
- this.DisplayExpression = table.DisplayExpression;
- }
-
- [System.ComponentModel.Browsable(false)]
- public int Count {
- get {
- return this.Rows.Count;
- }
- }
-
- internal DataColumn NameColumn {
- get {
- return this.columnName;
- }
- }
-
- internal DataColumn BuildColumn {
- get {
- return this.columnBuild;
- }
- }
-
- internal DataColumn DescriptionColumn {
- get {
- return this.columnDescription;
- }
- }
-
- internal DataColumn RunDateColumn {
- get {
- return this.columnRunDate;
- }
- }
-
- internal DataColumn RunByColumn {
- get {
- return this.columnRunBy;
- }
- }
-
- internal DataColumn IsComparativeColumn {
- get {
- return this.columnIsComparative;
- }
- }
-
- internal DataColumn FileNameColumn {
- get {
- return this.columnFileName;
- }
- }
-
- public TestSuiteInfoRow this[int index] {
- get {
- return ((TestSuiteInfoRow)(this.Rows[index]));
- }
- }
-
- public event TestSuiteInfoRowChangeEventHandler TestSuiteInfoRowChanged;
-
- public event TestSuiteInfoRowChangeEventHandler TestSuiteInfoRowChanging;
-
- public event TestSuiteInfoRowChangeEventHandler TestSuiteInfoRowDeleted;
-
- public event TestSuiteInfoRowChangeEventHandler TestSuiteInfoRowDeleting;
-
- public void AddTestSuiteInfoRow(TestSuiteInfoRow row) {
- this.Rows.Add(row);
- }
-
- public TestSuiteInfoRow AddTestSuiteInfoRow(string Name, string Build, string Description, string RunDate, string RunBy, bool IsComparative, string FileName) {
- TestSuiteInfoRow rowTestSuiteInfoRow = ((TestSuiteInfoRow)(this.NewRow()));
- rowTestSuiteInfoRow.ItemArray = new object[] {
- Name,
- Build,
- Description,
- RunDate,
- RunBy,
- IsComparative,
- FileName};
- this.Rows.Add(rowTestSuiteInfoRow);
- return rowTestSuiteInfoRow;
- }
-
- public System.Collections.IEnumerator GetEnumerator() {
- return this.Rows.GetEnumerator();
- }
-
- public override DataTable Clone() {
- TestSuiteInfoDataTable cln = ((TestSuiteInfoDataTable)(base.Clone()));
- cln.InitVars();
- return cln;
- }
-
- protected override DataTable CreateInstance() {
- return new TestSuiteInfoDataTable();
- }
-
- internal void InitVars() {
- this.columnName = this.Columns["Name"];
- this.columnBuild = this.Columns["Build"];
- this.columnDescription = this.Columns["Description"];
- this.columnRunDate = this.Columns["RunDate"];
- this.columnRunBy = this.Columns["RunBy"];
- this.columnIsComparative = this.Columns["IsComparative"];
- this.columnFileName = this.Columns["FileName"];
- }
-
- private void InitClass() {
- this.columnName = new DataColumn("Name", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnName);
- this.columnBuild = new DataColumn("Build", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnBuild);
- this.columnDescription = new DataColumn("Description", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnDescription);
- this.columnRunDate = new DataColumn("RunDate", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnRunDate);
- this.columnRunBy = new DataColumn("RunBy", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnRunBy);
- this.columnIsComparative = new DataColumn("IsComparative", typeof(bool), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnIsComparative);
- this.columnFileName = new DataColumn("FileName", typeof(string), null, System.Data.MappingType.Element);
- this.Columns.Add(this.columnFileName);
- }
-
- public TestSuiteInfoRow NewTestSuiteInfoRow() {
- return ((TestSuiteInfoRow)(this.NewRow()));
- }
-
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
- return new TestSuiteInfoRow(builder);
- }
-
- protected override System.Type GetRowType() {
- return typeof(TestSuiteInfoRow);
- }
-
- protected override void OnRowChanged(DataRowChangeEventArgs e) {
- base.OnRowChanged(e);
- if ((this.TestSuiteInfoRowChanged != null)) {
- this.TestSuiteInfoRowChanged(this, new TestSuiteInfoRowChangeEvent(((TestSuiteInfoRow)(e.Row)), e.Action));
- }
- }
-
- protected override void OnRowChanging(DataRowChangeEventArgs e) {
- base.OnRowChanging(e);
- if ((this.TestSuiteInfoRowChanging != null)) {
- this.TestSuiteInfoRowChanging(this, new TestSuiteInfoRowChangeEvent(((TestSuiteInfoRow)(e.Row)), e.Action));
- }
- }
-
- protected override void OnRowDeleted(DataRowChangeEventArgs e) {
- base.OnRowDeleted(e);
- if ((this.TestSuiteInfoRowDeleted != null)) {
- this.TestSuiteInfoRowDeleted(this, new TestSuiteInfoRowChangeEvent(((TestSuiteInfoRow)(e.Row)), e.Action));
- }
- }
-
- protected override void OnRowDeleting(DataRowChangeEventArgs e) {
- base.OnRowDeleting(e);
- if ((this.TestSuiteInfoRowDeleting != null)) {
- this.TestSuiteInfoRowDeleting(this, new TestSuiteInfoRowChangeEvent(((TestSuiteInfoRow)(e.Row)), e.Action));
- }
- }
-
- public void RemoveTestSuiteInfoRow(TestSuiteInfoRow row) {
- this.Rows.Remove(row);
- }
- }
-
- [System.Diagnostics.DebuggerStepThrough()]
- public class TestSuiteInfoRow : DataRow {
-
- private TestSuiteInfoDataTable tableTestSuiteInfo;
-
- internal TestSuiteInfoRow(DataRowBuilder rb) :
- base(rb) {
- this.tableTestSuiteInfo = ((TestSuiteInfoDataTable)(this.Table));
- }
-
- public string Name {
- get {
- try {
- return ((string)(this[this.tableTestSuiteInfo.NameColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteInfo.NameColumn] = value;
- }
- }
-
- public string Build {
- get {
- try {
- return ((string)(this[this.tableTestSuiteInfo.BuildColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteInfo.BuildColumn] = value;
- }
- }
-
- public string Description {
- get {
- try {
- return ((string)(this[this.tableTestSuiteInfo.DescriptionColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteInfo.DescriptionColumn] = value;
- }
- }
-
- public string RunDate {
- get {
- try {
- return ((string)(this[this.tableTestSuiteInfo.RunDateColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteInfo.RunDateColumn] = value;
- }
- }
-
- public string RunBy {
- get {
- try {
- return ((string)(this[this.tableTestSuiteInfo.RunByColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteInfo.RunByColumn] = value;
- }
- }
-
- public bool IsComparative {
- get {
- try {
- return ((bool)(this[this.tableTestSuiteInfo.IsComparativeColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteInfo.IsComparativeColumn] = value;
- }
- }
-
- public string FileName {
- get {
- try {
- return ((string)(this[this.tableTestSuiteInfo.FileNameColumn]));
- }
- catch (InvalidCastException e) {
- throw new StrongTypingException("Cannot get value because it is DBNull.", e);
- }
- }
- set {
- this[this.tableTestSuiteInfo.FileNameColumn] = value;
- }
- }
-
- public bool IsNameNull() {
- return this.IsNull(this.tableTestSuiteInfo.NameColumn);
- }
-
- public void SetNameNull() {
- this[this.tableTestSuiteInfo.NameColumn] = System.Convert.DBNull;
- }
-
- public bool IsBuildNull() {
- return this.IsNull(this.tableTestSuiteInfo.BuildColumn);
- }
-
- public void SetBuildNull() {
- this[this.tableTestSuiteInfo.BuildColumn] = System.Convert.DBNull;
- }
-
- public bool IsDescriptionNull() {
- return this.IsNull(this.tableTestSuiteInfo.DescriptionColumn);
- }
-
- public void SetDescriptionNull() {
- this[this.tableTestSuiteInfo.DescriptionColumn] = System.Convert.DBNull;
- }
-
- public bool IsRunDateNull() {
- return this.IsNull(this.tableTestSuiteInfo.RunDateColumn);
- }
-
- public void SetRunDateNull() {
- this[this.tableTestSuiteInfo.RunDateColumn] = System.Convert.DBNull;
- }
-
- public bool IsRunByNull() {
- return this.IsNull(this.tableTestSuiteInfo.RunByColumn);
- }
-
- public void SetRunByNull() {
- this[this.tableTestSuiteInfo.RunByColumn] = System.Convert.DBNull;
- }
-
- public bool IsIsComparativeNull() {
- return this.IsNull(this.tableTestSuiteInfo.IsComparativeColumn);
- }
-
- public void SetIsComparativeNull() {
- this[this.tableTestSuiteInfo.IsComparativeColumn] = System.Convert.DBNull;
- }
-
- public bool IsFileNameNull() {
- return this.IsNull(this.tableTestSuiteInfo.FileNameColumn);
- }
-
- public void SetFileNameNull() {
- this[this.tableTestSuiteInfo.FileNameColumn] = System.Convert.DBNull;
- }
- }
-
- [System.Diagnostics.DebuggerStepThrough()]
- public class TestSuiteInfoRowChangeEvent : EventArgs {
-
- private TestSuiteInfoRow eventRow;
-
- private DataRowAction eventAction;
-
- public TestSuiteInfoRowChangeEvent(TestSuiteInfoRow row, DataRowAction action) {
- this.eventRow = row;
- this.eventAction = action;
- }
-
- public TestSuiteInfoRow Row {
- get {
- return this.eventRow;
- }
- }
-
- public DataRowAction Action {
- get {
- return this.eventAction;
- }
- }
- }
- }
- }
|