*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 = \
|
||||
X2JINClientTestComponent.cpp \
|
||||
X2JINClientTestComponentFactory.cpp \
|
||||
$(NULL)
|
||||
|
||||
XPIDLSRCS = iX2JINClientTestComponent.idl
|
||||
|
||||
JAVAI = iX2JINClientTestComponent.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)
|
||||
|
||||
@@ -424,11 +424,25 @@
|
||||
_wstring=cstr->ToNewUnicode();
|
||||
|
||||
nsString str = *(new nsString(_wstring));
|
||||
|
||||
NS_ALLOC_STR_BUF(aBuf,str,14)
|
||||
{
|
||||
NS_ALLOC_STR_BUF(aBuf,str,256)
|
||||
val=PR_sprintf_append(val,"%s\n",aBuf);
|
||||
NS_FREE_STR_BUF(aBuf)
|
||||
}
|
||||
serverComponent->TestWString(_wstring);
|
||||
|
||||
|
||||
_string=NULL;
|
||||
|
||||
cstr=new nsCString(_string);
|
||||
_wstring=cstr->ToNewUnicode();
|
||||
|
||||
str = *(new nsString(_wstring));
|
||||
{
|
||||
NS_ALLOC_STR_BUF(aBuf1,str,256)
|
||||
val=PR_sprintf_append(val,"%s\n",aBuf1);
|
||||
NS_FREE_STR_BUF(aBuf1)
|
||||
}
|
||||
serverComponent->TestWString(_wstring);
|
||||
|
||||
PrintResult("x2j.in.client.wstring",val);
|
||||
|
||||
@@ -48,4 +48,5 @@ install:: $(DLL)
|
||||
$(MAKE_INSTALL) $(DLL) $(DIST)\bin\components
|
||||
clobber::
|
||||
del /f $(DIST)\bin\components\$(DLLNAME).dll
|
||||
del /f $(DIST)\bin\components\X2JIN*.xpt
|
||||
del /f $(DIST)\bin\components\X2JINC*.xpt
|
||||
del /f $(DIST)\bin\components\X2JINS*.xpt
|
||||
|
||||
Reference in New Issue
Block a user