-
-
Notifications
You must be signed in to change notification settings - Fork 335
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Note that the git history of one of the ProxyMaker files won't be reflected in the surviving class * rename JvmSubclassInstrumentation to avoid name class with SubclassInstrumentation * update JvmSubclassInstrumentation to implement SubclassInstrumentation * remove unused method setProxyHandler() from SubclassInstrumentation
- Loading branch information
Showing
7 changed files
with
41 additions
and
285 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
4 changes: 0 additions & 4 deletions
4
...api/src/commonMain/kotlin/io/mockk/proxy/common/transformation/SubclassInstrumentation.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,12 +1,8 @@ | ||
package io.mockk.proxy.common.transformation | ||
|
||
import io.mockk.proxy.MockKInvocationHandler | ||
|
||
interface SubclassInstrumentation { | ||
fun <T> subclass( | ||
clazz: Class<T>, | ||
interfaces: Array<Class<*>> | ||
): Class<T> | ||
|
||
fun setProxyHandler(proxy: Any, handler: MockKInvocationHandler) | ||
} |
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 |
---|---|---|
|
@@ -10,6 +10,4 @@ data class TransformationRequest( | |
type, | ||
!untransform | ||
) | ||
|
||
|
||
} | ||
} |
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
Oops, something went wrong.