Commit 763be53b authored by Lukáš Marek's avatar Lukáš Marek

fixed disp test bad test order

parent 1de412f1
......@@ -53,14 +53,14 @@ public class CodeExecuted extends RemoteAnalysis {
public static void testingAdvanced(ShadowObject s, ShadowObject o, ShadowObject c, ShadowObject t) {
if(! (s instanceof ShadowString)) {
throw new RuntimeException("This string should be transfered as string");
}
if(! s.toString().equals("Corect transfer of String")) {
throw new RuntimeException("Incorect transfer of String");
}
if(! (s instanceof ShadowObject)) {
throw new RuntimeException("This string should be transfered as string");
}
// object id should be non 0
if(o.getId() == 0) {
throw new RuntimeException("Object id should not be null");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment