|
Packit |
b099d7 |
# Motif
|
|
Packit |
b099d7 |
#
|
|
Packit |
b099d7 |
# Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
|
Packit |
b099d7 |
#
|
|
Packit |
b099d7 |
# These libraries and programs are free software; you can
|
|
Packit |
b099d7 |
# redistribute them and/or modify them under the terms of the GNU
|
|
Packit |
b099d7 |
# Lesser General Public License as published by the Free Software
|
|
Packit |
b099d7 |
# Foundation; either version 2 of the License, or (at your option)
|
|
Packit |
b099d7 |
# any later version.
|
|
Packit |
b099d7 |
#
|
|
Packit |
b099d7 |
# These libraries and programs are distributed in the hope that
|
|
Packit |
b099d7 |
# they will be useful, but WITHOUT ANY WARRANTY; without even the
|
|
Packit |
b099d7 |
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
Packit |
b099d7 |
# PURPOSE. See the GNU Lesser General Public License for more
|
|
Packit |
b099d7 |
# details.
|
|
Packit |
b099d7 |
#
|
|
Packit |
b099d7 |
# You should have received a copy of the GNU Lesser General Public
|
|
Packit |
b099d7 |
# License along with these librararies and programs; if not, write
|
|
Packit |
b099d7 |
# to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
|
Packit |
b099d7 |
# Floor, Boston, MA 02110-1301 USA
|
|
Packit |
b099d7 |
#
|
|
Packit |
b099d7 |
#
|
|
Packit |
b099d7 |
# HISTORY
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
Brief description of various commandline options for DND tests :
|
|
Packit |
b099d7 |
----------------------------------------------------------------
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
All these options are in addition to the standard X options like
|
|
Packit |
b099d7 |
"-display", "-xrm", etc. Note that all the options need to be
|
|
Packit |
b099d7 |
preceded by "-u".
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
1. The tests DNDLabel1, DNDList1, DNDText1, DNDTxtLbl1, DNDtest1,
|
|
Packit |
b099d7 |
DNDtest2, and DNDtestGad1, can be run by typing the command:
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
<test_name> [-u -noinstruct]
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
If "-u -noinstruct" is specified, the test is run without the
|
|
Packit |
b099d7 |
instruction panel.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
2. The tests DNDDrop1, DNDDrop2, DNDIcon1, DNDIcon2, DNDProt1,
|
|
Packit |
b099d7 |
can be run by typing the command:
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
<test_name> [-u "[-I init_proto] [-R receiver_proto] [-noinstruct]"]
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
where
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
(i) init_proto is the initiatorProtocolStyle that the user can
|
|
Packit |
b099d7 |
specify and can any one of the following values:
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
P - for PREREGISTER
|
|
Packit |
b099d7 |
D - for DYNAMIC
|
|
Packit |
b099d7 |
N - for NONE
|
|
Packit |
b099d7 |
DO - for DROP_ONLY
|
|
Packit |
b099d7 |
PD - for PREFER_DYNAMIC
|
|
Packit |
b099d7 |
PP - for PREFER_PREREGISTER
|
|
Packit |
b099d7 |
PR - for PREFER_RECEIVER
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
(ii) receiver_proto is the receiverProtocolStyle that the user can
|
|
Packit |
b099d7 |
specify and can any one of the following values:
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
P - for PREREGISTER
|
|
Packit |
b099d7 |
D - for DYNAMIC
|
|
Packit |
b099d7 |
N - for NONE
|
|
Packit |
b099d7 |
DO - for DROP_ONLY
|
|
Packit |
b099d7 |
PD - for PREFER_DYNAMIC
|
|
Packit |
b099d7 |
PP - for PREFER_PREREGISTER
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
(iii) noinstruct means the test should be run without instruction
|
|
Packit |
b099d7 |
panel.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
For example, the command
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
DNDDrop1 -u "-I PR -R D -noinstruct"
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
means, the test DNDDrop1 is run without the instruction panel,
|
|
Packit |
b099d7 |
and that the initiatorProtocolStyle specified is PREFER_RECEIVER,
|
|
Packit |
b099d7 |
and the receiverProtocolStyle specified is DYNAMIC.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
3. Also, the test DNDDrop3 is an attempt to show non-rectangular
|
|
Packit |
b099d7 |
and nested dropSites. Although functionally complete, this test
|
|
Packit |
b099d7 |
is still being developed.
|