From e5dad10e885a6111c322902a48813bb77c727af4 Mon Sep 17 00:00:00 2001 From: Vijay Budhram Date: Thu, 19 Mar 2015 15:41:59 -0400 Subject: [PATCH] Cleaned up test cases and comments --- LICENSE | 2 -- README.md | 1 - bin/lrs-test.js | 4 +--- test/helper.js | 4 +--- test/v1_0_2/configs/activities.js | 4 +--- test/v1_0_2/configs/actors.js | 4 +--- test/v1_0_2/configs/agents.js | 4 +--- test/v1_0_2/configs/attachments.js | 4 +--- test/v1_0_2/configs/authorities.js | 4 +--- test/v1_0_2/configs/contexts.js | 4 +--- test/v1_0_2/configs/extensions.js | 4 +--- test/v1_0_2/configs/groups.js | 4 +--- test/v1_0_2/configs/languages.js | 4 +--- test/v1_0_2/configs/objects.js | 4 +--- test/v1_0_2/configs/results.js | 4 +--- test/v1_0_2/configs/statementrefs.js | 4 +--- test/v1_0_2/configs/statements.js | 4 +--- test/v1_0_2/configs/substatements.js | 4 +--- test/v1_0_2/configs/uuids.js | 4 +--- test/v1_0_2/configs/verbs.js | 4 +--- test/v1_0_2/document.js | 2 -- test/v1_0_2/non_templating.js | 2 -- ...asic_image_multipart_attachment_valid.part | Bin 13400 -> 14856 bytes ...ent_invalid_content_transfer_encoding.part | 4 ++-- ...hment_invalid_first_part_content_type.part | 4 ++-- ...chment_invalid_first_part_no_boundary.part | 4 ++-- ..._invalid_no_content_transfer_encoding.part | 4 ++-- ...part_attachment_invalid_no_match_sha2.part | 4 ++-- ...ment_invalid_no_x_experience_api_hash.part | 4 ++-- ...rt_attachment_invalid_statement_parts.part | 4 ++-- ...basic_text_multipart_attachment_valid.part | 4 ++-- test/v1_0_2/templating.js | 4 +--- 32 files changed, 35 insertions(+), 80 deletions(-) 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 830d4e77072f32afed6484ce972b23ec6a7fe273..c83d8dfdffaed4f8cfae4ac27147539e743e7bc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eh_y5iH_rYV`dq z>ABP&=EZ{=zz`u_lkC#kJvve*zFP*Yx91xgb@DRs>BE?$xZtpoQEL1xdlCnk3TjBZ zVc}8fL|cnGzD1@qhwH+PyzcKy`~`r|PZ|XlIWuEqrr)=cUrPiJFZZVh%5lj^$fC98QJ}~{wkHW_!^TO z$pt=RWj4_Or^?c>vZ+`JWXVUc?*pp)S9>vPigD~#BpZS{4_*-N7nUZGH8D=h6_PVi z=z**QMC`MyxhPLDm1md|WhE!y8lkHE*(+K!SM)j=RIhP>r&d%y5iLHnv_)y#XCZ6e zfS7gOjy0Ag#QXA%+fn-a`$@eQkvQ+YV@Kvy@3{%FEMpqh-ZL*Y%kCP<6Q}^P8&9vs zM{?~wn(Wz-W*brnXza|LE6&@FxXmvK+z}J*O1M6XMm9B#yGz>utek$5J(-D08Od}b z!1C#oJc7-~8EJG7eK9kyFpVqiVJ^EtS8rA#@ZuJ`^W({7qy0hJrjh^wOZa#vzrc9N zNUpxl!0)Hi|HWpW<8+Yo&-lZ@9|ry~@P~mv4E$l>4+DP~_`|>-2L3Schk-u~{9)h^ S1AiF!|H;7r^iK#N@P7dxDrY?a 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 () {