forked from spgroup/conflict-static-analysis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(spgroup#31): rename test cases and update comments
- Loading branch information
1 parent
ff728a5
commit e0c7264
Showing
44 changed files
with
154 additions
and
150 deletions.
There are no files selected for viewing
68 changes: 34 additions & 34 deletions
68
src/test/java/br/unb/cic/analysis/ioa/InterproceduralOverridingAssignmentAnalysisTest.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
...liasingConflictInterProceduralSample.java → ...ples/ioa/ArrayAliasingConflictSample.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/test/java/br/unb/cic/analysis/samples/ioa/ArrayDiferentIndexNotConflictSample.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/test/java/br/unb/cic/analysis/samples/ioa/ArraySameIndexConflictSample.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ssFieldConflictInterProceduralSample.java → ...s/ioa/ArraysClassFieldConflictSample.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ieldNotConflictInterProceduralSample.java → ...oa/ArraysClassFieldNotConflictSample.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 10 additions & 6 deletions
16
src/test/java/br/unb/cic/analysis/samples/ioa/CallGraphSample.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
...tributeConflictInterProceduralSample.java → ...hangeInstanceAttributeConflictSample.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ributesConflictInterProceduralSample.java → ...ChangePublicAttributesConflictSample.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/test/java/br/unb/cic/analysis/samples/ioa/ClassFieldConflictSample.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package br.unb.cic.analysis.samples.ioa; | ||
|
||
// Conflict: [left, main():10] --> [right, foo():15] | ||
public class ClassFieldConflictSample { | ||
private int x; | ||
|
||
public static void main(String[] args) { | ||
ClassFieldConflictSample m = | ||
new ClassFieldConflictSample(); | ||
m.x = 0; // LEFT | ||
m.foo(); // RIGHT | ||
} | ||
|
||
private void foo() { | ||
x = 1; | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
src/test/java/br/unb/cic/analysis/samples/ioa/ClassFieldConflictSample2.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package br.unb.cic.analysis.samples.ioa; | ||
|
||
// Conflict: [left, foo():15] --> [right, bar():19] | ||
public class ClassFieldConflictSample2 { | ||
private int x; | ||
|
||
public static void main(String[] args) { | ||
ClassFieldConflictSample2 m = | ||
new ClassFieldConflictSample2(); | ||
m.foo(); // LEFT | ||
m.bar(); // RIGHT | ||
} | ||
|
||
private void foo() { | ||
x = 0; | ||
} | ||
|
||
private void bar() { | ||
x = 1; | ||
} | ||
|
||
} |
2 changes: 1 addition & 1 deletion
2
...ieldNotConflictInterProceduralSample.java → ...ples/ioa/ClassFieldNotConflictSample.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...eldNotConflictInterProceduralSample2.java → ...les/ioa/ClassFieldNotConflictSample2.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
...MethodsConflictInterProceduralSample.java → ...ples/ioa/ConcatMethodsConflictSample.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...lassNotConflictInterProceduralSample.java → ...uteOnIdenticalClassNotConflictSample.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...buteNotConflictInterProceduralSample.java → ...ssWithSameAttributeNotConflictSample.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...alClassConflictInterProceduralSample.java → ...MethodOnIdenticalClassConflictSample.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
...fBranchConflictInterProceduralSample.java → ...s/samples/ioa/IfBranchConflictSample.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rrayNotConflictInterProceduralSample.java → ...ples/ioa/LocalArrayNotConflictSample.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...siveNotConflictInterProceduralSample.java → ...LocalArrayRecursiveNotConflictSample.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...blesNotConflictInterProceduralSample.java → .../ioa/LocalVariablesNotConflictSample.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...lesNotConflictInterProceduralSample2.java → ...ioa/LocalVariablesNotConflictSample2.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...eterNotConflictInterProceduralSample.java → ...iablesWithParameterNotConflictSample.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ctFieldConflictInterProceduralSample.java → ...amples/ioa/ObjectFieldConflictSample.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ieldNotConflictInterProceduralSample.java → ...les/ioa/ObjectFieldNotConflictSample.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.