Cleanup of old testcases

This commit is contained in:
Daniel Marjamäki 2008-02-17 11:53:39 +00:00
parent c66846353c
commit 6080808878
21 changed files with 0 additions and 121 deletions

View File

View File

@ -1,10 +0,0 @@
void f()
{
if (a=b)
{
}
}

View File

View File

@ -1,8 +0,0 @@
void foo(int i)
{
if (ab)
{
i = 4;
}
}

View File

View File

@ -1,28 +0,0 @@
class ITEM
{
public:
void CountIO( int &noIn, int &noOut ) const;
};
void ITEM::CountIO( int &noIn, int &noOut ) const
{
noIn = 0;
noOut = 0;
}

View File

@ -1 +0,0 @@
[testfunc4\testfunc4.cpp:5]: Invalid radix in call to strtol or strtoul. Must be 0 or 2-36

View File

@ -1,7 +0,0 @@
void f()
{
// The parameter "1" is invalid!
strtoul(str, NULL, 1);
}

View File

View File

@ -1,8 +0,0 @@
void f()
{
if (condition)
flag = true;
}

View File

View File

@ -1,7 +0,0 @@
void f()
{
if (ab);
cd = ef;
}

View File

View File

@ -1,10 +0,0 @@
void f()
{
a = b;
if ( a != b )
{
// Something is very wrong
}
}

View File

View File

@ -1,11 +0,0 @@
void f()
{
a = b;
#endif
if (a == b)
{
}
}

View File

View File

@ -1,14 +0,0 @@
void f()
{
doc = cur->doc;
if (doc != NULL)
dict = doc->dict;
else
dict = NULL;
if (dict != NULL) {
}
}

View File

View File

@ -1,9 +0,0 @@
void f()
{
if ( strcmp(str, "abc") == 0 )
abc = true;
else
abc = false;
}

View File

@ -1,8 +0,0 @@
@ECHO OFF
FOR /D %%s IN (test*) DO (
cppcheck %%s\%%s.cpp 2> %%s\err.msg
)