Compartilhar via


WHCKProximityTest- UnSubscribe

This manual test determines whether a proximity-compliant device handles standard publication and subscription events correctly. The test also verifies that the driver deletes subscription messages when the subscription handle is closed.

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

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 subscribes to and then waits for Computer B’s publication. Computer A during the wait closes the subscription handle. Computer A expects to reach a timeout on waiting for the subscription to be fulfilled. Computer B makes 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::UnSubscribe"

Runs the test.

 

Note  

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

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