Discovery starting.
Discovery completed in 1 second, 896 milliseconds.
Run starting. Expected test count is: 198
Model2XlsxConversionsForCellBordersSpec:
Cell borders conversion
- should return no borders by default (22 milliseconds)
- should return user defined bottom border (104 milliseconds)
- should return user defined top border (9 milliseconds)
- should return user defined left border (18 milliseconds)
- should return user defined right border (27 milliseconds)
Model2XlsxConversionsForSheetSpec:
Sheet conversions
- should set sheet name to 'Sheet1' by default in empty workbook (6 milliseconds)
- should set sheet name to 'Sheet 3'in a workbook with already 2 sheets defined (42 milliseconds)
- should return defined name when set explicitly (10 milliseconds)
- should not have 1st column style by default (28 milliseconds)
- should have 1st column width when set with column without index (14 milliseconds)
- should have correct 1st and 2nd column style when set with column without index (39 milliseconds)
- should have 3rd column style when set with column with index (8 milliseconds)
- should have correct 4th and 6th column style when set with column without index (11 milliseconds)
- should not allow mixing columns with and without index (13 milliseconds)
- should not allow 2 columns with the same index (11 milliseconds)
- should have no rows by default (5 milliseconds)
- should have 1st row with initialized with row and without index (8 milliseconds)
- should have 1st and 2nd row with initialized with row and without index (6 milliseconds)
- should have 3rd row with initialized with row with index (6 milliseconds)
- should have 3rd and 5th row with initialized with row and index (7 milliseconds)
- should not allow duplicate row indexes (4 milliseconds)
- should not allow mixing indexed and non indexed rows (5 milliseconds)
Model2XlsxConversionsForCellStyleSpec:
Cell style conversion
- should return no borders by default (2 milliseconds)
- should return explicitly set borders (16 milliseconds)
- should return 'General' data format by default (3 milliseconds)
- should return 'yyyy-MM-dd' data format when set explicitly (2 milliseconds)
- should return 11pt Calibri font by default (1 millisecond)
- should return 14pt Arial when set explicitly (3 milliseconds)
- should return no fill pattern by default (2 milliseconds)
- should return 'Solid' fill pattern when explicitly set (3 milliseconds)
- should return no background or foreground color by default (0 milliseconds)
- should return red background and blue foreground color when explicitly set (8 milliseconds)
- should return 'General' horizontal alignment by default (2 milliseconds)
- should return 'Right' horizontal alignment when explicitly set (16 milliseconds)
- should return 'Bottom' vertical alignment by default (2 milliseconds)
- should return 'Top' vertical alignment when explicitly set (5 milliseconds)
- should return not hidden cell style by default (1 millisecond)
- should return not hidden cell style when explicitly set to false (4 milliseconds)
- should return hidden cell style when explicitly set to true (1 millisecond)
- should return no indention by default (1 millisecond)
- should return indention of 4 spaces when explicitly set (1 millisecond)
- should return locked cell by default (1 millisecond)
- should return unlocked cell when explicitly set to false (1 millisecond)
- should return locked cell when explicitly set to true (1 millisecond)
- should return no rotation by default (1 millisecond)
- should return 90 degree rotation if explicitly set (1 millisecond)
- should return unwrapped text by default (0 milliseconds)
- should return unwrapped text when explicitly set to false (2 milliseconds)
- should return wrapped text when explicitly set to true (1 millisecond)
Model2XlsxConversionsForWorkbookCacheSpec:
Cached workbook
- should be removed from cache after conversion (15 milliseconds)
CellSpec:
Cell
- should be created as formula cell when initialized with string starting with '=' (0 milliseconds)
- should be created as a string cell normal text content (0 milliseconds)
Model2XlsxConversionsForRowSpec:
Row conversion
- should return height of 15 points by default (1 millisecond)
- should return height of 13 point when set explicitly (9 milliseconds)
- should return no row style by defaylt (0 milliseconds)
- should return 14pt Arial row style when set explicitly (8 milliseconds)
- should set unhidden row by default (0 milliseconds)
- should set unhidden row when explicitly set to false (7 milliseconds)
- should set hidden row when explicitly set to true (7 milliseconds)
- should return row index of 0 for a single row in a sheet by default (1 millisecond)
- should return row index of 2 for a single sheet with already 2 rows by default (8 milliseconds)
- should return index of 5 if the last row in the sheet has index of 4 (12 milliseconds)
- should have no cells by default (0 milliseconds)
- should correctly initialize one cell (8 milliseconds)
- should correctly initialize multiple cells with no indexes (13 milliseconds)
- should correctly initialize single cell with index (7 milliseconds)
- should correctly initialize multiple cells with indexes (8 milliseconds)
- should fail when row has 2 cells with duplicate indexes (6 milliseconds)
- should fail when row has cells with and without explicit indexes (8 milliseconds)
Model2XlsxConversionsForCellSpec:
Cell conversion
- should return string cell type with empty string by default (0 milliseconds)
- should return a 0 column index by default if no other cells specified in the row (1 millisecond)
- should return cell style with 11pt Calibri by default (1 millisecond)
- should return cell style with 14pt Arial when explicitly specified (14 milliseconds)
- should return index of 3 when explicitly specified (8 milliseconds)
- should return index of 2 when row has already 2 other cells (6 milliseconds)
- should return string cell when set up with 'String' (6 milliseconds)
- should return string cell when set up with String with newline value (7 milliseconds)
- should return formula cell when set up with string starting with '=' sign (57 milliseconds)
- should return numeric cell when set up with double value (5 milliseconds)
- should return numeric cell when set up with int value (6 milliseconds)
- should return numeric cell when set up with long value (5 milliseconds)
- should return boolean cell when set up with boolean value (6 milliseconds)
- should return numeric cell when set up with java.util.Date value (58 milliseconds)
- should return numeric cell when set up with org.joda.time.LocalDate value (8 milliseconds)
- should return numeric cell when set up with java.util.Calendar value (5 milliseconds)
- should return string cell with the date formatted yyyy-MM-dd if date before 1904 (8 milliseconds)
- should apply 14pt Arial cell style for column when set explicitly (6 milliseconds)
Model2XlsxConversionsForSheetProperties:
Sheet properties conversion
- should return no auto-filter by default (0 milliseconds)
- should return no active cell by default (4 milliseconds)
- should return B3 as active cell if explicitly specified (13 milliseconds)
- should return no auto-breaks by default (9 milliseconds)
- should return no auto-break when explicitly set to false (6 milliseconds)
- should return auto-breaks when explicitly set to true (5 milliseconds)
- should return 8 characters width by default (0 milliseconds)
- should return 12 characters width when set explicitly (5 milliseconds)
- should return 15 points height by default (0 milliseconds)
- should return 20 points height when set explicitly (6 milliseconds)
- should return no display formulas by default (0 milliseconds)
- should return no display formulas when set to false (5 milliseconds)
- should return display formulas when set to true (5 milliseconds)
- should return display grid lines by default (1 millisecond)
- should return no display grid lines when set to false (5 milliseconds)
- should return display grid lines when set to true (3 milliseconds)
- should return display guts by default (6 milliseconds)
- should return no display guts when set to false (4 milliseconds)
- should return display guts when set to true (4 milliseconds)
- should return display row/column headings by default (0 milliseconds)
- should return no display row/column headings when set to false (4 milliseconds)
- should return display row/column headings when set to true (5 milliseconds)
- should return display zeros by default (1 millisecond)
- should return no display zeros when set to false (3 milliseconds)
- should return display zeros when set to true (3 milliseconds)
- should not fit sheet to page by default (0 milliseconds)
- should not fit sheet to page when set to false (5 milliseconds)
- should fit sheet to page when set to true (5 milliseconds)
- should not force formula recalculation by default (0 milliseconds)
- should not force formula recalculation when set to false (3 milliseconds)
- should force formula recalculation when set to true (7 milliseconds)
- should not get horizontally center by default (0 milliseconds)
- should not get horizontally center when set to false (6 milliseconds)
- should get horizontally center when set to true (3 milliseconds)
- should not return the print area by default (1 millisecond)
- should return the print area  when set explicitly (32 milliseconds)
- should print grid lines by default (0 milliseconds)
- should not print grid lines when set to false (4 milliseconds)
- should get print grid lines when set to true (4 milliseconds)
- should not be right to left by default (1 millisecond)
- should not be right to left when set to false (3 milliseconds)
- should be right to left when set to true (3 milliseconds)
- should do row sums below by default (1 millisecond)
- should not do row sums below when set to false (5 milliseconds)
- should be do row sums below when set to true (5 milliseconds)
- should do row sums right by default (1 millisecond)
- should not do row sums right when set to false (5 milliseconds)
- should be do row sums right when set to true (5 milliseconds)
- should be selected by default when only 1 sheet (1 millisecond)
- should not be selected when set to false, but only one sheet (4 milliseconds)
- should not be selected when set to false, but there are multiple sheets (4 milliseconds)
- should be selected when set to true (4 milliseconds)
- should return blank tab color by default (0 milliseconds)
- should not be virtually center by default (1 millisecond)
- should not be virtually center when set to false (3 milliseconds)
- should be virtually center when set to true (3 milliseconds)
- should have 100% zoom by default (0 milliseconds)
Model2XlsxConversionsForColumnSpec:
Column conversions
- should have the column width of 8 characters by default (3 milliseconds)
- should have the column width characters of 12 when explicitly specified (5 milliseconds)
- should have 11pt Calibri cell style for column by default (5 milliseconds)
- should not be hidden by default (5 milliseconds)
- should not be hidden when explicitly set to false (4 milliseconds)
- should be hidden when explicitly set to true (4 milliseconds)
- should not be a break by default (4 milliseconds)
- should not be a break when set to false (3 milliseconds)
- should be a break when set to true (10 milliseconds)
- should remain in default width when auto-sized set to false (3 milliseconds)
- should resize column width to the content when auto-sized set to true (172 milliseconds)
Model2XlsxConversionsForWorkbookSpec:
Workbook conversion
- should return a workbook with 1 sheet when default converted (0 milliseconds)
- should fail when workbook provided with no sheets (8 milliseconds)
- should convert all the sheets provided in order (6 milliseconds)
- should return first sheet as active sheet by default (0 milliseconds)
- should return stated sheet as active sheet when explicitly set (4 milliseconds)
- should return first visible tab for first sheet by default (1 millisecond)
- should return first visible tab for the 2nd sheet when set explicitly (5 milliseconds)
Model2XlsxConversionsForFontSpec:
Font conversion
- should return not bold font by default (3 milliseconds)
- should return not bold font when set explicitly to not bold (4 milliseconds)
- should return bold font when set explicitly to bold (4 milliseconds)
- should return ANSI charset by default (5 milliseconds)
- should return Eastern European charset when set explicitly (4 milliseconds)
- should return no explicit color by default (3 milliseconds)
- should return 'Lime' color when set explicitly (3 milliseconds)
- should return 'Not Applicable' font family by default (2 milliseconds)
- should return 'Roman' font family when set explicitly (4 milliseconds)
- should return default height of 11 points (8 milliseconds)
- should return height of 14 points when set explicitly (5 milliseconds)
- should return height of 160 units when set explicitly (4 milliseconds)
- should return not italic font by default (3 milliseconds)
- should return not italic font when set explicitly to not italic (3 milliseconds)
- should return italic font when set explicitly to italic (3 milliseconds)
- should return no font scheme by default (2 milliseconds)
- should return 'Major' font scheme when set explicitly (2 milliseconds)
- should return 'Calibri' font name by default (2 milliseconds)
- should return 'Arial' font name when set explicitly (2 milliseconds)
- should return not strikeout font by default (3 milliseconds)
- should return not strikeout font when set explicitly to not strikeout (4 milliseconds)
- should return strikeout font when set explicitly to strikeout (3 milliseconds)
- should return no type offset by default (4 milliseconds)
- should return 'Subscript' type offset when set explicitly (13 milliseconds)
- should return no underline by default (5 milliseconds)
- should return double underline when set explicitly (11 milliseconds)
- should return no bold, no italic by default (5 milliseconds)
- should return bold, but no italic when set (4 milliseconds)
- should return no bold, but italic when set (3 milliseconds)
- should return bold and italic when set (3 milliseconds)
Model2CsvConversionsSpec:
Model to CSV conversion
- should correctly convert the single text-only sheet (2 milliseconds)
- should correctly convert the single text-only sheet with '|' separator (1 millisecond)
- should correctly format boolean value with default 'true' and 'false' (1 millisecond)
- should correctly format boolean value with 'Y' and 'N' (1 millisecond)
- should correctly format date value to yyyy-MM-dd by default (1 millisecond)
- should correctly format date value to yyyy/MMM/dd by default (6 milliseconds)
Run completed in 3 seconds, 509 milliseconds.
Total number of tests run: 198
Suites: completed 13, aborted 0
Tests: succeeded 198, failed 0, canceled 0, ignored 0, pending 0
All tests passed.
