>># 
>># Copyright 1990, 1991 by the Massachusetts Institute of Technology and
>># UniSoft Group Limited.
>># 
>># Permission to use, copy, modify, distribute, and sell this software and
>># its documentation for any purpose is hereby granted without fee,
>># provided that the above copyright notice appear in all copies and that
>># both that copyright notice and this permission notice appear in
>># supporting documentation, and that the names of MIT and UniSoft not be
>># used in advertising or publicity pertaining to distribution of the
>># software without specific, written prior permission.  MIT and UniSoft
>># make no representations about the suitability of this software for any
>># purpose.  It is provided "as is" without express or implied warranty.
>># 
>># $XConsortium: rmptrsrc.m,v 1.8 92/06/11 17:40:36 rws Exp $
>># 
>>#
>>TITLE XrmPutResource CH10
>>ASSERTION A XrmPutResource-1
A call to XrmPutResource adds a resource specifier with the
specified value to the specified database with a type
representation type.
>>STRATEGY
Create an empty test database.
Call XrmPutResource to add database entries.
Call XrmGetResource to verify the database entries were added.
>>ASSERTION A XrmPutResource-2
When the database contains an entry for the resource name
specified by specifier, then a call to XrmPutResource
replaces the resource value in the database with value, and
the resource type with type.
>>STRATEGY
Create an empty test database.
Call XrmPutResource to add a database entry.
Call XrmPutResource to replace a database entry.
Verify the database entry was updated as expected.
>>ASSERTION A XrmPutResource-3
When database is NULL, then a call to XrmPutResource
creates a new database, adds a resource specifier with the
specified value to the database with a type representation
type, and returns a pointer to the database in database.
>>STRATEGY
Call XrmPutResource to add data to a NULL database.
Verify that the database was created, and the data was added as expected.
