mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-20 11:35:39 +02:00
Tags beginning with a non alpha-numeric character are now disallowed.
Added !throws special tag which denotes a test case to be skipped when run with -e (the idea being that the test case is expected to throw an exception which is not caught within a XXX_THROWS assertion).
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "catch_ptr.hpp"
|
||||
|
||||
@@ -32,6 +33,8 @@ namespace Catch {
|
||||
Never
|
||||
}; };
|
||||
|
||||
class TestCaseFilters;
|
||||
|
||||
struct IConfig : IShared {
|
||||
|
||||
virtual ~IConfig();
|
||||
@@ -44,6 +47,7 @@ namespace Catch {
|
||||
virtual bool warnAboutMissingAssertions() const = 0;
|
||||
virtual int abortAfter() const = 0;
|
||||
virtual ShowDurations::OrNot showDurations() const = 0;
|
||||
virtual std::vector<TestCaseFilters> const& filters() const = 0;
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user