p-hatan/ mirror

pub repository

mirror.p-hatan.com

mock

0.11.0+4

A library for mocking classes

This package is discontinued upstream.

Download archive

Readme

This library is deprecated.

We recommend you look at mockito.

Changelog

0.11.0+4

  • Support latest 0.11.x release of unittest which embeds matcher.

0.11.0+3

  • Use the identity of of CallMatcher to match Behavior instances, instead of toString.

0.11.0+2

  • Updated documentation link.

0.11.0+1

  • Updated unittest dependency.

0.11.0

  • Removed deprecated sharedLog

  • Improved support for calling arbitrary methods via a proxy

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add mock
pubspec.yaml
name: mock
version: 0.11.0+4
author: Dart Team <misc@dartlang.org>
description: A library for mocking classes
homepage: https://github.com/dart-lang/mock
environment:
  sdk: '>=1.0.0 <2.0.0'
dependencies:
  unittest: '>=0.11.6 <0.12.0'

Version history

VersionPublishedArchiveSHA-256
0.10.02014-03-24T19:38:48.936820ZDownload3f45dfca331ef3db26078e8ef2200e49c99023e5bd77b615657403a183f2ab96
0.10.0+12014-04-09T19:35:57.999400ZDownloade131b7f951c1d21f185088733e6c12420e783ab76000b734e7acffaaa6fc00c9
0.11.0+12014-05-14T00:00:09.891620ZDownloadb9232520ee1d3ad8e91547ea2affdaec6cfb4d6dc4722688b4d469f1edfb21b9
0.11.0+22014-07-23T04:38:12.071680ZDownloade0b28af1d55914da5902e23ba27b44f2652dbb2eaf3c584c6d7c74b8b4e628ed
0.11.0+32015-04-29T20:46:14.884350ZDownload0d28e885bc9d192f04c1fcae351a3c0d651a3a5682b1b562800f682400c09d91
0.11.0+42015-05-14T00:10:25.850ZDownloaddb151ddc1a15598390cdf5575c9a49cb82e392b4ad3aa4c3f8c75144e702fe38
0.12.0-beta.02015-04-29T23:06:45.522ZDownloaddc3a68b70828e4ffaaf3f26e782dab4aa1d241c36c1e6f8d0bd66594f5133750
0.12.02015-05-14T00:15:44.233ZDownload80af9dfe44dbb05956f56d03dad4c470e390c7b3669bbf841f455e225ae4c14a

Dependencies

unittest "\u003e=0.11.6 \u003c0.12.0"