more cleaning up

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-cherylfoil@10766 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Cheryl Foil 2008-08-16 07:11:00 +00:00
commit 03fd3d6581
2 changed files with 0 additions and 79 deletions

View file

@ -1,68 +0,0 @@
#include <cstdlib>
#include <iostream>
#include <fstream>
#include <string>
#include <list>
using namespace std;
/* This classes primary function is to test the basic text processing abilities of
* the Doxygen parsing class
* It is currently a little messy */
int testCommandParsingFunctions = 1;
int testCodeCrawlingFunctions = 1;
/* Testing clearFluff(), a method to scan past all excess / * ! from beginning of
* a comment blob. Compartmentalised simply because this is a comment habit that
* differs wildly */
int testClearFluff(){
string cases[] = {"/** WORD", "/*! WORD", "/******* WORD", "///// WORD", "//! WORD", "//! WORD", "///WORD",
"/**\nWORD", "/**\n*WORD", "/** \n WORD"};
return 1;
};
int testCCF(){
cout << "Testing getNextWord" << endl;
// Case 1: \command <name>
string case1 = "\b word";
string case2 = "\b word ";
string case3 = "\b word\n";
string case4 = "\b word \n";
string case5 = "\b word word";
//Case 2: \command {paragraph}
//Case 3: \command (text til end of line)
return 1;
}
int testCPF(){
// Case 1: \command <name>
string case1 = "\b word";
//Case 2: \command {paragraph}
//Case 3: \command (text til end of line)
return 1;
}
int main(int argc, char *argv[]){
if(testCodeCrawlingFunctions) testCCF();
if(testCommandParsingFunctions) testCPF();
return 1;
}

View file

@ -1,11 +0,0 @@
#ifndef TRANSLATORTEST_H_
#define TRANSLATORTEST_H_
class TranslatorTest
{
public:
TranslatorTest();
virtual ~TranslatorTest();
};
#endif /*TRANSLATORTEST_H_*/