blob: d373c6c46d6c0ac278a2834c7d4e5b9dd30672d2 [file] [log] [blame]
package com.siyeh.ipp.parenthesis;
import com.siyeh.IntentionPowerPackBundle;
import com.siyeh.ipp.IPPTestCase;
/**
* @see RemoveUnnecessaryParenthesesIntention
*/
public class UnnecessaryParenthesesIntentionTest extends IPPTestCase {
public void testPolyadic() { doTest(); }
public void testCommutative() { doTest(); }
public void testWrapping() { doTest(); }
public void testNotCommutative() { assertIntentionNotAvailable(); }
public void testStringParentheses() { assertIntentionNotAvailable(); }
public void testComparisonParentheses() { assertIntentionNotAvailable(); }
public void testNotCommutative2() { doTest(); }
public void testArrayInitializer() { doTest(); }
public void testArrayAccessExpression() { doTest(); }
public void testArrayAccessExpression2() { doTest(); }
public void testSimplePrecedence() { assertIntentionNotAvailable(); }
@Override
protected String getRelativePath() {
return "parentheses";
}
@Override
protected String getIntentionName() {
return IntentionPowerPackBundle.message("remove.unnecessary.parentheses.intention.name");
}
}