From 03fd3d6581dbe5411425a23d455476f4d0d22ef4 Mon Sep 17 00:00:00 2001 From: Cheryl Foil Date: Sat, 16 Aug 2008 07:11:00 +0000 Subject: [PATCH] more cleaning up git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-cherylfoil@10766 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- .../DoxygenTranslator/src/TranslatorTest.cpp | 68 ------------------- Source/DoxygenTranslator/src/TranslatorTest.h | 11 --- 2 files changed, 79 deletions(-) delete mode 100644 Source/DoxygenTranslator/src/TranslatorTest.cpp delete mode 100644 Source/DoxygenTranslator/src/TranslatorTest.h diff --git a/Source/DoxygenTranslator/src/TranslatorTest.cpp b/Source/DoxygenTranslator/src/TranslatorTest.cpp deleted file mode 100644 index f2bb48983..000000000 --- a/Source/DoxygenTranslator/src/TranslatorTest.cpp +++ /dev/null @@ -1,68 +0,0 @@ - -#include -#include -#include -#include -#include -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 - 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 - 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; -} diff --git a/Source/DoxygenTranslator/src/TranslatorTest.h b/Source/DoxygenTranslator/src/TranslatorTest.h deleted file mode 100644 index 0014de718..000000000 --- a/Source/DoxygenTranslator/src/TranslatorTest.h +++ /dev/null @@ -1,11 +0,0 @@ -#ifndef TRANSLATORTEST_H_ -#define TRANSLATORTEST_H_ - -class TranslatorTest -{ -public: - TranslatorTest(); - virtual ~TranslatorTest(); -}; - -#endif /*TRANSLATORTEST_H_*/