Testing struct for array and list (Java and C++); fixing bugs
[iot2.git] / config / iotpolicy / testclasspolicy.pol
index 3c03d53285ae5cde3650cfba81cbd493b011ff80..1d9d47a5dd92f3ad5095dfa14deb7adba5234a9a 100644 (file)
@@ -29,6 +29,8 @@ public interface TestClassInterface {
        public List<Enum> handleEnumList(List<Enum> en);
 
        public Struct handleStruct(Struct str);
+       public Struct[] handleStructArray(Struct str[]);
+       public List<Struct> handleStructList(List<Struct> str);
 
        public int getA();
        public void setA(int _int);
@@ -67,6 +69,8 @@ public interface TestClassInterface {
                method = "handleEnumList(List<Enum> en)";
 
                method = "handleStruct(Struct str)";
+               method = "handleStructArray(Struct str[])";
+               method = "handleStructList(List<Struct> str)";
 
                method = "getA()";
                method = "setA(int _int)";