Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
takkii committed Apr 3, 2024
1 parent 99ef4f1 commit 88f8086
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions unit/xunit.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
class TestResult:

def __init__(self):
self.runCount = 0
self.errorCount = 0
Expand All @@ -14,6 +15,7 @@ def summary(self):


class TestCase:

def __init__(self, name):
self.name = name

Expand All @@ -35,6 +37,7 @@ def run(self, result):


class TestSuite:

def __init__(self):
self.tests = []

Expand All @@ -47,6 +50,7 @@ def run(self, result):


class WasRun(TestCase):

def setUp(self):
self.log = "setUp "

Expand All @@ -61,6 +65,7 @@ def tearDown(self):


class TestCaseTest(TestCase):

def setUp(self):
self.result = TestResult()

Expand Down

0 comments on commit 88f8086

Please sign in to comment.