namespace sap.ui.test.gherkin.dataTableUtils.normalization

Visiblity: public
Available since: N/A
Module: sap/ui/test/gherkin/dataTableUtils
Application Component: CA-UI5-TA

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:


Nodes Overview

Node Description

Methods Overview

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"

sap.ui.test.gherkin.dataTableUtils.normalization.camelCase

For example: "First Name" -> "firstName"

Param Type DefaultValue Description
sString string

the string to normalize

sap.ui.test.gherkin.dataTableUtils.normalization.hyphenated

For example: "First Name" -> "first-name"

Param Type DefaultValue Description
sString string

the string to normalize

sap.ui.test.gherkin.dataTableUtils.normalization.none

For example: "First Name" -> "First Name"

Param Type DefaultValue Description
sString string

the string to normalize

sap.ui.test.gherkin.dataTableUtils.normalization.pascalCase

For example: "first name" -> "FirstName"

Param Type DefaultValue Description
sString string

the string to normalize

sap.ui.test.gherkin.dataTableUtils.normalization.titleCase

For example: "first name" -> "First Name"

Param Type DefaultValue Description
sString string

the string to normalize