*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:
@@ -39,15 +39,9 @@ CPPSRCS = \
|
||||
$(NULL)
|
||||
XPIDLSRCS = iX2JOUTClientTestComponent.idl
|
||||
|
||||
JAVAI = iX2JOUTClientTestComponent.class
|
||||
DSO_LDOPTS += \
|
||||
$(XPCOM_LIBS) \
|
||||
$(NSPR_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
$(JAVAI)::
|
||||
$(JDKHOME)/bin/javac -classpath .:$(DIST)/classes -d $(DIST)/classes $<
|
||||
|
||||
install:: $(JAVAI)
|
||||
|
||||
@@ -455,10 +455,10 @@ void X2JOUTClientTestComponentImpl::TestObject(){
|
||||
PrintResult("x2j.out.client.object","!!!Right string!!!");
|
||||
}
|
||||
|
||||
/*
|
||||
void X2JOUTClientTestComponentImpl::TestIID() {
|
||||
|
||||
// void X2JOUTClientTestComponentImpl::TestIID() {
|
||||
|
||||
/* const nsIID& iid=NS_GET_IID(iX2JOUTServerTestComponent);
|
||||
const nsIID& iid=NS_GET_IID(iX2JOUTServerTestComponent);
|
||||
val=NULL;
|
||||
|
||||
val=iid.ToString();
|
||||
@@ -466,9 +466,9 @@ void X2JOUTClientTestComponentImpl::TestObject(){
|
||||
val=PR_sprintf_append(val,"%s\n",val);
|
||||
PrintResult("x2j.out.client.iid",val);
|
||||
serverComponent->TestIID(&iid);
|
||||
*/
|
||||
// }
|
||||
|
||||
}
|
||||
*/
|
||||
// void X2JOUTClientTestComponentImpl::TestCID() {
|
||||
/*
|
||||
NS_DEFINE_CID(cid,X2JOUTCLIENTTESTCOMPONENT_CID);
|
||||
|
||||
@@ -30,21 +30,16 @@ XPIDL_MODULE = X2JOUTServerTestComponent
|
||||
JAVA_OR_NSJVM = 1
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
X2JOUTServerTestComponent.class:
|
||||
$(JDKHOME)/bin/javac -classpath $(DEPTH)/dist/classes X2JOUTServerTestComponent.java
|
||||
|
||||
JDIRS=.
|
||||
|
||||
X2JOUTServerTestComponent.jar.comp: manifest iX2JOUTServerTestComponent.class X2JOUTServerTestComponent.class
|
||||
X2JOUTServerTestComponent.jar.comp: manifest X2JOUTServerTestComponent.class
|
||||
$(JDKHOME)/bin/jar cvfm X2JOUTServerTestComponent.jar.comp manifest *.class
|
||||
|
||||
.SUFFIXES: .java .class
|
||||
|
||||
.java.class:
|
||||
export::
|
||||
$(JDKHOME)/bin/javac -classpath $(DEPTH)/dist/classes -d $(DEPTH)/dist/classes iX2JOUTServerTestComponent.java
|
||||
$(JDKHOME)/bin/javac -classpath $(DEPTH)/dist/classes X2JOUTServerTestComponent.java
|
||||
|
||||
install-component: X2JOUTServerTestComponent.jar.comp X2JOUTServerTestComponent.jar.info
|
||||
cp -f X2JOUTServerTestComponent.jar* $(DIST)/bin/components
|
||||
|
||||
@@ -316,7 +316,7 @@ public class X2JOUTServerTestComponent implements iX2JOUTServerTestComponent {
|
||||
public void testWString(String[] i) {
|
||||
switch (all) {
|
||||
case 0: i[0]=""; break;
|
||||
case 1: i[0]="Null must be here"; break;
|
||||
case 1: i[0]=null; break;
|
||||
case 2: i[0]="abc"; break;
|
||||
}
|
||||
all++;
|
||||
|
||||
@@ -56,7 +56,7 @@ interface iX2JOUTServerTestComponent : nsISupports {
|
||||
[array, size_is(count)] out long intArray);
|
||||
void testObject(out iX2JOUTServerTestComponent obj);
|
||||
void testObj();
|
||||
// void testIID(out nsIIDRef iid);
|
||||
// void testIID(out nsIIDRef aNameRef);
|
||||
// void testCID(out nsCIDRef cid);
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user