rename test files

This commit is contained in:
tzutalin 2017-05-03 16:27:58 +08:00
parent 9a7ecb4a07
commit 1787670afa
3 changed files with 21 additions and 18 deletions

1
tests/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
test.xml

View File

@ -2,27 +2,9 @@ import _init_path
from unittest import TestCase
from labelImg import get_main_app
from pascal_voc_io import PascalVocWriter
from pascal_voc_io import PascalVocReader
class TestMainWindow(TestCase):
app = None
win = None
def setUp(self):
self.app, self.win = get_main_app()
def tearDown(self):
self.win.close()
self.app.quit()
def test_noop(self):
pass
# Test Write/Read
writer = PascalVocWriter('tests', 'test', (512, 512, 1), localImgPath='tests/test.bmp')
difficult = 1

20
tests/test_qt.py Normal file
View File

@ -0,0 +1,20 @@
from unittest import TestCase
from labelImg import get_main_app
class TestMainWindow(TestCase):
app = None
win = None
def setUp(self):
self.app, self.win = get_main_app()
def tearDown(self):
self.win.close()
self.app.quit()
def test_noop(self):
pass