diff --git a/LICENSE b/LICENSE index 0502bd9..d13cc4b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,5 @@ The MIT License (MIT) -Copyright (c) 2015 Riptide Cloud - Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights diff --git a/README.md b/README.md index 73f629a..6f4ed39 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,6 @@ The result are merged with the key from the second item in array is not found in ### License MIT License ->Copyright (c) 2015 Riptide Software >Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/bin/lrs-test.js b/bin/lrs-test.js index 82291a2..cbaefd1 100755 --- a/bin/lrs-test.js +++ b/bin/lrs-test.js @@ -2,8 +2,6 @@ /** * Description : This is the command line interface for running the lrs conformance test suite. * - * Created by vijay.budhram on 3/5/15. - * Riptide Software */ (function (process, require, program, exit, packageJson, Q, Joi, fs, path, Mocha) { 'use strict'; @@ -64,4 +62,4 @@ exit(1); }); -}(process, require, require('commander'), require('exit'), require('../package.json'), require('q'), require('joi'), require('fs'), require('path'), require('mocha'))); \ No newline at end of file +}(process, require, require('commander'), require('exit'), require('../package.json'), require('q'), require('joi'), require('fs'), require('path'), require('mocha'))); diff --git a/test/helper.js b/test/helper.js index ced02ef..4675d62 100644 --- a/test/helper.js +++ b/test/helper.js @@ -4,8 +4,6 @@ * * https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md * - * Created by fwhorton on 2/20/15. - * Riptide Software */ var path = require('path'); if (!process.env.EB_NODE_COMMAND) { @@ -416,4 +414,4 @@ if (!process.env.EB_NODE_COMMAND) { } }); } -}(module, require('fs'), require('extend'), require('node-uuid'), require('lodash-node'), require('qs'), require('form-urlencoded'))); \ No newline at end of file +}(module, require('fs'), require('extend'), require('node-uuid'), require('lodash-node'), require('qs'), require('form-urlencoded'))); diff --git a/test/v1_0_2/configs/activities.js b/test/v1_0_2/configs/activities.js index c22024d..47563a5 100644 --- a/test/v1_0_2/configs/activities.js +++ b/test/v1_0_2/configs/activities.js @@ -4,11 +4,9 @@ * * https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md * - * Created by fwhorton on 2/20/15. - * Riptide Software */ (function (module) { - "use strict" + "use strict"; // defines overwriting data var INVALID_IRI = 'abc://should.fail.com'; diff --git a/test/v1_0_2/configs/actors.js b/test/v1_0_2/configs/actors.js index 514ae6d..4da4118 100644 --- a/test/v1_0_2/configs/actors.js +++ b/test/v1_0_2/configs/actors.js @@ -4,11 +4,9 @@ * * https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md * - * Created by fwhorton on 2/20/15. - * Riptide Software */ (function (module) { - "use strict" + "use strict"; // defines overwriting data var INVALID_OBJECT = {key: 'value'}; diff --git a/test/v1_0_2/configs/agents.js b/test/v1_0_2/configs/agents.js index 130c199..64f909f 100644 --- a/test/v1_0_2/configs/agents.js +++ b/test/v1_0_2/configs/agents.js @@ -4,11 +4,9 @@ * * https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md * - * Created by fwhorton on 2/20/15. - * Riptide Software */ (function (module) { - "use strict" + "use strict"; // defines overwriting data var INVALID_OBJECTTYPE_INVALID_AGENT = {objectType: 'agent'}; diff --git a/test/v1_0_2/configs/attachments.js b/test/v1_0_2/configs/attachments.js index 125340a..1ee10b8 100644 --- a/test/v1_0_2/configs/attachments.js +++ b/test/v1_0_2/configs/attachments.js @@ -4,11 +4,9 @@ * * https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md * - * Created by fwhorton on 2/20/15. - * Riptide Software */ (function (module) { - "use strict" + "use strict"; // defines overwriting data var INVALID_NUMERIC = 12345; diff --git a/test/v1_0_2/configs/authorities.js b/test/v1_0_2/configs/authorities.js index 8f49a3a..594f80f 100644 --- a/test/v1_0_2/configs/authorities.js +++ b/test/v1_0_2/configs/authorities.js @@ -4,11 +4,9 @@ * * https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md * - * Created by fwhorton on 2/20/15. - * Riptide Software */ (function (module) { - "use strict" + "use strict"; // defines overwriting data var INVALID_ONE_MEMBER = [ diff --git a/test/v1_0_2/configs/contexts.js b/test/v1_0_2/configs/contexts.js index 171107c..80b705e 100644 --- a/test/v1_0_2/configs/contexts.js +++ b/test/v1_0_2/configs/contexts.js @@ -4,11 +4,9 @@ * * https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md * - * Created by fwhorton on 2/20/15. - * Riptide Software */ (function (module) { - "use strict" + "use strict"; // defines overwriting data var INVALID_LANGUAGE = {a12345: 'should fail'}; diff --git a/test/v1_0_2/configs/extensions.js b/test/v1_0_2/configs/extensions.js index 9633131..fc044bc 100644 --- a/test/v1_0_2/configs/extensions.js +++ b/test/v1_0_2/configs/extensions.js @@ -4,11 +4,9 @@ * * https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md * - * Created by fwhorton on 2/20/15. - * Riptide Software */ (function (module) { - "use strict" + "use strict"; // defines overwriting data var INVALID_EXTENSION_KEY = {'extensions': {'should fail': true}}; diff --git a/test/v1_0_2/configs/groups.js b/test/v1_0_2/configs/groups.js index 416a96c..1c749ee 100644 --- a/test/v1_0_2/configs/groups.js +++ b/test/v1_0_2/configs/groups.js @@ -4,11 +4,9 @@ * * https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md * - * Created by fwhorton on 2/20/15. - * Riptide Software */ (function (module) { - "use strict" + "use strict"; // defines overwriting data var FOREIGN_IDENTIFIER_ACCOUNT = {'account': {'homePage': 'http://www.example.com', 'name': 'xAPI account name'}}; diff --git a/test/v1_0_2/configs/languages.js b/test/v1_0_2/configs/languages.js index f7e4725..7dc7106 100644 --- a/test/v1_0_2/configs/languages.js +++ b/test/v1_0_2/configs/languages.js @@ -4,11 +4,9 @@ * * https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md * - * Created by fwhorton on 2/20/15. - * Riptide Software */ (function (module) { - "use strict" + "use strict"; // defines overwriting data var INVALID_LANGUAGE = {a12345: 'should error'}; diff --git a/test/v1_0_2/configs/objects.js b/test/v1_0_2/configs/objects.js index 8952c31..a07cf2e 100644 --- a/test/v1_0_2/configs/objects.js +++ b/test/v1_0_2/configs/objects.js @@ -4,11 +4,9 @@ * * https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md * - * Created by fwhorton on 2/20/15. - * Riptide Software */ (function (module) { - "use strict" + "use strict"; // defines overwriting data var INVALID_ACTIVITY = 'activity'; diff --git a/test/v1_0_2/configs/results.js b/test/v1_0_2/configs/results.js index d611c24..6418d8d 100644 --- a/test/v1_0_2/configs/results.js +++ b/test/v1_0_2/configs/results.js @@ -4,11 +4,9 @@ * * https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md * - * Created by fwhorton on 2/20/15. - * Riptide Software */ (function (module) { - "use strict" + "use strict"; // defines overwriting data var INVALID_DURATION = 'PA1H0M0S'; diff --git a/test/v1_0_2/configs/statementrefs.js b/test/v1_0_2/configs/statementrefs.js index cf72354..e103057 100644 --- a/test/v1_0_2/configs/statementrefs.js +++ b/test/v1_0_2/configs/statementrefs.js @@ -4,11 +4,9 @@ * * https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md * - * Created by fwhorton on 2/20/15. - * Riptide Software */ (function (module) { - "use strict" + "use strict"; // defines overwriting data var INVALID_STATEMENT_REF = 'statementref'; diff --git a/test/v1_0_2/configs/statements.js b/test/v1_0_2/configs/statements.js index dc419de..a1ef6aa 100644 --- a/test/v1_0_2/configs/statements.js +++ b/test/v1_0_2/configs/statements.js @@ -4,11 +4,9 @@ * * https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md * - * Created by fwhorton on 2/20/15. - * Riptide Software */ (function (module) { - "use strict" + "use strict"; // defines overwriting data var INVALID_DATE = '01/011/2015'; diff --git a/test/v1_0_2/configs/substatements.js b/test/v1_0_2/configs/substatements.js index 680bc89..779b7b2 100644 --- a/test/v1_0_2/configs/substatements.js +++ b/test/v1_0_2/configs/substatements.js @@ -4,11 +4,9 @@ * * https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md * - * Created by fwhorton on 2/20/15. - * Riptide Software */ (function (module) { - "use strict" + "use strict"; // configures tests module.exports.config = function () { diff --git a/test/v1_0_2/configs/uuids.js b/test/v1_0_2/configs/uuids.js index c4ad9b9..dcd5267 100644 --- a/test/v1_0_2/configs/uuids.js +++ b/test/v1_0_2/configs/uuids.js @@ -4,11 +4,9 @@ * * https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md * - * Created by fwhorton on 2/20/15. - * Riptide Software */ (function (module) { - "use strict" + "use strict"; // defines overwriting data var INVALID_NUMERIC = 12345; diff --git a/test/v1_0_2/configs/verbs.js b/test/v1_0_2/configs/verbs.js index a9673a4..de9db4d 100644 --- a/test/v1_0_2/configs/verbs.js +++ b/test/v1_0_2/configs/verbs.js @@ -4,11 +4,9 @@ * * https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md * - * Created by fwhorton on 2/20/15. - * Riptide Software */ (function (module) { - "use strict" + "use strict"; // defines overwriting data var INVALID_URI = 'abc://should.fail.com'; diff --git a/test/v1_0_2/document.js b/test/v1_0_2/document.js index 7b3fec2..1e9a9d1 100644 --- a/test/v1_0_2/document.js +++ b/test/v1_0_2/document.js @@ -4,8 +4,6 @@ * * https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md * - * Created by vijay.budhram on 7/9/14. - * Riptide Software */ (function (process, request, should, helper, qs, validUrl) { 'use strict'; diff --git a/test/v1_0_2/non_templating.js b/test/v1_0_2/non_templating.js index 71b01ca..7606889 100644 --- a/test/v1_0_2/non_templating.js +++ b/test/v1_0_2/non_templating.js @@ -4,8 +4,6 @@ * * https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md * - * Created by vijay.budhram on 7/9/14. - * Riptide Software */ (function (module, fs, extend, moment, request, requestPromise, qs, should, helper, validUrl) { "use strict"; diff --git a/test/v1_0_2/templates/attachments/basic_image_multipart_attachment_valid.part b/test/v1_0_2/templates/attachments/basic_image_multipart_attachment_valid.part index 830d4e7..c83d8df 100644 Binary files a/test/v1_0_2/templates/attachments/basic_image_multipart_attachment_valid.part and b/test/v1_0_2/templates/attachments/basic_image_multipart_attachment_valid.part differ diff --git a/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_content_transfer_encoding.part b/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_content_transfer_encoding.part index a148b1b..9512699 100644 --- a/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_content_transfer_encoding.part +++ b/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_content_transfer_encoding.part @@ -3,10 +3,10 @@ Content-Type: application/json {"actor":{"objectType":"Agent","mbox":"mailto:sample.agent@example.com","name":"Sample Agent"},"verb":{"id":"http://adlnet.gov/expapi/verbs/answered","display":{"en-US":"answered"}},"object":{"id":"http://www.example.com/tincan/activities/multipart","objectType":"Activity","definition":{"name":{"en-US":"Multi Part Activity"},"description":{"en-US":"Multi Part Activity Description"}}},"timestamp":"2014-07-11T13:51:03.971Z","stored":"2014-07-11T13:51:03.977Z","attachments":[{"usageType":"http://example.com/attachment-usage/test","display":{"en-US":"A test attachment"},"contentType":"text/plain","length":27,"sha2":"495395e777cd98da653df9615d09c0fd6bb2f8d4788394cd53c56a3bfdcd848a","description":{"en-US":"A test attachment (description)"}}]} ---------314159265358979323846 -Content-Disposition: attachment; filename="riptide_text_data.txt" +Content-Disposition: attachment; filename="text_data.txt" Content-Type: text/plain Content-Transfer-Encoding: base64 X-Experience-API-Hash: 495395e777cd98da653df9615d09c0fd6bb2f8d4788394cd53c56a3bfdcd848a here is a simple attachment ----------314159265358979323846-- \ No newline at end of file +---------314159265358979323846-- diff --git a/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_first_part_content_type.part b/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_first_part_content_type.part index c4d00e7..0c0e881 100644 --- a/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_first_part_content_type.part +++ b/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_first_part_content_type.part @@ -3,10 +3,10 @@ Content-Type: text/plain {"actor":{"objectType":"Agent","mbox":"mailto:sample.agent@example.com","name":"Sample Agent"},"verb":{"id":"http://adlnet.gov/expapi/verbs/answered","display":{"en-US":"answered"}},"object":{"id":"http://www.example.com/tincan/activities/multipart","objectType":"Activity","definition":{"name":{"en-US":"Multi Part Activity"},"description":{"en-US":"Multi Part Activity Description"}}},"timestamp":"2014-07-11T13:51:03.971Z","stored":"2014-07-11T13:51:03.977Z","attachments":[{"usageType":"http://example.com/attachment-usage/test","display":{"en-US":"A test attachment"},"contentType":"text/plain","length":27,"sha2":"495395e777cd98da653df9615d09c0fd6bb2f8d4788394cd53c56a3bfdcd848a","description":{"en-US":"A test attachment (description)"}}]} ---------314159265358979323846 -Content-Disposition: attachment; filename="riptide_text_data.txt" +Content-Disposition: attachment; filename="text_data.txt" Content-Type: text/plain Content-Transfer-Encoding: binary X-Experience-API-Hash: 495395e777cd98da653df9615d09c0fd6bb2f8d4788394cd53c56a3bfdcd848a here is a simple attachment ----------314159265358979323846-- \ No newline at end of file +---------314159265358979323846-- diff --git a/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_first_part_no_boundary.part b/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_first_part_no_boundary.part index 4a9ae16..138cdd3 100644 --- a/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_first_part_no_boundary.part +++ b/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_first_part_no_boundary.part @@ -2,10 +2,10 @@ Content-Type: application/json {"actor":{"objectType":"Agent","mbox":"mailto:sample.agent@example.com","name":"Sample Agent"},"verb":{"id":"http://adlnet.gov/expapi/verbs/answered","display":{"en-US":"answered"}},"object":{"id":"http://www.example.com/tincan/activities/multipart","objectType":"Activity","definition":{"name":{"en-US":"Multi Part Activity"},"description":{"en-US":"Multi Part Activity Description"}}},"timestamp":"2014-07-11T13:51:03.971Z","stored":"2014-07-11T13:51:03.977Z","attachments":[{"usageType":"http://example.com/attachment-usage/test","display":{"en-US":"A test attachment"},"contentType":"text/plain","length":27,"sha2":"495395e777cd98da653df9615d09c0fd6bb2f8d4788394cd53c56a3bfdcd848a","description":{"en-US":"A test attachment (description)"}}]} ---------314159265358979323846 -Content-Disposition: attachment; filename="riptide_text_data.txt" +Content-Disposition: attachment; filename="text_data.txt" Content-Type: text/plain Content-Transfer-Encoding: binary X-Experience-API-Hash: 495395e777cd98da653df9615d09c0fd6bb2f8d4788394cd53c56a3bfdcd848a here is a simple attachment ----------314159265358979323846-- \ No newline at end of file +---------314159265358979323846-- diff --git a/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_no_content_transfer_encoding.part b/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_no_content_transfer_encoding.part index 0677008..f28dab7 100644 --- a/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_no_content_transfer_encoding.part +++ b/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_no_content_transfer_encoding.part @@ -3,9 +3,9 @@ Content-Type: application/json {"actor":{"objectType":"Agent","mbox":"mailto:sample.agent@example.com","name":"Sample Agent"},"verb":{"id":"http://adlnet.gov/expapi/verbs/answered","display":{"en-US":"answered"}},"object":{"id":"http://www.example.com/tincan/activities/multipart","objectType":"Activity","definition":{"name":{"en-US":"Multi Part Activity"},"description":{"en-US":"Multi Part Activity Description"}}},"timestamp":"2014-07-11T13:51:03.971Z","stored":"2014-07-11T13:51:03.977Z","attachments":[{"usageType":"http://example.com/attachment-usage/test","display":{"en-US":"A test attachment"},"contentType":"text/plain","length":27,"sha2":"495395e777cd98da653df9615d09c0fd6bb2f8d4788394cd53c56a3bfdcd848a","description":{"en-US":"A test attachment (description)"}}]} ---------314159265358979323846 -Content-Disposition: attachment; filename="riptide_text_data.txt" +Content-Disposition: attachment; filename="text_data.txt" Content-Type: text/plain X-Experience-API-Hash: 495395e777cd98da653df9615d09c0fd6bb2f8d4788394cd53c56a3bfdcd848a here is a simple attachment ----------314159265358979323846-- \ No newline at end of file +---------314159265358979323846-- diff --git a/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_no_match_sha2.part b/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_no_match_sha2.part index 4396069..03e314b 100644 --- a/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_no_match_sha2.part +++ b/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_no_match_sha2.part @@ -3,10 +3,10 @@ Content-Type: application/json {"actor":{"objectType":"Agent","mbox":"mailto:sample.agent@example.com","name":"Sample Agent"},"verb":{"id":"http://adlnet.gov/expapi/verbs/answered","display":{"en-US":"answered"}},"object":{"id":"http://www.example.com/tincan/activities/multipart","objectType":"Activity","definition":{"name":{"en-US":"Multi Part Activity"},"description":{"en-US":"Multi Part Activity Description"}}},"timestamp":"2014-07-11T13:51:03.971Z","stored":"2014-07-11T13:51:03.977Z","attachments":[{"usageType":"http://example.com/attachment-usage/test","display":{"en-US":"A test attachment"},"contentType":"text/plain","length":27,"sha2":"495395e777cd98da653df9615d09c0fd6bb2f8d4788394cd53c56a3bfdcd848a","description":{"en-US":"A test attachment (description)"}}]} ---------314159265358979323846 -Content-Disposition: attachment; filename="riptide_text_data.txt" +Content-Disposition: attachment; filename="text_data.txt" Content-Type: text/plain Content-Transfer-Encoding: binary X-Experience-API-Hash: b018994f8bbe0f08992a65c48c8c8c56f09e9baceaa6227ed85c90ae52b73c80 here is a simple attachment ----------314159265358979323846-- \ No newline at end of file +---------314159265358979323846-- diff --git a/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_no_x_experience_api_hash.part b/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_no_x_experience_api_hash.part index f75968c..1818ea4 100644 --- a/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_no_x_experience_api_hash.part +++ b/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_no_x_experience_api_hash.part @@ -3,9 +3,9 @@ Content-Type: application/json {"actor":{"objectType":"Agent","mbox":"mailto:sample.agent@example.com","name":"Sample Agent"},"verb":{"id":"http://adlnet.gov/expapi/verbs/answered","display":{"en-US":"answered"}},"object":{"id":"http://www.example.com/tincan/activities/multipart","objectType":"Activity","definition":{"name":{"en-US":"Multi Part Activity"},"description":{"en-US":"Multi Part Activity Description"}}},"timestamp":"2014-07-11T13:51:03.971Z","stored":"2014-07-11T13:51:03.977Z","attachments":[{"usageType":"http://example.com/attachment-usage/test","display":{"en-US":"A test attachment"},"contentType":"text/plain","length":27,"sha2":"495395e777cd98da653df9615d09c0fd6bb2f8d4788394cd53c56a3bfdcd848a","description":{"en-US":"A test attachment (description)"}}]} ---------314159265358979323846 -Content-Disposition: attachment; filename="riptide_text_data.txt" +Content-Disposition: attachment; filename="text_data.txt" Content-Type: text/plain Content-Transfer-Encoding: binary here is a simple attachment ----------314159265358979323846-- \ No newline at end of file +---------314159265358979323846-- diff --git a/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_statement_parts.part b/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_statement_parts.part index d74d0a5..f14d12d 100644 --- a/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_statement_parts.part +++ b/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_invalid_statement_parts.part @@ -7,10 +7,10 @@ Content-Type: application/json {"actor":{"objectType":"Agent","mbox":"mailto:sample.agent@example.com","name":"Sample Agent"},"verb":{"id":"http://adlnet.gov/expapi/verbs/answered","display":{"en-US":"answered"}},"object":{"id":"http://www.example.com/tincan/activities/multipart","objectType":"Activity","definition":{"name":{"en-US":"Multi Part Activity"},"description":{"en-US":"Multi Part Activity Description"}}},"timestamp":"2014-07-11T13:51:03.971Z","stored":"2014-07-11T13:51:03.977Z"} ---------314159265358979323846 -Content-Disposition: attachment; filename="riptide_text_data.txt" +Content-Disposition: attachment; filename="text_data.txt" Content-Type: text/plain Content-Transfer-Encoding: binary X-Experience-API-Hash: 495395e777cd98da653df9615d09c0fd6bb2f8d4788394cd53c56a3bfdcd848a here is a simple attachment ----------314159265358979323846-- \ No newline at end of file +---------314159265358979323846-- diff --git a/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_valid.part b/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_valid.part index 6bf07c0..7342c22 100644 --- a/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_valid.part +++ b/test/v1_0_2/templates/attachments/basic_text_multipart_attachment_valid.part @@ -3,10 +3,10 @@ Content-Type: application/json {"actor":{"objectType":"Agent","mbox":"mailto:sample.agent@example.com","name":"Sample Agent"},"verb":{"id":"http://adlnet.gov/expapi/verbs/answered","display":{"en-US":"answered"}},"object":{"id":"http://www.example.com/tincan/activities/multipart","objectType":"Activity","definition":{"name":{"en-US":"Multi Part Activity"},"description":{"en-US":"Multi Part Activity Description"}}},"timestamp":"2014-07-11T13:51:03.971Z","stored":"2014-07-11T13:51:03.977Z","attachments":[{"usageType":"http://example.com/attachment-usage/test","display":{"en-US":"A test attachment"},"contentType":"text/plain","length":27,"sha2":"495395e777cd98da653df9615d09c0fd6bb2f8d4788394cd53c56a3bfdcd848a","description":{"en-US":"A test attachment (description)"}}]} ---------314159265358979323846 -Content-Disposition: attachment; filename="riptide_text_data.txt" +Content-Disposition: attachment; filename="text_data.txt" Content-Type: text/plain Content-Transfer-Encoding: binary X-Experience-API-Hash: 495395e777cd98da653df9615d09c0fd6bb2f8d4788394cd53c56a3bfdcd848a here is a simple attachment ----------314159265358979323846-- \ No newline at end of file +---------314159265358979323846-- diff --git a/test/v1_0_2/templating.js b/test/v1_0_2/templating.js index 3405204..965105e 100644 --- a/test/v1_0_2/templating.js +++ b/test/v1_0_2/templating.js @@ -4,11 +4,9 @@ * * https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md * - * Created by fwhorton on 2/20/15. - * Riptide Software */ (function (module, process, request, should, helper) { - "use strict" + "use strict"; describe('Conformance Requirements using Templating', function () {