Esempio n. 1
0
    def test_user_id(self):
        process_stack_usage = ProcessStackUtil(1,self.__metric_repository)

        user_id = process_stack_usage.user_id()

        self.assertEqual(user_id,1)
Esempio n. 2
0
    def test_process_name(self):
        process_stack_usage = ProcessStackUtil(1,self.__metric_repository)

        name = process_stack_usage.process_name()

        self.assertEqual(name,'test')
Esempio n. 3
0
    def test_stack_size(self):
        process_stack_usage = ProcessStackUtil(1,self.__metric_repository)

        stack_size = process_stack_usage.stack_size()

        self.assertEquals(stack_size, 136)
    def test_user_id(self):
        process_stack_usage = ProcessStackUtil(1, self.__metric_repository)

        user_id = process_stack_usage.user_id()

        self.assertEqual(user_id, 1)
    def test_process_name(self):
        process_stack_usage = ProcessStackUtil(1, self.__metric_repository)

        name = process_stack_usage.process_name()

        self.assertEqual(name, 'test')
    def test_stack_size(self):
        process_stack_usage = ProcessStackUtil(1, self.__metric_repository)

        stack_size = process_stack_usage.stack_size()

        self.assertEquals(stack_size, 136)