Skip to content

Commit 430aa7c

Browse files
committed
Resolves #5 - Defines the role of the TestWidgets abstract class
1 parent d7846d7 commit 430aa7c

File tree

4 files changed

+24
-3
lines changed

4 files changed

+24
-3
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 0.0.3
2+
3+
* Defines the role to `TestWidgets` abstract class.
4+
5+
## 0.0.2
6+
7+
* Adds Json Loader
8+
19
## 0.0.1
210

311
* Initial commit

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ packages:
9494
path: ".."
9595
relative: true
9696
source: path
97-
version: "0.0.1"
97+
version: "0.0.3"
9898
glob:
9999
dependency: "direct dev"
100100
description:
Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,14 @@
1-
abstract class TestWidgets {}
1+
/// Each class inheriting from `TestWidgets` must:
2+
/// * be a private class
3+
/// * have a public variable to give access to methods of the private class
4+
/// The name of this variable must equals the class name (and follow dart naming conventions)
5+
///
6+
/// **Example:**
7+
/// ```
8+
/// final myWonderfulWidget = _MyWonderfulWidget();
9+
/// class _MyWonderfulWidget implements TestWidgets {}
10+
/// ```
11+
///
12+
abstract class TestWidgets {
13+
Future<void> pumpItUp() async {}
14+
}

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: gherkin_widget_extension
22
description: An extension of gherkin package for widgets
3-
version: 0.0.1
3+
version: 0.0.3
44
homepage: https://github.com/sncf-connect-tech/gherkin_widget_extension
55

66
environment:

0 commit comments

Comments
 (0)