Issue metadata
Sign in to add a comment
|
Hide JNI native methods behind interfaces so that they can be mocked in tests |
||||||||||||||||||||||
Issue description
E.g. instead of:
class Foo {
private static native int bar();
}
Do:
class Foo {
@Natives
interface Natives {
int bar();
}
}
Some details here still TBD.
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by estevenson@chromium.org
, Oct 24Status: Duplicate (was: Assigned)