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
|
Rev | Line | |
---|
[105] | 1 | package com.framsticks.test; |
---|
| 2 | |
---|
| 3 | import java.util.ArrayList; |
---|
| 4 | import java.util.List; |
---|
| 5 | |
---|
| 6 | import com.framsticks.params.annotations.FramsClassAnnotation; |
---|
| 7 | import com.framsticks.params.annotations.ParamAnnotation; |
---|
| 8 | import com.framsticks.params.types.UniversalParam; |
---|
| 9 | |
---|
| 10 | @FramsClassAnnotation(order = {"theArray"}) |
---|
| 11 | public 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.