Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ public void testAutoRestartInterpreterAfterSchedule() throws InterruptedExceptio
@Test
public void testExportAndImportNote() throws IOException, CloneNotSupportedException,
InterruptedException {
Note note = notebook.createNote();
Note note = notebook.createNote(null);
note.getNoteReplLoader().setInterpreters(factory.getDefaultInterpreterSettingList());

final Paragraph p = note.addParagraph();
Expand All @@ -339,7 +339,7 @@ public void testExportAndImportNote() throws IOException, CloneNotSupportedExcep

String exportedNoteJson = notebook.exportNote(note.getId());

Note importedNote = notebook.importNote(exportedNoteJson, "Title");
Note importedNote = notebook.importNote(exportedNoteJson, "Title", null);

Paragraph p2 = importedNote.getParagraphs().get(0);

Expand Down Expand Up @@ -374,7 +374,7 @@ public void testCloneNote() throws IOException, CloneNotSupportedException,
@Test
public void testCloneNoteWithExceptionResult() throws IOException, CloneNotSupportedException,
InterruptedException {
Note note = notebook.createNote();
Note note = notebook.createNote(null);
note.getNoteReplLoader().setInterpreters(factory.getDefaultInterpreterSettingList());

final Paragraph p = note.addParagraph();
Expand All @@ -386,7 +386,7 @@ public void testCloneNoteWithExceptionResult() throws IOException, CloneNotSuppo
// Force paragraph to have String type object
p.setResult("Exception");

Note cloneNote = notebook.cloneNote(note.getId(), "clone note with Exception result");
Note cloneNote = notebook.cloneNote(note.getId(), "clone note with Exception result", null);
Paragraph cp = cloneNote.paragraphs.get(0);

// Keep same ParagraphID
Expand Down