Bug 450137 - Add namespaces to multiple classes with the same name in xpcom/tests, to avoid automated tool confusion, r=dbaron

This commit is contained in:
Benjamin Smedberg
2008-08-18 12:45:38 -04:00
parent d2f1219e9c
commit 63f970a88c
6 changed files with 35 additions and 1 deletions

View File

@@ -45,6 +45,8 @@
{0x9e70a320, 0xbe02, 0x11d1, \
{0x80, 0x31, 0x00, 0x60, 0x08, 0x15, 0x9b, 0x5a}}
namespace TestArray {
static const PRBool kExitOnError = PR_TRUE;
class IFoo : public nsISupports {
@@ -137,6 +139,10 @@ void FillArray(nsISupportsArray* aArray, PRInt32 aCount)
}
}
}
using namespace TestArray;
int main(int argc, char *argv[])
{
nsISupportsArray* array;