Testing and fixing bugs on enum data types
[iot2.git] / config / iotpolicy / testclasspolicy.pol
index 481a284c815ca65f6068b2d680b5ede69c864d01..ddd86d8e5d91a938f2c993a31503b73aa8307221 100644 (file)
@@ -24,10 +24,9 @@ public interface TestClassInterface {
        public List<Boolean> getBooleanList(List<Boolean> in);
        public List<Character> getCharList(List<Character> in);
 
-       public void registerCallback(CallBackInterface _cb);
-       public int callBack();
-
        public Enum handleEnum(Enum en);
+       public Enum[] handleEnumArray(Enum en[]);
+       public List<Enum> handleEnumList(List<Enum> en);
 
        public int getA();
        public void setA(int _int);
@@ -60,9 +59,10 @@ public interface TestClassInterface {
                method = "getDoubleList(List<Double> in)";
                method = "getBooleanList(List<Boolean> in)";
                method = "getCharList(List<Character> in)";
-               method = "registerCallback(CallBackInterface _cb)";
-               method = "callBack()";
+
                method = "handleEnum(Enum en)";
+               method = "handleEnumArray(Enum en[])";
+               method = "handleEnumList(List<Enum> en)";
                method = "getA()";
                method = "setA(int _int)";
                method = "setB(float _float)";