Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
af87e71
Create fitests plug-in
AlpTorac Jul 27, 2025
486fe38
Exclude parser test resources
AlpTorac Jul 27, 2025
1704802
Add interface for containing SimilarityChecker
AlpTorac Jul 27, 2025
17fd4b8
Add interface for logging
AlpTorac Jul 27, 2025
089a0a1
Implement abstract test class
AlpTorac Jul 27, 2025
1df6432
Add Resource-related classes
AlpTorac Jul 27, 2025
302659a
Implement abstract test class
AlpTorac Jul 27, 2025
a4a787d
Implement concrete Resource-related classes
AlpTorac Jul 27, 2025
5f9048a
Implement abstract test class
AlpTorac Jul 27, 2025
1d16afb
Implement expected similarity result providers
AlpTorac Jul 27, 2025
ecee15b
Implement utility class for file operations
AlpTorac Jul 27, 2025
4edade7
Implement expected similarity result provider
AlpTorac Jul 27, 2025
f230905
Implement wrapper for parsed model resources
AlpTorac Jul 27, 2025
1b7ac81
Implement class for time measurements
AlpTorac Jul 27, 2025
e46019c
Implement class for discovering model source file directories
AlpTorac Jul 27, 2025
b4f1c84
Implement class for generating dynamic parser tests
AlpTorac Jul 27, 2025
3be5330
Implement class for generating index sequences
AlpTorac Jul 27, 2025
e29d77b
Implement class for storing parsed Resource instances
AlpTorac Jul 27, 2025
f8f20a4
Implement class for containing parser test options
AlpTorac Jul 27, 2025
e69c314
Implement class for storing layout information for parser tests
AlpTorac Jul 27, 2025
5c38b39
Implement abstract test class for parser tests
AlpTorac Jul 27, 2025
9395aa1
Add package-info files
AlpTorac Jul 27, 2025
5a439a4
Create plug-in fitests.repositorytests for repository parser tests
AlpTorac Jul 27, 2025
822e93d
Implement class for filtering diff patches
AlpTorac Jul 27, 2025
2a47938
Implement class for removing commentaries
AlpTorac Jul 27, 2025
aeca8f4
Implement tests for diff processing realistic diff patches
AlpTorac Jul 27, 2025
1f08df5
Implement class for storing computed expected similarity results
AlpTorac Jul 27, 2025
6c76949
Implement expected similarity result provider
AlpTorac Jul 27, 2025
cc4bce3
Implement class for computing expected similarity results
AlpTorac Jul 27, 2025
e39e488
Add time measurement tags for repository parser tests
AlpTorac Jul 27, 2025
e597ab5
Add options for repository parser tests
AlpTorac Jul 27, 2025
a188c6f
Add layout class for repository parser tests
AlpTorac Jul 27, 2025
34c3c6e
Add abstract test class for repository parser tests
AlpTorac Jul 27, 2025
c5528ac
Implement repository parser tests for Teammates
AlpTorac Jul 27, 2025
b2ea7ff
Add more Teammates commits
AlpTorac Jul 29, 2025
a29064f
Implement repository parser test for CWA-Server
AlpTorac Jul 29, 2025
7ab16c9
Add options regarding proxy resolution and resource splitting
AlpTorac Aug 11, 2025
2d097ed
Add test factory for model comparison
AlpTorac Aug 11, 2025
a0f914b
Swap test factory for Teammates and CWA
AlpTorac Aug 11, 2025
1cdf8e6
Work on time measurement keys
AlpTorac Aug 11, 2025
2b3f487
Fix exclusion patterns in model parsing strategies
AlpTorac Aug 11, 2025
f304cc2
Fix DiffFilter.splitLines
AlpTorac Aug 11, 2025
7f02ba4
Disable deleting cloned repositories as default
AlpTorac Aug 11, 2025
e0df1d2
Rename method
AlpTorac Aug 25, 2025
70dd145
Edit commentary
AlpTorac Aug 25, 2025
9f4e9ec
Add missing condition
AlpTorac Aug 25, 2025
d0474e4
Move logging to utility class
AlpTorac Aug 25, 2025
5747bdc
Implement and use utility class instead of AbstractResourceHelper
AlpTorac Aug 27, 2025
41115bb
Split *.similarity.jamopp.parser package
AlpTorac Aug 27, 2025
f84c706
Refactor time measurement
AlpTorac Sep 14, 2025
72cf3ed
Use getter instead
AlpTorac Aug 28, 2025
dcd7379
Edit exception message
AlpTorac Sep 14, 2025
43f80e1
Edit commentary
AlpTorac Sep 14, 2025
c688bc1
Log error messages
AlpTorac Aug 30, 2025
9bc3b90
Make FileUtil a utility class
AlpTorac Aug 30, 2025
fc3896e
Fix JaMoPPModelResourceWrapper
AlpTorac Sep 14, 2025
9e8db48
Rename classes, methods, variables
AlpTorac Sep 14, 2025
72dc291
Fix new line regex
AlpTorac Sep 1, 2025
b4c39e6
Refactor time measurements
AlpTorac Sep 6, 2025
4340795
Fix ResourceContentSimilarityResultProvider, irrelevant for current s…
AlpTorac Sep 8, 2025
1beb675
Rename time measurement key types and corresponding builder method names
AlpTorac Sep 8, 2025
ef5fdd1
Fix layout objects
AlpTorac Sep 14, 2025
0e392e0
Add missing Override annotations
AlpTorac Sep 14, 2025
f5af9a0
Extract regex as final variable
AlpTorac Sep 14, 2025
9e7b48f
Track being set up in logging class
AlpTorac Sep 14, 2025
778312d
Rename parameters
AlpTorac Sep 14, 2025
80ce2fd
Edit commentary
AlpTorac Sep 14, 2025
3f92ec3
Add GSONTest
AlpTorac Sep 14, 2025
51f8de0
Add README for fitests plug-in
AlpTorac Sep 14, 2025
4af0553
Add README for repositorytests
AlpTorac Sep 8, 2025
87a37fa
Refactor FileUtil
AlpTorac Sep 14, 2025
1940138
Fix GSONTest
AlpTorac Sep 14, 2025
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
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,9 @@ tmp/
.gradletasknamecache

# polygot
*.polyglot.META-INF
*.polyglot.META-INF

# Parser tests under fitests
**/repo-clones
**/testmodel-cache
**/results-cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>cipm.consistency.fitests.repositorytests</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Manifest-Version: 1.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed, please move both plugins to the commit-based-cipm/tests directory, and add a README file for defining source files and model files.

Bundle-ManifestVersion: 2
Bundle-Name: cipm.consistency.fitests.repositorytests
Bundle-SymbolicName: cipm.consistency.fitests.repositorytests
Bundle-Version: 1.0.0.qualifier
Automatic-Module-Name: cipm.consistency.fitests.repositorytests
Bundle-RequiredExecutionEnvironment: JavaSE-11
Require-Bundle: junit-jupiter-api,
junit-jupiter-engine,
junit-jupiter-params,
org.eclipse.emf.common,
org.eclipse.emf.ecore,
org.eclipse.emf.compare,
org.eclipse.emf.ecore.xmi,
org.splevo.diffing,
org.splevo.jamopp.diffing,
org.apache.log4j,
org.emftext.language.java,
jamopp.parser.jdt.singlefile,
jamopp.parser,
cipm.consistency.commitintegration,
cipm.consistency.commitintegration.diff.util,
org.eclipse.jgit,
jamopp.resolution,
cipm.consistency.fitests,
com.google.gson
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Tests under cipm.consistency.fitests.repositorytests package and its sub-packages are referred to as repository parser tests. They are a variant of parser tests, which consider Java code repositories (only GIT repositories at the time of writing this file) and parse EMF-based Java model Resources from them using JaMoPP. To this end, certain commits are checked out and then Java model Resources are parsed for each considered commit. To estimate expected similarity results in tests during run time, GIT diff patches between commits are analyzed for code changes.

Refer to the README of [cipm.consistency.fitests](../cipm.consistency.fitests/README.md) for related tests and terminology.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
.
Loading