Sha256: 4a4904a6534401fa047f65582105374d10f599a3ff72ebaa1c5bfaaa8b2dcd41

Contents?: true

Size: 1.02 KB

Versions: 34

Compression:

Stored size: 1.02 KB

Contents

Feature: Parse CSL localized terms
  As a hacker of CSL styles
  I want to be able to parse CSL localized terms
  
  Scenario: A few standard terms
    When I parse the CSL string
      """
      <terms>
        <term name="accessed">accessed</term>
        <term name="and">and</term>
        <term name="and others">and others</term>
        <term name="anonymous">anonymous</term>
        <term name="anonymous" form="short">anon.</term>
        <term name="circa">circa</term>
        <term name="circa" form="short">c.</term>
        <term name="cited">cited</term>
        <term name="edition">
          <single>edition</single>
          <multiple>editions</multiple>
        </term>
      </terms>
      """
    Then the nodename should be "terms"
    And the node should have 9 terms
    And the term number 1 should have the attribute "name" set to "accessed"
    And the term number 2 should be a textnode
    And the term number 9 should have the attribute "name" set to "edition"
    And the term number 9 should not be a textnode

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
csl-1.0.0.pre14 features/parser/terms.feature
csl-1.0.0.pre13 features/parser/terms.feature
csl-1.0.0.pre12 features/parser/terms.feature
csl-1.0.0.pre11 features/parser/terms.feature
csl-1.0.0.pre10 features/parser/terms.feature
csl-1.0.0.pre9 features/parser/terms.feature
csl-1.0.0.pre8 features/parser/terms.feature
csl-1.0.0.pre7 features/parser/terms.feature
csl-1.0.0.pre6 features/parser/terms.feature
csl-1.0.0.pre5 features/parser/terms.feature
csl-1.0.0.pre4 features/parser/terms.feature
csl-1.0.0.pre3 features/parser/terms.feature
csl-1.0.0.pre2 features/parser/terms.feature
csl-1.0.0.pre1 features/parser/terms.feature