Account Permission Delegation - Testcases
Category Test Count Core Functional 112 Adversarial / Security 48 Cross-Feature Interactions 19 Total 179 Core Functional Test DelegateSet with permissions field Test DelegateSet skipped before payment Test DelegateSet without permissions field Test DelegateSet with empty list Test DelegateSet with permissions as non-JSON Test DelegateSet by non-existing account Test DelegateSet by non-existing…
The source material describes various test cases related to delegating permissions for an account system. These test cases cover a wide range of scenarios, including delegating permissions to different accounts, with or without specific permissions, handling empty lists and invalid permissions, delegating to self, and testing various permission-related features such as trustline management, AMM interactions, and circular delegation.
The tests also explore the behavior of the system when dealing with disabled master keys, multiple signers, and different types of transactions. Additionally, the tests cover scenarios where payments are made with offline signing and involve third-party involvement. The source provides a comprehensive set of test cases for evaluating the functionality and security of an account delegation system.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.