Добавил тест для парсера csproj

This commit is contained in:
Rustam Zaitov 2013-10-06 13:45:26 +04:00
parent 318b6430be
commit 3538e3afb1
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,20 @@
import unittest
from parser.CsprojParser import CsprojParser
class TestCsprojParser(unittest.TestCase):
def setUp(self):
self.config = {}
self.parser = CsprojParser(self.config)
def test_isCsprojStatement(self):
expect_true = self.parser.isCsprojStatement('csproj')
expect_false = self.parser.isCsprojStatement('bla bla bla')
self.assertEqual(expect_true, True)
self.assertEqual(expect_false, False)

View File

@ -0,0 +1 @@
__author__ = 'rzaitov'