/* -*- 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(457f2290-9abc-11d4-9d3b-00a024a8bb88)]
interface iX2JINOUTServerTestComponent : nsISupports {
	void setTestLocation(in string testLocation, in string logLocation);
	void flush(in string name);
	void testShort(inout short i);
	void testLong(inout long i);
	void testLonglong(inout long long i);
	void testByte(inout octet i);
	void testUShort(inout unsigned short i);
	void testULong(inout unsigned long i);
	void testULonglong(inout unsigned long long i);
	void testFloat(inout float i);
	void testDouble(inout double i);
	void testBoolean(inout boolean i);
	void testChar(inout char i);
	void testWChar(inout wchar i);
	void TestString(inout string i);
	void TestWString(inout wstring i);
	void testStringArray(in unsigned long count,
				[array, size_is(count)] inout string valueArray);
	void testLongArray(in unsigned long count,
				[array, size_is(count)] inout long longArray);
	void testCharArray(in unsigned long count,
				[array, size_is(count)] inout char valueArray);
	void testMixed(inout boolean bBool, inout char cChar, inout octet nByte,
			inout short nShort, inout unsigned short nUShort,
			inout long nLong, inout unsigned long nULong,
			inout long long nHyper, inout unsigned long long nUHyper,
			inout float fFloat, inout double fDouble,
			inout string aString, in unsigned long count,
			[array, size_is(count)] inout long longArray);
	void testObject(inout iX2JINOUTServerTestComponent obj);
	void testObject2(inout iX2JINOUTServerTestComponent obj2);
	void testObj();
	void testObj2();
//	void testIID(inout nsIIDRef iid);
//	void testCID(inout nsCIDRef cid);

};
