()
| 30 | |
| 31 | #[tokio::test] |
| 32 | async fn test_tappd_client_info_integration() { |
| 33 | let client = get_test_client(); |
| 34 | let info = client.info().await.unwrap(); |
| 35 | |
| 36 | println!("✓ Info request successful"); |
| 37 | println!(" App ID: {}", info.app_id); |
| 38 | println!(" Instance ID: {}", info.instance_id); |
| 39 | println!(" App Name: {}", info.app_name); |
| 40 | |
| 41 | // Validate response structure |
| 42 | assert!(!info.app_id.is_empty()); |
| 43 | assert!(!info.instance_id.is_empty()); |
| 44 | assert!(!info.app_name.is_empty()); |
| 45 | assert!(!info.tcb_info.app_compose.is_empty()); |
| 46 | assert!(!info.tcb_info.mrtd.is_empty()); |
| 47 | assert!(!info.tcb_info.rtmr0.is_empty()); |
| 48 | assert!(!info.tcb_info.rtmr1.is_empty()); |
| 49 | assert!(!info.tcb_info.rtmr2.is_empty()); |
| 50 | assert!(!info.tcb_info.rtmr3.is_empty()); |
| 51 | assert!(!info.tcb_info.event_log.is_empty()); |
| 52 | } |
| 53 | |
| 54 | #[tokio::test] |
| 55 | async fn test_tappd_client_derive_key_integration() { |
nothing calls this directly
no test coverage detected