Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2011-12-05 22:48:09 -0500
committerSergey Prigogin2011-12-05 22:57:17 -0500
commit693a79de5e0523e50843baa4eac7daa8a183b66d (patch)
treec47f9acccb7d3f85d20731fa967a6c3dc649ae11 /codan/org.eclipse.cdt.codan.core.test
parentb140bf8ba6e96869a322826338b86beb777db5b5 (diff)
downloadorg.eclipse.cdt-693a79de5e0523e50843baa4eac7daa8a183b66d.tar.gz
org.eclipse.cdt-693a79de5e0523e50843baa4eac7daa8a183b66d.tar.xz
org.eclipse.cdt-693a79de5e0523e50843baa4eac7daa8a183b66d.zip
Fixed typos.
Diffstat (limited to 'codan/org.eclipse.cdt.codan.core.test')
-rw-r--r--codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ClassMembersInitializationCheckerTest.java10
-rw-r--r--codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ReturnCheckerTest.java4
2 files changed, 7 insertions, 7 deletions
diff --git a/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ClassMembersInitializationCheckerTest.java b/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ClassMembersInitializationCheckerTest.java
index a0b261b1db..343a37d16a 100644
--- a/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ClassMembersInitializationCheckerTest.java
+++ b/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ClassMembersInitializationCheckerTest.java
@@ -53,7 +53,7 @@ public class ClassMembersInitializationCheckerTest extends CheckerTestCase {
// int m;
// C() { m = 0; } // No warnings.
// };
- public void testAssignmentsInContructorShouldBeChecked() {
+ public void testAssignmentsInConstructorShouldBeChecked() {
loadCodeAndRun(getAboveComment());
checkNoErrors();
}
@@ -171,7 +171,7 @@ public class ClassMembersInitializationCheckerTest extends CheckerTestCase {
// int i1, i2;
// };
// C::C() : i1(0) {} // 1 warning for: i2.
- public void testExternalContructorHandling() {
+ public void testExternalConstructorHandling() {
loadCodeAndRun(getAboveComment());
checkErrorLines(5);
}
@@ -184,7 +184,7 @@ public class ClassMembersInitializationCheckerTest extends CheckerTestCase {
// T2 t2;
// };
// C::C() : i1(0), t1(T1()) {} // 1 warning for: i2.
- public void testExternalContructorOfTemplateClassHandling() {
+ public void testExternalConstructorOfTemplateClassHandling() {
loadCodeAndRun(getAboveComment());
checkErrorLines(8);
}
@@ -196,7 +196,7 @@ public class ClassMembersInitializationCheckerTest extends CheckerTestCase {
// };
// template <typename T>
// C::C() : i1(0) {} // 1 warning for: i2.
- public void testExternalTemplateContructorHandling() {
+ public void testExternalTemplateConstructorHandling() {
loadCodeAndRun(getAboveComment());
checkErrorLines(7);
}
@@ -212,7 +212,7 @@ public class ClassMembersInitializationCheckerTest extends CheckerTestCase {
// template <typename T1, typename T2>
// template <typename T>
// C<T1,T2>::C() : i1(0), t1(T1()) {} // 1 warning for: i2.
- public void testExternalTemplateContructorOfTemplateClassHandling() {
+ public void testExternalTemplateConstructorOfTemplateClassHandling() {
loadCodeAndRun(getAboveComment());
checkErrorLines(11);
}
diff --git a/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ReturnCheckerTest.java b/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ReturnCheckerTest.java
index 9a09a8c7d8..95519bf9fb 100644
--- a/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ReturnCheckerTest.java
+++ b/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ReturnCheckerTest.java
@@ -122,7 +122,7 @@ public class ReturnCheckerTest extends CheckerTestCase {
// return;
// }
// };
- public void testContructorRetValue() {
+ public void testConstructorRetValue() {
loadCodeAndRunCpp(getAboveComment());
checkErrorLine(3, ReturnChecker.RET_ERR_VALUE_ID);
}
@@ -136,7 +136,7 @@ public class ReturnCheckerTest extends CheckerTestCase {
// return;
// }
// };
- public void testContructor_Bug323602() {
+ public void testConstructor_Bug323602() {
IProblemPreference macro = getPreference(ReturnChecker.RET_NO_VALUE_ID, ReturnChecker.PARAM_IMPLICIT);
macro.setValue(Boolean.TRUE);
loadCodeAndRunCpp(getAboveComment());

Back to the top