Skip to content

Commit

Permalink
add cypher result interface
Browse files Browse the repository at this point in the history
  • Loading branch information
lipanpan03 committed Jun 6, 2024
1 parent 3615bc2 commit 6aa7019
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import org.slf4j.LoggerFactory;

import java.io.IOException;
import java.util.ArrayList;

public class TuGraphDbRpcClientTest {
static Logger log = LoggerFactory.getLogger(TuGraphDbRpcClientTest.class);
Expand All @@ -15,11 +14,13 @@ public static void deleteProcedure(TuGraphDbRpcClient client) {
log.info("----------------testDeleteProcedure--------------------");
try {
boolean result = client.deleteProcedure("CPP", "sortstr", "default");
log.info("deleteProcedure : " + result);
log.info("deleteProcedure sortstr : " + result);
assert (result);
// should throw TuGraphDbRpcException
result = client.deleteProcedure("CPP", "scan_graph", "default");
log.info("loadProcedure : " + result);
log.info("deleteProcedure scan_graph : " + result);
result = client.deleteProcedure("CPP", "multi_file", "default");
log.info("deleteProcedure multi_file : " + result);
} catch (Exception e) {
log.info("catch Exception : " + e.getMessage());
}
Expand Down

0 comments on commit 6aa7019

Please sign in to comment.