@UnitTest public class DefaultSearchRestrictionServiceTest extends java.lang.Object
| Constructor and Description |
|---|
DefaultSearchRestrictionServiceTest() |
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testAddSessionSearchRestrictions()
DefaultSearchRestrictionService.addSessionSearchRestrictions(java.util.Collection)
Checks for setting restrictions collection when there was no restrictions in the session at all.public void testAddSessionSearchRestrictionsEmptyCollectionInitial()
DefaultSearchRestrictionService.addSessionSearchRestrictions(java.util.Collection)
Checks for setting empty restrictions collection when there was no restrictions in the session at all.public void testAddSessionSearchRestrictionsWithNullParameter()
public void testClearSessionSearchRestrictions()
DefaultSearchRestrictionService.clearSessionSearchRestrictions()
.public void testDisableSearchRestrictions()
DefaultSearchRestrictionService.disableSearchRestrictions() .public void testEnableSearchRestrictions()
DefaultSearchRestrictionService.enableSearchRestrictions() .public void testGetSessionSearchRestrictions()
DefaultSearchRestrictionService.getSessionSearchRestrictions()
Test getting sessions search restrictions when currently there are some restrictions in the session.public void testHasRestrictions()
public void testGetSessionSearchRestrictionsForType()
public void testGetSessionSearchRestrictionsInitial()
DefaultSearchRestrictionService.getSessionSearchRestrictions()
Test getting sessions search restrictions when currently there is no sessions search restrictions at all.public void testIsSearchRestrictionsEnabled()
public void testRemoveSessionSearchRestrictions()
Copyright © 2018 SAP SE. All Rights Reserved.