Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
d759c13d
Kaydet (Commit)
d759c13d
authored
Eyl 04, 2003
tarafından
Oliver Bolte
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS cliuno01 (1.1.2); FILE ADDED
2003/04/11 17:12:17 dbo 1.1.2.1: #107130# new
üst
2816c509
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
152 additions
and
0 deletions
+152
-0
cli_testobj_performance.cs
testtools/source/performance/cli_testobj_performance.cs
+152
-0
No files found.
testtools/source/performance/cli_testobj_performance.cs
0 → 100644
Dosyayı görüntüle @
d759c13d
/*************************************************************************
*
* $RCSfile: cli_testobj_performance.cs,v $
*
* $Revision: 1.2 $
*
* last change: $Author: obo $ $Date: 2003-09-04 09:17:56 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* - GNU Lesser General Public License Version 2.1
* - Sun Industry Standards Source License Version 1.1
*
* Sun Microsystems Inc., October, 2000
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2000 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
*
* Sun Industry Standards Source License Version 1.1
* =================================================
* The contents of this file are subject to the Sun Industry Standards
* Source 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.openoffice.org/license.html.
*
* Software provided under this License is provided on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
* WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
* See the License for the specific provisions governing your rights and
* obligations concerning the Software.
*
* The Initial Developer of the Original Code is: Sun Microsystems, Inc.
*
* Copyright: 2000 by Sun Microsystems, Inc.
*
* All Rights Reserved.
*
* Contributor(s): _______________________________________
*
*
************************************************************************/
using
System
;
using
System.Diagnostics
;
using
uno
;
using
uno.util
;
using
unoidl.com.sun.star.uno
;
using
unoidl.com.sun.star.lang
;
using
unoidl.com.sun.star.test.performance
;
namespace
testobj
{
[ServiceImplementation( "com.sun.star.test.performance.cli_uno.TestObject" )]
public
class
PerformanceTestObject
:
ServiceBase
,
XPerformanceTest
{
private
XComponentContext
m_xContext
;
public
PerformanceTestObject
(
XComponentContext
xContext
)
{
m_xContext
=
xContext
;
}
public
PerformanceTestObject
()
{
}
private
int
_long
;
private
long
_hyper
;
private
float
_float
;
private
double
_double
;
private
String
_string
=
""
;
private
Object
_xInterface
;
private
Any
_any
;
private
Object
[]
_interface_sequence
=
new
Object
[
0
];
private
ComplexTypes
_complexTypes
=
new
ComplexTypes
();
// Attributes
public
int
getLong_attr
()
{
return
_long
;
}
public
void
setLong_attr
(
int
_long_attr
)
{
_long
=
_long_attr
;
}
public
long
getHyper_attr
()
{
return
_hyper
;
}
public
void
setHyper_attr
(
long
_hyper_attr
)
{
_hyper
=
_hyper_attr
;
}
public
float
getFloat_attr
()
{
return
_float
;
}
public
void
setFloat_attr
(
float
_float_attr
)
{
_float
=
_float
;
}
public
double
getDouble_attr
()
{
return
_double
;
}
public
void
setDouble_attr
(
double
_double_attr
)
{
_double
=
_double_attr
;
}
public
String
getString_attr
()
{
return
_string
;
}
public
void
setString_attr
(
String
_string_attr
)
{
_string
=
_string_attr
;
}
public
Object
getInterface_attr
()
{
return
_xInterface
;
}
public
void
setInterface_attr
(
Object
_interface_attr
)
{
_xInterface
=
_interface_attr
;
}
public
Any
getAny_attr
()
{
return
_any
;
}
public
void
setAny_attr
(
ref
Any
_any_attr
)
{
_any
=
_any_attr
;
}
public
Object
[]
getSequence_attr
()
{
return
_interface_sequence
;
}
public
void
setSequence_attr
(
Object
[]
_sequence_attr
)
{
_interface_sequence
=
_sequence_attr
;
}
public
ComplexTypes
getStruct_attr
()
{
return
_complexTypes
;
}
public
void
setStruct_attr
(
ComplexTypes
_struct_attr
)
{
_complexTypes
=
_struct_attr
;
}
// Methods
public
void
async
()
{}
public
void
sync
(
)
{}
public
ComplexTypes
complex_in
(
/*IN*/
ComplexTypes
aVal
)
{
return
aVal
;
}
public
ComplexTypes
complex_inout
(
/*INOUT*/
ref
ComplexTypes
aVal
)
{
return
aVal
;
}
public
void
complex_oneway
(
/*IN*/
ComplexTypes
aVal
)
{}
public
void
complex_noreturn
(
/*IN*/
ComplexTypes
aVal
)
{}
public
XPerformanceTest
createObject
(
)
{
return
new
PerformanceTestObject
();
}
public
int
getLong
()
{
return
_long
;
}
public
void
setLong
(
/*IN*/
int
n
)
{
_long
=
n
;
}
public
long
getHyper
()
{
return
_hyper
;
}
public
void
setHyper
(
/*IN*/
long
n
)
{
_hyper
=
n
;
}
public
float
getFloat
()
{
return
_float
;
}
public
void
setFloat
(
/*IN*/
float
f
)
{
_float
=
f
;
}
public
double
getDouble
(
)
{
return
_double
;
}
public
void
setDouble
(
/*IN*/
double
f
)
{
_double
=
f
;
}
public
String
getString
(
)
{
return
_string
;
}
public
void
setString
(
/*IN*/
String
s
)
{
_string
=
s
;
}
public
Object
getInterface
(
)
{
return
_xInterface
;
}
public
void
setInterface
(
/*IN*/
Object
x
)
{
_xInterface
=
x
;
}
public
Any
getAny
(
)
{
return
_any
;
}
public
void
setAny
(
/*IN*/
ref
Any
a
)
{
_any
=
a
;
}
public
Object
[]
getSequence
(
)
{
return
_interface_sequence
;
}
public
void
setSequence
(
/*IN*/
Object
[]
seq
)
{
#if DEBUG
// Debug.WriteLine( "#### " + GetType().FullName + ".setSequence:" + seq );
Console
.
WriteLine
(
"#### "
+
GetType
().
FullName
+
".setSequence:"
+
seq
);
#endif
_interface_sequence
=
seq
;
}
public
ComplexTypes
getStruct
(
)
{
return
_complexTypes
;
}
public
void
setStruct
(
/*IN*/
ComplexTypes
c
)
{
_complexTypes
=
c
;
}
public
void
raiseRuntimeException
(
)
{
throw
new
RuntimeException
();
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment