From cf60cffb44bf18889aa8362b616bafb7bed87445 Mon Sep 17 00:00:00 2001 From: ILYA Khlopotov Date: Fri, 10 May 2019 00:45:21 +0000 Subject: Move eunit tests into test/eunit directory --- src/ddoc_cache/test/eunit/ddoc_cache_test.hrl | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/ddoc_cache/test/eunit/ddoc_cache_test.hrl (limited to 'src/ddoc_cache/test/eunit/ddoc_cache_test.hrl') diff --git a/src/ddoc_cache/test/eunit/ddoc_cache_test.hrl b/src/ddoc_cache/test/eunit/ddoc_cache_test.hrl new file mode 100644 index 000000000..73f7bc217 --- /dev/null +++ b/src/ddoc_cache/test/eunit/ddoc_cache_test.hrl @@ -0,0 +1,26 @@ +% Licensed under the Apache License, Version 2.0 (the "License"); you may not +% use this file except in compliance with the License. You may obtain a copy of +% the License at +% +% http://www.apache.org/licenses/LICENSE-2.0 +% +% Unless required by applicable law or agreed to in writing, software +% distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +% WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +% License for the specific language governing permissions and limitations under +% the License. + + +-define(CACHE, ddoc_cache_entries). +-define(LRU, ddoc_cache_lru). +-define(OPENERS, ddoc_cache_openers). + +-define(FOOBAR, <<"_design/foobar">>). +-define(VDU, <<"_design/vdu">>). +-define(CUSTOM, <<"_design/custom">>). + +-record(entry, { + key, + val, + pid +}). -- cgit v1.2.1