Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 694
b: refs/heads/vhbbHeppy74X
c: 80d5102
h: refs/heads/vhbbHeppy74X
  • Loading branch information
William Tanenbaum committed Sep 1, 2005
1 parent b3a2f53 commit 3359869
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/vhbbHeppy74X: 58e3f0c5f8c87cd7f9355e3912b3ff99f5fc5173
refs/heads/vhbbHeppy74X: 80d5102f8fdebe261bdcafa0e745e0ad61fe7e9e
8 changes: 4 additions & 4 deletions trunk/FWCore/ParameterSet/src/BuilderVPSet.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef PARAMETERSET_BUILDERVPARAMETERSET_H
#define PARAMETERSET_BUILDERVPARAMETERSET_H
#ifndef ParameterSet_BuilderVPSet_h
#define ParameterSet_BuilderVPSet_h
// -*- C++ -*-
//
// Package: ParameterSet
Expand All @@ -16,7 +16,7 @@
//
// Author: Chris Jones
// Created: Wed May 18 15:38:32 EDT 2005
// $Id: BuilderVPSet.h,v 1.1 2005/05/29 02:29:55 wmtan Exp $
// $Id: BuilderVPSet.h,v 1.2 2005/06/23 19:57:22 wmtan Exp $
//

// system include files
Expand Down Expand Up @@ -50,4 +50,4 @@ struct BuilderVPSet : public Visitor
}
}

#endif /* PARAMETERSET_BUILDERVPARAMETERSET_H */
#endif /* ParameterSet_BuilderVPSet_h */
2 changes: 1 addition & 1 deletion trunk/FWCore/ParameterSet/src/MakersPSet.cc
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ namespace edm {

// Make sure the node is of type 'source' (which comes from a
// 'secsource' entry.
if ( iNode.type() != "source" )
if (iNode.type() != "source")
{
throw edm::Exception(errors::Configuration,"PSetError")
<< "An illegal entry has been found within a module declaration"
Expand Down
20 changes: 10 additions & 10 deletions trunk/FWCore/ParameterSet/test/ps_t.cppunit.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* $Id: ps_t.cppunit.cc,v 1.2 2005/08/29 22:01:20 paterno Exp $
* $Id: ps_t.cppunit.cc,v 1.3 2005/08/30 12:53:21 paterno Exp $
*/

#include <iostream>
Expand Down Expand Up @@ -95,7 +95,7 @@ untrackedTestbody(T value)
{
edm::ParameterSet p;
p.template addUntrackedParameter<T>("x", value);
CPPUNIT_ASSERT( p.template getUntrackedParameter<T>("x") == value );
CPPUNIT_ASSERT(p.template getUntrackedParameter<T>("x") == value);

// TODO: When CPPUNIT 1.10.2 arrives, uncomment the following code block.

Expand All @@ -112,20 +112,20 @@ untrackedTestbody(T value)
p.template getUntrackedParameter<T>("does not exist");
// We can't use CPPUNIT_ASSERT, because it throws, and that
// makes it impossible to check for the right exception below.
assert ( 0 == "failed to throw a required exception" );
assert (0 == "failed to throw a required exception");
}
catch (cms::Exception& x)
{
// ok, this is expected
}
catch ( ... )
catch (...)
{
// Failure!

// Don't want to use CPPUNIT_ASSERT here, because it throws, and
// that makes understanding the handling of this catch block too
// hard for passers-by.
assert ( 0 == "threw the wrong kind of exception" );
assert (0 == "threw the wrong kind of exception");
}
//-------------------------------------------------------------------------
}
Expand Down Expand Up @@ -257,10 +257,10 @@ void testps::mapByIdTest()
psets.insert(std::make_pair(id_d, d));

// query map
CPPUNIT_ASSERT( psets.size() == 4 );
CPPUNIT_ASSERT( psets[id_a] == a );
CPPUNIT_ASSERT( psets[id_b] == b );
CPPUNIT_ASSERT( psets[id_c] == c );
CPPUNIT_ASSERT( psets[id_d] == d );
CPPUNIT_ASSERT(psets.size() == 4);
CPPUNIT_ASSERT(psets[id_a] == a);
CPPUNIT_ASSERT(psets[id_b] == b);
CPPUNIT_ASSERT(psets[id_c] == c);
CPPUNIT_ASSERT(psets[id_d] == d);
}

0 comments on commit 3359869

Please sign in to comment.