Spaces:
Running
on
Zero
Running
on
Zero
/** | |
* Creates a new LINE communication test case. | |
*/ | |
function createTestCase(testConfig) { | |
var testCase = new LineTestCase(testConfig); | |
testCase.create(); | |
} | |
/** | |
* Gets the test case configuration from the user. | |
*/ | |
function getTestConfig() { | |
var ui = SpreadsheetApp.getUi(); | |
var testConfigForm = ui.showSidebar(getTestConfigForm()); | |
var testConfig = testConfigForm.getValues(); | |
return testConfig; | |
} | |
/** | |
* Gets the test case configuration form. | |
*/ | |
function getTestConfigForm() { | |
var form = HtmlService.createHtmlOutputFromFile('test-config-form'); | |
return form; | |
} |