/
IPerformanceTestCase.xml
126 lines (126 loc) · 8.74 KB
/
IPerformanceTestCase.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<Type Name="IPerformanceTestCase" FullName="Android.Test.IPerformanceTestCase">
<TypeSignature Language="C#" Value="public interface IPerformanceTestCase : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IPerformanceTestCase implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Android.Test.IPerformanceTestCase" />
<TypeSignature Language="F#" Value="type IPerformanceTestCase = interface
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/test/PerformanceTestCase", "", "Android.Test.IPerformanceTestCaseInvoker")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/test/PerformanceTestCase", "", "Android.Test.IPerformanceTestCaseInvoker")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android24.0", "This class is obsoleted in this android platform")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android24.0", "This class is obsoleted in this android platform")>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>More complex interface performance for test cases.</summary>
<remarks>
<para>More complex interface performance for test cases.</para>
<para>If you want your test to be used as a performance test, you must
implement this interface.</para>
<para>This member is deprecated. Use
<see href="https://developer.android.com/reference/android/support/test/runner/AndroidJUnitRunner.html">
AndroidJUnitRunner</see> instead. New tests should be written using the
<see href="https://developer.android.com/tools/testing-support-library/index.html">Android Testing Support Library</see>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/test/PerformanceTestCase" title="Reference documentation">Java documentation for <code>android.test.PerformanceTestCase</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
<Members>
<Member MemberName="IsPerformanceOnly">
<MemberSignature Language="C#" Value="public bool IsPerformanceOnly { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsPerformanceOnly" />
<MemberSignature Language="DocId" Value="P:Android.Test.IPerformanceTestCase.IsPerformanceOnly" />
<MemberSignature Language="F#" Value="member this.IsPerformanceOnly : bool" Usage="Android.Test.IPerformanceTestCase.IsPerformanceOnly" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("isPerformanceOnly", "()Z", "GetIsPerformanceOnlyHandler:Android.Test.IPerformanceTestCaseInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("isPerformanceOnly", "()Z", "GetIsPerformanceOnlyHandler:Android.Test.IPerformanceTestCaseInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>This method is used to determine what modes this test case can run in.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="StartPerformance">
<MemberSignature Language="C#" Value="public int StartPerformance (Android.Test.IPerformanceTestCaseIntermediates? intermediates);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 StartPerformance(class Android.Test.IPerformanceTestCaseIntermediates intermediates) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Test.IPerformanceTestCase.StartPerformance(Android.Test.IPerformanceTestCaseIntermediates)" />
<MemberSignature Language="F#" Value="abstract member StartPerformance : Android.Test.IPerformanceTestCaseIntermediates -> int" Usage="iPerformanceTestCase.StartPerformance intermediates" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("startPerformance", "(Landroid/test/PerformanceTestCase$Intermediates;)I", "GetStartPerformance_Landroid_test_PerformanceTestCase_Intermediates_Handler:Android.Test.IPerformanceTestCaseInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("startPerformance", "(Landroid/test/PerformanceTestCase$Intermediates;)I", "GetStartPerformance_Landroid_test_PerformanceTestCase_Intermediates_Handler:Android.Test.IPerformanceTestCaseInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="intermediates" Type="Android.Test.IPerformanceTestCaseIntermediates" />
</Parameters>
<Docs>
<param name="intermediates">Callback for sending intermediate results.</param>
<summary>Set up to begin performance tests.</summary>
<returns>int Maximum number of iterations to run, or 0 to let the caller
decide.</returns>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/test/PerformanceTestCase#startPerformance(android.test.Intermediates)" title="Reference documentation">Java documentation for <code>android.test.PerformanceTestCase.startPerformance(android.test.Intermediates)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
</Members>
</Type>