Class GroupScriptFileTest
- java.lang.Object
-
- de.hybris.platform.cmscockpit.session.script.components.GroupScriptFileTest
-
@UnitTest public class GroupScriptFileTest extends java.lang.Object
Created by i840081 on 2014-12-17.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEMPTY_STRINGstatic java.lang.StringINVALID_SCRIPT_GROUPstatic java.lang.StringMAP_ID_1static java.lang.StringMAP_ID_2static java.lang.StringTEST_JS
-
Constructor Summary
Constructors Constructor Description GroupScriptFileTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinvalid_script_group_throws_exception()voidmore_than_one_SingleJavaScriptFile_for_group_throws_exception()voidnon_existant_getScriptGroupType_parameter_throws_exception()voidnull_getScriptGroupType_parameter_throws_exception()voidnull_setGroup_paramater_throws_exception()voidsetSrc_method_called_in_GroupScriptFile_class()voidzero_length_setGroup_paramater_throws_exception()
-
-
-
Field Detail
-
TEST_JS
public static final java.lang.String TEST_JS
- See Also:
- Constant Field Values
-
MAP_ID_1
public static final java.lang.String MAP_ID_1
- See Also:
- Constant Field Values
-
MAP_ID_2
public static final java.lang.String MAP_ID_2
- See Also:
- Constant Field Values
-
INVALID_SCRIPT_GROUP
public static final java.lang.String INVALID_SCRIPT_GROUP
- See Also:
- Constant Field Values
-
EMPTY_STRING
public static final java.lang.String EMPTY_STRING
- See Also:
- Constant Field Values
-
-
Method Detail
-
null_setGroup_paramater_throws_exception
public void null_setGroup_paramater_throws_exception()
-
zero_length_setGroup_paramater_throws_exception
public void zero_length_setGroup_paramater_throws_exception()
-
null_getScriptGroupType_parameter_throws_exception
public void null_getScriptGroupType_parameter_throws_exception()
-
non_existant_getScriptGroupType_parameter_throws_exception
public void non_existant_getScriptGroupType_parameter_throws_exception()
-
invalid_script_group_throws_exception
public void invalid_script_group_throws_exception()
-
more_than_one_SingleJavaScriptFile_for_group_throws_exception
public void more_than_one_SingleJavaScriptFile_for_group_throws_exception()
-
setSrc_method_called_in_GroupScriptFile_class
public void setSrc_method_called_in_GroupScriptFile_class()
-
-