>># 
>># 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: rmqptrsrc.m,v 1.7 92/06/11 17:41:27 rws Exp $
>># 
>>#
>>TITLE XrmQPutResource CH10
>>ASSERTION A XrmQPutResource-1
A call to XrmQPutResource adds a resource specified by
bindings and quarks with the specified value to the
specified database with a type representation type.
>>STRATEGY
Create an empty test database.
Call XrmQPutResource to add database entries.
Call XrmGetResource to verify the database entries were added.
>>ASSERTION A XrmQPutResource-2
When the database contains an entry for the resource name
specified by bindings and quarks, then a call to
XrmQPutResource replaces the resource value in the database
with value, and the resource type with type.
>>STRATEGY
Create an empty test database.
Call XrmQPutResource to add a database entry.
Call XrmQPutResource to replace a database entry.
Verify the database entry was updated as expected.
>>ASSERTION A XrmQPutResource-3
When database is NULL, then a call to XrmQPutResource
creates a new database, adds a resource specified by
bindings and quarks with the specified value to the database
with a type representation type, and returns a pointer to
the database in database.
>>STRATEGY
Call XrmQPutResource to add data to a NULL database.
Verify that the database was created, and the data was added as expected.
