|
|
|
@ -66,7 +66,7 @@ CreateLayoutsTests::testFixedSizePartition()
|
|
|
|
|
QFAIL( qPrintable( "Unable to create / partition" ) );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partitions = layout.execute( static_cast< Device* >( &dev ), 0, dev.totalLogical(), nullptr, nullptr, role );
|
|
|
|
|
partitions = layout.createPartitions( static_cast< Device* >( &dev ), 0, dev.totalLogical(), nullptr, nullptr, role );
|
|
|
|
|
|
|
|
|
|
QCOMPARE( partitions.count(), 1 );
|
|
|
|
|
|
|
|
|
@ -86,7 +86,7 @@ CreateLayoutsTests::testPercentSizePartition()
|
|
|
|
|
QFAIL( qPrintable( "Unable to create / partition" ) );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partitions = layout.execute( static_cast< Device* >( &dev ), 0, dev.totalLogical(), nullptr, nullptr, role );
|
|
|
|
|
partitions = layout.createPartitions( static_cast< Device* >( &dev ), 0, dev.totalLogical(), nullptr, nullptr, role );
|
|
|
|
|
|
|
|
|
|
QCOMPARE( partitions.count(), 1 );
|
|
|
|
|
|
|
|
|
@ -116,7 +116,7 @@ CreateLayoutsTests::testMixedSizePartition()
|
|
|
|
|
QFAIL( qPrintable( "Unable to create /bkup partition" ) );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partitions = layout.execute( static_cast< Device* >( &dev ), 0, dev.totalLogical(), nullptr, nullptr, role );
|
|
|
|
|
partitions = layout.createPartitions( static_cast< Device* >( &dev ), 0, dev.totalLogical(), nullptr, nullptr, role );
|
|
|
|
|
|
|
|
|
|
QCOMPARE( partitions.count(), 3 );
|
|
|
|
|
|
|
|
|
|