Back to index

lightning-sunbird  0.9+nobinonly
TestXPIDLString.cpp
Go to the documentation of this file.
00001 #include "nsString.h"
00002 #include "nsReadableUtils.h"
00003 #include "nsXPIDLString.h"
00004 
00005 static void
00006 nsXPIDLStringTest_Value(PRUnichar** aResult)
00007 {
00008     *aResult = ToNewUnicode(NS_LITERAL_STRING("Hello, World"));
00009 }
00010 
00011 int
00012 main(int argc, char* argv[])
00013 {
00014     nsXPIDLString s1;
00015     nsXPIDLStringTest_Value(getter_Copies(s1));
00016     return 0;
00017 }
00018