mirror of
https://github.com/sismics/docs.git
synced 2025-12-16 11:15:07 +00:00
#79: Resource to generate a dynamic CSS
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package com.sismics.docs.rest;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
/**
|
||||
* Test the theme resource.
|
||||
*
|
||||
* @author bgamard
|
||||
*/
|
||||
public class TestThemeResource extends BaseJerseyTest {
|
||||
/**
|
||||
* Test the theme resource.
|
||||
*/
|
||||
@Test
|
||||
public void testThemeResource() {
|
||||
// Get the stylesheet anonymously
|
||||
String stylesheet = target().path("/theme/stylesheet").request()
|
||||
.get(String.class);
|
||||
System.out.println(stylesheet);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user