Преглед на файлове

Removed Hardcoded Test

master
Michal Maciejewski преди 9 години
родител
ревизия
63d403c79b
променени са 2 файла, в които са добавени 7 реда и са изтрити 3 реда
  1. 5
    1
      DocX/Table.cs
  2. 2
    2
      UnitTests/DocXUnitTests.cs

+ 5
- 1
DocX/Table.cs Целия файл

@@ -1677,7 +1677,11 @@ namespace Novacode
row.Cells[index].Xml.AddBeforeSelf(cell);
}
}
/// <summary>
/// Deletes a cell in a row
/// </summary>
/// <param name="rowIndex">index of the row you want to remove the cell</param>
/// <param name="celIndex">index of the cell you want to remove</param>
public void DeleteAndShiftCellsLeft(int rowIndex, int celIndex)
{

+ 2
- 2
UnitTests/DocXUnitTests.cs Целия файл

@@ -1417,7 +1417,7 @@ namespace UnitTests
}
[Test]
public void Test_Table_MergeRowMergedCellsWithColumnMergedCells()
public void Test_Table_MergedRowCellsMergedWithColumnMergedCells()
{
using (DocX document = DocX.Create(Path.Combine(_directoryDocuments, "Tables3.docx")))
{
@@ -1543,7 +1543,7 @@ namespace UnitTests
t1.InsertColumn(6, true);
t1.InsertColumn(6, true);
t1.InsertColumn(5, true);
document.SaveAs(@"C:\\Meh\\ThisTest.docx");
document.Save();
}
}

Loading…
Отказ
Запис