haxorqt
Home
Console
Upload
information
Create File
Create Folder
About
:
/
opt
/
alt
/
alt-nodejs10
/
root
/
usr
/
lib
/
python2.7
/
site-packages
/
gyp
/
Filename :
MSVSSettings_test.pyc
back
Copy
� Qc @ sc d Z d d l Z d d l Z d d l j Z d e j f d � � YZ e d k r_ e j � n d S( s( Unit tests for the MSVSSettings.py file.i����Nt TestSequenceFunctionsc B sb e Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( c C s t j � | _ d S( N( t StringIOt stderr( t self( ( sT //opt/alt/alt-nodejs10/root/usr/lib/python2.7/site-packages/gyp/MSVSSettings_test.pyt setUp s c C sg | j j d � | j j � j d � } g | D] } | r/ | ^ q/ } | j t | � t | � � d S( s- Compares recorded lines to expected warnings.i s N( R t seekt readt splitt assertEqualt sorted( R t expectedt actualt line( ( sT //opt/alt/alt-nodejs10/root/usr/lib/python2.7/site-packages/gyp/MSVSSettings_test.pyt _ExpectedWarnings s c C sb t j i i d 6i d 6i d 6i d 6i d 6i d 6i d 6i d 6| j � | j d d g � d S( s, Tests that only MSVS tool names are allowed.t VCCLCompilerToolt VCLinkerToolt VCMIDLToolt foot VCResourceCompilerToolt VCLibrarianToolt VCManifestToolt ClCompiles Warning: unrecognized tool foos$ Warning: unrecognized tool ClCompileN( t MSVSSettingst ValidateMSVSSettingsR R ( R ( ( sT //opt/alt/alt-nodejs10/root/usr/lib/python2.7/site-packages/gyp/MSVSSettings_test.pyt# testValidateMSVSSettings_tool_names s c C s7 t j i i@ d d 6d d g d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d! 6d"