Group
Extension

Matches 35358

Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/lib/App/Yath/Server/Controller/Project.pm ( view source; MetaCPAN )
est_name/;
use App::Yath::Server::Response qw/resp error/;
use Test2::Harness::Util::JSON qw/encode_json decode_json/;

use parent 'App::Yath::Server::Controller';
use Test2::Harness::Util::HashBase;


    my $json = $req->content;
    my $stats = decode_json($json);

    my $res = resp(200);

    $res->stream(
        env          => $req->env,
        content_type => 'application/x-jsonl; charse
{
            my $data = $self->build_stat($project => shift(@$stats));
            return encode_json($data) . "\n";
        },
    );

    return $res;
}

my %VALID_TYPES = (
    run_list           
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/lib/Test2/Harness/Runner/Preloading.pm ( view source; MetaCPAN )
qw/IS_WIN32/;

use Test2::Harness::Util qw/parse_exit mod2file/;
use Test2::Harness::Util::JSON qw/encode_json/;
use Test2::Harness::IPC::Util qw/pid_is_running/;

use Test2::Harness::Preload();
use T
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/lib/Getopt/Yath/Option/List.pm ( view source; MetaCPAN )
;
use strict;
use warnings;

our $VERSION = '2.000006'; # TRIAL

use Test2::Harness::Util::JSON qw/decode_json/;

use parent 'Getopt::Yath::Option';
use Test2::Harness::Util::HashBase qw/<split_on/;

ecode_json($input[0]); 1 }) {
            my ($err) = split /[\n\r]+/, $@;
            $err =~ s{at \Q$INC{'Test2/Harness/Util/JSON.pm'}\E line \d+\..*$}{};
            die "Could not decode JSON stri

sub inject_default_long_examples  { qq{ '["json","list"]'}, qq{='["json","list"]'} }
sub inject_default_short_examples { qq{ '["json","list"]'}, qq{='["json","list"]'} }

sub default_long_examples  {
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/lib/App/Yath/Server/Controller/Files.pm ( view source; MetaCPAN )

use App::Yath::Server::Response qw/resp error/;
use Test2::Harness::Util::JSON qw/encode_json encode_pretty_json decode_json/;


use parent 'App::Yath::Server::Controller';
use Test2::Harness::Util::
> 'Missing route') unless $route;
    my $idx          = $route->{idx} //= 0;
    my $json         = $route->{json};
    my $project_name = $route->{project};
    my $source       = $route->{source};
il'}],
            '+as' => ['job_try_id', 'job_try_ord', 'fail'],
        },
    );

    unless($json) {
        $res->content_type('text/plain');
        my $body = join "\n" => map { $_->file } $fi
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/lib/App/Yath/Schema/MariaDB/User.pm ( view source; MetaCPAN )
onents(
  "InflateColumn::DateTime",
  "InflateColumn::Serializer",
  "InflateColumn::Serializer::JSON",
);
__PACKAGE__->table("users");
__PACKAGE__->add_columns(
  "user_id",
  { data_type => "bigint
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/lib/App/Yath/Schema/Percona/LogFile.pm ( view source; MetaCPAN )
onents(
  "InflateColumn::DateTime",
  "InflateColumn::Serializer",
  "InflateColumn::Serializer::JSON",
);
__PACKAGE__->table("log_files");
__PACKAGE__->add_columns(
  "log_file_id",
  { data_type =>
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/lib/Getopt/Yath/Settings/Group.pm ( view source; MetaCPAN )
t be called on a blessed instance") unless ref($this);

    $this->option($option, @_);
}

sub TO_JSON {
    my $self = shift;
    return {%$self};
}

1;

__END__

=pod

=encoding UTF-8

=head1 NAME

Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/lib/App/Yath/Schema/MariaDB/Run.pm ( view source; MetaCPAN )
onents(
  "InflateColumn::DateTime",
  "InflateColumn::Serializer",
  "InflateColumn::Serializer::JSON",
);
__PACKAGE__->table("runs");
__PACKAGE__->add_columns(
  "run_uuid",
  { data_type => "uuid",
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/lib/Getopt/Yath/Option/AutoList.pm ( view source; MetaCPAN )
requires_autofill { 1 }

sub inject_default_long_examples  { qq{='["json","list"]'} }
sub inject_default_short_examples { qq{='["json","list"]'} }

1;

__END__

=pod

=encoding UTF-8

=head1 NAME

Get
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/lib/App/Yath/Server/Controller/Coverage.pm ( view source; MetaCPAN )

use App::Yath::Server::Response qw/resp error/;
use Test2::Harness::Util::JSON qw/encode_json encode_pretty_json decode_json/;


use parent 'App::Yath::Server::Controller';
use Test2::Harness::Util::
tent_type => 'application/x-jsonl; charset=utf-8',
            cache        => 0,
            headers      => ["content-disposition" => 'attachment; filename="coverage.jsonl"'],

            done => s
     fetch => sub {
                if (my $item = $iter->()) {
                    return encode_json($item) . "\n";
                }
                else {
                    $done = 1;
          
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/lib/App/Yath/Server/Controller/ReRun.pm ( view source; MetaCPAN )

use App::Yath::Server::Response qw/resp error/;
use Test2::Harness::Util::JSON qw/encode_json encode_pretty_json decode_json/;


use parent 'App::Yath::Server::Controller';
use Test2::Harness::Util::
              unless $run;

    my $data = $run->rerun_data;

    $res->content_type('application/json');
    $res->raw_body($data);
    return $res;
}

1;

__END__

=pod

=encoding UTF-8

=head1 NAME
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/lib/App/Yath/Schema/PostgreSQL/TestFile.pm ( view source; MetaCPAN )
onents(
  "InflateColumn::DateTime",
  "InflateColumn::Serializer",
  "InflateColumn::Serializer::JSON",
);
__PACKAGE__->table("test_files");
__PACKAGE__->add_columns(
  "test_file_id",
  {
    data_t
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/lib/Test2/Harness/Collector/Child.pm ( view source; MetaCPAN )
use Carp qw/confess croak/;

use Test2::Util::UUID qw/gen_uuid/;
use Test2::Harness::Util::JSON qw/encode_json/;

use vars qw/$STDERR_APIPE $STDOUT_APIPE/;

sub import {
    my $class = shift;

    co
y $json;
        {
            no warnings 'once';
            local *UNIVERSAL::TO_JSON = sub { "$_[0]" };

            $json = encode_json($event);
        }

        $stdout->write_message($json);
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/lib/App/Yath/Schema/Percona/Binary.pm ( view source; MetaCPAN )
onents(
  "InflateColumn::DateTime",
  "InflateColumn::Serializer",
  "InflateColumn::Serializer::JSON",
);
__PACKAGE__->table("binaries");
__PACKAGE__->add_columns(
  "event_uuid",
  { data_type => "
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/lib/App/Yath/Renderer/DB.pm ( view source; MetaCPAN )

use Test2::Harness::IPC::Util qw/start_process/;
use Test2::Harness::Util::JSON qw/encode_json_file encode_json decode_json_file/;
use Test2::Util::UUID qw/gen_uuid/;

use parent 'App::Yath::Renderer
project;

    my $project;

    if (my $meta_json = find_in_updir('META.json')) {
        my $json = decode_json_file($meta_json);
        $project = $json->{name};
    }
    elsif (my $meta_yml = fin
cessor->process_csnb(
        Getopt::Yath::Settings->FROM_JSON_FILE(\$ARGV[0], unlink => 1),
    )
);
            EOT
            encode_json_file($self->{+SETTINGS}),                # Pass settings 
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/lib/App/Yath/Renderer/Default.pm ( view source; MetaCPAN )
::Harness::Util qw/hub_truth apply_encoding mod2file fqmod/;
use Test2::Harness::Util::JSON qw/encode_pretty_json/;

use File::Spec();
use IO::Handle;
use Scalar::Util qw/blessed/;
use Storable qw/dcl
sh @{$f->{info}} => {
            tag       => 'RUN INFO',
            details   => encode_pretty_json($run),
        };
    }

    if ($self->{+SHOW_RUN_FIELDS}) {
        if (my $fields = $f->{harne
fo}} => {
                    tag     => 'RUN  FLD',
                    details => encode_pretty_json($field),
                };
            }
        }
    }

    if ($f->{harness_job_launch}) {
  
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/lib/App/Yath/Renderer/Logger.pm ( view source; MetaCPAN )
se POSIX qw/strftime/;

use Test2::Harness::Util qw/clean_path/;
use Test2::Harness::Util::JSON qw/encode_json/;

use parent 'App::Yath::Renderer';
use Test2::Harness::Util::HashBase qw{
    <file
   
[qw/YATH_LOG_FILE_FORMAT TEST2_HARNESS_LOG_FORMAT/],
        default => '%!P%Y-%m-%d_%H:%M:%S_%!U.jsonl',

        description => 'Specify the format for automatically-generated log files. Overridden 
mplies -L (Default: \$YATH_LOG_FILE_FORMAT, if that is set, or else "%!P%Y-%m-%d~%H:%M:%S~%!U~%!p.jsonl"). This is a string in which percent-escape sequences will be replaced as per POSIX::strftime. T
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/lib/App/Yath/Renderer/Formatter.pm ( view source; MetaCPAN )
e strict;
use warnings;

our $VERSION = '2.000006'; # TRIAL

use Test2::Harness::Util::JSON qw/encode_pretty_json/;
use Test2::Harness::Util qw/mod2file fqmod/;
use Storable qw/dclone/;

use Getopt::Y
sh @{$f->{info}} => {
            tag       => 'RUN INFO',
            details   => encode_pretty_json($run),
        };
    }

    if ($self->{+SHOW_RUN_FIELDS}) {
        if (my $fields = $f->{harne
fo}} => {
                    tag     => 'RUN  FLD',
                    details => encode_pretty_json($field),
                };
            }
        }
    }

    if ($f->{harness_job_launch}) {
  
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/lib/App/Yath/Command/list.pm ( view source; MetaCPAN )
item --ipc-dir-order ARG

=item --ipc-dir-order=ARG

=item --ipc-dir-order '["json","list"]'

=item --ipc-dir-order='["json","list"]'

=item --ipc-dir-order :{ ARG1 ARG2 ... }:

=item --ipc-dir-order=
lp information


=item -p key=val

=item -p=key=val

=item -pkey=value

=item -p '{"json":"hash"}'

=item -p='{"json":"hash"}'

=item -p:{ KEY1 VAL KEY2 :{ VAL1 VAL2 ... }: ... }:

=item -p :{ KEY1 VA
l

=item --plugins=key=val

=item --plugin '{"json":"hash"}'

=item --plugin='{"json":"hash"}'

=item --plugins '{"json":"hash"}'

=item --plugins='{"json":"hash"}'

=item --plugin :{ KEY1 VAL KEY2 :{
Test2-Harness ( E/EX/EXODIST/Test2-Harness-1.000161.tar.gz, EXODIST, 2025; MetaCPAN )
Test2-Harness/lib/App/Yath/Renderer/Summary.pm ( view source; MetaCPAN )
::Term qw/USE_COLOR/;
use Test2::Harness::Util qw/clean_path/;
use Test2::Harness::Util::JSON qw/json_true json_false/;

use List::Util qw/max/;

our $VERSION = '2.000006'; # TRIAL

use parent 'App::Y
,
        autofill => sub { 'summary.json' },

        description => "Write out a summary json file, if no path is provided 'summary.json' will be used. The .json extension is added automatically if 
 long_examples => ['', '=/path/to/summary.json'],

        normalize => sub {
            my $val = shift;
            $val .= '.json' unless $val =~ m/\.json$/;
            return clean_path($val);
 

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.