BSD Ports

devel/p5-Mock-Quick 1.111 FreeBSD

Quickly mock objects and classes

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
25.9 KiB, 53.7 KiB installed

Description

Mock-Object provides a declarative mocking interface that results in a very concise, but clear syntax. There are separate facilities for mocking object instances, and classes. You can quickly create an instance of an object with custom attributes and methods. You can also quickly create an anonymous class, optionally inheriting from another, with whatever methods you desire.

Mock-Object also provides a tool that provides an OO interface to overriding methods in existing classes. This tool also allows for the restoration of the original class methods. Best of all this is a localized tool, when your control object falls out of scope the original class is restored.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Mock-Quick1.111
NetBSDdevel/p5-Mock-Quick1.111nb6
DragonFlydevel/p5-Mock-Quick1.111
HardenedBSDdevel/p5-Mock-Quick1.111
GhostBSDdevel/p5-Mock-Quick1.111

Install

Binary package:

pkg install p5-Mock-Quick

From the ports tree:

cd /usr/ports/devel/p5-Mock-Quick/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Mock-Quick>0:devel/p5-Mock-Quick

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.1111.1111.1111.1111.111
FreeBSD:14:quarterly1.1111.111n/a1.1111.111
FreeBSD:15:latest1.1111.111n/a1.1111.111
FreeBSD:15:quarterly1.1111.111n/an/an/a
FreeBSD:16:latest1.1111.111n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 2

The full lists below include those, and their dependencies in turn.

Build dependencies 5
Run dependencies 4

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 14
  • %%SITE_PERL%%/Mock/Quick.pm
  • %%SITE_PERL%%/Mock/Quick/Class.pm
  • %%SITE_PERL%%/Mock/Quick/Method.pm
  • %%SITE_PERL%%/Mock/Quick/Object.pm
  • %%SITE_PERL%%/Mock/Quick/Object/Control.pm
  • %%SITE_PERL%%/Mock/Quick/Util.pm
  • %%SITE_PERL%%/Object/Quick.pm
  • %%PERL5_MAN3%%/Mock::Quick.3.gz
  • %%PERL5_MAN3%%/Mock::Quick::Class.3.gz
  • %%PERL5_MAN3%%/Mock::Quick::Method.3.gz
  • %%PERL5_MAN3%%/Mock::Quick::Object.3.gz
  • %%PERL5_MAN3%%/Mock::Quick::Object::Control.3.gz
  • %%PERL5_MAN3%%/Mock::Quick::Util.3.gz
  • %%PERL5_MAN3%%/Object::Quick.3.gz
distinfo 1
FileSizeSHA256
Mock-Quick-1.111.tar.gz18595ff786008bf8c022064ececd3b7ed89c76b35e8d1eac6cf472a9f51771c1c9f2c
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.