Issue #1418980 by batigolix: Fix up test docs for RDF module
parent
3400bc2cb5
commit
494cf588ac
|
@ -79,8 +79,10 @@ class CommentAttributesTest extends CommentTestBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests the presence of the RDFa markup for the title, date and author and
|
* Tests if RDFa markup for meta information is present in comments.
|
||||||
* homepage on registered users and anonymous comments.
|
*
|
||||||
|
* Tests presence of RDFa markup for the title, date and author and homepage
|
||||||
|
* on comments from registered and anonymous users.
|
||||||
*/
|
*/
|
||||||
public function testCommentRdfaMarkup() {
|
public function testCommentRdfaMarkup() {
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ class GetRdfNamespacesTest extends WebTestBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests getting RDF namesapces.
|
* Tests getting RDF namespaces.
|
||||||
*/
|
*/
|
||||||
function testGetRdfNamespaces() {
|
function testGetRdfNamespaces() {
|
||||||
// Get all RDF namespaces.
|
// Get all RDF namespaces.
|
||||||
|
|
|
@ -50,8 +50,10 @@ class MappingDefinitionTest extends TaxonomyTestBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a content type and a node of type test_bundle_hook_install and test
|
* Tests if RDF mapping defined in rdf_test.install is used.
|
||||||
* whether the RDF mapping defined in rdf_test.install is used.
|
*
|
||||||
|
* Creates a content type and a node of type test_bundle_hook_install and
|
||||||
|
* tests whether the RDF mapping defined in rdf_test.install is used.
|
||||||
*/
|
*/
|
||||||
function testAttributesInMarkup2() {
|
function testAttributesInMarkup2() {
|
||||||
$type = $this->drupalCreateContentType(array('type' => 'test_bundle_hook_install'));
|
$type = $this->drupalCreateContentType(array('type' => 'test_bundle_hook_install'));
|
||||||
|
@ -68,8 +70,10 @@ class MappingDefinitionTest extends TaxonomyTestBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a random content type and node and ensure the default mapping for
|
* Tests if the default mapping for a node is being used.
|
||||||
* node is used.
|
*
|
||||||
|
* Creates a random content type and node and ensures the default mapping for
|
||||||
|
* the node is being used.
|
||||||
*/
|
*/
|
||||||
function testAttributesInMarkup3() {
|
function testAttributesInMarkup3() {
|
||||||
$type = $this->drupalCreateContentType();
|
$type = $this->drupalCreateContentType();
|
||||||
|
@ -87,7 +91,10 @@ class MappingDefinitionTest extends TaxonomyTestBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a random user and ensure the default mapping for user is used.
|
* Tests if default mapping for user is being used.
|
||||||
|
*
|
||||||
|
* Creates a random user and ensures the default mapping for the user is
|
||||||
|
* being used.
|
||||||
*/
|
*/
|
||||||
function testUserAttributesInMarkup() {
|
function testUserAttributesInMarkup() {
|
||||||
// Create two users, one with access to user profiles.
|
// Create two users, one with access to user profiles.
|
||||||
|
|
|
@ -92,6 +92,8 @@ class RdfaMarkupTest extends WebTestBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Tests if file fields in teasers have correct resources.
|
||||||
|
*
|
||||||
* Ensure that file fields have the correct resource as the object in RDFa
|
* Ensure that file fields have the correct resource as the object in RDFa
|
||||||
* when displayed as a teaser.
|
* when displayed as a teaser.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -45,7 +45,9 @@ class TrackerAttributesTest extends WebTestBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create nodes as both admin and anonymous user and test for correct RDFa
|
* Tests for correct attributes on tracker page.
|
||||||
|
*
|
||||||
|
* Creates nodes as both admin and anonymous user and tests for correct RDFa
|
||||||
* markup on the tracker page for those nodes and their comments.
|
* markup on the tracker page for those nodes and their comments.
|
||||||
*/
|
*/
|
||||||
function testAttributesInTracker() {
|
function testAttributesInTracker() {
|
||||||
|
|
Loading…
Reference in New Issue