$34 GRAYBYTE WORDPRESS FILE MANAGER $84

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/

HOME
Current File : /usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator//msvs_test.py
#! /usr/bin/python2
# Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

""" Unit tests for the msvs.py file. """

import gyp.generator.msvs as msvs
import unittest
try:
  from cStringIO import StringIO
except ImportError:
  from io import StringIO


class TestSequenceFunctions(unittest.TestCase):

  def setUp(self):
    self.stderr = StringIO()

  def test_GetLibraries(self):
    self.assertEqual(
      msvs._GetLibraries({}),
      [])
    self.assertEqual(
      msvs._GetLibraries({'libraries': []}),
      [])
    self.assertEqual(
      msvs._GetLibraries({'other':'foo', 'libraries': ['a.lib']}),
      ['a.lib'])
    self.assertEqual(
      msvs._GetLibraries({'libraries': ['-la']}),
      ['a.lib'])
    self.assertEqual(
      msvs._GetLibraries({'libraries': ['a.lib', 'b.lib', 'c.lib', '-lb.lib',
                                   '-lb.lib', 'd.lib', 'a.lib']}),
      ['c.lib', 'b.lib', 'd.lib', 'a.lib'])

if __name__ == '__main__':
  unittest.main()


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.36 PM
root / root
0755
__init__.py
0 KB
10 Mar 2021 2.36 PM
root / root
0644
analyzer.py
29.909 KB
10 Mar 2021 2.36 PM
root / root
0644
android.py
44.305 KB
10 Mar 2021 2.36 PM
root / root
0644
cmake.py
43.693 KB
10 Mar 2021 2.36 PM
root / root
0644
compile_commands_json.py
4.173 KB
10 Mar 2021 2.36 PM
root / root
0644
dump_dependency_json.py
3.384 KB
10 Mar 2021 2.36 PM
root / root
0644
eclipse.py
16.725 KB
10 Mar 2021 2.36 PM
root / root
0644
gypd.py
3.389 KB
10 Mar 2021 2.36 PM
root / root
0644
gypsh.py
1.626 KB
10 Mar 2021 2.36 PM
root / root
0644
make.py
90.864 KB
10 Mar 2021 2.36 PM
root / root
0644
msvs.py
130.435 KB
10 Mar 2021 2.36 PM
root / root
0644
msvs_test.py
1.05 KB
10 Mar 2021 2.36 PM
root / root
0644
ninja.py
98.424 KB
10 Mar 2021 2.36 PM
root / root
0644
ninja_test.py
1.709 KB
10 Mar 2021 2.36 PM
root / root
0644
xcode.py
56.99 KB
10 Mar 2021 2.36 PM
root / root
0644
xcode_test.py
0.628 KB
10 Mar 2021 2.36 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF