Added safeAccessToIfThen intention

This commit is contained in:
Zack Grannan
2014-03-02 17:45:13 -08:00
committed by Zalim Bashorov
parent 1ca4bb0e79
commit 1f720c8559
53 changed files with 349 additions and 4 deletions
@@ -349,6 +349,7 @@ fun main(args: Array<String>) {
testClass(javaClass<AbstractCodeTransformationTest>()) {
model("intentions/branched/elvisToIfThen", testMethod = "doTestElvisToIfThen")
model("intentions/branched/ifThenToElvis", testMethod = "doTestIfThenToElvis")
model("intentions/branched/safeAccessToIfThen", testMethod = "doTestSafeAccessToIfThen")
model("intentions/branched/folding/ifToAssignment", testMethod = "doTestFoldIfToAssignment")
model("intentions/branched/folding/ifToReturn", testMethod = "doTestFoldIfToReturn")
model("intentions/branched/folding/ifToReturnAsymmetrically", testMethod = "doTestFoldIfToReturnAsymmetrically")