[This is preliminary documentation and is subject to change.]
The StaticPropertiesTest type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| StaticPropertiesTest(Assembly) | CTor from assembly | |
| StaticPropertiesTest(Module) | CTor from module | |
| StaticPropertiesTest(Type) | CTor from type | |
| StaticPropertiesTest(NamespaceInfo) | CTor from namespace |
Methods
| Name | Description | |
|---|---|---|
| OnError | Raises the Error event | |
| OnSuccess | Raises the Success event | |
| RunTest | Performs a test | |
| ShouldTestType | Determines if given type should be tested | |
| TestAssembly | Tests modules from assembly | |
| TestModule | Tests types from module | |
| TestNamespce | Tests types from namespace | |
| TestProperty | Test single property | |
| TestType | Tests all static properties of given type |
Properties
| Name | Description | |
|---|---|---|
| ErrorsCount | Gets count of properties tested with error/warning | |
| ErrorsCount[([( StaticPropertiesTest..::..TestStages])]) | Gets count of errors by stage | |
| PropertiesTestedCount | Gets count of tested properties | |
| PropertyBindingFlags | Gets or sets flags indicating which properties should be tested | |
| PropertyErrorsCount | Gets count of errors at GetterBeingInvoked stage | |
| SuccessCount | Gets count of successfully tested properties | |
| TypeFlags | Gets or sets flags indicating which types hsould be tested. |
Events
| Name | Description | |
|---|---|---|
| Error | Raised when error occurs | |
| Success | Raised when no error (warning) occurs during test of single property |