@@ -62,14 +62,9 @@ def test5(self):
6262 global_ns = declarations .get_global_namespace (
6363 src_reader .read_string (code ))
6464 arr_type = global_ns .variable ('arr' ).decl_type
65- if self .config .xml_generator == "gccxml" :
66- self .assertTrue (
67- 'char [4] const' == arr_type .decl_string ,
68- arr_type .decl_string )
69- else :
70- self .assertTrue (
71- 'char const [4]' == arr_type .decl_string ,
72- arr_type .decl_string )
65+ self .assertTrue (
66+ 'char const [4]' == arr_type .decl_string ,
67+ arr_type .decl_string )
7368 self .assertTrue (
7469 declarations .is_array (arr_type ))
7570 self .assertTrue (
@@ -81,14 +76,9 @@ def test6(self):
8176 global_ns = declarations .get_global_namespace (
8277 src_reader .read_string (code ))
8378 arr_type = global_ns .variable ('arr' ).decl_type
84- if self .config .xml_generator == "gccxml" :
85- self .assertTrue (
86- 'char [4] volatile' == arr_type .decl_string ,
87- arr_type .decl_string )
88- else :
89- self .assertTrue (
90- 'char volatile [4]' == arr_type .decl_string ,
91- arr_type .decl_string )
79+ self .assertTrue (
80+ 'char volatile [4]' == arr_type .decl_string ,
81+ arr_type .decl_string )
9282 self .assertTrue (
9383 declarations .is_array (arr_type ))
9484 self .assertTrue (
@@ -100,14 +90,9 @@ def test7(self):
10090 global_ns = declarations .get_global_namespace (
10191 src_reader .read_string (code ))
10292 arr_type = global_ns .variable ('arr' ).decl_type
103- if self .config .xml_generator == "gccxml" :
104- self .assertTrue (
105- 'char [4] const volatile' == arr_type .decl_string ,
106- arr_type .decl_string )
107- else :
108- self .assertTrue (
109- 'char const volatile [4]' == arr_type .decl_string ,
110- arr_type .decl_string )
93+ self .assertTrue (
94+ 'char const volatile [4]' == arr_type .decl_string ,
95+ arr_type .decl_string )
11196 self .assertTrue (
11297 declarations .is_array (arr_type ))
11398 self .assertTrue (
0 commit comments