|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.look.lookSilverpeasV5Helper.SpaceWallpaperTest
@ContextConfiguration(locations="/spring-look.xml") @DirtiesContext(classMode=AFTER_CLASS) public class SpaceWallpaperTest
Unit tests covering the operations on the space wallpapers provided by the LookSilverpeasV5Helper objects.
| Constructor Summary | |
|---|---|
SpaceWallpaperTest()
|
|
| Method Summary | |
|---|---|
void |
getDefaultWallpaper()
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 |
getWallpaperOfSpaceHavingOneShouldReturn1()
|
void |
getWallpaperOfSpaceWithoutOneShouldReturn0()
|
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 |
prepareMocks()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpaceWallpaperTest()
| Method Detail |
|---|
public void prepareMocks()
public void getWallpaperOfARootSpace()
public void getWallpaperOfTheCurrentSpace()
public void getWallpaperOfTheFirstParentSpace()
public void getDefaultWallpaper()
public void getWallpaperOfSpaceHavingOneShouldReturn1()
public void getWallpaperOfSpaceWithoutOneShouldReturn0()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||