File: __init__.py

package info (click to toggle)
libgnatcoll 1.7gpl2015-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 17,280 kB
  • ctags: 1,124
  • sloc: ada: 134,072; python: 4,017; cpp: 1,397; ansic: 1,234; makefile: 368; sh: 152; xml: 31; sql: 6
file content (30 lines) | stat: -rw-r--r-- 755 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import unittest
from support import GNATCOLL_TestCase, chdir, pathsep


class Test(GNATCOLL_TestCase):
    @chdir("json1")
    def test_json1(self):
        self.gprbuild()
        self.runexec("decode", "test.out")

    @chdir("M605-001")
    def test_M605_001(self):
        self.gprbuild()
        self.runexec("read", "test.expected")

    @chdir("M626_041")
    def test_M626_041(self):
        self.gprbuild()
        self.runexec("obj/json_test", "test.out")

    @chdir("MB28-001")
    def test_MB28_001(self):
        self.runexec(["python", "make_json.py"])
        self.gprbuild()
        self.runexec("json_stack_test", "test.out")

    @chdir("utf8")
    def test_utf8(self):
        self.gprbuild()
        self.runexec("obj/json_utf8", "")