-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests added for Fix: ReflectionBuilder doesn't reflect module which b…
…elongs types.
- Loading branch information
1 parent
5acf62e
commit f652c40
Showing
8 changed files
with
50 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
@context( name = 'applicationContext' ) | ||
{ | ||
@map_type( 'hex.mock.IMockInterface' ) instance = new hex.mock.MockClass(); | ||
@map_type( 'hex.mock.IMockInterface' ) | ||
instance = new hex.mock.MockClass(); | ||
|
||
@map_type( 'hex.mock.MockModuleWithInternalType.GetInfosInternalTypedef' ) | ||
instance2 = new hex.mock.MockClass(); | ||
} |
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,6 @@ | ||
<root name="applicationContext"> | ||
|
||
<module id="instance" type="hex.mock.MockClass" map-type="hex.mock.IMockInterface"/> | ||
<module id="instance2" type="hex.mock.MockClass" map-type="hex.mock.MockModuleWithInternalType.GetInfosInternalTypedef"/> | ||
|
||
</root> |
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
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,20 @@ | ||
package hex.mock; | ||
|
||
/** | ||
* ... | ||
* @author Francis Bourre | ||
*/ | ||
class MockModuleWithInternalType | ||
{ | ||
|
||
public function new() | ||
{ | ||
|
||
} | ||
|
||
} | ||
|
||
typedef GetInfosInternalTypedef = | ||
{ | ||
function getInfos() : String; | ||
} |