Testing for list/vector data types
[iot2.git] / config / iotpolicy / testclasspolicy.pol
index e2b70ccd8b0f9980ed1635572ebf29924849c27d..36ded083b60c9899e6fe5fee633f2c2566af14db 100644 (file)
@@ -16,6 +16,14 @@ public interface TestClassInterface {
        public boolean[] getBooleanArray(boolean in[]);
        public char[] getCharArray(char in[]);
 
+       public List<Byte> getByteList(List<Byte> in);
+       public List<Short> getShortList(List<Short> in);
+       public List<Long> getLongList(List<Long> in);
+       public List<Float> getFloatList(List<Float> in);
+       public List<Double> getDoubleList(List<Double> in);
+       public List<Boolean> getBooleanList(List<Boolean> in);
+       public List<Character> getCharList(List<Character> in);
+
        public int getA();
        public void setA(int _int);
        public void setB(float _float);
@@ -40,6 +48,13 @@ public interface TestClassInterface {
                method = "getDoubleArray(double in[])";
                method = "getBooleanArray(boolean in[])";
                method = "getCharArray(char in[])";
+               method = "getByteList(List<Byte> in)";
+               method = "getShortList(List<Short> in)";
+               method = "getLongList(List<Long> in)";
+               method = "getFloatList(List<Float> in)";
+               method = "getDoubleList(List<Double> in)";
+               method = "getBooleanList(List<Boolean> in)";
+               method = "getCharList(List<Character> in)";
                method = "getA()";
                method = "setA(int _int)";
                method = "setB(float _float)";