Parcelable: Add quick fixes
This commit is contained in:
committed by
Yan Zhulanow
parent
8eeed17b65
commit
e6171dc4c5
+4
@@ -49,6 +49,10 @@ object DirectiveBasedActionUtils {
|
||||
UsefulTestCase.assertEmpty("Irrelevant actions should not be specified in ACTION directive for they are not checked anyway",
|
||||
expectedActions.filter { isIrrelevantAction(it) })
|
||||
|
||||
if (InTextDirectivesUtils.findLinesWithPrefixesRemoved(file.text, "// IGNORE_IRRELEVANT_ACTIONS").isNotEmpty()) {
|
||||
return
|
||||
}
|
||||
|
||||
val actualActions = availableActions.map { it.text }.sorted()
|
||||
|
||||
UsefulTestCase.assertOrderedEquals("Some unexpected actions available at current position. Use // ACTION: directive",
|
||||
|
||||
Reference in New Issue
Block a user