diff options
author | Nathan Ridge | 2017-02-26 22:43:39 +0000 |
---|---|---|
committer | Nathan Ridge | 2017-05-14 04:29:08 +0000 |
commit | 08ea44c0af5e3cdc32ab7afa5690994b4df73856 (patch) | |
tree | 7ed72cf6e58649f16885d99d8894f5b8f7b91dd2 | |
parent | 1f2198a8bf6b419831ea26661c5291723f52f1dc (diff) | |
download | org.eclipse.cdt-08ea44c0af5e3cdc32ab7afa5690994b4df73856.tar.gz org.eclipse.cdt-08ea44c0af5e3cdc32ab7afa5690994b4df73856.tar.xz org.eclipse.cdt-08ea44c0af5e3cdc32ab7afa5690994b4df73856.zip |
Bug 408470 - Move the variable template tests into the new cxx14 subpackage
Change-Id: I45a598d6cf920860a6f08d25e8921cbf310734a8
-rw-r--r-- | core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/DOMParserTestSuite.java | 3 | ||||
-rw-r--r-- | core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/cxx14/VariableTemplateTests.java (renamed from core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2VariableTemplateTests.java) | 7 |
2 files changed, 6 insertions, 4 deletions
diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/DOMParserTestSuite.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/DOMParserTestSuite.java index 9966344e85b..d0c7ee30264 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/DOMParserTestSuite.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/DOMParserTestSuite.java @@ -13,6 +13,7 @@ *******************************************************************************/ package org.eclipse.cdt.core.parser.tests.ast2; +import org.eclipse.cdt.core.parser.tests.ast2.cxx14.VariableTemplateTests; import org.eclipse.cdt.core.parser.tests.prefix.CompletionTestSuite; import junit.framework.Test; @@ -57,7 +58,7 @@ public class DOMParserTestSuite extends TestCase { suite.addTest(AccessControlTests.suite()); suite.addTest(VariableReadWriteFlagsTest.suite()); suite.addTest(AST2CPPAttributeTests.suite()); - suite.addTest(AST2VariableTemplateTests.suite()); + suite.addTest(VariableTemplateTests.suite()); return suite; } } diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2VariableTemplateTests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/cxx14/VariableTemplateTests.java index e0ac69c486c..4b0b0afe021 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2VariableTemplateTests.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/cxx14/VariableTemplateTests.java @@ -9,7 +9,7 @@ * Contributors: * Lukas Wegmann (IFS) - Initial API and implementation *******************************************************************************/ -package org.eclipse.cdt.core.parser.tests.ast2; +package org.eclipse.cdt.core.parser.tests.ast2.cxx14; import org.eclipse.cdt.core.dom.ast.IASTTranslationUnit; import org.eclipse.cdt.core.dom.ast.IType; @@ -23,15 +23,16 @@ import org.eclipse.cdt.core.dom.ast.cpp.ICPPVariable; import org.eclipse.cdt.core.dom.ast.cpp.ICPPVariableInstance; import org.eclipse.cdt.core.dom.ast.cpp.ICPPVariableTemplate; import org.eclipse.cdt.core.parser.ParserLanguage; +import org.eclipse.cdt.core.parser.tests.ast2.AST2TestBase; import org.eclipse.cdt.internal.core.dom.parser.cpp.CPPClassInstance; import org.eclipse.cdt.internal.core.dom.parser.cpp.CPPFieldTemplateSpecialization; import junit.framework.TestSuite; -public class AST2VariableTemplateTests extends AST2TestBase { +public class VariableTemplateTests extends AST2TestBase { public static TestSuite suite() { - return suite(AST2VariableTemplateTests.class); + return suite(VariableTemplateTests.class); } // template<typename T> constexpr T pi = T(3); |