Skip to content
Snippets Groups Projects
Commit 9e4d6871 authored by webmanue's avatar webmanue
Browse files

test plugin definition

- add test in ae108::assembly namespace
- add test in other namespace (#99)
parent cff79b82
No related branches found
No related tags found
No related merge requests found
Pipeline #123584 passed
......@@ -21,6 +21,7 @@ add_executable(${PROJECT_NAME}-AssemblyTests
./ConcatenateFeaturePlugins_Test.cc
./DerivePluginsUniquely_Test.cc
./DeriveUniquely_Test.cc
./FeaturePlugin_Test.cc
./HasUniqueTypeTrait_Test.cc
./IsSingleTypeTrait_Test.cc
./deserialize_Test.cc
......
// © 2022 ETH Zurich, Mechanics and Materials Lab
//
// 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
#include "ae108/assembly/FeaturePlugin.h"
namespace {
DEFINE_ASSEMBLER_PLUGIN(TestPlugin, testMethod, (double)) {}
DEFINE_CONST_ASSEMBLER_PLUGIN(TestPluginConst, testMethodConst, (double)) {}
} // namespace
namespace ae108 {
namespace assembly {
namespace {
DEFINE_ASSEMBLER_PLUGIN(TestPlugin, testMethod, (double)) {}
DEFINE_CONST_ASSEMBLER_PLUGIN(TestPluginConst, testMethodConst, (double)) {}
} // namespace
} // namespace assembly
} // namespace ae108
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment