Skip to content

Commit 8afc2f3

Browse files
committed
apply formatting
1 parent 33cc0bb commit 8afc2f3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

codan/org.eclipse.cdt.codan.core.tests/src/org/eclipse/cdt/codan/core/internal/checkers/ForbiddenlistCheckerTest.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ public boolean isCpp() {
3838
// int * p = (int*)dontcall());
3939
//}
4040
public void testWithFunctionCall() throws Exception {
41-
setPreferenceValue(ForbiddenlistChecker.ERR_ID, ForbiddenlistChecker.PARAM_FORBIDDENLIST, new String[] { "dontcall" });
41+
setPreferenceValue(ForbiddenlistChecker.ERR_ID, ForbiddenlistChecker.PARAM_FORBIDDENLIST,
42+
new String[] { "dontcall" });
4243
loadCodeAndRun(getAboveComment());
4344
checkErrorLine(1, ERR_ID);
4445
checkErrorLine(5, ERR_ID);
@@ -51,7 +52,8 @@ public void testWithFunctionCall() throws Exception {
5152
// void* (*ptr)() = dontcall;
5253
//}
5354
public void testWithFunctionPtr() throws Exception {
54-
setPreferenceValue(ForbiddenlistChecker.ERR_ID, ForbiddenlistChecker.PARAM_FORBIDDENLIST, new String[] { "dontcall" });
55+
setPreferenceValue(ForbiddenlistChecker.ERR_ID, ForbiddenlistChecker.PARAM_FORBIDDENLIST,
56+
new String[] { "dontcall" });
5557
loadCodeAndRun(getAboveComment());
5658
checkErrorLine(1, ERR_ID);
5759
checkErrorLine(5, ERR_ID);
@@ -68,7 +70,8 @@ public void testWithFunctionPtr() throws Exception {
6870
// f.dontcall();
6971
//}
7072
public void testWithMethod() throws Exception {
71-
setPreferenceValue(ForbiddenlistChecker.ERR_ID, ForbiddenlistChecker.PARAM_FORBIDDENLIST, new String[] { "Foo::dontcall" });
73+
setPreferenceValue(ForbiddenlistChecker.ERR_ID, ForbiddenlistChecker.PARAM_FORBIDDENLIST,
74+
new String[] { "Foo::dontcall" });
7275
loadCodeAndRun(getAboveComment());
7376
checkErrorLine(3, ERR_ID);
7477
checkErrorLine(9, ERR_ID);

0 commit comments

Comments
 (0)