Config-Model

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

    'Config::INI::Reader' => '0',
    'Config::Model::Tester' => '4.002',
    'Config::Model::Tester::Setup' => '0',
    'File::Copy' => '0',
    'File::Spec' => '0',
    'IO::File' => '0',
    'JSON' => '0',
    'Module::Build' => '0.34',
    'Path::Tiny' => '0.125',
    'TOML::Tiny' => '0',
    'Test::Differences' => '0',
    'Test::Exception' => '0',
    'Test::File::Contents' => '0',
    'Test::Log::Log4perl' => '0',
    'Test::Memory::Cycle' => '0',
    'Test::More' => '0',
    'Test::Perl::Critic' => '0',
    'Test::Pod' => '1.00',
    'Test::Synopsis::Expectation' => '0',
    'Test::Warn' => '0.11',
    'Text::Levenshtein::Damerau' => '0',

Changes  view on Meta::CPAN

    * Framework changes:
       * Value: don't perform value check when fetching standard or default value
       * Backend/Plainfile: now support list element in the form of multi line file.
         Each line of the file is a value of the list.
       * t/fuse_ui.t: skip test if lsmod cannot be used (e.g. Mandriva)
       * t/debian*.t: skip test when /etc/debian_version is not found

1.241 2011-04-07
    
    * Framework changes:
       * Build depend on Test::Differences
       * Load and grab: fix to accept '-' in element names 
       * Model.pm: Added value help and summary in generated documentation
       * DumpAsData: skip hash keys containing undef values

1.240 2011-04-05
    
    * Framework changes:
        * Most *.pm: replaced 'no Moose' by 'no Any::Moose' 
        
1.238 2011-04-05

META.json  view on Meta::CPAN

         "requires" : {
            "Config::INI::Reader" : "0",
            "Config::Model::Tester" : "4.002",
            "Config::Model::Tester::Setup" : "0",
            "File::Copy" : "0",
            "File::Spec" : "0",
            "IO::File" : "0",
            "JSON" : "0",
            "Path::Tiny" : "0.125",
            "TOML::Tiny" : "0",
            "Test::Differences" : "0",
            "Test::Exception" : "0",
            "Test::File::Contents" : "0",
            "Test::Log::Log4perl" : "0",
            "Test::Memory::Cycle" : "0",
            "Test::More" : "0",
            "Test::Perl::Critic" : "0",
            "Test::Pod" : "1.00",
            "Test::Synopsis::Expectation" : "0",
            "Test::Warn" : "0.11",
            "Text::Levenshtein::Damerau" : "0",

META.yml  view on Meta::CPAN

  Config::INI::Reader: '0'
  Config::Model::Tester: '4.002'
  Config::Model::Tester::Setup: '0'
  File::Copy: '0'
  File::Spec: '0'
  IO::File: '0'
  JSON: '0'
  Module::Build: '0.34'
  Path::Tiny: '0.125'
  TOML::Tiny: '0'
  Test::Differences: '0'
  Test::Exception: '0'
  Test::File::Contents: '0'
  Test::Log::Log4perl: '0'
  Test::Memory::Cycle: '0'
  Test::More: '0'
  Test::Perl::Critic: '0'
  Test::Pod: '1.00'
  Test::Synopsis::Expectation: '0'
  Test::Warn: '0.11'
  Text::Levenshtein::Damerau: '0'

t/apply_fix.t  view on Meta::CPAN


use warnings;

use Test::More;
use Test::Memory::Cycle;
use Config::Model;
use Config::Model::Value;
use Config::Model::Tester::Setup qw/init_test/;
use Data::Dumper;
use Test::Log::Log4perl;
use Test::Differences;

use strict;
use 5.10.1;

Test::Log::Log4perl->ignore_priority("info");

my ($model, $trace) = init_test();

# minimal set up to get things working

t/array_id.t  view on Meta::CPAN

# -*- cperl -*-

use ExtUtils::testlib;
use Test::More;
use Test::Exception;
use Test::Differences;
use Test::Memory::Cycle;
use Test::Log::Log4perl;
use Config::Model;
use Config::Model::AnyId;

use strict;
use warnings;
use Config::Model::Tester::Setup qw/init_test/;

Test::Log::Log4perl->ignore_priority("info");

t/array_with_data_migration.t  view on Meta::CPAN

# -*- cperl -*-

use Test::More;
use Test::Exception;
use Test::Differences;
use Test::Memory::Cycle;
use Config::Model;
use Config::Model::Tester::Setup qw/init_test/;

use strict;
use warnings;

my ($model, $trace) = init_test();

# minimal set up to get things working

t/augment_class.t  view on Meta::CPAN

# -*- cperl -*-

use Test::More;
use Test::Memory::Cycle;
use Test::Differences;
use Config::Model;
use Data::Dumper;
use Config::Model::Tester::Setup qw/init_test/;

use strict;
use warnings;

my ($model, $trace) = init_test();

$model->create_config_class(

t/backend_ini_with_section_map.t  view on Meta::CPAN

# NOTE: backend can also be tested in model_test.d

use ExtUtils::testlib;
use Test::More;
use Test::Memory::Cycle;
use Config::Model;
use File::Path;
use File::Copy;
use Data::Dumper;
use Log::Log4perl qw(:easy);
use Test::Differences;
use Test::File::Contents;

use warnings;
no warnings qw(once);

use strict;

my $arg = shift || '';

my $trace = $arg =~ /t/ ? 1 : 0;

t/check_list.t  view on Meta::CPAN

# -*- cperl -*-

use warnings;
use strict;

use ExtUtils::testlib;
use Test::More;
use Test::Differences;
use Test::Memory::Cycle;
use Test::Log::Log4perl;
use Test::Exception;
use Config::Model;
use Config::Model::Tester::Setup qw/init_test/;

Test::Log::Log4perl->ignore_priority("info");

my ($model, $trace) = init_test();

t/check_list_warp.t  view on Meta::CPAN

# -*- cperl -*-

use warnings;
use strict;
use 5.10.0;

use ExtUtils::testlib;
use Test::More;
use Test::Memory::Cycle;
use Test::Differences;
use Config::Model;
use Config::Model::Tester::Setup qw/init_test/;

my ($model, $trace) = init_test();

my @slave_classes = ('Slave0' .. 'Slave1');
my @master_elems ;
foreach my $slave_class (@slave_classes) {
    $model->create_config_class(
        name      => $slave_class,

t/dump_tree.t  view on Meta::CPAN

# -*- cperl -*-

use ExtUtils::testlib;
use Test::More;
use Test::Memory::Cycle;
use Test::Differences;
use Config::Model;
use Config::Model::Tester::Setup qw/init_test/;

use warnings;
use strict;
use lib "t/lib";

my ($model, $trace) = init_test();

my $inst = $model->instance(

t/get_info.t  view on Meta::CPAN

# -*- cperl -*-

use ExtUtils::testlib;
use Test::More;
use Test::Differences;
use Test::Memory::Cycle;
use Config::Model;
use Config::Model::Tester::Setup qw/init_test/;

use warnings;
use strict;
use lib "t/lib";

use utf8;
use open      qw(:std :utf8);    # undeclared streams in UTF-8

t/hash_id_of_values.t  view on Meta::CPAN

# -*- cperl -*-

use ExtUtils::testlib;
use Test::More ;
use Test::Memory::Cycle;
use Config::Model;
use Config::Model::Tester::Setup qw/init_test/;
use Test::Exception;
use Test::Differences;
use Test::Log::Log4perl;

use strict;
use warnings;

my ($model, $trace) = init_test();

# new parameter style
my @element = (

t/hash_with_data_migration.t  view on Meta::CPAN

# -*- cperl -*-


use ExtUtils::testlib;
use Test::More;
use Test::Exception;
use Test::Warn;
use Test::Differences;
use Test::Memory::Cycle;
use Config::Model;
use Config::Model::Tester::Setup qw/init_test/;

use strict;
use warnings;

my ($model, $trace) = init_test();

# minimal set up to get things working

t/include.t  view on Meta::CPAN

# -*- cperl -*-

use ExtUtils::testlib;
use Test::More;
use Test::Exception;
use Test::Differences;
use Test::Memory::Cycle;
use Config::Model;
use Config::Model::Tester::Setup qw/init_test/;

use strict;
use warnings;

# minimal set up to get things working
my ($model, $trace) = init_test();

t/load-model.t  view on Meta::CPAN

use Test::More;
use Test::Memory::Cycle;
use Test::Differences;
use Path::Tiny;
use Config::Model::Tester::Setup qw/init_test setup_test_dir/;

use strict;
use warnings;
use 5.20.0;
use feature qw/postderef/;
no warnings qw/experimental::postderef/;

use lib 'wr_root/load_model_snippets';

t/load.t  view on Meta::CPAN

# -*- cperl -*-

use ExtUtils::testlib;
use Test::More;
use Test::Exception;
use Test::Differences;
use Test::Memory::Cycle;
use Test::Synopsis::Expectation;
use Config::Model;
use Config::Model::Tester::Setup qw/init_test/;
use Test::Log::Log4perl;

use strict;
use warnings;
use lib "t/lib";
use utf8;

t/load_model_snippets.t  view on Meta::CPAN

# -*- cperl -*-

use ExtUtils::testlib;
use Test::More;
use Test::Exception;
use Test::Memory::Cycle;
use Test::Differences;
use Data::Dumper;
use Config::Model;
use Config::Model::Tester::Setup qw/init_test setup_test_dir/;

use strict;
use warnings;

use lib 'wr_root/load_model_snippets';

my ($model, $trace) = init_test();

t/model.t  view on Meta::CPAN

# -*- cperl -*-

use ExtUtils::testlib;
use Test::More;
use Test::Exception;
use Test::Warn 0.11;
use Test::Differences;
use Test::Memory::Cycle;
use Config::Model;
use Config::Model::Lister;
use Config::Model::Tester::Setup qw/init_test/;
use Data::Dumper;
use Log::Log4perl qw(:easy :levels);

use strict;
use warnings;

t/multi_warp_value.t  view on Meta::CPAN

# -*- cperl -*-

use ExtUtils::testlib;
use Test::More;
use Test::Differences;
use Test::Memory::Cycle;
use Config::Model;
use Config::Model::Tester::Setup qw/init_test/;
use Storable qw/dclone/;

use strict;
use warnings;

my ($model, $trace) = init_test();

t/obj_tree_scanner.t  view on Meta::CPAN

# -*- cperl -*-

use ExtUtils::testlib;
use Test::More;
use Test::Memory::Cycle;
use Config::Model;
use Config::Model::Tester::Setup qw/init_test/;
use Config::Model::ObjTreeScanner;
use Test::Differences;
use Data::Dumper;

use warnings;
use strict;
use lib "t/lib";

sub disp_node_content_hook {
    my ( $scanner, $data_r, $node, @element ) = @_;

    $$data_r .= "disp_node_content_hook " . $node->name . " element: @element\n";

t/search_in_tree.t  view on Meta::CPAN

# -*- cperl -*-

use ExtUtils::testlib;
use Test::More;
use Test::Differences;
use Test::Memory::Cycle;
use Config::Model;
use Config::Model::Tester::Setup qw/init_test/;

use warnings;
use strict;
use lib "t/lib";

my ($model, $trace) = init_test();

t/term_ui.t  view on Meta::CPAN

# -*- cperl -*-
use strict;
use warnings;

use ExtUtils::testlib;
use Test::More;
use Test::Differences;

# this block is necessary to avoid failure on some automatic cpan
# testers setup which fail while loading Term::ReadLine
BEGIN {
    my $ok = eval {
        require Term::ReadLine;
        1;
    }
        and (
            eval { require Term::ReadLine::Gnu; 1; }

t/value.t  view on Meta::CPAN

use ExtUtils::testlib;
use Test::More;
use Test::Exception;
use Test::Differences;
use Test::Memory::Cycle;
use Config::Model;
use Config::Model::Tester::Setup qw/init_test/;
use Config::Model::Value;
use Test::Log::Log4perl;
use Path::Tiny 0.125; # for mkdir

use strict;
use warnings;

t/value_compute.t  view on Meta::CPAN

# -*- cperl -*-

use Test::More;
use Test::Differences;
use Test::Exception;
use Test::Memory::Cycle;
use Config::Model;
use Config::Model::Tester::Setup qw/init_test/;
use Test::Log::Log4perl;

use strict;
use warnings;

use 5.10.1;

t/warped_node.t  view on Meta::CPAN

# -*- cperl -*-

use ExtUtils::testlib;
use Test::More;
use Test::Differences;
use Test::Memory::Cycle;
use Config::Model;
use Config::Model::Tester::Setup qw/init_test/;

use strict;
use warnings ;

my ($model, $trace) = init_test();

$model->create_config_class(

t/warped_value.t  view on Meta::CPAN

# -*- cperl -*-

use Test::More;
use Test::Differences;
use Test::Memory::Cycle;
use Test::Exception;
use Config::Model;
use Config::Model::ValueComputer;
use Config::Model::Tester::Setup qw/init_test/;

use strict;
use warnings;

my ($model, $trace) = init_test();



( run in 2.752 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )