共用方式為


WHCKProximityTest- UnPublish

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

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 subscribes to and then waits for Computer B’s publication. Computer A expects to reach a timeout when it waits for the subscription to be fulfilled. Computer B makes a publication, then closes the publication handle. 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::UnPublish”

Side A - Runs the test.

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

Side B - Runs the test.

 

Note  

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

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