home.social

#kni — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #kni, aggregated by home.social.

  1. #Android friends, how do you unit test your #JNI / #KNI code? Do you write extra KNI glue just so you can trigger internal native methods that call back out into #Kotlin?

    Do you restrict yourself to only integration tests and black-box tests and just *not* unit-test this stuff?

    All solutions we’ve tried/considered so far kinda feel bad.

    (I'm mostly dealing with C/C++ and Kotlin)

  2. #Android friends, how do you unit test your #JNI / #KNI code? Do you write extra KNI glue just so you can trigger internal native methods that call back out into #Kotlin?

    Do you restrict yourself to only integration tests and black-box tests and just *not* unit-test this stuff?

    All solutions we’ve tried/considered so far kinda feel bad.

    (I'm mostly dealing with C/C++ and Kotlin)

  3. #Android friends, how do you unit test your #JNI / #KNI code? Do you write extra KNI glue just so you can trigger internal native methods that call back out into #Kotlin?

    Do you restrict yourself to only integration tests and black-box tests and just *not* unit-test this stuff?

    All solutions we’ve tried/considered so far kinda feel bad.

    (I'm mostly dealing with C/C++ and Kotlin)

  4. #Android friends, how do you unit test your #JNI / #KNI code? Do you write extra KNI glue just so you can trigger internal native methods that call back out into #Kotlin?

    Do you restrict yourself to only integration tests and black-box tests and just *not* unit-test this stuff?

    All solutions we’ve tried/considered so far kinda feel bad.

    (I'm mostly dealing with C/C++ and Kotlin)

  5. #Android friends, how do you unit test your #JNI / #KNI code? Do you write extra KNI glue just so you can trigger internal native methods that call back out into #Kotlin?

    Do you restrict yourself to only integration tests and black-box tests and just *not* unit-test this stuff?

    All solutions we’ve tried/considered so far kinda feel bad.

    (I'm mostly dealing with C/C++ and Kotlin)