This repository has been archived by the owner on May 7, 2020. 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.
Wemo Binding: Converted Groovy tests to Java (#5586)
* Wemo Binding: Converted groovy tests to Java Within the conversion I also did the following: - Made WemoHttpCall non-static to mock them inside tests - All Handler inherit from AbstractWemoHandler which has a setter for WemoHttpCall - Removed necessity for servlets in tests by checking the content sent to the server - Removed dependecies to the ItemRegistry Fixes #4927 Fixes #4071 * Add field modifiers which did not exist in groovy Signed-off-by: Stefan Triller <stefan.triller@telekom.de>
- Loading branch information
1 parent
399d380
commit 475c5d1
Showing
32 changed files
with
1,397 additions
and
1,762 deletions.
There are no files selected for viewing
3 changes: 1 addition & 2 deletions
3
extensions/binding/org.eclipse.smarthome.binding.wemo.test/.classpath
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,8 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src/main/java"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> | ||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||
<classpathentry kind="src" path="src/main/groovy"/> | ||
<classpathentry exported="true" kind="con" path="GROOVY_DSL_SUPPORT"/> | ||
<classpathentry kind="output" path="target/classes"/> | ||
</classpath> |
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
extensions/binding/org.eclipse.smarthome.binding.wemo.test/build.properties
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,4 +1,4 @@ | ||
source.. = src/main/groovy/ | ||
source.. = src/main/java/ | ||
output.. = target/classes/ | ||
bin.includes = META-INF/,\ | ||
.,\ | ||
|
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
87 changes: 0 additions & 87 deletions
87
...ain/groovy/org/eclipse/smarthome/binding/wemo/discovery/test/WemoDiscoveryOSGiTest.groovy
This file was deleted.
Oops, something went wrong.
96 changes: 0 additions & 96 deletions
96
...ovy/org/eclipse/smarthome/binding/wemo/discovery/test/WemoDiscoveryParticipantTest.groovy
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.