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