summaryrefslogtreecommitdiff
path: root/src/qttestrunner/TestRunnerTestCaseRunEvent.h
blob: bd2c635df1c456590a440ebd58a5ca5e29c20187 (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// //////////////////////////////////////////////////////////////////////////
// Header file TestRunnerTestCaseRunEvent.h for class TestRunnerTestCaseRunEvent
// (c)Copyright 2000, Baptiste Lepilleur.
// Created: 2001/09/22
// //////////////////////////////////////////////////////////////////////////
#ifndef TESTRUNNERTESTCASERUNEVENT_H
#define TESTRUNNERTESTCASERUNEVENT_H

#include "TestRunnerThreadEvent.h"


/*! \class TestRunnerTestCaseRunEvent
 * \brief This class represents a new TestCase run event.
 */
class TestRunnerTestCaseRunEvent : public TestRunnerThreadEvent
{
public:
  /*! Constructs a TestRunnerTestCaseRunEvent object.
   */
  TestRunnerTestCaseRunEvent( int numberOfRun );

  /// Destructor.
  virtual ~TestRunnerTestCaseRunEvent();

private:
  /// Prevents the use of the copy constructor.
  TestRunnerTestCaseRunEvent( const TestRunnerTestCaseRunEvent &copy );

  /// Prevents the use of the copy operator.
  void operator =( const TestRunnerTestCaseRunEvent &copy );

  void process( TestRunnerModelThreadInterface *target );

private:
  int _numberOfRun;
};



// Inlines methods for TestRunnerTestCaseRunEvent:
// -----------------------------------------------



#endif  // TESTRUNNERTESTCASERUNEVENT_H