source: java/main/src/main/java/com/framsticks/test/TestSerializedClass.java @ 193

Last change on this file since 193 was 193, checked in by Maciej Komosinski, 10 years ago

Set svn:eol-style native for all textual files

  • Property svn:eol-style set to native
File size: 723 bytes
Line 
1package com.framsticks.test;
2
3import java.util.ArrayList;
4import java.util.List;
5
6import com.framsticks.params.annotations.FramsClassAnnotation;
7import com.framsticks.params.annotations.ParamAnnotation;
8import com.framsticks.params.types.UniversalParam;
9
10@FramsClassAnnotation(order = {"theArray"})
11public class TestSerializedClass {
12
13        protected List<Object> theArray = new ArrayList<>();
14
15        @ParamAnnotation(paramType = UniversalParam.class)
16        public List<Object> getTheArray() {
17                return theArray;
18        }
19
20        @ParamAnnotation(paramType = UniversalParam.class)
21        public void setTheArray(List<Object> theArray) {
22                this.theArray = theArray;
23        }
24
25                // assertThat(framsClass.getParam("theArray")).isInstanceOf(UniversalParam.class);
26}
Note: See TracBrowser for help on using the repository browser.