Skip to content

Commit 7344d93

Browse files
author
Wusi
committed
dart-example
1 parent c1a8bfa commit 7344d93

File tree

6 files changed

+433
-0
lines changed

6 files changed

+433
-0
lines changed

dart-email-testing/.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Files and directories created by pub
2+
.dart_tool/
3+
.packages
4+
5+
# Conventional directory for build outputs
6+
build/
7+
8+
# Directory created by dartdoc
9+
doc/api/
10+
11+
.idea
12+
*.iml

dart-email-testing/Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
-include ../.env
2+
.PHONY: test
3+
4+
install:
5+
dart pub get
6+
7+
fmt:
8+
dart format test
9+
10+
test:
11+
API_KEY=$(API_KEY) dart test test/email-test.dart
12+

dart-email-testing/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# MailSlurp Dart Email Library Example
2+
Example tests using MailSlurp package.

dart-email-testing/pubspec.lock

Lines changed: 355 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,355 @@
1+
# Generated by pub
2+
# See https://dart.dev/tools/pub/glossary#lockfile
3+
packages:
4+
_fe_analyzer_shared:
5+
dependency: transitive
6+
description:
7+
name: _fe_analyzer_shared
8+
url: "https://pub.dartlang.org"
9+
source: hosted
10+
version: "20.0.0"
11+
analyzer:
12+
dependency: transitive
13+
description:
14+
name: analyzer
15+
url: "https://pub.dartlang.org"
16+
source: hosted
17+
version: "1.4.0"
18+
args:
19+
dependency: transitive
20+
description:
21+
name: args
22+
url: "https://pub.dartlang.org"
23+
source: hosted
24+
version: "2.0.0"
25+
async:
26+
dependency: transitive
27+
description:
28+
name: async
29+
url: "https://pub.dartlang.org"
30+
source: hosted
31+
version: "2.5.0"
32+
boolean_selector:
33+
dependency: transitive
34+
description:
35+
name: boolean_selector
36+
url: "https://pub.dartlang.org"
37+
source: hosted
38+
version: "2.1.0"
39+
charcode:
40+
dependency: transitive
41+
description:
42+
name: charcode
43+
url: "https://pub.dartlang.org"
44+
source: hosted
45+
version: "1.2.0"
46+
cli_util:
47+
dependency: transitive
48+
description:
49+
name: cli_util
50+
url: "https://pub.dartlang.org"
51+
source: hosted
52+
version: "0.3.0"
53+
collection:
54+
dependency: transitive
55+
description:
56+
name: collection
57+
url: "https://pub.dartlang.org"
58+
source: hosted
59+
version: "1.15.0"
60+
convert:
61+
dependency: transitive
62+
description:
63+
name: convert
64+
url: "https://pub.dartlang.org"
65+
source: hosted
66+
version: "3.0.0"
67+
coverage:
68+
dependency: transitive
69+
description:
70+
name: coverage
71+
url: "https://pub.dartlang.org"
72+
source: hosted
73+
version: "1.0.2"
74+
crypto:
75+
dependency: transitive
76+
description:
77+
name: crypto
78+
url: "https://pub.dartlang.org"
79+
source: hosted
80+
version: "3.0.1"
81+
file:
82+
dependency: transitive
83+
description:
84+
name: file
85+
url: "https://pub.dartlang.org"
86+
source: hosted
87+
version: "6.1.0"
88+
glob:
89+
dependency: transitive
90+
description:
91+
name: glob
92+
url: "https://pub.dartlang.org"
93+
source: hosted
94+
version: "2.0.1"
95+
http:
96+
dependency: transitive
97+
description:
98+
name: http
99+
url: "https://pub.dartlang.org"
100+
source: hosted
101+
version: "0.12.2"
102+
http_multi_server:
103+
dependency: transitive
104+
description:
105+
name: http_multi_server
106+
url: "https://pub.dartlang.org"
107+
source: hosted
108+
version: "3.0.1"
109+
http_parser:
110+
dependency: transitive
111+
description:
112+
name: http_parser
113+
url: "https://pub.dartlang.org"
114+
source: hosted
115+
version: "3.1.4"
116+
intl:
117+
dependency: transitive
118+
description:
119+
name: intl
120+
url: "https://pub.dartlang.org"
121+
source: hosted
122+
version: "0.16.1"
123+
io:
124+
dependency: transitive
125+
description:
126+
name: io
127+
url: "https://pub.dartlang.org"
128+
source: hosted
129+
version: "1.0.0"
130+
js:
131+
dependency: transitive
132+
description:
133+
name: js
134+
url: "https://pub.dartlang.org"
135+
source: hosted
136+
version: "0.6.3"
137+
logging:
138+
dependency: transitive
139+
description:
140+
name: logging
141+
url: "https://pub.dartlang.org"
142+
source: hosted
143+
version: "1.0.1"
144+
mailslurp:
145+
dependency: "direct dev"
146+
description:
147+
name: mailslurp
148+
url: "https://pub.dartlang.org"
149+
source: hosted
150+
version: "11.6.15"
151+
matcher:
152+
dependency: transitive
153+
description:
154+
name: matcher
155+
url: "https://pub.dartlang.org"
156+
source: hosted
157+
version: "0.12.10"
158+
meta:
159+
dependency: transitive
160+
description:
161+
name: meta
162+
url: "https://pub.dartlang.org"
163+
source: hosted
164+
version: "1.3.0"
165+
mime:
166+
dependency: transitive
167+
description:
168+
name: mime
169+
url: "https://pub.dartlang.org"
170+
source: hosted
171+
version: "1.0.0"
172+
node_preamble:
173+
dependency: transitive
174+
description:
175+
name: node_preamble
176+
url: "https://pub.dartlang.org"
177+
source: hosted
178+
version: "1.4.13"
179+
package_config:
180+
dependency: transitive
181+
description:
182+
name: package_config
183+
url: "https://pub.dartlang.org"
184+
source: hosted
185+
version: "2.0.0"
186+
path:
187+
dependency: transitive
188+
description:
189+
name: path
190+
url: "https://pub.dartlang.org"
191+
source: hosted
192+
version: "1.8.0"
193+
pedantic:
194+
dependency: "direct dev"
195+
description:
196+
name: pedantic
197+
url: "https://pub.dartlang.org"
198+
source: hosted
199+
version: "1.11.0"
200+
pool:
201+
dependency: transitive
202+
description:
203+
name: pool
204+
url: "https://pub.dartlang.org"
205+
source: hosted
206+
version: "1.5.0"
207+
pub_semver:
208+
dependency: transitive
209+
description:
210+
name: pub_semver
211+
url: "https://pub.dartlang.org"
212+
source: hosted
213+
version: "2.0.0"
214+
shelf:
215+
dependency: transitive
216+
description:
217+
name: shelf
218+
url: "https://pub.dartlang.org"
219+
source: hosted
220+
version: "0.7.9"
221+
shelf_packages_handler:
222+
dependency: transitive
223+
description:
224+
name: shelf_packages_handler
225+
url: "https://pub.dartlang.org"
226+
source: hosted
227+
version: "2.0.1"
228+
shelf_static:
229+
dependency: transitive
230+
description:
231+
name: shelf_static
232+
url: "https://pub.dartlang.org"
233+
source: hosted
234+
version: "0.2.9+2"
235+
shelf_web_socket:
236+
dependency: transitive
237+
description:
238+
name: shelf_web_socket
239+
url: "https://pub.dartlang.org"
240+
source: hosted
241+
version: "0.2.4+1"
242+
source_map_stack_trace:
243+
dependency: transitive
244+
description:
245+
name: source_map_stack_trace
246+
url: "https://pub.dartlang.org"
247+
source: hosted
248+
version: "2.1.0"
249+
source_maps:
250+
dependency: transitive
251+
description:
252+
name: source_maps
253+
url: "https://pub.dartlang.org"
254+
source: hosted
255+
version: "0.10.10"
256+
source_span:
257+
dependency: transitive
258+
description:
259+
name: source_span
260+
url: "https://pub.dartlang.org"
261+
source: hosted
262+
version: "1.8.1"
263+
stack_trace:
264+
dependency: transitive
265+
description:
266+
name: stack_trace
267+
url: "https://pub.dartlang.org"
268+
source: hosted
269+
version: "1.10.0"
270+
stream_channel:
271+
dependency: transitive
272+
description:
273+
name: stream_channel
274+
url: "https://pub.dartlang.org"
275+
source: hosted
276+
version: "2.1.0"
277+
string_scanner:
278+
dependency: transitive
279+
description:
280+
name: string_scanner
281+
url: "https://pub.dartlang.org"
282+
source: hosted
283+
version: "1.1.0"
284+
term_glyph:
285+
dependency: transitive
286+
description:
287+
name: term_glyph
288+
url: "https://pub.dartlang.org"
289+
source: hosted
290+
version: "1.2.0"
291+
test:
292+
dependency: "direct dev"
293+
description:
294+
name: test
295+
url: "https://pub.dartlang.org"
296+
source: hosted
297+
version: "1.16.5"
298+
test_api:
299+
dependency: transitive
300+
description:
301+
name: test_api
302+
url: "https://pub.dartlang.org"
303+
source: hosted
304+
version: "0.2.19"
305+
test_core:
306+
dependency: transitive
307+
description:
308+
name: test_core
309+
url: "https://pub.dartlang.org"
310+
source: hosted
311+
version: "0.3.15"
312+
typed_data:
313+
dependency: transitive
314+
description:
315+
name: typed_data
316+
url: "https://pub.dartlang.org"
317+
source: hosted
318+
version: "1.3.0"
319+
vm_service:
320+
dependency: transitive
321+
description:
322+
name: vm_service
323+
url: "https://pub.dartlang.org"
324+
source: hosted
325+
version: "6.2.0"
326+
watcher:
327+
dependency: transitive
328+
description:
329+
name: watcher
330+
url: "https://pub.dartlang.org"
331+
source: hosted
332+
version: "1.0.0"
333+
web_socket_channel:
334+
dependency: transitive
335+
description:
336+
name: web_socket_channel
337+
url: "https://pub.dartlang.org"
338+
source: hosted
339+
version: "2.0.0"
340+
webkit_inspection_protocol:
341+
dependency: transitive
342+
description:
343+
name: webkit_inspection_protocol
344+
url: "https://pub.dartlang.org"
345+
source: hosted
346+
version: "1.0.0"
347+
yaml:
348+
dependency: transitive
349+
description:
350+
name: yaml
351+
url: "https://pub.dartlang.org"
352+
source: hosted
353+
version: "3.1.0"
354+
sdks:
355+
dart: ">=2.12.0 <3.0.0"

dart-email-testing/pubspec.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: dart_email_testing
2+
description: A simple command-line application.
3+
version: 1.0.0
4+
5+
environment:
6+
sdk: '>=2.10.0 <3.0.0'
7+
8+
dev_dependencies:
9+
pedantic: ^1.9.0
10+
test: ^1.16.5
11+
mailslurp: ^11.6.15

0 commit comments

Comments
 (0)