Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Zoltan2_TestInterface.hpp
Go to the documentation of this file.
1 //
2 // Zoltan2_TestInterface.h
3 // Zoltan2TestDriver
4 //
5 // Created by Bradley Davidson on 7/6/15.
6 // Copyright (c) 2015 TXCorp. All rights reserved.
7 //
8 
9 #ifndef Zoltan2TestDriver_Zoltan2_TestInterface_h
10 #define Zoltan2TestDriver_Zoltan2_TestInterface_h
11 
12 #include <Zoltan2_config.h>
13 #include <Zoltan2_TestHelpers.hpp>
14 #include <UserInputForTests.hpp>
15 #include <Teuchos_DefaultComm.hpp>
16 
23 using Teuchos::Comm;
24 using Teuchos::RCP;
25 using Teuchos::ParameterList;
26 
28 
29 public:
30 
33  virtual ~Zoltan2Test() {};
34 
39  virtual void Run(const ParameterList &params,const RCP<const Teuchos::Comm<int> > & comm) = 0;
40 
43  virtual bool didPass() = 0;
44 
45 };
46 
47 #endif
Generate input for testing purposes.
common code used by tests
virtual ~Zoltan2Test()
Destructor.
virtual bool didPass()=0
Did pass?
virtual void Run(const ParameterList &params, const RCP< const Teuchos::Comm< int > > &comm)=0