Esempio n. 1
0
    def test_VIS_003_02(self):
        """
        VIS-003-2 - VIS-2 logs event

        
        """
        logged = service.check_event('subscribed')
        service.reportrow('VIS003sheet', 'VIS_003_02_row', 'VIS_003_02_col',
                          logged, '')
        self.assertTrue(logged)
Esempio n. 2
0
    def test_VIS_003_03(self):
        """
        VIS-003-3 - VIS-1 gets a POST subscription request

        
        """
        logged = service.check_event('subscribed')
        service.reportrow('VIS003sheet', 'VIS_003_03_row', 'VIS_003_03_col',
                          logged, '')
        self.assertTrue(logged)
Esempio n. 3
0
    def test_VIS_003_06(self):
        """
        VIS-003-6 - VIS-1 returns the latest published voyage plan for each UVID with routeStatus<8

        
        """
        logged = service.check_event('post_voyage')
        service.reportrow('VIS003sheet', 'VIS_003_06_row', 'VIS_003_06_col',
                          logged, '')
        self.assertTrue(logged)
Esempio n. 4
0
    def test_VIS_007_1_2(self):
        """
        VIS-007-1-2 - No private application retrieves the message

        
        """
        logged = service.check_event('area')
        service.reportrow('VIS007sheet', 'VIS_007_1_2_row', 'VIS_007_1_2_col',
                          not logged, '')
        self.assertFalse(logged)
Esempio n. 5
0
    def test_VIS_005_2_2(self):
        """
        VIS-005-1-3 - STM Module retrieves messages from VIS-1

        
        """
        logged = service.check_event('upload')
        service.reportrow('VIS005sheet', 'VIS_005_2_2_row', 'VIS_005_2_2_col',
                          logged, '')
        self.assertTrue(logged)
Esempio n. 6
0
    def test_VIS_007_02(self):
        """
        VIS-007-2 - STM Module retrieves messages from VIS-1

        
        """
        logged = service.check_event('area')
        service.reportrow('VIS007sheet', 'VIS_007_02_row', 'VIS_007_02_col',
                          logged, '')
        self.assertTrue(logged)
Esempio n. 7
0
    def test_VIS_006_03(self):
        """
        VIS-006-3 - VIS-2 receives ACK. VIS-2 logs ACK event

        
        """
        logged = service.check_event('ack')
        service.reportrow('VIS006sheet', 'VIS_006_03_row', 'VIS_006_03_col',
                          logged, '')
        self.assertTrue(logged)
Esempio n. 8
0
    def test_VIS_006_02(self):
        """
        VIS-006-2 - STM Module receives the uplodaded txt message. VIS-1 sends ACK to VIS-2

        
        """
        logged = service.check_event('text')
        service.reportrow('VIS006sheet', 'VIS_006_02_row', 'VIS_006_02_col',
                          logged, '')
        self.assertTrue(logged)
Esempio n. 9
0
    def test_VIS_006_2_2(self):
        """
        VIS-006-2-2 - No private application retrieves/receives the message

        
        """
        logged = service.check_event('text')
        service.reportrow('VIS006sheet', 'VIS_006_2_2_row', 'VIS_006_2_2_col',
                          logged, '')
        self.assertTrue(logged)
Esempio n. 10
0
    def test_VIS_006_1_2(self):
        """
        VIS-006-1-2 - Retrieve/receive the uploaded message in private application of VIS-1

        
        """
        logged = service.check_event('text')
        service.reportrow('VIS006sheet', 'VIS_006_1_2_row', 'VIS_006_1_2_col',
                          logged, '')
        self.assertTrue(logged)