Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
f253462
refactor: extract ast javascript from javascript package
dstallenberg Feb 22, 2023
c222e08
test: change test name
dstallenberg Feb 28, 2023
8cc04a5
refactor: extract instrumentation package
dstallenberg Feb 28, 2023
1e38be5
test: add example test
dstallenberg Feb 28, 2023
fc31ab4
test: add example test case
dstallenberg Feb 28, 2023
3e5e19c
chore: update gitignore
dstallenberg Feb 28, 2023
19f35d3
refactor: rename packages to libraries
dstallenberg Feb 28, 2023
8cadd9f
ci: add libraries to ci test workflow
dstallenberg Feb 28, 2023
1120465
style: add notice plugin dependency
dstallenberg Mar 1, 2023
39998e2
style: fix missing headers
dstallenberg Mar 1, 2023
a8f4237
chore: resolve PR comments
dstallenberg Mar 1, 2023
3ab836b
chore: merge branch '105-extract-ast-visitor-package' into 75-extract…
dstallenberg Mar 1, 2023
41a5cfa
docs: fix notice header
dstallenberg Mar 1, 2023
1605718
docs: fix readme header
dstallenberg Mar 1, 2023
ae681b8
feat: fix dependency versions
dstallenberg Mar 1, 2023
ceb9b99
test: change example test case to not fail
dstallenberg Mar 1, 2023
14b9f8f
chore: merge branch '105-extract-ast-visitor-package' into 75-extract…
dstallenberg Mar 1, 2023
4c93c1c
chore: fix merge conflicts
dstallenberg Mar 1, 2023
efe98e4
test: fix failing tests
dstallenberg Mar 1, 2023
a321eca
ci: make sure main-test workflow uses correct packages
dstallenberg Mar 1, 2023
8e68b17
chore: fix merge conflicts
dstallenberg Mar 1, 2023
af0abe7
chore: resolve merge conflicts
dstallenberg Mar 8, 2023
62a11ea
chore: merge branch 'main' into 118-add-lisense-header-eslint-plugin
dstallenberg Mar 8, 2023
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
10 changes: 8 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"plugins": ["@typescript-eslint", "notice"],
"rules": {
"no-fallthrough": "off"
"no-fallthrough": "off",
"notice/notice":["error",
{
"templateFile": "./LICENSE.header.ts",
"nonMatchingTolerance": 0.8
}
]
}
}
2 changes: 1 addition & 1 deletion .github/workflows/main-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
- libraries/cfg-javascript
- libraries/instrumentation-javascript
- libraries/javascript

steps:
# Download test results
- uses: actions/download-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions LICENSE.header.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Copyright 2021-[yyyy] Delft University of Technology and SynTest contributors
* Copyright 2020-<%= YEAR %> Delft University of Technology and SynTest contributors
*
* This file is part of SynTest Framework - SynTest Javascript.
* This file is part of SynTest Framework - SynTest JavaScript.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
17 changes: 17 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* Copyright 2020-2023 Delft University of Technology and SynTest contributors
*
* This file is part of SynTest Framework - SynTest JavaScript.
*
* 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
* limitations under the License.
*/
module.exports = {
extends: ["@commitlint/config-conventional"],
};
17 changes: 17 additions & 0 deletions libraries/ast-javascript/LICENSE.header.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* Copyright 2020-<%= YEAR %> Delft University of Technology and SynTest contributors
*
* This file is part of SynTest Framework - SynTest JavaScript.
*
* 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
* limitations under the License.
*/
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* Copyright 2020-2023 Delft University of Technology and SynTest contributors
*
* This file is part of SynTest Framework - SynTest JavaScript.
*
* 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
* limitations under the License.
*/
import * as chai from "chai";
import { AbstractSyntaxTreeGenerator } from "../lib/AbstractSyntaxTreeGenerator";
const expect = chai.expect;
Expand Down
17 changes: 17 additions & 0 deletions libraries/ast-javascript/test/AbstractSyntaxTreeVisitor.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* Copyright 2020-2023 Delft University of Technology and SynTest contributors
*
* This file is part of SynTest Framework - SynTest JavaScript.
*
* 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
* limitations under the License.
*/
import * as chai from "chai";
import { AbstractSyntaxTreeGenerator } from "../lib/AbstractSyntaxTreeGenerator";
import { AbstractSyntaxTreeVisitor } from "../lib/AbstractSyntaxTreeVisitor";
Expand Down
17 changes: 17 additions & 0 deletions libraries/cfg-javascript/LICENSE.header.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* Copyright 2020-<%= YEAR %> Delft University of Technology and SynTest contributors
*
* This file is part of SynTest Framework - SynTest JavaScript.
*
* 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
* limitations under the License.
*/
20 changes: 19 additions & 1 deletion libraries/cfg-javascript/test/example.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
/*
* Copyright 2020-2023 Delft University of Technology and SynTest contributors
*
* This file is part of SynTest Framework - SynTest JavaScript.
*
* 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
* limitations under the License.
*/
import * as chai from "chai";
import { CFGGenerator } from "../lib/CFGGenerator";
import { CFGGenerator } from "../lib";

const expect = chai.expect;

/**
Expand Down
17 changes: 17 additions & 0 deletions libraries/instrumentation-javascript/LICENSE.header.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* Copyright 2020-<%= YEAR %> Delft University of Technology and SynTest contributors
*
* This file is part of SynTest Framework - SynTest JavaScript.
*
* 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
* limitations under the License.
*/
17 changes: 17 additions & 0 deletions libraries/instrumentation-javascript/test/example.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* Copyright 2020-2023 Delft University of Technology and SynTest contributors
*
* This file is part of SynTest Framework - SynTest JavaScript.
*
* 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
* limitations under the License.
*/
import * as chai from "chai";
import { Instrumenter } from "../lib";
const expect = chai.expect;
Expand Down
17 changes: 17 additions & 0 deletions libraries/javascript/LICENSE.header.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* Copyright 2020-<%= YEAR %> Delft University of Technology and SynTest contributors
*
* This file is part of SynTest Framework - SynTest JavaScript.
*
* 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
* limitations under the License.
*/
17 changes: 17 additions & 0 deletions libraries/javascript/lib/bin.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
#!/usr/bin/env node
/*
* Copyright 2020-2023 Delft University of Technology and SynTest contributors
*
* This file is part of SynTest Framework - SynTest JavaScript.
*
* 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
* limitations under the License.
*/
import { EventManager, PluginManager } from "@syntest/core";
import { JavaScriptLauncher } from "./JavaScriptLauncher";
import { JavaScriptTestCase } from "./testcase/JavaScriptTestCase";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* Copyright 2020-2023 Delft University of Technology and SynTest contributors
*
* This file is part of SynTest Framework - SynTest JavaScript.
*
* 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
* limitations under the License.
*/
import { AbstractSyntaxTreeGenerator } from "@syntest/ast-javascript";
import { TargetMapGenerator } from "../../../../lib/analysis/static/map/TargetMapGenerator";

Expand Down
17 changes: 17 additions & 0 deletions libraries/javascript/test/example.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* Copyright 2020-2023 Delft University of Technology and SynTest contributors
*
* This file is part of SynTest Framework - SynTest JavaScript.
*
* 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
* limitations under the License.
*/
import { expect } from "chai";
import ExecutionInformationIntegrator from "../lib/testcase/execution/ExecutionInformationIntegrator";

Expand Down
17 changes: 17 additions & 0 deletions libraries/javascript/test/helper.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* Copyright 2020-2023 Delft University of Technology and SynTest contributors
*
* This file is part of SynTest Framework - SynTest JavaScript.
*
* 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
* limitations under the License.
*/
import { Configuration, ArgumentsObject } from "@syntest/core";
// globals

Expand Down
Loading