This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify tests to reflect desired import behavior
Signed-off-by: Daniel Bluhm <bluhmdj@ornl.gov>
- Loading branch information
Showing
11 changed files
with
71 additions
and
21 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
8 changes: 8 additions & 0 deletions
8
....dev/org.eclipse.ice.dev.annotations/src/test/resources/input/DataElement/BoxedTypes.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,8 @@ | ||
import java.util.List; | ||
import org.eclipse.ice.dev.annotations.DataElement; | ||
import org.eclipse.ice.dev.annotations.DataField; | ||
|
||
@DataElement(name = "Test") | ||
public class BoxedTypes { | ||
@DataField public List<String> stringList; | ||
} |
8 changes: 8 additions & 0 deletions
8
...org.eclipse.ice.dev.annotations/src/test/resources/input/DataElement/InnerClassTypes.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,8 @@ | ||
import java.util.Map; | ||
import org.eclipse.ice.dev.annotations.DataElement; | ||
import org.eclipse.ice.dev.annotations.DataField; | ||
|
||
@DataElement(name = "Test") | ||
public class InnerClassTypes { | ||
@DataField public Map.Entry<String, Object> testMapEntry; | ||
} |
5 changes: 5 additions & 0 deletions
5
...ipse.ice.dev.annotations/src/test/resources/patterns/DataElement/BoxedTypesInterface.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,5 @@ | ||
import org.eclipse.ice.data.IDataElement; | ||
public interface Test extends IDataElement<Test> { | ||
public List<String> getStringList(); | ||
public void setStringList(List<String> stringList); | ||
} |
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
5 changes: 5 additions & 0 deletions
5
...ice.dev.annotations/src/test/resources/patterns/DataElement/InnerClassTypesInterface.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,5 @@ | ||
import org.eclipse.ice.data.IDataElement; | ||
public interface Test extends IDataElement<Test> { | ||
public Entry<String, Object> getTestMapEntry(); | ||
public void setTestMapEntry(Entry<String, Object> testMapEntry); | ||
} |
12 changes: 6 additions & 6 deletions
12
...eclipse.ice.dev.annotations/src/test/resources/patterns/DataElement/ManyNonPrimitive.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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import org.eclipse.ice.data.IDataElement; | ||
public interface Test extends IDataElement<Test> { | ||
public java.util.UUID getTestUuid(); | ||
public void setTestUuid(java.util.UUID testUuid); | ||
public java.lang.String getTestString(); | ||
public void setTestString(java.lang.String testString); | ||
public java.util.Date getTestDate(); | ||
public void setTestDate(java.util.Date testDate); | ||
public UUID getTestUuid(); | ||
public void setTestUuid(UUID testUuid); | ||
public String getTestString(); | ||
public void setTestString(String testString); | ||
public Date getTestDate(); | ||
public void setTestDate(Date testDate); | ||
} |
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
4 changes: 2 additions & 2 deletions
4
...lipse.ice.dev.annotations/src/test/resources/patterns/DataElement/SingleNonPrimitive.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import org.eclipse.ice.data.IDataElement; | ||
public interface Test extends IDataElement<Test> { | ||
public java.util.UUID getTestUuid(); | ||
public void setTestUuid(java.util.UUID testUuid); | ||
public UUID getTestUuid(); | ||
public void setTestUuid(UUID testUuid); | ||
} |
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