Sha256: b0159f246ee0f19033d98596a6209ab96f8ca80ef604c5bfdbc311c4dde48191

Contents?: true

Size: 1.43 KB

Versions: 4

Compression:

Stored size: 1.43 KB

Contents

Feature: integration
  As a CSL cite processor hacker
  I want the test integration_DisambiguateAddGivenname1 to pass

  @citation @integration @citations
  Scenario: Disambiguate Add Givenname1
    Given the following style:
    """
    <style 
          xmlns="http://purl.org/net/xbiblio/csl"
          class="note"
          version="1.0">
      <info>
        <id />
        <title />
        <updated>2009-08-10T04:49:00+09:00</updated>
      </info>
      <citation 
             et-al-min="3"
             et-al-use-first="1"
             disambiguate-add-names="true"
             disambiguate-add-givenname="true">
        <layout delimiter="; ">
          <group delimiter=" ">
            <names delimiter=", " variable="author">
              <name and="symbol" delimiter-precedes-last="never" form="short"/>
            </names>
            <date variable="issued" prefix="(" suffix=")">
              <date-part name="year"/>
            </date>
          </group>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"author":[{"family":"Smith","given":"John"},{"family":"Smith","given":"Jane"}],"id":"ITEM-1","issued":{"date-parts":[[1980]]},"type":"book"},{"author":[{"family":"Smith","given":"John"}],"id":"ITEM-2","issued":{"date-parts":[[1986]]},"type":"book"}]
    """
    And I have a citations input
    When I cite all items
    Then the result should be:
    """
    >>[0] Smith (1986)
    """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citeproc-1.0.7 features/integration/DisambiguateAddGivenname1.feature
citeproc-1.0.6 features/integration/DisambiguateAddGivenname1.feature
citeproc-1.0.5 features/integration/DisambiguateAddGivenname1.feature
citeproc-1.0.4 features/integration/DisambiguateAddGivenname1.feature