Browse Source

Array Support added.

master
heck 5 years ago
parent
commit
5839ce7e31
  1. 4
      tests/test_pEpACIDgen.py

4
tests/test_pEpACIDgen.py

@ -266,9 +266,7 @@ def check_expected_types_resolved(vars, funcs, type_names_expected):
# an anonymous type only exists because of its alias typedef enum { a;b;c } XE; # an anonymous type only exists because of its alias typedef enum { a;b;c } XE;
# Therefore, only variations ending with A are valid # Therefore, only variations ending with A are valid
@pytest.mark.parametrize('variation_a', ["","a"]) @pytest.mark.parametrize('variation_a', ["","a"])
@pytest.mark.parametrize('variation_A_and_T', ["", "A", "T", "TA", "TT", "TTA"]) @pytest.mark.parametrize('variation_A_and_T', ["", "A", "T", "TA", "TT", "TTA", "TaT", "TaTA"])
# TODO: Typdefs of arrays ot workig curretly, SHOULD BE:
# @pytest.mark.parametrize('variation_A_and_T', ["", "A", "T", "TA", "TaT", "TaTA", "TaT", "TaTA"])
@pytest.mark.parametrize('typekind', all_types) @pytest.mark.parametrize('typekind', all_types)
def test_single_var_no_alias(typekind,variation_a, variation_A_and_T): def test_single_var_no_alias(typekind,variation_a, variation_A_and_T):
type = typekind["type"][0] type = typekind["type"][0]

Loading…
Cancel
Save