[libcalamares] Expand YAML testing a little
- load/save of a stringlist seems to work
This commit is contained in:
parent
dbc49f001e
commit
0de98fe4c1
8
src/libcalamares/testdata/yaml-list.conf
vendored
Normal file
8
src/libcalamares/testdata/yaml-list.conf
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# YAML dump
|
||||||
|
---
|
||||||
|
"cow": "moo"
|
||||||
|
"derp": 17
|
||||||
|
"dwarfs":
|
||||||
|
- "sleepy"
|
||||||
|
- "sneezy"
|
||||||
|
- "doc"
|
@ -148,6 +148,7 @@ LibCalamaresTests::recursiveCompareMap( const QVariantMap& a, const QVariantMap&
|
|||||||
void
|
void
|
||||||
LibCalamaresTests::testLoadSaveYamlExtended()
|
LibCalamaresTests::testLoadSaveYamlExtended()
|
||||||
{
|
{
|
||||||
|
Logger::setupLogLevel( Logger::LOGDEBUG );
|
||||||
bool loaded_ok;
|
bool loaded_ok;
|
||||||
for ( const auto& confname : findConf( QDir( "../src" ) ) )
|
for ( const auto& confname : findConf( QDir( "../src" ) ) )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user