diff options
author | Daniel Grunwald <daniel@danielgrunwald.de> | 2012-03-16 18:40:15 +0400 |
---|---|---|
committer | Daniel Grunwald <daniel@danielgrunwald.de> | 2012-03-16 18:41:03 +0400 |
commit | ce2e5281e1af87fe89ce9d875b63b0da639e0422 (patch) | |
tree | 02ea541a769214b7b22b9b69fc9c94fbe3d00c7f /ICSharpCode.NRefactory.ConsistencyCheck | |
parent | 47d7d5adeaf13271902ced20dbeb4f00b3eaa5b1 (diff) |
Documentation update.
Diffstat (limited to 'ICSharpCode.NRefactory.ConsistencyCheck')
-rw-r--r-- | ICSharpCode.NRefactory.ConsistencyCheck/Readme.txt | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/ICSharpCode.NRefactory.ConsistencyCheck/Readme.txt b/ICSharpCode.NRefactory.ConsistencyCheck/Readme.txt index a34b7f0f..caabc02b 100644 --- a/ICSharpCode.NRefactory.ConsistencyCheck/Readme.txt +++ b/ICSharpCode.NRefactory.ConsistencyCheck/Readme.txt @@ -5,7 +5,19 @@ These checks assume that the code is valid C# without any compilation errors, so make sure to only pass in compilable source code. Checks currently being performed: - - Checks that ID strings are unique and refer back to the correct entity - - Roundtripping test: parses C# code and outputs it again using CSharpOutputVisitor, checking that only whitespace is changing + - IDStringConsistencyCheck: Checks that ID strings are unique and refer back to the correct entity + - RoundtripTest: parses C# code and outputs it again using CSharpOutputVisitor, checking that only whitespace is changing - ResolverTest: fully resolves all ASTs and validates that no errors are detected (no false positives in semantic error checking) - RandomizedOrderResolverTest: checks that the order of Resolve()/GetResolverState() calls has no effect on the result + - FindReferencesConsistencyCheck: checks that FindReferences is the inverse of FindReferencedEntities + + XML Tests: + - IncrementalXmlParserTests: tests that incremental parsing produces results identical to a full reparse + - XmlReaderTests: compares AXmlParser.Parse().CreateReader() with new XmlTextReader() + + + + Ideas for further tests: + - Test token positions (see AstVerifier) + - Compare resolve results with csc compiler output (using Cecil) + - Randomly mutate a C# file (e.g. remove tokens) and verify that the parser does not crash |