*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();
|
||||
|
||||
@@ -35,21 +35,18 @@ include $(DEPTH)/config/autoconf.mk
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
|
||||
JAVA_SRC=X2JINOUTServerTestComponent.java
|
||||
|
||||
JAVAI_SRC=iX2JINOUTServerTestComponent.java
|
||||
X2JINOUTServerTestComponent.class:
|
||||
$(JDKHOME)/bin/javac -classpath $(CLASSPATH) X2JINOUTServerTestComponent.java
|
||||
|
||||
X2JINOUTServerTestComponent.jar.comp: manifest X2JINOUTServerTestComponent.class
|
||||
$(JDKHOME)/bin/jar cvfm X2JINOUTServerTestComponent.jar.comp manifest *.class
|
||||
|
||||
X2JINOUTServerTestComponent.class:
|
||||
$(JDKHOME)/bin/javac -classpath $(DEPTH)/dist/classes $(JAVA_SRC)
|
||||
|
||||
javai::
|
||||
$(JDKHOME)/bin/javac -classpath $(DEPTH)/dist/classes -d $(DEPTH)/dist/classes $(JAVAI_SRC)
|
||||
export::
|
||||
$(JDKHOME)/bin/javac -classpath $(CLASSPATH) -d $(DEPTH)/dist/classes iX2JINOUTServerTestComponent.java
|
||||
|
||||
|
||||
install-component: javai X2JINOUTServerTestComponent.jar.comp X2JINOUTServerTestComponent.jar.info
|
||||
|
||||
install-component: X2JINOUTServerTestComponent.jar.comp X2JINOUTServerTestComponent.jar.info
|
||||
cp -f X2JINOUTServerTestComponent.jar* $(DIST)/bin/components
|
||||
|
||||
clobber::
|
||||
|
||||
@@ -41,8 +41,8 @@ X2JINOUTServerTestComponent.jar.comp: manifest iX2JINOUTServerTestComponent.clas
|
||||
.SUFFIXES: .java .class
|
||||
|
||||
.java.class:
|
||||
$(JDKHOME)\bin\javac -classpath $(DEPTH)\dist\classes -d $(DEPTH)\dist\classes iX2JINOUTServerTestComponent.java
|
||||
$(JDKHOME)\bin\javac -classpath $(DEPTH)\dist\classes X2JINOUTServerTestComponent.java
|
||||
$(JDKHOME)\bin\javac -classpath $(CLASSPATH) -d $(DEPTH)\dist\classes iX2JINOUTServerTestComponent.java
|
||||
$(JDKHOME)\bin\javac -classpath $(CLASSPATH) X2JINOUTServerTestComponent.java
|
||||
|
||||
install-component: X2JINOUTServerTestComponent.jar.comp X2JINOUTServerTestComponent.jar.info $(DLL)
|
||||
copy X2JINOUTServerTestComponent.jar* $(DIST)\bin\components
|
||||
@@ -50,6 +50,6 @@ install-component: X2JINOUTServerTestComponent.jar.comp X2JINOUTServerTestCompon
|
||||
clobber::
|
||||
-del /f *.class *.jar.comp
|
||||
-del /f $(DIST)\bin\components\X2JINOUTServerTestComponent.jar.*
|
||||
-del /f $(DIST)\..\classes\org\mozilla\xpcom\iX2JINOUTServerTestComponent.*
|
||||
|
||||
clobber_all:: clobber
|
||||
install:: install-component
|
||||
|
||||
Reference in New Issue
Block a user