DefaultDeterministicMapperTest

59

tests

0

failures

0

ignored

0.113s

duration

100%

successful

Tests

Test Duration Result
#366 agency node RealEstateAgent never gives the property address() 0.001s passed
#366 agency node first in an array does not shadow the listing() 0s passed
#366 array with only a publisher node contributes nothing() 0.001s passed
#457 T1 trailing slash() 0.001s passed
#457 T2 fragment at segment start() 0s passed
#457 T3 trailing hash() 0.001s passed
#457 T4 lone Person node with an address is excluded() 0.001s passed
#457 T5 type with surrounding spaces is excluded() 0.001s passed
#457 T6 lowercase type is excluded() 0s passed
#457 T7 non-textual entry in type array does not hide the publisher type() 0s passed
#457 agent typed with URL or prefix alone contributes nothing() 0.001s passed
#457 agent typed with full URL, prefix or http URL is excluded and listing address wins() 0.001s passed
#457 lone Organization node with an address gives no address() 0.001s passed
#457 node with ANY publisher type in an array is excluded() 0s passed
#457 positive control - Place+Residence array without publisher type keeps its address() 0.001s passed
#457 positive control - bare schema URL Residence keeps its address() 0.001s passed
#457 positive control - plain Residence keeps its address() 0.001s passed
#459 M11 root array without any recognised listing type falls back to the first node (previous behaviour kept)() 0.001s passed
#459 M6 graph - listing type NOT first in the type array is still recognised() 0.001s passed
#459 M6 root array - listing type NOT first in the type array is still recognised() 0.001s passed
#459 N1 root array - agent URL then Residence URL gives the property address() 0s passed
#459 N2 graph - agent then Residence URL gives the property address() 0.001s passed
#459 N3 graph - agent then schema prefix Residence() 0.001s passed
#459 N4 graph - agent then type array Residence+Product() 0.001s passed
#459 N5 graph - agent then Residence URL with trailing slash() 0.001s passed
#459 N6 witness - graph with the agent alone gives no address() 0.001s passed
#459 N7 witness - isolated short-form property keeps its address() 0s passed
#459 class - every IRI form of the listing type is recognised in root array and graph() 0.003s passed
#459 class - type array with non-textual entry and listing type is recognised in graph() 0.001s passed
#464 R2 two recognised listings - the first in document order wins in a root array and in a graph() 0.020s passed
#464 R3 array without recognised listing falls back to its first node, but never to a publisher node() 0.001s passed
#464 R3 graph without recognised listing does NOT fall back to a graph node - its root carries no address() 0.001s passed
#464 R4 Offer and Place are generic, House is specific() 0.001s passed
#464 R4 a generic Product WITH another address before a specific listing never gives its address() 0.001s passed
#464 R4 a lone generic Product keeps its address (no regression)() 0.001s passed
#464 R4 a node typed Product and Residence counts as specific() 0.001s passed
#464 R4 a specific listing type beats a generic Product placed before it, in an array and in a graph() 0.001s passed
#464 R4 agency typed RealEstateAgent and Place before a generic Product listing never gives the agency address() 0.001s passed
#464 R4 non-regression - agency typed RealEstateAgent and Place before a Residence still gives the Residence() 0.001s passed
#464 R4 two generic listings - the first wins() 0.001s passed
#464 R4 two specific listings - the first wins even after a generic one() 0.001s passed
#464 T147 empty root array and empty graph contribute nothing and do not fail() 0.001s passed
#464 agency typed LocalBusiness and Product before an Apartment gives the apartment address() 0.001s passed
#464 agency typed RealEstateAgent and Place before the listing in a graph gives the listing address() 0.001s passed
#464 agency typed RealEstateAgent and Place before the listing in a root array gives the listing address() 0.001s passed
#464 agency typed as listing ALONE never gives the agency address() 0.001s passed
#464 listing before an agency typed as listing still gives the listing address() 0.001s passed
#464 node of unknown type before the listing is not taken for the listing() 0s passed
#464 publisher type given as URL or prefix combined with Place is still excluded() 0.001s passed
district level GPS source maps to CENTROID origin (never building)() 0.001s passed
empty candidate list yields empty extract and empty provenance() 0.001s passed
lower precedence candidate wins per field (first-writer-wins)() 0.039s passed
mapping is idempotent() 0.001s passed
maps LeBonCoin ad blob with streetNumber GPS origin() 0.002s passed
maps LeBonCoin blob even when wrapped in full __NEXT_DATA__() 0.001s passed
maps schema_org JSON-LD listing to PropertyExtract with provenance() 0.002s passed
normalizes lowercase DPE letter and rejects invalid value() 0.002s passed
resolves schema_org listing nested under graph array() 0s passed
unknown GPS source maps to UNKNOWN origin() 0.002s passed