Attean
view release on metacpan or search on metacpan
lib/Test/Attean/SPARQLSuite.pm view on Meta::CPAN
package Test::Attean::SPARQLSuite;
use v5.14;
use warnings;
use Test::Roo::Role;
use Attean;
use Attean::RDF;
use AtteanX::Parser::SPARQL;
use Attean::SimpleQueryEvaluator;
use Test::Attean::W3CManifestTestSuite;
use Carp;
use HTTP::Request;
use HTTP::Response;
use HTTP::Message::PSGI;
use Data::Dumper;
use Encode qw(encode encode_utf8);
use Getopt::Long;
use Regexp::Common qw /URI/;
use Scalar::Util qw(blessed reftype);
use List::Util qw(all);
use Test::More;
use Text::CSV;
use Try::Tiny;
use URI::file;
use File::Spec;
use Types::Standard qw(Str Bool ArrayRef HashRef InstanceOf ConsumerOf);
require XML::Simple;
my $XSD = 'http://www.w3.org/2001/XMLSchema#';
my $RDF = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#';
my $RDFS = 'http://www.w3.org/2000/01/rdf-schema#';
my $RS = 'http://www.w3.org/2001/sw/DataAccess/tests/result-set#';
my $MF = 'http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#';
my $UT = 'http://www.w3.org/2009/sparql/tests/test-update#';
my $RQ = 'http://www.w3.org/2001/sw/DataAccess/tests/test-query#';
my $DAWGT = 'http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#';
with 'Test::Attean::W3CManifestTestSuite';
sub manifest_paths {
my $self = shift;
my @files;
if ($self->run_query_tests) {
push(@files, qw(
aggregates
bind
cast
bindings
construct
csv-tsv-res
exists
functions
grouping
json-res
negation
project-expression
property-path
subquery
));
push(@files, qw(
aggregates
construct
delete-insert
grouping
syntax-query
syntax-fed
syntax-update-1
syntax-update-2
));
}
if ($self->run_update_tests) {
( run in 0.406 second using v1.01-cache-2.11-cpan-39bf76dae61 )