jnat 0.11.2

A wrapper around the jni crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::IntegrationTest;

fn test_hello(s: String) -> bool {
  return s == "Hello, world!\n";
}

inventory::submit! {IntegrationTest {
  name: "hello",
  lib: "hello",
  java_class: "Hello",
  test_fn: test_hello,
}}