diff --git a/tests/org.eclipse.epsilon.eol.staticanalyser.tests/src/org/eclipse/epsilon/eol/staticanalyser/tests/scripts/stringOperationContributor.eol b/tests/org.eclipse.epsilon.eol.staticanalyser.tests/src/org/eclipse/epsilon/eol/staticanalyser/tests/scripts/stringOperationContributor.eol new file mode 100644 index 000000000..4b6ea4245 --- /dev/null +++ b/tests/org.eclipse.epsilon.eol.staticanalyser.tests/src/org/eclipse/epsilon/eol/staticanalyser/tests/scripts/stringOperationContributor.eol @@ -0,0 +1,9 @@ +/*String*/'foo'.escapeXml(); +/*String*/'foo'.firstToUpperCase(); +/*String*/'foo'.characterAt(0); +/*String*/'foo'.firstToLowerCase(); +/*String*/'foo'.ftuc(); +/*String*/'foo'.ftlc(); +/*Boolean*/'foo'.isSubstringOf('bar'); +/*Sequence*/'foo'.toCharSequence(); +/*String*/'foo'.pad(5,'a',true);