共用方式為


WHCKProximityTest- PublishMessageTwoArrivals

This manual test determines whether the proximity-compliant device does the following:

  • Handles standard publication and subscription events.

  • Handles messages successfully by using the publication subscription process.

  • Fulfills the publication and subscription message transfer when each device arrives.

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 subscribes to a reply message from Computer B. Computer A prompts the user to bring the devices into proximity two separate times. Computer B subscribes to Computer A's publication. After Computer B receives Computer A's publication, 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::PublishMessageTwoArrivals”

Side A - Runs the test.

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

Side B - Runs the test.

 

Note  

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

Te.exe /inproc WHCKNearFieldInitiator.dll /name:”CWHCKProximityTestInitiator::PublishMessageTwoArrivals” /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