https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 0ecc076d496e3be9b44131a2923897edc4e8116c authored by Brian Smith on 16 February 2013, 19:21:13 UTC
Bug 842064: Fix build bustage caused by expired certificates in test_signed_apps.js on a CLOSED TREE, a=bustage, a=testonly
Tip revision: 0ecc076
TestXPIDLString.cpp
#include "nsString.h"
#include "nsReadableUtils.h"
#include "nsXPIDLString.h"

static void
nsXPIDLStringTest_Value(PRUnichar** aResult)
{
    *aResult = ToNewUnicode(NS_LITERAL_STRING("Hello, World"));
}

int
main(int argc, char* argv[])
{
    nsXPIDLString s1;
    nsXPIDLStringTest_Value(getter_Copies(s1));
    return 0;
}

back to top