mbed-os

Fork of mbed-os by erkin yucel

Committer:
elessair
Date:
Sun Oct 23 15:10:02 2016 +0000
Revision:
0:f269e3021894
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
elessair 0:f269e3021894 1 # Similar to test1, but this time B2 attempt to override base1_1. Since B2 doesn't directly inherit
elessair 0:f269e3021894 2 # from B1, this must raise an error
elessair 0:f269e3021894 3
elessair 0:f269e3021894 4 expected_results = {
elessair 0:f269e3021894 5 "f": {
elessair 0:f269e3021894 6 "desc": "attempt to override undefined parameter in inherited target",
elessair 0:f269e3021894 7 "exception_msg": "Attempt to override undefined parameter 'base1_1' in 'target:b2'"
elessair 0:f269e3021894 8 },
elessair 0:f269e3021894 9 "d1": {
elessair 0:f269e3021894 10 "desc": "single target inheritance again",
elessair 0:f269e3021894 11 "target.base1_1": "v_base1_1_d1",
elessair 0:f269e3021894 12 "target.base1_2": "v_base1_2_d1",
elessair 0:f269e3021894 13 "target.base1_3": "v_base1_3_b1",
elessair 0:f269e3021894 14 "target.derived1": "v_derived1_d1",
elessair 0:f269e3021894 15 "target.derived2": "v_derived2_d1"
elessair 0:f269e3021894 16 }
elessair 0:f269e3021894 17 }
elessair 0:f269e3021894 18