Issue #1418980 by batigolix: Fix up test docs for RDF module

8.0.x
Jennifer Hodgdon 2012-08-29 10:44:57 -07:00
parent 3400bc2cb5
commit 494cf588ac
5 changed files with 22 additions and 9 deletions

View File

@ -79,8 +79,10 @@ class CommentAttributesTest extends CommentTestBase {
}
/**
* Tests the presence of the RDFa markup for the title, date and author and
* homepage on registered users and anonymous comments.
* Tests if RDFa markup for meta information is present in comments.
*
* Tests presence of RDFa markup for the title, date and author and homepage
* on comments from registered and anonymous users.
*/
public function testCommentRdfaMarkup() {

View File

@ -30,7 +30,7 @@ class GetRdfNamespacesTest extends WebTestBase {
}
/**
* Tests getting RDF namesapces.
* Tests getting RDF namespaces.
*/
function testGetRdfNamespaces() {
// Get all RDF namespaces.

View File

@ -50,8 +50,10 @@ class MappingDefinitionTest extends TaxonomyTestBase {
}
/**
* Create a content type and a node of type test_bundle_hook_install and test
* whether the RDF mapping defined in rdf_test.install is used.
* Tests if 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() {
$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
* node is used.
* Tests if the default mapping for a node is being used.
*
* Creates a random content type and node and ensures the default mapping for
* the node is being used.
*/
function testAttributesInMarkup3() {
$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() {
// Create two users, one with access to user profiles.

View File

@ -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
* when displayed as a teaser.
*/

View File

@ -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.
*/
function testAttributesInTracker() {