Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
shellurl.tst
Package: shell.rar [view]
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 4k
Category:
Windows Kernel
Development Platform:
Visual C++
- BVT Check-in Test Cases for ShellUrl parsing:
- 1. Absolute Shell Urls:
- ===========================================
- 1.1 Navigation:
- -------------------------------------------
- desktop
- desktop/
- /desktop
- /desktop/
- desktop
- desktop/
- desktop
- desktop/
- /desktop
- /desktop/
- desktop
- deskTop/
- My compUter <Asserts?>
- My compUter/
- /My compUter
- /My compUter/
- My compUter
- My compUter/
- My compUter
- My compUter/
- /My compUter
- /My compUter/
- My compUter
- My compUter/
- My compUter/Control Panel
- E:
- E:dir1
- E:dir1
- C:Program Files
- C:Program Files
- \bryanst2test
- \bryansttest
- \bryanst2
- \bryanst2
- \zekelsvr (Check for Perf)
- 1.2 ShellExec:
- -------------------------------------------
- My compUter/Control Panel/Mouse
- My compUter/Control Panel/Add/Remove Programs
- My compUter/E:dir1batch.bat
- My compUter/E:dir1batch.bat Arg1 Arg2
- E:dir1batch.bat (batch.bat is available from \bryanst2test)
- E:dir1batch.bat Arg1 Arg2
- E:Program Filesbatch.bat
- E:Program Filesbatch.bat Arg1 Arg2
- \bryanst2testdosdebugdos
- \bryanst2testdosdebugdos.exe
- \bryanst2testsimpdebugsimp.exe
- \bryanst2testsimpdebugsimp Arg1 Arg2
- \bryanst2testsimpdebugsimp.exe Arg1 Arg2
- 2. Shell Urls Relative to the Current Working Directory (CWD):
- NOTE: This is only available to AddressBars that are connected
- to a browser window.
- ===========================================
- 2.1 Navigation:
- -------------------------------------------
- ..
- ../
- .... (CWD=My ComputerControl Panel)
- .... (CWD=http://bryanst2/)
- .... (CWD=E:)
- ..printers (CWD=My ComputerControl Panel)
- ..Program Files (CWD=E:dir1)
- Program Files (CWD=E:)
- ......Printers..Control PanelMouse (CWD: My compUter/C:windowssystem)
- 2.2 ShellExec:
- -------------------------------------------
- Mouse (CWD=My Computer/Control Panel)
- ../Control PanelMouse (CWD=My Computer/Printers)
- Add/Remove Programs (CWD=My Computer/Control Panel)
- ../Control Panel/Add/Remove Programs (CWD=My Computer/Printers)
- batch.bat (CWD=E:dir1)
- batch.bat Arg1 Arg2 (CWD=E:dir1)
- ..batch.bat (CWD=E:dir1dir2)
- ..batch.bat Arg1 Arg2 (CWD=E:dir1dir2)
- 3. Shell Urls Relative to a Path Directory ("Desktop"; "Desktop/My Computer"):
- ===========================================
- 3.1 Navigation:
- -------------------------------------------
- Printers
- Control Panel
- My Computer
- My Computer/
- My Computer/Control Panel
- 3.2 ShellExec:
- -------------------------------------------
- My Computer/Control Panel/Mouse
- Control Panel/Mouse
- My Computer/Control Panel/Add/Remove Programs
- Control Panel/Add/Remove Programs
- My ComputerE:dir1batch.bat
- My ComputerE:dir1batch.bat Arg1 Arg2
- 4. Other URLs/AutoSearch:
- ===========================================
- http://bryanst2/
- ie40
- //bryanst
- ftp://ftp.microsoft.com
- file://E:dir1
- file://\bryanst2public
- One Two
- ? Three Four
- go Five Six
- ? SevenEight
- go NineTen
- 5. PERF
- ===========================================
- NOTE: Iterating through ISFs that contain a large number of
- items or folders takes a long time. For this reason,
- we special case the File System and UNC (Network Neighborhood)
- sections of the Shell Name Space to parse in quicker
- method. This is possible because those items
- cannot contain '' chars.
- Make the following Shell Folders and items:
- C:winntsystem32one two.exe
- C:winntsystem32one two three (Directory)
- C:winntsystem32one two three four.exe
- Enter the following commands:
- C:winntsystem32one two Arg1 Arg2
- C:winntsystem32one two three (Okay if "one two.exe" is launched because of ambiguity)
- C:winntsystem32one two three (Folder should open)
- C:winntsystem32one two three four Arg1 Arg2
- C:winntsystem32Zoo Zed Zad (File doesn't exist, and it will cause navigation)