-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2102020
commit 426fd9e
Showing
7 changed files
with
103 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ub/ravenlab/autogson/test/obj/FooBar.java → ...ub/ravenlab/autogson/test/foo/FooBar.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
src/test/java/com/github/ravenlab/autogson/test/foo/FooBarChild.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.github.ravenlab.autogson.test.foo; | ||
|
||
import com.github.ravenlab.autogson.test.foo.data.ExtraFooData; | ||
import com.github.ravenlab.autogson.test.foo.data.FooData; | ||
|
||
public class FooBarChild extends FooBar { | ||
|
||
private String fooBar; | ||
private ExtraFooData<String> fooData; | ||
public FooBarChild() | ||
{ | ||
super(); | ||
this.fooBar = "foobar"; | ||
this.fooData = new ExtraFooData<>("somedata", "someotherdata"); | ||
} | ||
|
||
public String getFooBar() | ||
{ | ||
return this.fooBar; | ||
} | ||
|
||
public FooData<String> getData() | ||
{ | ||
return this.fooData; | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
src/test/java/com/github/ravenlab/autogson/test/foo/data/ExtraFooData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.github.ravenlab.autogson.test.foo.data; | ||
|
||
public class ExtraFooData<T> extends FooData<T> { | ||
|
||
private T extraData; | ||
public ExtraFooData(T data, T extraData) | ||
{ | ||
super(data); | ||
} | ||
|
||
public T getExtraData() | ||
{ | ||
return this.extraData; | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
src/test/java/com/github/ravenlab/autogson/test/foo/data/FooData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.github.ravenlab.autogson.test.foo.data; | ||
|
||
public class FooData<T> { | ||
|
||
private T data; | ||
public FooData(T data) | ||
{ | ||
this.data = data; | ||
} | ||
|
||
public T getData() | ||
{ | ||
return this.data; | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
src/test/java/com/github/ravenlab/autogson/test/foo/data/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
package com.github.ravenlab.autogson.test.foo.data; |
16 changes: 0 additions & 16 deletions
16
src/test/java/com/github/ravenlab/autogson/test/obj/FooBarChild.java
This file was deleted.
Oops, something went wrong.