Dataset Viewer
Auto-converted to Parquet Duplicate
conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Check for authors table instead of just any table to check whether to populate the test database.\n" }, { "from": "human", "value": "component extends=\"wheels.Test\" {\n\n\t/*\n\t * Executes once before the test suite runs.\n\t * Populates the test database on relo...
coldfusion-cfc
chosen
[ { "from": "system", "value": "Reset application scope after core tests\n" }, { "from": "human", "value": "component extends=\"wheels.Test\" {\n\n\t/*\n\t * Executes once before the test suite runs.\n\t * Populates the test database on reload or if the authors table does not exist.\n\t */\n\tfunc...
coldfusion-cfc
chosen
[ { "from": "system", "value": "Add custom messages to test expects\n" }, { "from": "human", "value": "component extends=\"testbox.system.BaseSpec\" {\n\tfunction run(testResults, testBox) {\n\t\tdataDir = ExpandPath(\"../data/en\");\n\t\tfiles = directoryList(dataDir, false, \"array\");\n\t\tfile...
coldfusion-cfc
chosen
[ { "from": "system", "value": "Fix for OpenBD ExpandPath() issue with trailing slashes in mappings\n" }, { "from": "human", "value": "<cfcomponent output=\"false\">\t\n\t<cfscript>\n\t\tthis.name = \"cfstatictests_\" & hash(GetCurrenttemplatepath());\n\t\t\n\t\troot = GetDirectoryFromPath(GetCurr...
coldfusion-cfc
chosen
[ { "from": "system", "value": "Use directory mapping to add helpers to Wirebox\n" }, { "from": "human", "value": "component {\n\n\tthis.title = \"SendGrid Web API v3\";\n\tthis.author = \"Matthew J. Clemente\";\n\tthis.webURL = \"https://github.com/mjclemente/sendgrid.cfc\";\n\tthis.description =...
coldfusion-cfc
chosen
[ { "from": "system", "value": "Throw an error when no theme is installed.\n" }, { "from": "human", "value": "component implements=\"system.interfaces.com.irCMS.cms.cmsCore\" {\n public cmsCore function init(required string tablePrefix, required string datasource) {\n variables.datasou...
coldfusion-cfc
chosen
[ { "from": "system", "value": "Add `this.name` to the admin application.\n" }, { "from": "human", "value": "component {\n\tfunction onRequestStart(){\n\t\tlocation(url=\"../index.cfm/admin:main\", addtoken=\"false\");\n\t}\n}\n" }, { "from": "gpt", "value": "component {\n\n\t// ------...
coldfusion-cfc
chosen
[ { "from": "system", "value": "Use standard Java client instead of NOAXIS\n" }, { "from": "human", "value": "component {\n\n\tfunction get(required string class) {\n\t\treturn createObject(\"java\", arguments.class, [expandpath(\"/cashbox/lib/vindicia_NOAXIS.jar\")]);\n\t}\n\n\tfunction getClassV...
coldfusion-cfc
chosen
[ { "from": "system", "value": "Fix mapping on Adobe CF" }, { "from": "human", "value": "component {\n\n this.name = \"ColdBoxTestingSuite\" & hash(getCurrentTemplatePath());\n this.sessionManagement = true;\n this.setClientCookies = true;\n this.sessionTimeout = createTimeSpan(...
coldfusion-cfc
chosen
[ { "from": "system", "value": "Replace {botfly} with correct datasource\n" }, { "from": "human", "value": "component extends=\"coldbox.system.Coldbox\" output=\"false\"{\n\tsetting enablecfoutputonly=\"yes\";\n\tthis.name = hash(getCurrentTemplatePath());\n\tthis.sessionManagement = true;\n\tthi...
coldfusion-cfc
chosen
[ { "from": "system", "value": "Remove leading slash for modulemapping\n" }, { "from": "human", "value": "component {\n\n\tthis.title = \"SendGrid Web API v3\";\n\tthis.author = \"Matthew J. Clemente\";\n\tthis.webURL = \"https://github.com/mjclemente/sendgrid.cfc\";\n\tthis.description = \"A wrap...
coldfusion-cfc
chosen
[ { "from": "system", "value": "Rename the test suite iterations\n" }, { "from": "human", "value": "component extends=\"org.lucee.cfml.test.LuceeTestCase\"{\n\tfunction run( testResults , testBox ) {\n\t\tdescribe( title=\"Test suite for LDEV-1467\", body=function() {\n\t\t\tit(title=\"Checking RE...
coldfusion-cfc
chosen
[ { "from": "system", "value": "Convert to BDD style tests\n" }, { "from": "human", "value": "component displayName=\"Leap Tests\" extends=\"testbox.system.BaseSpec\" {\n\n // executes before all tests\n function beforeTests(){\n leapObj = createObject(\"leap\");\n }\n\n function test...
coldfusion-cfc
chosen
[ { "from": "system", "value": "Simplify onLoad(), eliminating need for private method\n" }, { "from": "human", "value": "component {\n\n\tthis.title = \"SendGrid Web API v3\";\n\tthis.author = \"Matthew J. Clemente\";\n\tthis.webURL = \"https://github.com/mjclemente/sendgrid.cfc\";\n\tthis.descri...
coldfusion-cfc
chosen
[ { "from": "system", "value": "Use test config file instead of production\n\nNeeded to do proper testing\n" }, { "from": "human", "value": "<cfcomponent>\r\n <cfset this.name = \"idealcfcexample\" />\r\n\r\n <cffunction name=\"onApplicationStart\">\r\n <cfset application.ideal = createObject...
coldfusion-cfc
chosen
[ { "from": "system", "value": "Update module config default to match component for include raw param\n" }, { "from": "human", "value": "component {\n\n\tthis.title = \"SendGrid Web API v3\";\n\tthis.author = \"Matthew J. Clemente\";\n\tthis.webURL = \"https://github.com/mjclemente/sendgrid.cfc\";...
coldfusion-cfc
chosen
[ { "from": "system", "value": "Use number instead of int for Oracle.\n" }, { "from": "human", "value": "component extends=\"Model\" {\n\n\tfunction config() {\n\t\thasMany(name=\"galleries\");\n\t\thasOne(name=\"combikey\");\n\t\thasOne(name=\"author\", foreignKey=\"firstName\", joinKey=\"firstNa...
coldfusion-cfc
chosen
[ { "from": "system", "value": "Update the testcase to check datasource credentials available or not\n" }, { "from": "human", "value": "component {\n\tpgSQL = getCredentials();\n this.name = \"test3426\";\n this.datasources[\"LDEV_3426\"] = pgSQL;\n\tthis.datasource = \"LDEV_3426\"\n publ...
coldfusion-cfc
chosen
[ { "from": "human", "value": "Add test case for LDEV-1167\n" }, { "from": "gpt", "value": "component extends=\"org.lucee.cfml.test.LuceeTestCase\"{\n\tfunction run( testResults , testBox ) {\n\t\tdescribe( \"Test suite for LDEV-1167\", function() {\n\t\t\tit(title=\"checking WDDX tag, with action...
coldfusion-cfc
chosen
[ { "from": "human", "value": "Add foreign key to EPOS items nom ID\n" }, { "from": "gpt", "value": "component\n{\n /**\n * Run the migrations.\n *\n * @return void\n */\n public void function up()\n {\n var table = schema('tblEPOS_Items');\n table.foreign('e...
coldfusion-cfc
chosen
README.md exists but content is empty.
Downloads last month
8