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_static_method(s: String) -> bool {
  return s == "Static callback: 0 - Hello, world!\n";
}

inventory::submit! {IntegrationTest {
  name: "static_method",
  lib: "static_method",
  java_class: "StaticMethod",
  test_fn: test_static_method,
}}