Skip to content

Commit

Permalink
#6772 add test notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciechowskim committed Feb 7, 2018
1 parent 1f7840a commit faf1603
Showing 1 changed file with 81 additions and 0 deletions.
81 changes: 81 additions & 0 deletions test/notebooks/groovy/ShowNullExecutionResultTest.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"true"
]
},
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"com.twosigma.beakerx.kernel.Kernel.showNullExecutionResult"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"null"
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"com.twosigma.beakerx.kernel.Kernel.showNullExecutionResult = true;\n",
"String seeNullString = null;\n",
"seeNullString"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"com.twosigma.beakerx.kernel.Kernel.showNullExecutionResult = false;\n",
"String noNullString = null;\n",
"noNullString"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Groovy",
"language": "groovy",
"name": "groovy"
},
"language_info": {
"codemirror_mode": "groovy",
"file_extension": ".groovy",
"mimetype": "",
"name": "Groovy",
"nbconverter_exporter": "",
"version": "2.4.3"
}
},
"nbformat": 4,
"nbformat_minor": 2
}

0 comments on commit faf1603

Please sign in to comment.