API-INSEE-Sirene
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
test :: $(TEST_TYPE)
$(NOECHO) $(NOOP)
# Occasionally we may face this degenerate target:
test_ : test_dynamic
$(NOECHO) $(NOOP)
subdirs-test_dynamic :: dynamic pure_all
test_dynamic :: subdirs-test_dynamic
PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES)
testdb_dynamic :: dynamic pure_all
PERL_DL_NONLAZY=1 $(FULLPERLRUN) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE)
subdirs-test_static :: static pure_all
test_static :: subdirs-test_static
PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES)
testdb_static :: static pure_all
PERL_DL_NONLAZY=1 $(FULLPERLRUN) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE)
# --- MakeMaker ppd section:
# Creates a PPD (Perl Package Description) for a binary distribution.
ppd :
$(NOECHO) $(ECHO) '<SOFTPKG NAME="API-INSEE-Sirene" VERSION="4.04">' > API-INSEE-Sirene.ppd
t/API-INSEE-Sirene.t view on Meta::CPAN
use strict;
use warnings;
use Test::More;
use HTTP::Request;
BEGIN { use_ok('API::INSEE::Sirene') };
my $sirene = API::INSEE::Sirene->new('fake_credential');
$sirene->setCurrentEndpoint('siren');
my @oks_custom_criteria = (
# [ expected_result, field_name, value ... ],
[ '(siret:"12345678901234"~ OR siret:*12345678901234*)', 'siret', '12345678901234', ],
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.354 second using v1.00-cache-2.02-grep-82fe00e-cpan-585fae043c8 )