blob: 720442fc883dd9ceaa3e0ef6ee1e667621c1dd0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
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 testSimplePrecedence() { assertIntentionNotAvailable(); }
@Override
protected String getRelativePath() {
return "parentheses";
}
@Override
protected String getIntentionName() {
return IntentionPowerPackBundle.message("remove.unnecessary.parentheses.intention.name");
}
}
|