共用方式為


WHCKProximityTest- PublishMessageDuplicate

This manual test determines the following:

  • Whether a proximity-compliant device handles standard publication and subscription actions.

  • Whether the device driver handles messages successfully by using the publication and subscription mechanism.

  • Whether the driver publishes two distinct messages when the driver must handle two publications of the same type.

To successfully complete this test, you must respond to prompts that appear.

Test details

Associated requirements

Device.BusController.NearFieldProximity.ProviderImplementation

See the device hardware requirements.

Platforms

Windows RT (ARM-based) Windows 8 (x64) Windows 8 (x86) Windows RT 8.1 Windows 8.1 x64 Windows 8.1 x86

Expected run time

~2 minutes

Categories

Certification Functional

Type

Manual

 

Running the test

Before you run the test, complete the test setup as described in Proximity Controller Testing Prerequisites.

Troubleshooting

For troubleshooting information, see Troubleshooting Bus Controller Testing.

More information

This test is run by using two test computers. Computer A runs the WHCKNearFieldInitiator.dll file and grades the test as Pass or Fail. Computer B runs the WHCKNearFieldResponder.dll file and returns a Pass or Fail result only to report on the computer’s support operations to the test.

Computer A creates a publication, and then creates a second publication of the same type. Computer A then subscribes to two reply messages from Computer B. Computer B subscribes to Computer A’s publication type. Computer B expects to receive two messages. After Computer B receives both messages, Computer B puts the message payload into a publication. Computer B then subscribes to the DeviceDeparted event and waits for this event to occur.

Command syntax

Command option Description

Te.exe /inproc WHCKNearFieldInitiator.dll /name:”CWHCKProximityTestInitiator::PublishMessageDuplicate”

Side A - Runs the test.

Te.exe /inproc WHCKNearFieldResponder.dll /name:”CWHCKProximityTestResponder::PublishMessageDuplicate”

Side B - Runs the test.

 

Note  

For command-line help for this test binary, type the following:

Te.exe /inproc WHCKNearFieldInitiator.dll /name:”CWHCKProximityTestInitiator::PublishMessageDuplicate” /listproperties

 

File list

File Location

NotifyAttention.png

<testbinroot>\dtmtest\NearField

NotifyPrepare.png

<testbinroot>\dtmtest\NearField

NotifyProximate.png

<testbinroot>\dtmtest\NearField

NotifyRemove.png

<testbinroot>\dtmtest\NearField

Te.exe

<TAEFBinRoot>

WHCKNearFieldInitiator.dll

<testbinroot>\dtmtest\NearField

WHCKNearFieldResponder.dll

<testbinroot>\dtmtest\NearField \

 

 

 

Send comments about this topic to Microsoft