Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Tiede2015-07-10 08:27:56 +0000
committerMarkus Tiede2015-07-10 09:25:42 +0000
commit4b260050827c80725a0f6efe44f1680638e0fa8b (patch)
tree28480524add7e0358ae6333e846f4740adcd7ef0 /org.eclipse.jubula.client.core.tests
parent07c4fb938f9f515c9d82c091dff4f7ae225dd545 (diff)
downloadorg.eclipse.jubula.core-4b260050827c80725a0f6efe44f1680638e0fa8b.tar.gz
org.eclipse.jubula.core-4b260050827c80725a0f6efe44f1680638e0fa8b.tar.xz
org.eclipse.jubula.core-4b260050827c80725a0f6efe44f1680638e0fa8b.zip
Non-sprint task - unified IDE JDT settings: nonExternalizedStringLiteral --> error
Diffstat (limited to 'org.eclipse.jubula.client.core.tests')
-rw-r--r--org.eclipse.jubula.client.core.tests/src/org/eclipse/jubula/client/core/tests/parameter/TestParameterInput.java60
1 files changed, 30 insertions, 30 deletions
diff --git a/org.eclipse.jubula.client.core.tests/src/org/eclipse/jubula/client/core/tests/parameter/TestParameterInput.java b/org.eclipse.jubula.client.core.tests/src/org/eclipse/jubula/client/core/tests/parameter/TestParameterInput.java
index ff38a5926..15a57f561 100644
--- a/org.eclipse.jubula.client.core.tests/src/org/eclipse/jubula/client/core/tests/parameter/TestParameterInput.java
+++ b/org.eclipse.jubula.client.core.tests/src/org/eclipse/jubula/client/core/tests/parameter/TestParameterInput.java
@@ -53,13 +53,13 @@ public class TestParameterInput {
ParsedParameter param =
new ParsedParameter(true, null, null);
ast.apply(param);
- assertTrue(m_inputString + " succeeded unexpectedly.", m_inputIsValid);
+ assertTrue(m_inputString + " succeeded unexpectedly.", m_inputIsValid); //$NON-NLS-1$
} catch (ParserException e) {
- assertFalse(m_inputString + " failed unexpectedly.", m_inputIsValid);
+ assertFalse(m_inputString + " failed unexpectedly.", m_inputIsValid); //$NON-NLS-1$
} catch (LexerException e) {
- assertFalse(m_inputString + " failed unexpectedly.", m_inputIsValid);
+ assertFalse(m_inputString + " failed unexpectedly.", m_inputIsValid); //$NON-NLS-1$
} catch (SemanticParsingException spe) {
- assertFalse(m_inputString + " failed unexpectedly.", m_inputIsValid);
+ assertFalse(m_inputString + " failed unexpectedly.", m_inputIsValid); //$NON-NLS-1$
}
}
@@ -74,33 +74,33 @@ public class TestParameterInput {
@Parameters
public static Collection<Object[]> createInputStrings() {
return Arrays.asList(new Object[][] {
- {"", true},
- {"abc123", true},
- {"=PARAMETER", true},
- {"={PARAMETER}", true},
- {"=1", true},
- {"={1}", true},
- {"?abc()", true},
- {"?abc(arg)", true},
- {"?abc(arg1, arg2)", true},
- {"?abc(?abc(arg1, arg2), ={PARAM_ARG}, \\=prefix${VARIABLE_ARG}\\$\\?suffix)", true},
+ {"", true}, //$NON-NLS-1$
+ {"abc123", true}, //$NON-NLS-1$
+ {"=PARAMETER", true}, //$NON-NLS-1$
+ {"={PARAMETER}", true}, //$NON-NLS-1$
+ {"=1", true}, //$NON-NLS-1$
+ {"={1}", true}, //$NON-NLS-1$
+ {"?abc()", true}, //$NON-NLS-1$
+ {"?abc(arg)", true}, //$NON-NLS-1$
+ {"?abc(arg1, arg2)", true}, //$NON-NLS-1$
+ {"?abc(?abc(arg1, arg2), ={PARAM_ARG}, \\=prefix${VARIABLE_ARG}\\$\\?suffix)", true}, //$NON-NLS-1$
- {"=", false}, // missing parameter name
- {"={}", false}, // missing parameter name
- {"$", false}, // missing variable name
- {"${}", false}, // missing variable name
- {"'", false}, // missing closing single quote
- {"?", false}, // missing function body
- {"?(", false}, // missing closing parentheses
- {"?)", false}, // missing opening parentheses
- {"?()", false}, // missing function name
- {"?a", false}, // missing function argument list
- {"?=", false}, // invalid (parameter symbol) after function symbol
- {"??", false}, // invalid (function symbol) after function symbol
- {"?$", false}, // invalid (variable symbol) after function symbol
- {"?''", false}, // invalid (single quote) after function symbol
- {"?abc(?abc(arg1, arg2))", true},
- {"?abc(?abc(arg1, arg2), ={PARAM_ARG}, prefix${VARIABLE_ARG}suffix)", true},
+ {"=", false}, // missing parameter name //$NON-NLS-1$
+ {"={}", false}, // missing parameter name //$NON-NLS-1$
+ {"$", false}, // missing variable name //$NON-NLS-1$
+ {"${}", false}, // missing variable name //$NON-NLS-1$
+ {"'", false}, // missing closing single quote //$NON-NLS-1$
+ {"?", false}, // missing function body //$NON-NLS-1$
+ {"?(", false}, // missing closing parentheses //$NON-NLS-1$
+ {"?)", false}, // missing opening parentheses //$NON-NLS-1$
+ {"?()", false}, // missing function name //$NON-NLS-1$
+ {"?a", false}, // missing function argument list //$NON-NLS-1$
+ {"?=", false}, // invalid (parameter symbol) after function symbol //$NON-NLS-1$
+ {"??", false}, // invalid (function symbol) after function symbol //$NON-NLS-1$
+ {"?$", false}, // invalid (variable symbol) after function symbol //$NON-NLS-1$
+ {"?''", false}, // invalid (single quote) after function symbol //$NON-NLS-1$
+ {"?abc(?abc(arg1, arg2))", true}, //$NON-NLS-1$
+ {"?abc(?abc(arg1, arg2), ={PARAM_ARG}, prefix${VARIABLE_ARG}suffix)", true}, //$NON-NLS-1$
});
}
}

Back to the top