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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Mock-Quick | 1.111 |
| NetBSD | devel/p5-Mock-Quick | 1.111nb6 |
| DragonFly | devel/p5-Mock-Quick | 1.111 |
| HardenedBSD | devel/p5-Mock-Quick | 1.111 |
| GhostBSD | devel/p5-Mock-Quick | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.111 | 1.111 | 1.111 | 1.111 | 1.111 |
| FreeBSD:14:quarterly | 1.111 | 1.111 | n/a | 1.111 | 1.111 |
| FreeBSD:15:latest | 1.111 | 1.111 | n/a | 1.111 | 1.111 |
| FreeBSD:15:quarterly | 1.111 | 1.111 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.111 | 1.111 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
p5-Exporter-Declare>=0.103: devel/p5-Exporter-Declare
Runtime 1
p5-Exporter-Declare>=0.103: devel/p5-Exporter-Declare
Test 2
p5-Fennec-Lite>=0.004: devel/p5-Fennec-Litep5-Test-Exception>=0.29: devel/p5-Test-Exception
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
| File | Size | SHA256 |
|---|---|---|
| Mock-Quick-1.111.tar.gz | 18595 | ff786008bf8c022064ececd3b7ed89c76b35e8d1eac6cf472a9f51771c1c9f2c |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.