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
64 lines
2.2 KiB
Plaintext
64 lines
2.2 KiB
Plaintext
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
|
|
|
The contents of this file are subject to the Mozilla Public
|
|
License Version 1.1 (the "License"); you may not use this file
|
|
except in compliance with the License. You may obtain a copy of
|
|
the License at http://www.mozilla.org/MPL/
|
|
|
|
Software distributed under the License is distributed on an "AS
|
|
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
implied. See the License for the specific language governing
|
|
rights and limitations under the License.
|
|
|
|
The Original Code is mozilla.org code.
|
|
|
|
The Initial Developer of the Original Code is Sun Microsystems,
|
|
Inc. Portions created by Sun are
|
|
Copyright (C) 1999 Sun Microsystems, Inc. All
|
|
Rights Reserved.
|
|
|
|
Contributor(s):
|
|
Client QA Team, St. Petersburg, Russia
|
|
*/
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
[scriptable, uuid(9fc6c6b0-a413-11d4-9d3d-00a024a8bb88)]
|
|
interface iJ2XRETServerTestComponent : nsISupports
|
|
{
|
|
void GetTestLocation(out string tLocation, out string lLocation);
|
|
void flush(in string s);
|
|
short TestShort();
|
|
long TestLong();
|
|
long long TestLonglong();
|
|
octet TestByte();
|
|
unsigned short TestUShort();
|
|
unsigned long TestULong();
|
|
unsigned long long TestULonglong();
|
|
float TestFloat();
|
|
double TestDouble();
|
|
boolean TestBoolean();
|
|
char TestChar();
|
|
wchar TestWChar();
|
|
string TestString();
|
|
wstring TestWString();
|
|
void TestStringArray(in unsigned long count, [retval, array, size_is(count)] out string stringArray);
|
|
void TestLongArray(in unsigned long count, [retval, array, size_is(count)] out long intArray);
|
|
void TestCharArray(in unsigned long count,[retval, array, size_is(count)] out char charArray);
|
|
iJ2XRETServerTestComponent TestObject();
|
|
void TestObj();
|
|
};
|
|
|
|
%{ C++
|
|
#define J2XRETSERVERTESTCOMPONENT_CID \
|
|
{ /*1c274ca0-a414-11d4-9d3d-00a024a8bb88*/ \
|
|
0x1c274ca0, \
|
|
0xa414, \
|
|
0x11d4, \
|
|
{0x9d, 0x3d, 0x00, 0xa0, 0x24, 0xa8, 0xbb, 0x88} \
|
|
}
|
|
|
|
#define J2XRETSERVERTESTCOMPONENT_PROGID "@mozilla/blackwood/blackconnect/test/params/J2XRETServer;1"
|
|
|
|
%}
|