Skip to content

Commit 330fd18

Browse files
committed
adde rest test cases
1 parent 358a1c7 commit 330fd18

16 files changed

+18446
-3
lines changed

callgraphs/README.md

Lines changed: 64 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,28 +35,89 @@ These test cases are from the Java Call Graph Test Suite (JCG).
3535

3636
- **Actual Output**:![Ser1-JRE1.8.jar.png](https://github.com/SoftwareDesignLab/Salsa/blob/master/callgraphs/Ser1-JRE1.8.jar.png)
3737

38+
- **Result**: ✅ Passed Test Case
39+
3840

3941
### Ser2
4042

4143
- **Expected Output**: It expects a direct call from `ser.Demo.writeObject` to
4244
`java.io.ObjectOutputStream.defaultWriteObject` at line 15.
4345

44-
- **Actual Output**:![Ser2-JRE1.8.jar.png](https://github.com/SoftwareDesignLab/Salsa/blob/master/callgraphs/Ser2-JRE1.8.jar.png)
45-
46+
- **Actual Output**: ![Ser2-JRE1.8.jar.png](https://github.com/SoftwareDesignLab/Salsa/blob/master/callgraphs/Ser2-JRE1.8.jar.png)
4647

48+
- **Result**: ✅ Passed Test Case
4749

4850

4951
### Ser3
5052

5153
- **Expected Output**: It expects a direct call from `ser.Demo.writeObject` to
5254
`java.io.ObjectOutputStream.defaultWriteObject` at line 15.
5355

54-
- **Actual Output**:![Ser3-JRE1.8.jar.png](https://github.com/SoftwareDesignLab/Salsa/blob/master/callgraphs/Ser3-JRE1.8.jar.png)
56+
- **Actual Output**: ![Ser3-JRE1.8.jar.png](https://github.com/SoftwareDesignLab/Salsa/blob/master/callgraphs/Ser3-JRE1.8.jar.png)
5557

58+
- **Result**: ✅ Passed Test Case
5659

5760
### Ser4
5861

5962
- **Expected Output**: It expects a direct call from `ser.Demo.readObject` to
6063
`java.io.ObjectOutputStream.defaultReadObject` at line 15.
6164

6265
- **Actual Output**:![Ser4-JRE1.8.jar.png](https://github.com/SoftwareDesignLab/Salsa/blob/master/callgraphs/Ser4-JRE1.8.jar.png)
66+
67+
- **Result**: ✅ Passed Test Case
68+
69+
70+
### Ser5
71+
72+
- **Expected Output**: It expects a direct call from `ser.Demo.readObject` to
73+
`java.io.ObjectOutputStream.defaultReadObject` at line 15.
74+
75+
- **Actual Output**:![Ser5-JRE1.8.jar.png](https://github.com/SoftwareDesignLab/Salsa/blob/master/callgraphs/Ser5-JRE1.8.jar.png)
76+
77+
- **Result**: ✅ Passed Test Case
78+
79+
### Ser6
80+
81+
- **Expected Output**: It expects a direct call from `ser.Demo.writeReplace` to
82+
`ser.Demo.replace` at line 17.
83+
84+
- **Actual Output**:![Ser6-JRE1.8.jar.png](https://github.com/SoftwareDesignLab/Salsa/blob/master/callgraphs/Ser6-JRE1.8.jar.png)
85+
86+
- **Result**: ❌ Failed Test Case
87+
- *Reason*: Salsa currently does not support the `writeReplace` callback during serialization.
88+
89+
### Ser7
90+
91+
- **Expected Output**: It expects a direct call from `ser.Demo.readResolve` to
92+
`ser.Demo.replace` at line 17.
93+
94+
- **Actual Output**:![Ser7-JRE1.8.jar.png](https://github.com/SoftwareDesignLab/Salsa/blob/master/callgraphs/Ser7-JRE1.8.jar.png)
95+
96+
- **Result**: ❌ Failed Test Case
97+
- *Reason*: Salsa currently does not support the `replace` callback during deserialization.
98+
99+
100+
### Ser8
101+
102+
- **Expected Output**: It expects a direct call from `ser.Demo.validateObject` to
103+
`ser.Demo.callback` at line 19.
104+
105+
- **Actual Output**:![Ser8-JRE1.8.jar.png](https://github.com/SoftwareDesignLab/Salsa/blob/master/callgraphs/Ser8-JRE1.8.jar.png)
106+
107+
- **Result**: ❌ Failed Test Case
108+
- *Reason*: Salsa currently does not support the `validateObject` callback during deserialization.
109+
110+
111+
112+
### Ser9
113+
114+
- **Expected Output**: It expects that
115+
116+
- **Actual Output**:![Ser9-JRE1.8.jar.png](https://github.com/SoftwareDesignLab/Salsa/blob/master/callgraphs/Ser9-JRE1.8.jar.png)
117+
118+
- **Result**:
119+
120+
121+
122+
123+

callgraphs/Ser5-JRE1.8.jar.dot

Lines changed: 4640 additions & 0 deletions
Large diffs are not rendered by default.

callgraphs/Ser5-JRE1.8.jar.pdf

19.8 KB
Binary file not shown.

callgraphs/Ser5-JRE1.8.jar.png

58.9 KB
Loading

callgraphs/Ser6-JRE1.8.jar.dot

Lines changed: 1085 additions & 0 deletions
Large diffs are not rendered by default.

callgraphs/Ser6-JRE1.8.jar.pdf

18.9 KB
Binary file not shown.

callgraphs/Ser6-JRE1.8.jar.png

49.2 KB
Loading

callgraphs/Ser7-JRE1.8.jar.dot

Lines changed: 3364 additions & 0 deletions
Large diffs are not rendered by default.

callgraphs/Ser7-JRE1.8.jar.pdf

19.4 KB
Binary file not shown.

callgraphs/Ser7-JRE1.8.jar.png

44 KB
Loading

0 commit comments

Comments
 (0)