Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions com.avaloq.tools.ddk.xtext.test.core/.classpath
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="xtend-gen">
<attributes>
<attribute name="ignore_optional_problems" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-21"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins">
<accessrules>
Expand Down
6 changes: 0 additions & 6 deletions com.avaloq.tools.ddk.xtext.test.core/.project
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
<arguments>
Expand All @@ -44,7 +39,6 @@
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
<nature>net.sourceforge.pmd.eclipse.plugin.pmdNature</nature>
<nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
<nature>edu.umd.cs.findbugs.plugin.eclipse.findbugsNature</nature>
Expand Down
2 changes: 1 addition & 1 deletion com.avaloq.tools.ddk.xtext.test.core/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: com.avaloq.tools.ddk.xtext.test.core
Bundle-SymbolicName: com.avaloq.tools.ddk.xtext.test.core;singleton:=true
Bundle-Version: 17.3.1.qualifier
Bundle-Version: 17.3.2.qualifier
Bundle-Vendor: Avaloq Group AG
Bundle-RequiredExecutionEnvironment: JavaSE-21
Require-Bundle: com.avaloq.tools.ddk.xtext,
Expand Down
3 changes: 1 addition & 2 deletions com.avaloq.tools.ddk.xtext.test.core/build.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
source.. = src/,\
xtend-gen/
source.. = src/
bin.includes = META-INF/,\
.
2 changes: 1 addition & 1 deletion com.avaloq.tools.ddk.xtext.test.core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<version>18.0.1-SNAPSHOT</version>
<relativePath>../ddk-parent</relativePath>
</parent>
<version>17.3.1-SNAPSHOT</version>
<version>17.3.2-SNAPSHOT</version>

<artifactId>com.avaloq.tools.ddk.xtext.test.core</artifactId>
<packaging>eclipse-plugin</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,20 @@
* Contributors:
* Avaloq Group AG - initial API and implementation
*******************************************************************************/
package com.avaloq.tools.ddk.xtext.test
package com.avaloq.tools.ddk.xtext.test;
Comment thread
joaodinissf marked this conversation as resolved.

import java.lang.annotation.Retention
import java.lang.annotation.RetentionPolicy
import org.eclipse.xtend.lib.macro.Active
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

import org.eclipse.xtend.lib.macro.Active;

/**
* Initializes global tags in linking tests.
* The annotated field must be of integer type.
* Usage example: @Tag int MEM_DOC
*/
@Active(typeof(TagCompilationParticipant))
@Active(TagCompilationParticipant.class)
@Retention(RetentionPolicy.RUNTIME)
annotation Tag {
public @interface Tag {

}
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,9 @@ protected String addAssertion(final AbstractModelAssertion assertion) {
* Creates a mark with the given id. Use this method in tests to insert marks.
* <p>
* If the given mark id is 0 then it means that the test was not well configured. All the id-s that are generated by {@link #getTag} start with 1, all the
* global ids start with {@value com.avaloq.tools.asmd.testbase.scoping.TagCompilationParticipant#COUNTER_BASE}. Since it is unlikely to get local ids wrong,
* global ids start with {@value TagCompilationParticipant#COUNTER_BASE}. Since it is unlikely to get local ids wrong,
* the most common reason for global ids to be wrong is that they were not initialized. Global ids get initialized with active annotation
* {@link com.avaloq.tools.asmd.testbase.scoping.Tag} that executes {@link com.avaloq.tools.asmd.testbase.scoping.TagCompilationParticipant}. Active
* {@link com.avaloq.tools.ddk.xtext.test.Tag} that executes {@link TagCompilationParticipant}. Active
* annotations do not get executed if {@code org.eclipse.xtend.lib} is missing in {@code MANIFEST.MF}. Thus we report this common mistake to the user via an
* assertion.
* </p>
Expand Down
Empty file.