← Back
Editing: msvs_test.cpython-311.pyc
� �"Kb4 � � � d Z ddlmc mZ ddlZ ddlmZ n# e$ r ddlmZ Y nw xY w G d� dej � � Z e dk r ej � � dS dS )z" Unit tests for the msvs.py file. � N)�StringIOc � � e Zd Zd� Zd� ZdS )�TestSequenceFunctionsc �, � t � � | _ d S )N)r �stderr��selfs �9/usr/lib/python3/dist-packages/gyp/generator/msvs_test.py�setUpzTestSequenceFunctions.setUp s � ��*�*�D�K�K�K� c � � | � t j i � � g � � | � t j dg i� � g � � | � t j ddgd�� � dg� � | � t j ddgi� � dg� � | � t j dg d�i� � g d�� � d S )N� libraries�foo�a.lib)�otherr z-la)r �b.lib�c.lib�-lb.libr �d.libr )r r r r )�assertEqual�msvs� _GetLibrariesr s r �test_GetLibrariesz'TestSequenceFunctions.test_GetLibraries s � ���� ������ � � � ��� ��+�r�*�+�+�� � � � ��� ��%�w�i�@�@�A�A��i�� � � ��� ��+��w�/�0�0��i�� � � ��� ��+� (@� (@� (@� A� B� B�*�*�*�,� ,� ,� ,� ,r N)�__name__� __module__�__qualname__r r � r r r r s2 � � � � � �� � �,� ,� ,� ,� ,r r �__main__)�__doc__�gyp.generator.msvs� generatorr �unittestr �ImportError�io�TestCaser r �mainr r r �<module>r'