- Q_ASSERT(!simpleMatch.isEmpty());
- Q_ASSERT(simpleMatch.isValid());
- Q_ASSERT(!simpleMatchCS.isEmpty());
- Q_ASSERT(simpleMatchCS.isValid());
- Q_ASSERT(!simpleMatchEscape.isEmpty());
- Q_ASSERT(simpleMatchEscape.isValid());
- Q_ASSERT(!simpleMatchInvert.isEmpty());
- Q_ASSERT(simpleMatchInvert.isValid());
- Q_ASSERT(!simpleMatchNoInvert.isEmpty());
- Q_ASSERT(simpleMatchNoInvert.isValid());
- Q_ASSERT(!simpleMatchNoInvertSlash.isEmpty());
- Q_ASSERT(simpleMatchNoInvertSlash.isValid());
- Q_ASSERT(!complexMatch.isEmpty());
- Q_ASSERT(complexMatch.isValid());
+ ASSERT_TRUE(simpleMatch.isValid());
+ EXPECT_FALSE(simpleMatch.isEmpty());
+ ASSERT_TRUE(simpleMatchCS.isValid());
+ EXPECT_FALSE(simpleMatchCS.isEmpty());
+ ASSERT_TRUE(simpleMatchEscape.isValid());
+ EXPECT_FALSE(simpleMatchEscape.isEmpty());
+ ASSERT_TRUE(simpleMatchInvert.isValid());
+ EXPECT_FALSE(simpleMatchInvert.isEmpty());
+ ASSERT_TRUE(simpleMatchNoInvert.isValid());
+ EXPECT_FALSE(simpleMatchNoInvert.isEmpty());
+ ASSERT_TRUE(simpleMatchNoInvertSlash.isValid());
+ EXPECT_FALSE(simpleMatchNoInvertSlash.isEmpty());
+ ASSERT_TRUE(complexMatch.isValid());
+ EXPECT_FALSE(complexMatch.isEmpty());