Project

General

Profile

« Previous | Next » 

Revision 10190

include multiple creators for DOI test

View differences:

test/edu/ucsb/nceas/metacat/dataone/RegisterDOITest.java
238 238
			}
239 239
			if (isMetadata) {
240 240
				String creator = metadata.get(DataCiteProfile.CREATOR.toString());
241
				assertTrue(creator.equals("adfasd"));				
241
				assertTrue(creator.equals("John Doe;NCEAS"));				
242 242
			}
243 243
			
244 244
			System.out.println("tested with DOI: " + pid.getValue());
test/tao.14563.1.xml
12 12
		<title>Test EML package - public-readable from morpho</title>
13 13
		<creator id="1320966812705">
14 14
			<individualName>
15
				<surName>adfasd</surName>
15
				<givenName>John</givenName>
16
				<surName>Doe</surName>
16 17
			</individualName>
17 18
		</creator>
19
		<creator>
20
			<organizationName>NCEAS</organizationName>
21
		</creator>
18 22
		<abstract>
19 23
			<para>adf</para>
20 24
		</abstract>

Also available in: Unified diff