Add some more unit tests.

This commit is contained in:
Stephen Kelly
2011-08-25 19:01:04 +02:00
parent 83ce7c4d3c
commit 93d8d1992e
10 changed files with 114 additions and 0 deletions
@@ -0,0 +1,9 @@
#include "someclass.h"
int main(int, char**)
{
SomeClass sc;
sc.someMethod();
return 0;
}
@@ -0,0 +1,9 @@
#include "someclass.h"
#ifndef NODEPRECATEDLIB_NO_DEPRECATED
void SomeClass::someMethod() const
{
}
#endif
@@ -0,0 +1,10 @@
#include "nodeprecatedlib_export.h"
class NODEPRECATEDLIB_EXPORT SomeClass
{
public:
#ifndef NODEPRECATEDLIB_NO_DEPRECATED
void someMethod() const;
#endif
};