Implement remaining TestClient service commands (#94)
Some checks failed
Native code generation / deterministic (push) Successful in 18m19s
Imaging and meshing gate / native (push) Failing after 4m28s
Native Rust workspace compile / compile (push) Failing after 12m58s

This commit is contained in:
2026-08-11 13:10:27 +00:00
parent 374d7958f1
commit 21f85a1b58
13 changed files with 3300 additions and 24 deletions

View File

@@ -1,8 +1,8 @@
use libremetaverse::animesh::AnimeshManager;
use libremetaverse::appearance::CurrentOutfitFolder;
use libremetaverse::{
AgentManager, AppearanceManagerWearableData, AssetDownload, AssetManager, AssetUpload,
ChatEventArgs, ChatType, InventoryException, InventoryItem, InventoryManager,
AgentManager, Animations, AppearanceManagerWearableData, AssetDownload, AssetManager,
AssetUpload, ChatEventArgs, ChatType, InventoryException, InventoryItem, InventoryManager,
TeleportEventArgs,
};
use libremetaverse_types::compat::{CancellationToken, EventHandler, Subscription};
@@ -116,3 +116,16 @@ fn avatar_facing_constructors_preserve_native_defaults_and_catalog_errors() {
"M:LibreMetaverse.InventoryException.#ctor"
);
}
#[test]
fn built_in_animation_dictionary_matches_the_pinned_source_catalog() {
let catalog = Animations::to_dictionary().expect("animation dictionary").0;
assert_eq!(catalog.len(), 135);
assert_eq!(
catalog.get(&Animations::dance1()).map(String::as_str),
Some("DANCE1")
);
let yoga = UUID::new_with_string("42ecd00b-9947-a97c-400a-bbc9174c7aeb".into())
.expect("YOGA_FLOAT UUID");
assert_eq!(catalog.get(&yoga).map(String::as_str), Some("YOGA_FLOAT"));
}