Scribus
Open source desktop publishing at your fingertips
test_tables.TableTests Class Reference

Public Member Functions

def __init__ (self)
 
def test_construction (self)
 
def test_insert_rows (self)
 
def test_remove_rows (self)
 
def test_insert_columns (self)
 
def test_remove_columns (self)
 
def test_resize_table_row (self)
 
def test_resize_table_column (self)
 
def test_merge_cells (self)
 
def check_spans (self, area, expected_row_span, expected_column_span, table)
 

Public Attributes

 defaultBorderWidth
 

Member Function Documentation

def test_tables.TableTests.check_spans (   self,
  area,
  expected_row_span,
  expected_column_span,
  table 
)
Utility method for cell span checking.

Given a table and an area of cells as a set of (row, column) tuples, checks
that getCellRowSpan(...) returns expected_row_span and getCellColumnSpan(...)
returns expected_column_span for every cell in the area, and that they both
return 1 for each cell in the table that is outside the area.
def test_tables.TableTests.test_construction (   self)
Test for createTable(...) 
def test_tables.TableTests.test_insert_columns (   self)
Test for insertTableColumns(...) 
def test_tables.TableTests.test_insert_rows (   self)
Test for insertTableRows(...) 
def test_tables.TableTests.test_merge_cells (   self)
Test for mergeTableCells(...) 
def test_tables.TableTests.test_remove_columns (   self)
Test for removeTableColumns(...) 
def test_tables.TableTests.test_remove_rows (   self)
Test for removeTableRows(...) 
def test_tables.TableTests.test_resize_table_column (   self)
Test for resizeTableColumn(...) 
def test_tables.TableTests.test_resize_table_row (   self)
Test for resizeTableRow(...) 

The documentation for this class was generated from the following file: