33e0f67 Add custom partitioning tests for blivet

47 files Authored by jsedlak 7 years ago, Committed by adamwill 7 years ago,
47 files changed. 688 lines added. 3 lines removed.
lib/anaconda.pm
file modified
+71 -3
needles/anaconda/partitioning/blivet/anaconda_blivet_btn_ok-20170412.json
file added
+15
needles/anaconda/partitioning/blivet/anaconda_blivet_btn_ok-20170412.png
file added
+0
needles/anaconda/partitioning/blivet/anaconda_blivet_free_space-20170412.json
file added
+16
needles/anaconda/partitioning/blivet/anaconda_blivet_free_space-20170412.png
file added
+0
needles/anaconda/partitioning/blivet/anaconda_blivet_lvm_drive-20170420.json
file added
+15
needles/anaconda/partitioning/blivet/anaconda_blivet_lvm_drive-20170420.png
file added
+0
needles/anaconda/partitioning/blivet/anaconda_blivet_mountpoint-20170421.json
file added
+16
needles/anaconda/partitioning/blivet/anaconda_blivet_mountpoint-20170421.png
file added
+0
needles/anaconda/partitioning/blivet/anaconda_blivet_mountpoint_obscured-20170421.json
file added
+16
needles/anaconda/partitioning/blivet/anaconda_blivet_mountpoint_obscured-20170421.png
file added
+0
needles/anaconda/partitioning/blivet/anaconda_blivet_part_add-20170412.json
file added
+15
needles/anaconda/partitioning/blivet/anaconda_blivet_part_add-20170412.png
file added
+0
needles/anaconda/partitioning/blivet/anaconda_blivet_part_devicetype-20170421.json
file added
+15
needles/anaconda/partitioning/blivet/anaconda_blivet_part_devicetype-20170421.png
file added
+0
needles/anaconda/partitioning/blivet/anaconda_blivet_part_devicetype_lvm-20170420.json
file added
+15
needles/anaconda/partitioning/blivet/anaconda_blivet_part_devicetype_lvm-20170420.png
file added
+0
needles/anaconda/partitioning/blivet/anaconda_blivet_part_devicetype_lvm2_selected-20170421.json
file added
+15
needles/anaconda/partitioning/blivet/anaconda_blivet_part_devicetype_lvm2_selected-20170421.png
file added
+0
needles/anaconda/partitioning/blivet/anaconda_blivet_part_devicetype_lvmthin-20170420.json
file added
+15
needles/anaconda/partitioning/blivet/anaconda_blivet_part_devicetype_lvmthin-20170420.png
file added
+0
needles/anaconda/partitioning/blivet/anaconda_blivet_part_devicetype_raid-20170421.json
file added
+15
needles/anaconda/partitioning/blivet/anaconda_blivet_part_devicetype_raid-20170421.png
file added
+0
needles/anaconda/partitioning/blivet/anaconda_blivet_part_fs-20170421.json
file added
+17
needles/anaconda/partitioning/blivet/anaconda_blivet_part_fs-20170421.png
file added
+0
needles/anaconda/partitioning/blivet/anaconda_blivet_part_fs_ext3-20170412.json
file added
+15
needles/anaconda/partitioning/blivet/anaconda_blivet_part_fs_ext3-20170412.png
file added
+0
needles/anaconda/partitioning/blivet/anaconda_blivet_part_fs_swap-20170412.json
file added
+15
needles/anaconda/partitioning/blivet/anaconda_blivet_part_fs_swap-20170412.png
file added
+0
needles/anaconda/partitioning/blivet/anaconda_blivet_part_fs_xfs-20170418.json
file added
+15
needles/anaconda/partitioning/blivet/anaconda_blivet_part_fs_xfs-20170418.png
file added
+0
needles/anaconda/partitioning/blivet/anaconda_blivet_raidlevel_raid1-20170419.json
file added
+15
needles/anaconda/partitioning/blivet/anaconda_blivet_raidlevel_raid1-20170419.png
file added
+0
needles/anaconda/partitioning/blivet/anaconda_blivet_raidlevel_select-20170421.json
file added
+15
needles/anaconda/partitioning/blivet/anaconda_blivet_raidlevel_select-20170421.png
file added
+0
needles/anaconda/partitioning/blivet/anaconda_blivet_thinpool_part-20170420.json
file added
+15
needles/anaconda/partitioning/blivet/anaconda_blivet_thinpool_part-20170420.png
file added
+0
needles/anaconda/partitioning/blivet/anaconda_blivet_vdb_selected-20170419.json
file added
+15
needles/anaconda/partitioning/blivet/anaconda_blivet_vdb_selected-20170419.png
file added
+0
needles/anaconda/partitioning/blivet/anaconda_manual_blivet_partitioning-20170421.json
file added
+16
needles/anaconda/partitioning/blivet/anaconda_manual_blivet_partitioning-20170421.png
file added
+0
templates
file modified
+147 -0
tests/disk_custom_blivet_ext3.pm
file added
+31
tests/disk_custom_blivet_lvmthin.pm
file added
+39
tests/disk_custom_blivet_no_swap.pm
file added
+32
tests/disk_custom_blivet_software_raid.pm
file added
+31
tests/disk_custom_blivet_xfs.pm
file added
+31
    Add custom partitioning tests for blivet
    
    Summary:
    This adds custom partitioning tests for testing blivet-gui. I've added
    new function to anaconda library, because it doesn't make much sense adapting existing
    helper functions (e. g. `custom_change_type` or `custom_change_fs`), because of how
    differently blivet-gui works. I'm not running these tests on UEFI, because one needs
    to add all partitions by hand (UEFI needs one additional partition and there is currently
    a bug in blivet-gui where new partitions are added at the beggining of disk rather then
    at the end). This is still missing BTRFS and iSCSI tests, because I need to ask vtrefny
    what needs to be done in blivet-gui to replicate behaviour of old partitioning systen.
    
    Test Plan: Run all new tests.
    
    Reviewers: adamwill, jskladan
    
    Subscribers: tflink
    
    Maniphest Tasks: T938
    
    Differential Revision: https://phab.qa.fedoraproject.org/D1188
    
        
file modified
+71 -3
file modified
+147 -0