dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
command.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use README.md file as main page for Doxygen documentation
[command.git]
/
tests
/
parameter
/
is_descriptive.cpp
diff --git
a/tests/parameter/is_descriptive.cpp
b/tests/parameter/is_descriptive.cpp
index 0b9c7331f72a4a19e9902fe40a12c527f05beaa1..dfaf603a958268c4fc1975909b0a52935daab7f5 100644
(file)
--- a/
tests/parameter/is_descriptive.cpp
+++ b/
tests/parameter/is_descriptive.cpp
@@
-1,21
+1,13
@@
#include <cstring>
#include <iostream>
#include <cstring>
#include <iostream>
-#include "
p
arameter.h"
+#include "
TestP
arameter.h"
using namespace std;
using namespace command;
#define STRING "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
using namespace std;
using namespace command;
#define STRING "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
-class TestParameter : public Parameter {
-public:
- TestParameter(std::string description) : Parameter(description) { }
-
- virtual void handle() { }
- virtual bool understand(std::string argVal) { }
-};
-
int main() {
TestParameter parameter(STRING);
int main() {
TestParameter parameter(STRING);