-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from JordyHers/dev
Merge dev into Master
- Loading branch information
Showing
18 changed files
with
185 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# These are supported funding model platforms | ||
|
||
github: [jordyhers] | ||
patreon: patreon.com/user?u=91968185 | ||
custom: https://paypal.me/JordyHershelIGONDJO?country.x=DE&locale.x=en_US | ||
patreon: 91968185 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
## 0.0.1 | ||
## 1.0.0 | ||
|
||
* Initial release of the project | ||
* Added basic project structure and files | ||
* Implemented core functionality of the application | ||
* Created user interface for the application | ||
|
||
|
||
|
||
|
||
* TODO: Describe initial release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import 'dart:io'; | ||
|
||
class Helper { | ||
static bool get isTestMode => | ||
!Platform.environment.containsKey('FLUTTER_TEST'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,31 @@ | ||
import 'package:flutter_resume_template/flutter_resume_template.dart'; | ||
import 'package:flutter_test/flutter_test.dart'; | ||
|
||
import '../app.dart'; | ||
import '../mocks/mock_data.dart'; | ||
|
||
void main() { | ||
test('This test will always pass', () { | ||
// This test doesn't actually test anything, but it will always pass | ||
expect(1 + 1, equals(2)); | ||
testWidgets('Test launching widget and shaking children widgets', | ||
(WidgetTester tester) async { | ||
// Create the widget that contains the button to test | ||
final testWidget = Launch.pumpWidget(LayoutClassic( | ||
mode: TemplateMode.shakeEditAndSaveMode, | ||
data: MockData.data, | ||
h: 1000, | ||
w: 1000)); | ||
|
||
// Launch the widget | ||
await tester.pumpWidget(await testWidget); | ||
|
||
// Verify that the widget is displayed on the screen | ||
expectLater(find.text('Animate'), findsOneWidget); | ||
|
||
// Pan the widget to the right | ||
final gesture = await tester.startGesture(Offset.zero); | ||
await gesture.moveBy(const Offset(200, 0)); | ||
await gesture.up(); | ||
|
||
// Tap the button | ||
await tester.tap(find.text('Animate')); | ||
}); | ||
} |
Oops, something went wrong.