blackConnect tests update git-svn-id: svn://10.0.0.236/trunk@99925 18797224-902f-48f8-a5cc-f745e15eee43
71 lines
2.8 KiB
Plaintext
71 lines
2.8 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(9c812168-7e00-4c15-a5dc-d5fd0846a554)]
|
|
interface iJ2XOUTServerTestComponent : nsISupports
|
|
{
|
|
void GetTestLocation(out string tLocation, out string lLocation);
|
|
void flush(in string s);
|
|
void TestShort(out short i);
|
|
void TestLong(out long i);
|
|
void TestLonglong(out long long i);
|
|
void TestByte(out octet i);
|
|
void TestUShort(out unsigned short i);
|
|
void TestULong(out unsigned long i);
|
|
void TestULonglong(out unsigned long long i);
|
|
void TestFloat(out float i);
|
|
void TestDouble(out double i);
|
|
void TestBoolean(out boolean i);
|
|
void TestChar(out char i);
|
|
void TestWChar(out wchar i);
|
|
void TestString(out string i);
|
|
void TestWString(out wstring i);
|
|
void TestStringArray(in unsigned long count,[array, size_is(count)] out string valueArray);
|
|
void TestLongArray(in unsigned long count, [array, size_is(count)] out long longArray);
|
|
void TestCharArray(in unsigned long count,[array, size_is(count)] out char valueArray);
|
|
void TestMixed(out boolean bBool,/* out char cChar,*/ out octet nByte,
|
|
out short nShort, out unsigned short nUShort,
|
|
out long nLong, out unsigned long nULong,
|
|
out long long nHyper, out unsigned long long nUHyper,
|
|
out float fFloat, out double fDouble,
|
|
out string aString,
|
|
in unsigned long count, [array, size_is(count)] out long longArray);
|
|
void TestObject(out iJ2XOUTServerTestComponent obj);
|
|
string GetTestObjectString();
|
|
};
|
|
|
|
%{ C++
|
|
#define J2XOUTSERVERTESTCOMPONENT_CID \
|
|
{ /*b1dcff02-0348-44ca-b662-29f5e375be27*/ \
|
|
0xb1dcff02, \
|
|
0x0348, \
|
|
0x44ca, \
|
|
{0xb6, 0x62, 0x29, 0xf5, 0xe3, 0x75, 0xbe, 0x27} \
|
|
}
|
|
|
|
#define J2XOUTSERVERTESTCOMPONENT_PROGID "@mozilla/blackwood/blackconnect/test/params/J2XOUTServer;1"
|
|
|
|
%}
|