Search in sources :

Example 1 with SimpleThemeDecorator

use of org.codefirst.SimpleThemeDecorator in project configuration-as-code-plugin by jenkinsci.

the class SimpleThemeTest method configure_simple_theme.

@Test
@ConfiguredWithReadme("simple-theme-plugin/README.md")
public void configure_simple_theme() {
    // Already tested within the plugin itself, let's run some basic tests.
    // https://github.com/jenkinsci/simple-theme-plugin/blob/master/src/test/java/org/jenkinsci/plugins/simpletheme/ConfigurationAsCodeTest.java
    SimpleThemeDecorator decorator = ExtensionList.lookupSingleton(SimpleThemeDecorator.class);
    assertNotNull(decorator);
}
Also used : SimpleThemeDecorator(org.codefirst.SimpleThemeDecorator) Test(org.junit.Test) ConfiguredWithReadme(io.jenkins.plugins.casc.misc.ConfiguredWithReadme)

Aggregations

ConfiguredWithReadme (io.jenkins.plugins.casc.misc.ConfiguredWithReadme)1 SimpleThemeDecorator (org.codefirst.SimpleThemeDecorator)1 Test (org.junit.Test)1