public void AddedRowAppearsAsChange() { FeatureDataTable table = new FeatureDataTable(); FeatureDataRow row = table.NewRow(); table.AddRow(row); FeatureDataTable changes = table.GetChanges(); Assert.AreEqual(1, changes.FeatureCount); }
public void AcceptChangesReturnsNullChangesTable() { FeatureDataTable table = new FeatureDataTable(); FeatureDataRow row = table.NewRow(); table.AddRow(row); table.AcceptChanges(); FeatureDataTable changes = table.GetChanges(); Assert.IsNull(changes); }
public void AddedRowAppearsAsChange() { FeatureDataTable table = new FeatureDataTable(_factories.GeoFactory); FeatureDataRow row = table.NewRow(); table.AddRow(row); FeatureDataTable changes = table.GetChanges(); Assert.Equal(1, changes.FeatureCount); }
public void AcceptChangesReturnsNullChangesTable() { FeatureDataTable table = new FeatureDataTable(_factories.GeoFactory); FeatureDataRow row = table.NewRow(); table.AddRow(row); table.AcceptChanges(); FeatureDataTable changes = table.GetChanges(); Assert.Null(changes); }