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.3.2 features/parser/terms.feature
csl-1.3.1 features/parser/terms.feature
csl-1.3.0 features/parser/terms.feature
csl-1.2.3 features/parser/terms.feature
csl-1.2.2 features/parser/terms.feature
csl-1.2.1 features/parser/terms.feature
csl-1.2.0 features/parser/terms.feature
csl-1.1.0 features/parser/terms.feature
csl-1.0.2 features/parser/terms.feature
csl-1.0.1 features/parser/terms.feature
csl-1.0.0 features/parser/terms.feature
csl-1.0.0.pre23 features/parser/terms.feature
csl-1.0.0.pre22 features/parser/terms.feature
csl-1.0.0.pre21 features/parser/terms.feature
csl-1.0.0.pre20 features/parser/terms.feature
csl-1.0.0.pre19 features/parser/terms.feature
csl-1.0.0.pre18 features/parser/terms.feature
csl-1.0.0.pre17 features/parser/terms.feature
csl-1.0.0.pre16 features/parser/terms.feature
csl-1.0.0.pre15 features/parser/terms.feature