|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.look.SilverpeasLookTest
@ContextConfiguration(locations="/spring-look.xml") @DirtiesContext(classMode=AFTER_CLASS) public class SilverpeasLookTest
Unit tests on the SilverpeasLook operations.
| Constructor Summary | |
|---|---|
SilverpeasLookTest()
|
|
| Method Summary | |
|---|---|
void |
getCSSOfARootSpace()
When a root space has a CSS specifically set, this CSS should be returned. |
void |
getCSSOfTheFirstParentSpace()
When a space has no specifically CSS set, the one of the fist parent having a CSS specifically set is returned |
void |
getDefaultWallpaperWithSpacesWithoutSpecificWallpaper()
|
void |
getNoWallpaperWithSpacesWithoutSpecificWallpaper()
When no space has no specifically wallpaper set, the null is returned. |
void |
getWallpaperOfARootSpace()
When a root space has a wallpaper specifically set, this wallpaper should be returned. |
void |
getWallpaperOfTheCurrentSpace()
When a space within a path of spaces has a wallpaper specifically set, this wallpaper should be returned. |
void |
getWallpaperOfTheFirstParentSpace()
When a space has no specifically wallpaper set, the one of the fist parent having a wallpaper specifically set is returned |
void |
setUp()
|
static void |
setUpClass()
|
void |
spaceWithASpecificWallpaper()
|
void |
spaceWithoutASpecificCSS()
|
void |
spaceWithoutASpecificWallpaper()
|
static void |
tearDownClass()
|
void |
testHasSpaceWallpaper()
Test of hasSpaceWallpaper method, of class SilverpeasLook. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SilverpeasLookTest()
| Method Detail |
|---|
public static void setUpClass()
throws Exception
Exception
public static void tearDownClass()
throws Exception
Exceptionpublic void setUp()
public void testHasSpaceWallpaper()
public void getWallpaperOfARootSpace()
public void getWallpaperOfTheCurrentSpace()
public void getWallpaperOfTheFirstParentSpace()
public void getNoWallpaperWithSpacesWithoutSpecificWallpaper()
public void spaceWithASpecificWallpaper()
public void spaceWithoutASpecificWallpaper()
public void getDefaultWallpaperWithSpacesWithoutSpecificWallpaper()
public void getCSSOfARootSpace()
public void getCSSOfTheFirstParentSpace()
public void spaceWithoutASpecificCSS()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||