1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
|
From: "Daniele E. Domenichelli" <daniele.domenichelli@iit.it>
Date: Mon, 31 Aug 2020 19:10:03 +0200
Subject: Fix spelling
Forwarded: not-needed
---
doc/plugin_example.dox | 2 +-
src/plugins/python/src/PythonPluginLoader.cpp | 10 +++++-----
.../include/robottestingframework/Arguments.h | 2 +-
.../include/robottestingframework/FixtureManager.h | 2 +-
.../include/robottestingframework/TestCase.h | 4 ++--
5 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/doc/plugin_example.dox b/doc/plugin_example.dox
index 75eca44..9258685 100644
--- a/doc/plugin_example.dox
+++ b/doc/plugin_example.dox
@@ -55,7 +55,7 @@ be enabled by default).
Create a class which inherited from the TestCase class.
Override the \c run() method and/or \c setup(int argc, char** argv) ,
\c tearDown() if needed.
-The paramters set for the test case using
+The parameters set for the test case using
\c robottestingframework::TestCase::setParam are parsed into standard
\c `(int argc, char**argv)` format and are passed to the \c setup method.
The original string parameter is also accessible using
diff --git a/src/plugins/python/src/PythonPluginLoader.cpp b/src/plugins/python/src/PythonPluginLoader.cpp
index ff621eb..ce8f756 100644
--- a/src/plugins/python/src/PythonPluginLoader.cpp
+++ b/src/plugins/python/src/PythonPluginLoader.cpp
@@ -322,7 +322,7 @@ PyObject* PythonPluginLoaderImpl::setName(PyObject* self,
auto* impl = (PythonPluginLoaderImpl*)PyCapsule_GetPointer(self, "PythonPluginLoaderImpl");
ROBOTTESTINGFRAMEWORK_ASSERT_ERROR_IF_FALSE(impl != nullptr, "The setName cannot find the instance of PythonPluginLoaderImpl");
if (PyArg_ParseTuple(args, "s", &name) == 0) {
- ROBOTTESTINGFRAMEWORK_ASSERT_ERROR(Asserter::format("setName() is called with the wrong paramters."));
+ ROBOTTESTINGFRAMEWORK_ASSERT_ERROR(Asserter::format("setName() is called with the wrong parameters."));
}
impl->setTestName(name);
Py_RETURN_NONE;
@@ -337,7 +337,7 @@ PyObject* PythonPluginLoaderImpl::assertError(PyObject* self,
ROBOTTESTINGFRAMEWORK_ASSERT_ERROR_IF_FALSE(impl != nullptr, "The setName cannot find the instance of PythonPluginLoaderImpl");
if (PyArg_ParseTuple(args, "s", &message) == 0) {
- ROBOTTESTINGFRAMEWORK_ASSERT_ERROR(Asserter::format("assertError() is called with the wrong paramters."));
+ ROBOTTESTINGFRAMEWORK_ASSERT_ERROR(Asserter::format("assertError() is called with the wrong parameters."));
}
//impl->close();
Asserter::error(TestMessage("asserts error with exception",
@@ -356,7 +356,7 @@ PyObject* PythonPluginLoaderImpl::assertFail(PyObject* self,
ROBOTTESTINGFRAMEWORK_ASSERT_ERROR_IF_FALSE(impl != nullptr, "The setName cannot find the instance of PythonPluginLoaderImpl");
if (PyArg_ParseTuple(args, "s", &message) == 0) {
- ROBOTTESTINGFRAMEWORK_ASSERT_ERROR(Asserter::format("assertError() is called with the wrong paramters."));
+ ROBOTTESTINGFRAMEWORK_ASSERT_ERROR(Asserter::format("assertError() is called with the wrong parameters."));
}
Asserter::fail(TestMessage("asserts failure with exception",
message,
@@ -374,7 +374,7 @@ PyObject* PythonPluginLoaderImpl::testReport(PyObject* self,
ROBOTTESTINGFRAMEWORK_ASSERT_ERROR_IF_FALSE(impl != nullptr, "The setName cannot find the instance of PythonPluginLoaderImpl");
if (PyArg_ParseTuple(args, "s", &message) == 0) {
- ROBOTTESTINGFRAMEWORK_ASSERT_ERROR(Asserter::format("assertError() is called with the wrong paramters."));
+ ROBOTTESTINGFRAMEWORK_ASSERT_ERROR(Asserter::format("assertError() is called with the wrong parameters."));
}
Asserter::report(TestMessage("reports",
message,
@@ -393,7 +393,7 @@ PyObject* PythonPluginLoaderImpl::testCheck(PyObject* self,
ROBOTTESTINGFRAMEWORK_ASSERT_ERROR_IF_FALSE(impl != nullptr, "The setName cannot find the instance of PythonPluginLoaderImpl");
if (PyArg_ParseTuple(args, "Os", &cond, &message) == 0) {
- ROBOTTESTINGFRAMEWORK_ASSERT_ERROR(Asserter::format("assertError() is called with the wrong paramters."));
+ ROBOTTESTINGFRAMEWORK_ASSERT_ERROR(Asserter::format("assertError() is called with the wrong parameters."));
}
//const char* str_cond = PyString_AsString(cond);
//char str_cond[] = "False";
diff --git a/src/robottestingframework/include/robottestingframework/Arguments.h b/src/robottestingframework/include/robottestingframework/Arguments.h
index e670ebb..0bd46f0 100644
--- a/src/robottestingframework/include/robottestingframework/Arguments.h
+++ b/src/robottestingframework/include/robottestingframework/Arguments.h
@@ -33,7 +33,7 @@ class Arguments
{
public:
/**
- * @brief parse Parses a string paramters into argc, argv format
+ * @brief parse Parses a string parameters into argc, argv format
* @param azParam Input string parmater
* @param argc The parsed argument count
* @param argv The parsed arguments
diff --git a/src/robottestingframework/include/robottestingframework/FixtureManager.h b/src/robottestingframework/include/robottestingframework/FixtureManager.h
index 790e3a1..a57bd4a 100644
--- a/src/robottestingframework/include/robottestingframework/FixtureManager.h
+++ b/src/robottestingframework/include/robottestingframework/FixtureManager.h
@@ -129,7 +129,7 @@ public:
FixtureEvents* getDispatcher();
/**
- * @brief setParam Sets the optional paramters of the fixture manager.
+ * @brief setParam Sets the optional parameters of the fixture manager.
* The parameter string is parsed into (argc/argv) format
* and will be passed to the fixture manager using setup(int argc, char** argv).
* @param param the parameter string
diff --git a/src/robottestingframework/include/robottestingframework/TestCase.h b/src/robottestingframework/include/robottestingframework/TestCase.h
index 2a5e74c..a95071f 100644
--- a/src/robottestingframework/include/robottestingframework/TestCase.h
+++ b/src/robottestingframework/include/robottestingframework/TestCase.h
@@ -44,7 +44,7 @@ public:
/**
* TestCase constructor
* @param name The TestCase name
- * @param param The optional paramters for the test case
+ * @param param The optional parameters for the test case
*/
TestCase(std::string name, std::string param = "");
@@ -107,7 +107,7 @@ public:
TestResult* getResult();
/**
- * @brief setParam Sets the optional paramters of the test.
+ * @brief setParam Sets the optional parameters of the test.
* The parameter string is parsed into (argc/argv) format
* and will be passed to the test case using setup(int argc, char** argv).
* @param param the paramter string
|