Skip to content

Commit

Permalink
adde rest test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
joannacss committed Jun 11, 2020
1 parent 358a1c7 commit 330fd18
Show file tree
Hide file tree
Showing 16 changed files with 18,446 additions and 3 deletions.
67 changes: 64 additions & 3 deletions callgraphs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,28 +35,89 @@ These test cases are from the Java Call Graph Test Suite (JCG).

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

- **Result**: ✅ Passed Test Case


### Ser2

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

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

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

- **Result**: ✅ Passed Test Case


### Ser3

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

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

- **Result**: ✅ Passed Test Case

### Ser4

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

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

- **Result**: ✅ Passed Test Case


### Ser5

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

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

- **Result**: ✅ Passed Test Case

### Ser6

- **Expected Output**: It expects a direct call from `ser.Demo.writeReplace` to
`ser.Demo.replace` at line 17.

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

- **Result**: ❌ Failed Test Case
- *Reason*: Salsa currently does not support the `writeReplace` callback during serialization.

### Ser7

- **Expected Output**: It expects a direct call from `ser.Demo.readResolve` to
`ser.Demo.replace` at line 17.

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

- **Result**: ❌ Failed Test Case
- *Reason*: Salsa currently does not support the `replace` callback during deserialization.


### Ser8

- **Expected Output**: It expects a direct call from `ser.Demo.validateObject` to
`ser.Demo.callback` at line 19.

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

- **Result**: ❌ Failed Test Case
- *Reason*: Salsa currently does not support the `validateObject` callback during deserialization.



### Ser9

- **Expected Output**: It expects that

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

- **Result**:





4,640 changes: 4,640 additions & 0 deletions callgraphs/Ser5-JRE1.8.jar.dot

Large diffs are not rendered by default.

Binary file added callgraphs/Ser5-JRE1.8.jar.pdf
Binary file not shown.
Binary file added callgraphs/Ser5-JRE1.8.jar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,085 changes: 1,085 additions & 0 deletions callgraphs/Ser6-JRE1.8.jar.dot

Large diffs are not rendered by default.

Binary file added callgraphs/Ser6-JRE1.8.jar.pdf
Binary file not shown.
Binary file added callgraphs/Ser6-JRE1.8.jar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3,364 changes: 3,364 additions & 0 deletions callgraphs/Ser7-JRE1.8.jar.dot

Large diffs are not rendered by default.

Binary file added callgraphs/Ser7-JRE1.8.jar.pdf
Binary file not shown.
Binary file added callgraphs/Ser7-JRE1.8.jar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4,649 changes: 4,649 additions & 0 deletions callgraphs/Ser8-JRE1.8.jar.dot

Large diffs are not rendered by default.

Binary file added callgraphs/Ser8-JRE1.8.jar.pdf
Binary file not shown.
Binary file added callgraphs/Ser8-JRE1.8.jar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4,644 changes: 4,644 additions & 0 deletions callgraphs/Ser9-JRE1.8.jar.dot

Large diffs are not rendered by default.

Binary file added callgraphs/Ser9-JRE1.8.jar.pdf
Binary file not shown.
Binary file added callgraphs/Ser9-JRE1.8.jar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 330fd18

Please sign in to comment.