19#ifndef __CVC4__THEORY__THEORY_TEST_UTILS_H
20#define __CVC4__THEORY__THEORY_TEST_UTILS_H
22#include "util/cvc4_assert.h"
24#include "theory/output_channel.h"
25#include "theory/interrupted.h"
58 default:
return out <<
"UNDEFINED-OutputChannelCallType!" << int(type);
66 std::vector< std::pair<enum OutputChannelCallType, Node> >
d_callHistory;
72 void safePoint() throw(Interrupted, AssertionException) {}
75 throw(AssertionException) {
80 throw(AssertionException) {
86 throw(AssertionException) {
90 LemmaStatus
lemma(
TNode n,
bool removable,
bool preprocess)
throw(AssertionException) {
92 return LemmaStatus(Node::null(), 0);
110 LemmaStatus
splitLemma(
TNode n,
bool removable =
false) throw(TypeCheckingExceptionPrivate, AssertionException){
112 return LemmaStatus(Node::null(), 0);
129 os <<
"[TestOutputChannel " << i;
std::vector< std::pair< enum OutputChannelCallType, Node > > d_callHistory
void handleUserAttribute(const char *attr, theory::Theory *t)
void propagateAsDecision(TNode n)
OutputChannelCallType getIthCallType(int i)
LemmaStatus splitLemma(TNode n, bool removable=false)
void requirePhase(TNode, bool)
LemmaStatus lemma(TNode n, bool removable, bool preprocess)
void printIth(std::ostream &os, int i)
Macros that should be defined everywhere during the building of the libraries and driver binary,...
OutputChannelCallType
Very basic OutputChannel for testing simple Theory Behaviour.
std::ostream & operator<<(std::ostream &out, const TypeCheckingException &e)