All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dart.libraries.dio.model_test.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
{{#models}}
{{#model}}
import 'package:test/test.dart';
import 'package:{{pubName}}/{{pubName}}.dart';

// tests for {{{classname}}}
void main() {
  {{^isEnum}}
  {{! Due to required vars without default value we can not create a full instance here }}
  final instance = {{{classname}}}Builder();
  // TODO add properties to the builder and call build()
  {{/isEnum}}

  group({{{classname}}}, () {
    {{#vars}}
    {{#description}}
    // {{{.}}}
    {{/description}}
    // {{{dataType}}} {{{name}}}{{#defaultValue}} (default value: {{{.}}}){{/defaultValue}}
    test('to test the property `{{{name}}}`', () async {
      // TODO
    });

    {{/vars}}
  });
}
{{/model}}
{{/models}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy