# FerroTestApplicationAttribute

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-headless/struct-ferrotestapplicationattribute/

**struct** · [`ferroui-headless`](/docs/0.5.0/api/ferroui-headless/) · v0.5.0

```rust
struct FerroTestApplicationAttribute
```

Sets up global test framework using the application builder passed as a
parameter.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Headless/FerroUI.Headless/ferro_test_application_attribute.rs#L14)

## Members

- [`new`](#function-new)
- [`app_builder_entry_point_type`](#function-app_builder_entry_point_type)

<a id="function-new"></a>

### new

```rust
const fn new(app_builder_entry_point_type: fn() -> AppBuilder) -> Self
```

Creates instance of `FerroTestApplicationAttribute`.

`app_builder_entry_point_type` is the parameter from which
`AppBuilder` should be created. The original takes a type that has
a method which builds the application or that inherits the
application class, and finds the method through reflection; here it
is that method (`AppBuilder::configure::<TApp>` for a type that
inherits the application class).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Headless/FerroUI.Headless/ferro_test_application_attribute.rs#L27)

<a id="function-app_builder_entry_point_type"></a>

### app_builder_entry_point_type

```rust
fn app_builder_entry_point_type(self: &Self) -> fn() -> AppBuilder
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Headless/FerroUI.Headless/ferro_test_application_attribute.rs#L31)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `Clone`
- `Copy`
- `Debug`
- `ErasedDestructor`
- `IntoEither`

## Availability

Extracted for `x86_64-unknown-linux-gnu`, `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
