*not part of the buld*
blackConnect tests update git-svn-id: svn://10.0.0.236/trunk@99925 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -37,9 +37,9 @@ CPPSRCS = \
|
||||
X2JINOUTClientTestComponent.cpp \
|
||||
X2JINOUTClientTestComponentFactory.cpp \
|
||||
$(NULL)
|
||||
|
||||
XPIDLSRCS = iX2JINOUTClientTestComponent.idl
|
||||
|
||||
JAVAI = iX2JINOUTClientTestComponent.class
|
||||
DSO_LDOPTS += \
|
||||
$(XPCOM_LIBS) \
|
||||
$(NSPR_LIBS) \
|
||||
@@ -47,7 +47,3 @@ DSO_LDOPTS += \
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
$(JAVAI)::
|
||||
$(JDKHOME)/bin/javac -classpath .:$(DIST)/classes -d $(DIST)/classes $<
|
||||
|
||||
install:: $(JAVAI)
|
||||
|
||||
@@ -492,6 +492,23 @@ void X2JINOUTClientTestComponentImpl::TestWString(){
|
||||
NS_FREE_STR_BUF(aBuf2)
|
||||
}
|
||||
|
||||
_string=NULL;
|
||||
cstr=new nsCString(_string);
|
||||
_wstring=cstr->ToNewUnicode();
|
||||
str = *(new nsString(_wstring));
|
||||
{
|
||||
NS_ALLOC_STR_BUF(aBuf5,str,100)
|
||||
val=PR_sprintf_append(val,"%s\n",aBuf5);
|
||||
NS_FREE_STR_BUF(aBuf5)
|
||||
}
|
||||
serverComponent->TestWString(&_wstring);
|
||||
str = *(new nsString(_wstring));
|
||||
{
|
||||
NS_ALLOC_STR_BUF(aBuf6,str,100)
|
||||
xval=PR_sprintf_append(xval,"%s\n",aBuf6);
|
||||
NS_FREE_STR_BUF(aBuf6)
|
||||
}
|
||||
|
||||
_string="Test string.";
|
||||
cstr=new nsCString(_string);
|
||||
_wstring=cstr->ToNewUnicode();
|
||||
|
||||
Reference in New Issue
Block a user