*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:
idk%eng.sun.com
2001-07-25 22:05:35 +00:00
parent ad651ef17b
commit 4e0a322dbc
92 changed files with 1360 additions and 885 deletions

View File

@@ -30,21 +30,16 @@ XPIDL_MODULE = X2JRETServerTestComponent
JAVA_OR_NSJVM = 1
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk
X2JRETServerTestComponent.class:
$(JDKHOME)/bin/javac -classpath $(DEPTH)/dist/classes X2JRETServerTestComponent.java
JDIRS=.
X2JRETServerTestComponent.jar.comp: manifest iX2JRETServerTestComponent.class X2JRETServerTestComponent.class
X2JRETServerTestComponent.jar.comp: manifest X2JRETServerTestComponent.class
$(JDKHOME)/bin/jar cvfm X2JRETServerTestComponent.jar.comp manifest *.class
.SUFFIXES: .java .class
.java.class:
export::
$(JDKHOME)/bin/javac -classpath $(DEPTH)/dist/classes -d $(DEPTH)/dist/classes iX2JRETServerTestComponent.java
$(JDKHOME)/bin/javac -classpath $(DEPTH)/dist/classes X2JRETServerTestComponent.java
install-component: X2JRETServerTestComponent.jar.comp X2JRETServerTestComponent.jar.info
cp -f X2JRETServerTestComponent.jar* $(DIST)/bin/components

View File

@@ -327,7 +327,7 @@ public class X2JRETServerTestComponent implements iX2JRETServerTestComponent {
switch (all) {
case 0: _string=""; break;
case 1: _string="abc"; break;
case 2: _string="NULL string must be here"; break;
case 2: _string=null; break;
}
all++;
S=S+_string+"\n";
@@ -347,7 +347,7 @@ public class X2JRETServerTestComponent implements iX2JRETServerTestComponent {
switch (all) {
case 0: _wstring=""; break;
case 1: _wstring="abc"; break;
case 2: _wstring="ctrl"; break;
case 2: _wstring=null; break;
}
all++;
S=S+_wstring+"\n";

View File

@@ -44,8 +44,8 @@ X2JRETServerTestComponent.jar.comp: manifest iX2JRETServerTestComponent.class X2
.SUFFIXES: .java .class
.java.class:
$(JDKHOME)\bin\javac -classpath $(DEPTH)\dist\classes -d $(DEPTH)\dist\classes iX2JRETServerTestComponent.java
$(JDKHOME)\bin\javac -classpath $(DEPTH)\dist\classes X2JRETServerTestComponent.java
$(JDKHOME)\bin\javac -classpath $(CLASSPATH) -d $(DEPTH)\dist\classes iX2JRETServerTestComponent.java
$(JDKHOME)\bin\javac -classpath $(CLASSPATH) X2JRETServerTestComponent.java
install-component: X2JRETServerTestComponent.jar.comp X2JRETServerTestComponent.jar.info $(DLL)
copy X2JRETServerTestComponent.jar* $(DIST)\bin\components
@@ -53,6 +53,6 @@ install-component: X2JRETServerTestComponent.jar.comp X2JRETServerTestComponent.
clobber::
-del /f *.class *.jar.comp
-del /f $(DIST)\bin\components\X2JRETServerTestComponent.jar.*
-del /f $(DIST)\..\classes\org\mozilla\xpcom\iX2JRETServerTestComponent.*
clobber_all:: clobber
install:: install-component