A simple object containing a series of normalization functions that change a string according to a particular strategy. All strategies do the following normalization as a minimum:
" hello "
becomes "hello"
."sold-to party"
and "sold to party"
are equivalent, and would both convert to the camelCase "soldToParty"
."hello____world"
becomes "hello world"
."(hello)"
becomes "hello"
.Node | Description |
---|
Method | Description |
---|---|
sap.ui.test.gherkin.dataTableUtils.normalization.camelCase |
For example: "First Name" -> "firstName" |
sap.ui.test.gherkin.dataTableUtils.normalization.hyphenated |
For example: "First Name" -> "first-name" |
sap.ui.test.gherkin.dataTableUtils.normalization.none |
For example: "First Name" -> "First Name" |
sap.ui.test.gherkin.dataTableUtils.normalization.pascalCase |
For example: "first name" -> "FirstName" |
sap.ui.test.gherkin.dataTableUtils.normalization.titleCase |
For example: "first name" -> "First Name" |
For example: "First Name" -> "firstName"
Param | Type | DefaultValue | Description |
---|---|---|---|
sString | string |
the string to normalize |
For example: "First Name" -> "first-name"
Param | Type | DefaultValue | Description |
---|---|---|---|
sString | string |
the string to normalize |
For example: "First Name" -> "First Name"
Param | Type | DefaultValue | Description |
---|---|---|---|
sString | string |
the string to normalize |
For example: "first name" -> "FirstName"
Param | Type | DefaultValue | Description |
---|---|---|---|
sString | string |
the string to normalize |
For example: "first name" -> "First Name"
Param | Type | DefaultValue | Description |
---|---|---|---|
sString | string |
the string to normalize |