-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
18 changed files
with
32 additions
and
32 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
prop-all/src/test/kotlin/io/pleo/prop/objects/BothNamedAnnotations.kt
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,11 +1,11 @@ | ||
package io.pleo.prop.objects | ||
|
||
import com.google.inject.Inject | ||
import io.pleo.prop.core.Prop | ||
import javax.inject.Inject | ||
import com.google.inject.name.Named as GoogleNamed | ||
import javax.inject.Named as JavaxNamed | ||
import jakarta.inject.Named as JakartaNamed | ||
|
||
class BothNamedAnnotations @Inject constructor( | ||
@JavaxNamed("io.pleo.test.prop3") val stringProp1: Prop<String>, | ||
@JakartaNamed("io.pleo.test.prop3") val stringProp1: Prop<String>, | ||
@GoogleNamed("io.pleo.test.prop4") val stringProp2: Prop<String> | ||
) |
4 changes: 2 additions & 2 deletions
4
prop-all/src/test/kotlin/io/pleo/prop/objects/ComplexObjects.kt
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
prop-all/src/test/kotlin/io/pleo/prop/objects/CurrencyUnitProp.kt
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
prop-all/src/test/kotlin/io/pleo/prop/objects/DefaultValue.kt
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
prop-all/src/test/kotlin/io/pleo/prop/objects/EmptyNamedAnnotation.kt
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,8 @@ | ||
package io.pleo.prop.objects | ||
|
||
import io.pleo.prop.core.Prop | ||
import javax.inject.Inject | ||
import javax.inject.Named | ||
import jakarta.inject.Inject | ||
import jakarta.inject.Named | ||
|
||
@Suppress("UNUSED_PARAMETER") | ||
class EmptyNamedAnnotation @Inject constructor(@Named myProp: Prop<String>) |
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
prop-all/src/test/kotlin/io/pleo/prop/objects/InvalidDefaultValue.kt
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
prop-all/src/test/kotlin/io/pleo/prop/objects/InvalidDefaultValueButValidValue.kt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
package io.pleo.prop.objects | ||
|
||
import com.google.inject.Inject | ||
import com.google.inject.name.Named | ||
import io.pleo.prop.core.Prop | ||
import javax.inject.Inject | ||
import javax.inject.Named | ||
|
||
@Suppress("UNUSED_PARAMETER") | ||
class InvalidJSON @Inject constructor(@Named("io.pleo.prop5") objectProp: Prop<InjectedObject>) |
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
6 changes: 3 additions & 3 deletions
6
prop-all/src/test/kotlin/io/pleo/prop/objects/MyInterfaceProvider.kt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package io.pleo.prop.objects | ||
|
||
import javax.inject.Inject | ||
import com.google.inject.Inject | ||
import javax.sql.DataSource | ||
|
||
class NoPropObject @Inject constructor(val dataSource: DataSource) |
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,8 @@ | ||
package io.pleo.prop.objects | ||
|
||
import com.google.inject.Inject | ||
import com.google.inject.name.Named | ||
import io.pleo.prop.core.Prop | ||
import javax.inject.Inject | ||
import javax.inject.Named | ||
|
||
@Suppress("unused_parameter") | ||
class NullValue @Inject constructor(@Named("io.pleo.undefined.property") thisThrows: Prop<String>) |
4 changes: 2 additions & 2 deletions
4
prop-all/src/test/kotlin/io/pleo/prop/objects/SamePropertyAsComplexObjects.kt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package io.pleo.prop.objects | ||
|
||
import com.google.inject.Inject | ||
import io.pleo.prop.core.Prop | ||
import javax.inject.Inject | ||
|
||
@Suppress("unused_parameter") | ||
class UnnamedProp @Inject constructor(unnamedProp: Prop<String>) |
4 changes: 2 additions & 2 deletions
4
prop-all/src/test/kotlin/io/pleo/prop/objects/UsesTwiceSameProp.kt
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