C# Class Sarcasm.UnitTest.TypesafetyTest

Inheritance: CommonTest
ファイルを表示 Open project: davidnemeti/Sarcasm

Private Methods

Method Description
CompileAndCheck ( string methodBodySourceCode, bool shouldCompile ) : void
CompileShouldFail ( string methodBodySourceCode ) : void
CompileShouldFail_Rule ( string sourceCodeWithRule ) : void
CompileShouldSucceed ( string methodBodySourceCode ) : void
CompileShouldSucceed_RuleRaw ( string sourceCodeWithRule ) : void
CompileShouldSucceed_RuleTypeless ( string sourceCodeWithRule ) : void
GetFullSourceCodeFromMethodBody ( string methodBodySourceCode ) : string
ReplaceWithCheck ( string sourceCode, string oldValue, string newValue ) : string
TypesafetyCheck_BindToForChoice ( ) : void
TypesafetyCheck_BindTo_DeclaringTypeMismatch ( ) : void
TypesafetyCheck_BindTo_DeclaringTypeMismatch_ComplexRule ( ) : void
TypesafetyCheck_BindTo_MissingDeclaringType ( ) : void
TypesafetyCheck_BindTo_NonExistentMember ( ) : void
TypesafetyCheck_BindTo_ValueTypeMemberTypeMismatch ( ) : void
TypesafetyCheck_BindTo_ValueTypeMemberTypeMismatchForCollection ( ) : void
TypesafetyCheck_BindTo_ValueTypeMemberTypeMismatch_SpecialCaseWithInheritance ( ) : void
TypesafetyCheck_BodyShouldCompile ( ) : void
TypesafetyCheck_NonBnfiTermKeyTermForChoice_Rule ( ) : void
TypesafetyCheck_NonBnfiTermKeyTermForChoice_SetRuleOr ( ) : void
TypesafetyCheck_NonPunctuationForChoice_Rule ( ) : void
TypesafetyCheck_NonPunctuationForChoice_SetRuleOr ( ) : void
TypesafetyCheck_WrongChildTypeForChoice_Rule ( ) : void
TypesafetyCheck_WrongChildTypeForChoice_SetRuleOr ( ) : void