~ubuntu-branches/ubuntu/lucid/cmake/lucid

« back to all changes in this revision

Viewing changes to Source/CTest/cmCTestGenericHandler.h

  • Committer: Bazaar Package Importer
  • Author(s): Artur Rona
  • Date: 2009-12-16 11:11:54 UTC
  • mfrom: (3.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20091216111154-6accvv6yq86h2hkc
Tags: 2.8.0-5ubuntu1
* Merge from debian testing (LP: #497349). Remaining changes:
  - Keep the Replaces: on cmake-data to cover the Kubuntu version from
    Jaunty in case someone decides to do an (unsupported) Jaunty->Lucid
    upgrade.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*=========================================================================
2
 
 
3
 
  Program:   CMake - Cross-Platform Makefile Generator
4
 
  Module:    $RCSfile: cmCTestGenericHandler.h,v $
5
 
  Language:  C++
6
 
  Date:      $Date: 2006-04-28 15:59:31 $
7
 
  Version:   $Revision: 1.11 $
8
 
 
9
 
  Copyright (c) 2002 Kitware, Inc. All rights reserved.
10
 
  See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
11
 
 
12
 
     This software is distributed WITHOUT ANY WARRANTY; without even
13
 
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14
 
     PURPOSE.  See the above copyright notices for more information.
15
 
 
16
 
=========================================================================*/
 
1
/*============================================================================
 
2
  CMake - Cross Platform Makefile Generator
 
3
  Copyright 2000-2009 Kitware, Inc.
 
4
 
 
5
  Distributed under the OSI-approved BSD License (the "License");
 
6
  see accompanying file Copyright.txt for details.
 
7
 
 
8
  This software is distributed WITHOUT ANY WARRANTY; without even the
 
9
  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
10
  See the License for more information.
 
11
============================================================================*/
17
12
 
18
13
#ifndef cmCTestGenericHandler_h
19
14
#define cmCTestGenericHandler_h
20
15
 
21
16
 
22
17
#include "cmObject.h"
 
18
#include "cmCTest.h"
23
19
 
24
 
class cmCTest;
25
20
class cmMakefile;
26
21
class cmCTestCommand;
27
22
class cmGeneratedFileStream;
88
83
  void SetSubmitIndex(int idx) { this->SubmitIndex = idx; }
89
84
  int GetSubmitIndex() { return this->SubmitIndex; }
90
85
 
 
86
  void SetAppendXML(bool b) { this->AppendXML = b; }
 
87
 
91
88
protected:
92
 
  bool StartResultingXML(const char* name, cmGeneratedFileStream& xofs);
 
89
  bool StartResultingXML(cmCTest::Part part,
 
90
                         const char* name, cmGeneratedFileStream& xofs);
93
91
  bool StartLogFile(const char* name, cmGeneratedFileStream& xofs);
94
92
 
 
93
  bool AppendXML;
95
94
  bool HandlerVerbose;
96
95
  cmCTest *CTest;
97
96
  t_StringToString Options;