Skip to content

Commit

Permalink
Merge pull request #1721 from jplag/tests/languages
Browse files Browse the repository at this point in the history
Add e2e test for some languages
  • Loading branch information
tsaglam authored May 14, 2024
2 parents 38143d9 + a14d2e1 commit 7b229b9
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/complete-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ jobs:
{zip: "fileMultiRoot.zip", name: "fileMultiRoot", folder: "f0", language: "java", cliArgs: "--new f1"},
{zip: "folderMultiRoot.zip", name: "folderMultiRoot", folder: "f0", language: "java", cliArgs: "--new f1"},
{zip: "mixedMultiRoot.zip", name: "mixedBaseFile", folder: "f0", language: "java", cliArgs: "--new f1"},
{zip: "mixedMultiRoot.zip", name: "mixedBaseFolder", folder: "f1", language: "java", cliArgs: "--new f0"}
{zip: "mixedMultiRoot.zip", name: "mixedBaseFolder", folder: "f1", language: "java", cliArgs: "--new f0"},
{zip: "cpp.zip", name: "cpp", folder: "./cpp", language: "cpp", cliArgs: ""},
{zip: "csharp.zip", name: "csharp", folder: "./csharp", language: "csharp", cliArgs: ""},
{zip: "python.zip", name: "python", folder: "./python", language: "python3", cliArgs: ""}
]

steps:
Expand Down
Binary file added .github/workflows/files/cpp.zip
Binary file not shown.
Binary file added .github/workflows/files/csharp.zip
Binary file not shown.
Binary file added .github/workflows/files/python.zip
Binary file not shown.
15 changes: 15 additions & 0 deletions report-viewer/tests/e2e/OpenComparisonTest.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,21 @@ const testSets: DataSet[] = [
datasetName: 'folderMultiRoot-report.zip',
firstSubmissionName: 'f0\\\\|/0',
secondSubmissionName: 'f1\\\\|/1'
},
{
datasetName: 'python-report.zip',
firstSubmissionName: '01.py',
secondSubmissionName: '02.py'
},
{
datasetName: 'cpp-report.zip',
firstSubmissionName: '01.cpp',
secondSubmissionName: '02.cpp'
},
{
datasetName: 'csharp-report.zip',
firstSubmissionName: '01.cs',
secondSubmissionName: '02.cs'
}
]

Expand Down

0 comments on commit 7b229b9

Please sign in to comment.