]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vsh: Added tests
authorSimon Kobyda <skobyda@redhat.com>
Thu, 23 Aug 2018 15:53:43 +0000 (17:53 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 24 Aug 2018 08:53:59 +0000 (10:53 +0200)
commit95785c1c9d785374795ca652324fff24c5c0f395
treecfc1ba37b57137dbce9cd2f2fd0cd5982a921083
parent2e97450425e85146e8eb45172c93fa2c5d217a77
vsh: Added tests

For now, there are 9 test cases
- testVshTableNew: Creating table with empty header
- testVshTableHeader: Printing table with/without header
- testVshTableRowAppend: Appending row with various number of cells.
  Only row with same number of cells as in header is accepted.
- testUnicode: Printing table with unicode characters.
  Checking correct alignment.
- testUnicodeArabic: test opposite (right to left) writing
- testUnicodeZeroWidthChar
- testUnicodeCombiningChar
- testUnicodeNonPrintableChar,
- testNTables: Create and print varios types of tables - one column,
  one row table, table without content, standart table...

Signed-off-by: Simon Kobyda <skobyda@redhat.com>
tests/Makefile.am
tests/vshtabletest.c [new file with mode: 0644]