KT-4568: Created the ConvertNegatedExpressionWithDemorgansLaw intention. Converts an expression of the form !(a &&,|| b) to its expanded equivalent under DeMorgan's law.

This commit is contained in:
Ross Hanson
2014-03-23 21:35:07 -04:00
committed by Mikhael Bogdanov
parent 2147a88ed8
commit 55e888604e
30 changed files with 319 additions and 55 deletions
@@ -380,6 +380,7 @@ fun main(args: Array<String>) {
model("intentions/attributeCallReplacements/replaceInvokeIntention", testMethod = "doTestReplaceInvokeIntention")
model("intentions/simplifyNegatedBinaryExpressionIntention", testMethod = "doTestSimplifyNegatedBinaryExpressionIntention")
model("intentions/convertNegatedBooleanSequence", testMethod="doTestConvertNegatedBooleanSequence")
model("intentions/convertNegatedExpressionWithDemorgansLaw", testMethod = "doTestConvertNegatedExpressionWithDemorgansLaw")
}
testClass(javaClass<AbstractHierarchyTest>()) {