()
| 982 | |
| 983 | #[test] |
| 984 | fn java_hello_world() -> errors::Result<()> { |
| 985 | let jvm = create_tests_jvm()?; |
| 986 | |
| 987 | let system = jvm.static_class("java.lang.System")?; |
| 988 | let _ = jvm |
| 989 | .into_chain(system) |
| 990 | .field("out") |
| 991 | ? |
| 992 | .invoke( |
| 993 | "println", |
| 994 | &[InvocationArg::try_from("Hello World")?], |
| 995 | ) |
| 996 | ? |
| 997 | .collect(); |
| 998 | |
| 999 | Ok(()) |
| 1000 | } |
| 1001 | |
| 1002 | #[test] |
| 1003 | fn parent_interface_method() -> errors::Result<()> { |
nothing calls this directly
no test coverage detected