Issue #1418980 by batigolix: Fix up test docs for RDF module
authorJennifer Hodgdon
Wed, 29 Aug 2012 17:44:57 +0000 (10:44 -0700)
committerJennifer Hodgdon
Wed, 29 Aug 2012 17:44:57 +0000 (10:44 -0700)
core/modules/rdf/lib/Drupal/rdf/Tests/CommentAttributesTest.php
core/modules/rdf/lib/Drupal/rdf/Tests/GetRdfNamespacesTest.php
core/modules/rdf/lib/Drupal/rdf/Tests/MappingDefinitionTest.php
core/modules/rdf/lib/Drupal/rdf/Tests/RdfaMarkupTest.php
core/modules/rdf/lib/Drupal/rdf/Tests/TrackerAttributesTest.php

index e765436..bb712b6 100644 (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() {
 
index cca794f..bc78fc2 100644 (file)
@@ -30,7 +30,7 @@ class GetRdfNamespacesTest extends WebTestBase {
   }
 
   /**
-   * Tests getting RDF namesapces.
+   * Tests getting RDF namespaces.
    */
   function testGetRdfNamespaces() {
     // Get all RDF namespaces.
index 252c240..9db4a00 100644 (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.
index a7ea426..fe89a58 100644 (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.
    */
index f5e306c..e4f6fe4 100644 (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() {