-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from Nylle/JAVAFIXTURE-35_support-EnumSet
JAVAFIXTURE-35: Support EnumSet and EnumMap
- Loading branch information
Showing
7 changed files
with
112 additions
and
7 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
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
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
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
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
16 changes: 16 additions & 0 deletions
16
src/test/java/com/github/nylle/javafixture/testobjects/TestObjectWithEnumMap.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,16 @@ | ||
package com.github.nylle.javafixture.testobjects; | ||
|
||
import java.util.EnumMap; | ||
|
||
public class TestObjectWithEnumMap { | ||
private String id; | ||
private EnumMap<TestEnum, String> enums; | ||
|
||
public String getId() { | ||
return id; | ||
} | ||
|
||
public EnumMap<TestEnum, String> getEnums() { | ||
return enums; | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
src/test/java/com/github/nylle/javafixture/testobjects/TestObjectWithEnumSet.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,16 @@ | ||
package com.github.nylle.javafixture.testobjects; | ||
|
||
import java.util.EnumSet; | ||
|
||
public class TestObjectWithEnumSet { | ||
private String id; | ||
private EnumSet<TestEnum> enums; | ||
|
||
public String getId() { | ||
return id; | ||
} | ||
|
||
public EnumSet<TestEnum> getEnums() { | ||
return enums; | ||
} | ||
} |