Implemented warn_level for all readers so warnings can be turned off

This commit is contained in:
Matthias Koefferlein
2022-08-13 22:15:07 +02:00
parent ad1ec18361
commit 1099a3d7bb
38 changed files with 176 additions and 66 deletions
+5
View File
@@ -29,6 +29,11 @@ class DBReaders_TestClass < TestBase
def test_common_options
opt = RBA::LoadLayoutOptions::new
assert_equal(opt.warn_level, 1)
opt.warn_level = 2
assert_equal(opt.warn_level, 2)
lm = RBA::LayerMap::new
lm.map(RBA::LayerInfo::new(1, 0), 2, RBA::LayerInfo::new(42, 17))
opt.set_layer_map(lm, true)