fix for 80938 a = avm@sparc.spb.su ovk@sparc.spb.su sva@sparc.spb.su Tests for blackConnect git-svn-id: svn://10.0.0.236/trunk@95860 18797224-902f-48f8-a5cc-f745e15eee43
302 lines
12 KiB
HTML
302 lines
12 KiB
HTML
<!-- saved from url=(0022)http://internet.e-mail -->
|
|
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<meta name="GENERATOR" content="Mozilla/4.73 [en] (X11; U; Linux 2.2.14-12smp i686) [Netscape]">
|
|
<title>Description of XPCOM tests.
|
|
</title>
|
|
</head>
|
|
<body bgcolor="#FFFFFF">
|
|
This document contains a simple description
|
|
of XPCOM tests.
|
|
<ul>
|
|
<li>
|
|
<a href="#X2JIN">Tests for <b>X2JIN</b> xpcom component.</a></li>
|
|
|
|
<li>
|
|
<a href="#X2JOUT">Tests for <b>X2JOUT</b> xpcom component.</a></li>
|
|
|
|
<li>
|
|
<a href="#X2JINOUT">Tests for <b>X2JINOUT</b> xpcom component.</a></li>
|
|
|
|
<li>
|
|
<a href="#X2JRET">Tests for <b>X2JRET</b> xpcom component.</a></li>
|
|
|
|
<li>
|
|
<a href="#J2XIN">Tests for <b>J2XIN</b> xpcom component.</a></li>
|
|
|
|
<li>
|
|
<a href="#J2XOUT">Tests for <b>J2XOUT</b> xpcom component.</a></li>
|
|
|
|
<li>
|
|
<a href="#J2XINOUT">Tests for <b>J2XINOUT</b> xpcom component.</a></li>
|
|
|
|
<li>
|
|
<a href="#J2XRET">Tests for <b>J2XRET</b> xpcom component.</a></li>
|
|
</ul>
|
|
<a NAME="X2JIN"></a>
|
|
<h2>
|
|
1. Tests for X2JIN xpcom component.</h2>
|
|
Client part of the X2JIN component is written in C++.
|
|
<br>Server part of the X2JIN component is written in Java.
|
|
<br><b>How it works:</b> Client part is loaded by Mozilla browser and loads
|
|
server part of component. After that, client part sets different parameters
|
|
and tries to invoke methods with these parameters from the server part.
|
|
<br><b>Expected result:</b> Parameters, which were set in client part,
|
|
are transferred to the server part correctly.
|
|
<br><b>List of test methods:</b>
|
|
<br>testShort(in short);
|
|
<br>testInt(in long);
|
|
<br>testLong(in long long);
|
|
<br>testByte(in octet);
|
|
<br>testUShort(in unsigned short);
|
|
<br>testUInt(in unsigned long);
|
|
<br>testULong(in unsigned long long);
|
|
<br>testFloat(in float);
|
|
<br>testDouble(in double);
|
|
<br>testBoolean(in boolean);
|
|
<br>testChar(in char);
|
|
<br>testWChar(in wchar);
|
|
<br>testString(in string);
|
|
<br>testWString(in wstring);
|
|
<br>testStringArray(in unsigned long,[array, size_is(count)] in string);
|
|
<br>testIntArray(in unsigned long, [array, size_is(count)] in long);
|
|
<br>testCharArray(in unsigned long,[array, size_is(count)] in char);
|
|
<br>testMixed(in boolean, in char, in octet, in short, in unsigned short,
|
|
in long, in unsigned long, in long long, in unsigned long long, in float,
|
|
in double, in string, in unsigned long, [array, size_is(count)] in long);
|
|
<br>testObject(in iX2JINServerTestComponent);
|
|
<br><a NAME="X2JOUT"></a>
|
|
<h2>
|
|
2. Tests for X2JOUT xpcom component.</h2>
|
|
Client part of the X2JOUT component is written in C++.
|
|
<br>Server part of the X2JOUT component is written in Java.
|
|
<br><b>How it works:</b> Client part is loaded by Mozilla browser and loads
|
|
server part of component. After that, client part gets different parameters
|
|
invoking methods from the server part.
|
|
<br><b>Expected result:</b> Parameters, which were set in server part,
|
|
are transferred to the client part correctly.
|
|
<br><b>List of test methods:</b>
|
|
<br>testShort(out short);
|
|
<br>testInt(out long);
|
|
<br>testLong(out long long);
|
|
<br>testByte(out octet);
|
|
<br>testUShort(out unsigned short);
|
|
<br>testUInt(out unsigned long);
|
|
<br>testULong(out unsigned long long);
|
|
<br>testFloat(out float);
|
|
<br>testDouble(out double);
|
|
<br>testBoolean(out boolean);
|
|
<br>testChar(out char);
|
|
<br>testWChar(out wchar);
|
|
<br>testString(out string);
|
|
<br>testWString(out wstring);
|
|
<br>testStringArray(in unsigned long,[array, size_is(count)] out string);
|
|
<br>testIntArray(in unsigned long, [array, size_is(count)] out long);
|
|
<br>testCharArray(in unsigned long,[array, size_is(count)] out char);
|
|
<br>testMixed(out boolean, out char, out octet, out short, out unsigned
|
|
short, out long, out unsigned long, out long long, out unsigned long long,
|
|
out float, out double, out string, in unsigned long, [array, size_is(count)]
|
|
out long);
|
|
<br>testObject(out iX2JOUTServerTestComponent);
|
|
<br><a NAME="X2JINOUT"></a>
|
|
<h2>
|
|
3. Tests for X2JINOUT xpcom component.</h2>
|
|
Client part of the X2JINOUT component is written in C++.
|
|
<br>Server part of the X2JINOUT component is written in Java.
|
|
<br><b>How it works:</b> Client part is loaded by Mozilla browser and loads
|
|
server part of component. After that, client part sets different parameters
|
|
and transfers them to the server part. The server part transfers these
|
|
parameters back to the client part.
|
|
<br><b>Expected result:</b> Parameters, which were set in the client part,
|
|
are transferred to the server part and back to the client part correctly.
|
|
<br><b>List of test methods:</b>
|
|
<br>testShort(inout short);
|
|
<br>testInt(inout long);
|
|
<br>testLong(inout long long);
|
|
<br>testByte(inout octet);
|
|
<br>testUShort(inout unsigned short);
|
|
<br>testUInt(inout unsigned long);
|
|
<br>testULong(inout unsigned long long);
|
|
<br>testFloat(inout float);
|
|
<br>testDouble(inout double);
|
|
<br>testBoolean(inout boolean);
|
|
<br>testChar(inout char);
|
|
<br>testWChar(inout wchar);
|
|
<br>testString(inout string);
|
|
<br>testWString(inout wstring);
|
|
<br>testStringArray(in unsigned long,[array, size_is(count)] inout string);
|
|
<br>testIntArray(in unsigned long, [array, size_is(count)] inout long);
|
|
<br>testCharArray(in unsigned long,[array, size_is(count)] inout char);
|
|
<br>testMixed(inout boolean, inout char, inout octet, inout short, inout
|
|
unsigned short, inout long, inout unsigned long, inout long long, inout
|
|
unsigned long long, inout float, inout double, inout string, in unsigned
|
|
long, [array, size_is(count)] inout long);
|
|
<br>testObject(inout iX2JINOUTServerTestComponent);
|
|
<br><a NAME="X2JRET"></a>
|
|
<h2>
|
|
4. Tests for X2JRET xpcom component.</h2>
|
|
Client part of the X2JRET component is written in C++.
|
|
<br>Server part of the X2JRET component is written in Java.
|
|
<br><b>How it works:</b> Client part is loaded by Mozilla browser and loads
|
|
server part of component. After that, client part gets different parameters
|
|
invoking methods from the server part, using retval.
|
|
<br><b>Expected result:</b> Parameters, which were set in server part,
|
|
are transferred to the client part correctly.
|
|
<br><b>List of test methods:</b>
|
|
<br>short testShort();
|
|
<br>long testInt();
|
|
<br>long long testLong();
|
|
<br>octet testByte();
|
|
<br>unsigned short testUShort();
|
|
<br>unsigned long testUInt();
|
|
<br>unsigned long long testULong();
|
|
<br>float testFloat();
|
|
<br>double testDouble();
|
|
<br>boolean testBoolean();
|
|
<br>char testChar();
|
|
<br>wchar testWChar();
|
|
<br>string testString();
|
|
<br>wstring testWString();
|
|
<br>void testStringArray(in unsigned long count, [retval, array, size_is(count)]
|
|
out string stringArray);
|
|
<br>void testIntArray(in unsigned long count, [retval, array, size_is(count)]
|
|
out long intArray);
|
|
<br>void testCharArray(in unsigned long count,[retval, array, size_is(count)]
|
|
out char charArray);
|
|
<br>iX2JRETServerTestComponent testObject();
|
|
<br><a NAME="J2XIN"></a>
|
|
<h2>
|
|
5. Tests for J2XIN xpcom component.</h2>
|
|
Client part of the J2XIN component is written in Java.
|
|
<br>Server part of the J2XIN component is written in C++.
|
|
<br><b>How it works:</b> Client part is loaded by Mozilla browser and loads
|
|
server part of component. After that, client part sets different parameters
|
|
and tries to invoke methods with these parameters from the server part.
|
|
<br><b>Expected result:</b> Parameters, which were set in client part,
|
|
are transferred to the server part correctly.
|
|
<br><b>List of test methods:</b>
|
|
<br>testShort(in short);
|
|
<br>testInt(in long);
|
|
<br>testLong(in long long);
|
|
<br>testByte(in octet);
|
|
<br>testUShort(in unsigned short);
|
|
<br>testUInt(in unsigned long);
|
|
<br>testULong(in unsigned long long);
|
|
<br>testFloat(in float);
|
|
<br>testDouble(in double);
|
|
<br>testBoolean(in boolean);
|
|
<br>testChar(in char);
|
|
<br>testWChar(in wchar);
|
|
<br>testString(in string);
|
|
<br>testWString(in wstring);
|
|
<br>testStringArray(in unsigned long,[array, size_is(count)] in string);
|
|
<br>testIntArray(in unsigned long, [array, size_is(count)] in long);
|
|
<br>testCharArray(in unsigned long,[array, size_is(count)] in char);
|
|
<br>testMixed(in boolean, in char, in octet, in short, in unsigned short,
|
|
in long, in unsigned long, in long long, in unsigned long long, in float,
|
|
in double, in string, in unsigned long, [array, size_is(count)] in long);
|
|
<br>testObject(in iJ2XINServerTestComponent);
|
|
<br><a NAME="J2XOUT"></a>
|
|
<h2>
|
|
6. Tests for J2XOUT xpcom component.</h2>
|
|
Client part of the J2XOUT component is written in Java.
|
|
<br>Server part of the J2XOUT component is written in C++.
|
|
<br><b>How it works:</b> Client part is loaded by Mozilla browser and loads
|
|
server part of component. After that, client part gets different parameters
|
|
invoking methods from the server part.
|
|
<br><b>Expected result:</b> Parameters, which were set in server part,
|
|
are transferred to the client part correctly.
|
|
<br><b>List of test methods:</b>
|
|
<br>testShort(out short);
|
|
<br>testInt(out long);
|
|
<br>testLong(out long long);
|
|
<br>testByte(out octet);
|
|
<br>testUShort(out unsigned short);
|
|
<br>testUInt(out unsigned long);
|
|
<br>testULong(out unsigned long long);
|
|
<br>testFloat(out float);
|
|
<br>testDouble(out double);
|
|
<br>testBoolean(out boolean);
|
|
<br>testChar(out char);
|
|
<br>testWChar(out wchar);
|
|
<br>testString(out string);
|
|
<br>testWString(out wstring);
|
|
<br>testStringArray(in unsigned long,[array, size_is(count)] out string);
|
|
<br>testIntArray(in unsigned long, [array, size_is(count)] out long);
|
|
<br>testCharArray(in unsigned long,[array, size_is(count)] out char);
|
|
<br>testMixed(out boolean, out char, out octet, out short, out unsigned
|
|
short, out long, out unsigned long, out long long, out unsigned long long,
|
|
out float, out double, out string, in unsigned long, [array, size_is(count)]
|
|
out long);
|
|
<br>testObject(out iJ2XOUTServerTestComponent);
|
|
<br><a NAME="J2XINOUT"></a>
|
|
<h2>
|
|
7. Tests for J2XINOUT xpcom component.</h2>
|
|
Client part of the J2XINOUT component is written in Java.
|
|
<br>Server part of the J2XINOUT component is written in C++.
|
|
<br><b>How it works:</b> Client part is loaded by Mozilla browser and loads
|
|
server part of component. After that, client part sets different parameters
|
|
and transfers them to the server part. The server part transfers these
|
|
parameters back to the client part.
|
|
<br><b>Expected result:</b> Parameters, which were set in the client part,
|
|
are transferred to the server part and back to the client part correctly.
|
|
<br><b>List of test methods:</b>
|
|
<br>testShort(inout short);
|
|
<br>testInt(inout long);
|
|
<br>testLong(inout long long);
|
|
<br>testByte(inout octet);
|
|
<br>testUShort(inout unsigned short);
|
|
<br>testUInt(inout unsigned long);
|
|
<br>testULong(inout unsigned long long);
|
|
<br>testFloat(inout float);
|
|
<br>testDouble(inout double);
|
|
<br>testBoolean(inout boolean);
|
|
<br>testChar(inout char);
|
|
<br>testWChar(inout wchar);
|
|
<br>testString(inout string);
|
|
<br>testWString(inout wstring);
|
|
<br>testStringArray(in unsigned long,[array, size_is(count)] inout string);
|
|
<br>testIntArray(in unsigned long, [array, size_is(count)] inout long);
|
|
<br>testCharArray(in unsigned long,[array, size_is(count)] inout char);
|
|
<br>testMixed(inout boolean, inout char, inout octet, inout short, inout
|
|
unsigned short, inout long, inout unsigned long, inout long long, inout
|
|
unsigned long long, inout float, inout double, inout string, in unsigned
|
|
long, [array, size_is(count)] inout long);
|
|
<br>testObject(inout iJ2XINOUTServerTestComponent);
|
|
<br><a NAME="J2XRET"></a>
|
|
<h2>
|
|
8. Tests for J2XRET xpcom component.</h2>
|
|
Client part of the J2XRET component is written in Java.
|
|
<br>Server part of the J2XRET component is written in C++.
|
|
<br><b>How it works:</b> Client part is loaded by Mozilla browser and loads
|
|
server part of component. After that, client part gets different parameters
|
|
invoking methods from the server part, using retval.
|
|
<br><b>Expected result:</b> Parameters, which were set in server part,
|
|
are transferred to the client part correctly.
|
|
<br><b>List of test methods:</b>
|
|
<br>short testShort();
|
|
<br>long testInt();
|
|
<br>long long testLong();
|
|
<br>octet testByte();
|
|
<br>unsigned short testUShort();
|
|
<br>unsigned long testUInt();
|
|
<br>unsigned long long testULong();
|
|
<br>float testFloat();
|
|
<br>double testDouble();
|
|
<br>boolean testBoolean();
|
|
<br>char testChar();
|
|
<br>wchar testWChar();
|
|
<br>string testString();
|
|
<br>wstring testWString();
|
|
<br>void testStringArray(in unsigned long count, [retval, array, size_is(count)]
|
|
out string stringArray);
|
|
<br>void testIntArray(in unsigned long count, [retval, array, size_is(count)]
|
|
out long intArray);
|
|
<br>void testCharArray(in unsigned long count,[retval, array, size_is(count)]
|
|
out char charArray);
|
|
<br>iJ2XRETServerTestComponent testObject();
|
|
</body>
|
|
</html>
|