summaryrefslogtreecommitdiff
path: root/plugins/IntentionPowerPak/testSrc/com/siyeh/ipp/whileloop/ReplaceDoWhileWithWhileLoopIntentionTest.java
blob: 1df251c37cc4493114566150cecb22148cc32f1e (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
package com.siyeh.ipp.whileloop;

import com.siyeh.IntentionPowerPackBundle;
import com.siyeh.ipp.IPPTestCase;

/**
 * @see com.siyeh.ipp.whileloop.ReplaceDoWhileLoopWithWhileLoopIntention
 */
public class ReplaceDoWhileWithWhileLoopIntentionTest extends IPPTestCase {

  public void testWithoutBraces() { doTest(); }
  public void testFinalVariable1() { doTest(); }
  public void testFinalVariable2() { doTest(); }
  public void testInfiniteLoop() { doTest(); }

  @Override
  protected String getRelativePath() {
    return "whileloop/replace_do_while_with_while_loop";
  }

  @Override
  protected String getIntentionName() {
    return IntentionPowerPackBundle.message("replace.do.while.loop.with.while.loop.intention.name");
  }
}