Compartilhar via


TestSuiteBuilder.ExcludePackages(String[]) Method

Definition

Exclude all tests in the given packages and all sub-packages, unless otherwise specified.

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

Parameters

packageNames
String[]

Names of packages to remove.

Returns

The builder for method chaining.

Attributes

Remarks

Java documentation for android.test.suitebuilder.TestSuiteBuilder.excludePackages(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