Konstantin Baierer avatar Konstantin Baierer committed 48acb79

PortableResource role that implies Resource, Export, Import and RdfType

Comments (0)

Files changed (4)

+Tue Mar 27 02:57:43 CEST 2012
+* A meta-attribute 'inverse' to specify that $self->rdf_about should be the
+  object of a statement, not it's subject.
+* A Moose class for all that is known about $self->rdf_about across named
+  graphs/contexts and with '$self->rdf_about' as subject or object
 Fri Feb 24 15:10:35 CET 2012


+package MooseX::Semantic::Role::PortableResource;
+use Moose::Role;
+with qw(
+    MooseX::Semantic::Role::Resource
+    MooseX::Semantic::Role::RdfExport
+    MooseX::Semantic::Role::RdfImport
+    MooseX::Semantic::Role::WithRdfType
 # rdf_resource.t
 use common::sense;
-use Test::Most tests => 1;
+use Test::Most tests => 3;
 use Data::Dumper;
     package SemTest;
 use strict;
 use warnings;
 use Test::More
-    # skip_all => 'no reason'
-    tests => 1
+    skip_all => 'no reason'
+    # tests => 1
 use Test::Moose;
 use Data::Dumper;
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.