MCPcopy Create free account
hub / github.com/astonbitecode/j4rs / deploy_local_artifact

Function deploy_local_artifact

rust/src/lib.rs:771–778  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

769
770 #[test]
771 fn deploy_local_artifact() -> errors::Result<()> {
772 let jvm: Jvm = super::new_jvm(Vec::new(), Vec::new())?;
773 assert!(jvm
774 .deploy_artifact(&LocalJarArtifact::from("./non_existing.jar"))
775 .is_err());
776
777 Ok(())
778 }
779
780 struct UnknownArtifact {}
781

Callers

nothing calls this directly

Calls 1

new_jvmFunction · 0.85

Tested by

no test coverage detected