TestSuiteBuilder.IncludePackages(String[]) Method

Definition

Include all tests that satisfy the requirements in the given packages and all sub-packages, unless otherwise specified.

[Android.Runtime.Register("includePackages", "([Ljava/lang/String;)Landroid/test/suitebuilder/TestSuiteBuilder;", "GetIncludePackages_arrayLjava_lang_String_Handler")]
public virtual Android.Test.Suitebuilder.TestSuiteBuilder? IncludePackages (params string[]? packageNames);
[<Android.Runtime.Register("includePackages", "([Ljava/lang/String;)Landroid/test/suitebuilder/TestSuiteBuilder;", "GetIncludePackages_arrayLjava_lang_String_Handler")>]
abstract member IncludePackages : string[] -> Android.Test.Suitebuilder.TestSuiteBuilder
override this.IncludePackages : string[] -> Android.Test.Suitebuilder.TestSuiteBuilder

Parameters

packageNames
String[]

Names of packages to add.

Returns

The builder for method chaining.

Attributes

Remarks

Java documentation for android.test.suitebuilder.TestSuiteBuilder.includePackages(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to