Package org.sonar.plugins.core

Examples of org.sonar.plugins.core.CorePlugin


    assertThat(template.getName()).isEqualTo("Home");
  }

  @Test
  public void should_be_registered_as_an_extension() {
    assertThat(new CorePlugin().getExtensions()).contains(template.getClass());
  }
View Full Code Here


    assertThat(filter.getColumns()).hasSize(6);
  }

  @Test
  public void should_be_registered_as_an_extension() {
    assertThat(new CorePlugin().getExtensions()).contains(ProjectFilter.class);
  }
View Full Code Here

    assertThat(filter.getColumns()).hasSize(3);
  }

  @Test
  public void should_be_registered_as_an_extension() {
    assertThat(new CorePlugin().getExtensions()).contains(MyFavouritesFilter.class);
  }
View Full Code Here

    assertThat(template.getName()).isEqualTo("Issues");
  }

  @Test
  public void should_be_registered_as_an_extension() {
    assertThat(new CorePlugin().getExtensions()).contains(template.getClass());
  }
View Full Code Here

  }

  @Test
  public void should_be_registered_as_an_extension() {
    for (CoreWidget widget : widgets()) {
      assertThat(new CorePlugin().getExtensions()).as("Widget not registered: " + widget.getClass()).contains(widget.getClass());
    }
  }
View Full Code Here

    assertThat(template.getName()).isEqualTo("TimeMachine");
  }

  @Test
  public void should_be_registered_as_an_extension() {
    assertThat(new CorePlugin().getExtensions()).contains(template.getClass());
  }
View Full Code Here

    assertThat(template.getName()).isEqualTo("Dashboard");
  }

  @Test
  public void should_be_registered_as_an_extension() {
    assertThat(new CorePlugin().getExtensions()).contains(template.getClass());
  }
View Full Code Here

TOP

Related Classes of org.sonar.plugins.core.CorePlugin

Copyright © 2018 www.massapicom. 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.