Package de.plushnikov.lombok

Source Code of de.plushnikov.lombok.InspectionTest

package de.plushnikov.lombok;

import com.intellij.testFramework.InspectionTestCase;
import de.plushnikov.intellij.plugin.inspection.LombokInspection;

/**
* @author Plushnikov Michail
*/
public class InspectionTest extends InspectionTestCase {

  @Override
  protected String getTestDataPath() {
    return "./lombok-plugin/src/test/data/inspection";
  }

  private void doTest() throws Exception {
    doTest(getTestName(true), new LombokInspection(), "java 1.5");
  }

  public void testIssue37() throws Exception {
    doTest();
  }

  public void testBuilderRightType() throws Exception {
    doTest();
  }

  public void testBuilderInvalidIdentifier() throws Exception {
    doTest();
  }

  public void testDelegateConcreteType() throws Exception {
    doTest();
  }

  public void testDelegateOnMethodWithParameter() throws Exception {
    doTest();
  }

  public void testDelegateOnStaticFieldOrMethod() throws Exception {
    doTest();
  }

  //TODO make this test work
  public void testSneakyThrowsSingle() throws Exception {
    doTest();
  }

  //TODO make this test work
  public void testSneakyThrowsPlain() throws Exception {
    doTest();
  }

  //TODO make this test work
  public void testSneakyThrowsMultiple() throws Exception {
    doTest();
  }

  //TODO make this test work
  public void testSneakyThrowsTryWithResource() throws Exception {
    doTest();
  }
}
TOP

Related Classes of de.plushnikov.lombok.InspectionTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.