2018-09-28 00:25:27 +01:00
|
|
|
###############################################################################
|
|
|
|
#
|
|
|
|
# Tests for libxlsxwriter.
|
|
|
|
#
|
2020-01-12 12:59:31 +00:00
|
|
|
# Copyright 2014-2020, John McNamara, jmcnamara@cpan.org
|
2018-09-28 00:25:27 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
import base_test_class
|
|
|
|
|
|
|
|
class TestCompareXLSXFiles(base_test_class.XLSXBaseTest):
|
2020-08-21 21:06:24 +01:00
|
|
|
|
2018-09-28 00:25:27 +01:00
|
|
|
"""
|
|
|
|
Test file created with libxlsxwriter against a file created by Excel.
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
def test_rich_string01(self):
|
|
|
|
self.run_exe_test('test_rich_string01')
|
2018-09-29 01:36:33 +01:00
|
|
|
def test_rich_string02(self):
|
2020-08-21 21:06:24 +01:00
|
|
|
|
2018-09-29 01:36:33 +01:00
|
|
|
self.run_exe_test('test_rich_string02')
|
|
|
|
|
|
|
|
def test_rich_string03(self):
|
|
|
|
self.run_exe_test('test_rich_string03')
|
|
|
|
|
|
|
|
def test_rich_string04(self):
|
|
|
|
self.run_exe_test('test_rich_string04')
|
|
|
|
|
|
|
|
def test_rich_string05(self):
|
|
|
|
self.run_exe_test('test_rich_string05')
|
|
|
|
|
|
|
|
def test_rich_string06(self):
|
|
|
|
self.run_exe_test('test_rich_string06')
|
|
|
|
|
|
|
|
def test_rich_string07(self):
|
|
|
|
self.run_exe_test('test_rich_string07')
|
|
|
|
|
|
|
|
def test_rich_string08(self):
|
|
|
|
self.run_exe_test('test_rich_string08')
|
|
|
|
|
2018-10-01 21:30:32 +01:00
|
|
|
def test_rich_string09(self):
|
|
|
|
self.run_exe_test('test_rich_string09')
|
|
|
|
|
2018-09-29 01:36:33 +01:00
|
|
|
def test_rich_string10(self):
|
|
|
|
self.run_exe_test('test_rich_string10')
|
|
|
|
|
|
|
|
def test_rich_string11(self):
|
|
|
|
self.run_exe_test('test_rich_string11')
|
|
|
|
|
|
|
|
def test_rich_string12(self):
|
|
|
|
self.run_exe_test('test_rich_string12')
|
2020-08-21 21:06:24 +01:00
|
|
|
|
|
|
|
# Test the worksheet_rich_string_html() function.
|
|
|
|
def test_rich_string51(self):
|
|
|
|
self.run_exe_test('test_rich_string51', 'rich_string01.xlsx')
|
|
|
|
|
|
|
|
def test_rich_string55(self):
|
|
|
|
self.run_exe_test('test_rich_string55', 'rich_string05.xlsx')
|