\MicrometaTest

Tests for the main Micrometa parser class

Summary

Methods
Properties
Constants
testNoHcard()
testPAuthor()
testRelAuthorUrlUidSelf()
testRelAuthorUrlMe()
testRelAuthorHcardUrl()
No public properties found
No constants found
No protected methods found
$_urlPrefix
N/A
No private methods found
No private properties found
N/A

Properties

$_urlPrefix

$_urlPrefix : \string

Prefix for test URLs

Type

\string

Methods

testNoHcard()

testNoHcard() : void

Test a document without an h-card element

testPAuthor()

testPAuthor() : void

Test a document with an h-entry + embedded p-author / h-card

testRelAuthorUrlUidSelf()

testRelAuthorUrlUidSelf() : void

Test a document with an h-entry + rel-author -> h-card with u-url == u-uid == URL

testRelAuthorUrlMe()

testRelAuthorUrlMe() : void

Test a document with an h-entry + rel-author -> h-card with u-url == rel-me

testRelAuthorHcardUrl()

testRelAuthorHcardUrl() : void

Test a document with an h-entry + h-card with u-url == rel-author