aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/unit/testCellBuffer.cxx2
-rw-r--r--test/unit/testCharClassify.cxx2
-rw-r--r--test/unit/testContractionState.cxx2
-rw-r--r--test/unit/testDecoration.cxx2
-rw-r--r--test/unit/testPartitioning.cxx2
-rw-r--r--test/unit/testRunStyles.cxx2
-rw-r--r--test/unit/testSparseState.cxx2
-rw-r--r--test/unit/testSparseVector.cxx2
-rw-r--r--test/unit/testSplitVector.cxx2
-rw-r--r--test/unit/testUnicodeFromUTF8.cxx2
-rw-r--r--test/unit/testWordList.cxx2
-rw-r--r--test/unit/unitTest.cxx2
12 files changed, 24 insertions, 0 deletions
diff --git a/test/unit/testCellBuffer.cxx b/test/unit/testCellBuffer.cxx
index 80d9b6be8..d71bab88d 100644
--- a/test/unit/testCellBuffer.cxx
+++ b/test/unit/testCellBuffer.cxx
@@ -16,6 +16,8 @@
#include "catch.hpp"
+using namespace Scintilla;
+
// Test CellBuffer.
TEST_CASE("CellBuffer") {
diff --git a/test/unit/testCharClassify.cxx b/test/unit/testCharClassify.cxx
index 5dd004e83..ce034e9d4 100644
--- a/test/unit/testCharClassify.cxx
+++ b/test/unit/testCharClassify.cxx
@@ -12,6 +12,8 @@
#include "catch.hpp"
+using namespace Scintilla;
+
// Test CharClassify.
class CharClassifyTest {
diff --git a/test/unit/testContractionState.cxx b/test/unit/testContractionState.cxx
index 4f7a522a4..a0d5fb0da 100644
--- a/test/unit/testContractionState.cxx
+++ b/test/unit/testContractionState.cxx
@@ -18,6 +18,8 @@
#include "catch.hpp"
+using namespace Scintilla;
+
// Test ContractionState.
TEST_CASE("ContractionState") {
diff --git a/test/unit/testDecoration.cxx b/test/unit/testDecoration.cxx
index 040590001..05b636bd8 100644
--- a/test/unit/testDecoration.cxx
+++ b/test/unit/testDecoration.cxx
@@ -19,6 +19,8 @@
const int indicator=4;
+using namespace Scintilla;
+
// Test Decoration.
TEST_CASE("Decoration") {
diff --git a/test/unit/testPartitioning.cxx b/test/unit/testPartitioning.cxx
index 925cc9a32..ed2957289 100644
--- a/test/unit/testPartitioning.cxx
+++ b/test/unit/testPartitioning.cxx
@@ -15,6 +15,8 @@
#include "catch.hpp"
+using namespace Scintilla;
+
const int growSize = 4;
const int lengthTestArray = 8;
diff --git a/test/unit/testRunStyles.cxx b/test/unit/testRunStyles.cxx
index e33cedb2e..e93278dbf 100644
--- a/test/unit/testRunStyles.cxx
+++ b/test/unit/testRunStyles.cxx
@@ -16,6 +16,8 @@
#include "catch.hpp"
+using namespace Scintilla;
+
// Test RunStyles.
TEST_CASE("RunStyles") {
diff --git a/test/unit/testSparseState.cxx b/test/unit/testSparseState.cxx
index 0cc9b149d..3cc283b69 100644
--- a/test/unit/testSparseState.cxx
+++ b/test/unit/testSparseState.cxx
@@ -13,6 +13,8 @@
#include "catch.hpp"
+using namespace Scintilla;
+
// Test SparseState.
TEST_CASE("SparseState") {
diff --git a/test/unit/testSparseVector.cxx b/test/unit/testSparseVector.cxx
index c4c3a6ab1..94f96c0df 100644
--- a/test/unit/testSparseVector.cxx
+++ b/test/unit/testSparseVector.cxx
@@ -18,6 +18,8 @@
#include "catch.hpp"
+using namespace Scintilla;
+
// Test SparseVector.
// Helper to produce a string representation of a SparseVector<const char *>
diff --git a/test/unit/testSplitVector.cxx b/test/unit/testSplitVector.cxx
index e01810d33..9b25de600 100644
--- a/test/unit/testSplitVector.cxx
+++ b/test/unit/testSplitVector.cxx
@@ -14,6 +14,8 @@
#include "catch.hpp"
+using namespace Scintilla;
+
// Test SplitVector.
struct StringSetHolder {
diff --git a/test/unit/testUnicodeFromUTF8.cxx b/test/unit/testUnicodeFromUTF8.cxx
index 116f4cf19..941a08a16 100644
--- a/test/unit/testUnicodeFromUTF8.cxx
+++ b/test/unit/testUnicodeFromUTF8.cxx
@@ -10,6 +10,8 @@
#include "catch.hpp"
+using namespace Scintilla;
+
// Test UnicodeFromUTF8.
// Use examples from Wikipedia:
// http://en.wikipedia.org/wiki/UTF-8
diff --git a/test/unit/testWordList.cxx b/test/unit/testWordList.cxx
index 7abedd157..22025d6e5 100644
--- a/test/unit/testWordList.cxx
+++ b/test/unit/testWordList.cxx
@@ -6,6 +6,8 @@
#include "catch.hpp"
+using namespace Scintilla;
+
// Test WordList.
TEST_CASE("WordList") {
diff --git a/test/unit/unitTest.cxx b/test/unit/unitTest.cxx
index eb554abc2..254f2ada6 100644
--- a/test/unit/unitTest.cxx
+++ b/test/unit/unitTest.cxx
@@ -49,6 +49,8 @@
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
#include "catch.hpp"
+using namespace Scintilla;
+
// Needed for PLATFORM_ASSERT in code being tested
void Platform::Assert(const char *c, const char *file, int line) {