From 3682eb73cb338f72bd0523cd900fa2b09cda82cf Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Fri, 7 Nov 2014 04:57:51 -0800 Subject: [PATCH] [Framework] Remove temporary file Remove temporary script file (introduced for initial build/repository setup to illustrate naming conventions and test declaration) from framework sources. Completes implementation of framework layer for WTD-518. --- platform/framework/src/Temporary.js | 22 ---------------------- platform/framework/test/TemporarySpec.js | 17 ----------------- platform/framework/test/suite.json | 1 - 3 files changed, 40 deletions(-) delete mode 100644 platform/framework/src/Temporary.js delete mode 100644 platform/framework/test/TemporarySpec.js diff --git a/platform/framework/src/Temporary.js b/platform/framework/src/Temporary.js deleted file mode 100644 index 75ccf57c73..0000000000 --- a/platform/framework/src/Temporary.js +++ /dev/null @@ -1,22 +0,0 @@ -/*global define*/ - -/** - * This is a temporary file. It is present to verify - * that build, including test scripts, can be executed. - */ -define( - [], - function () { - "use strict"; - - function Temporary() { - return { - someMethod: function () { - return "Hello, world."; - } - }; - } - - return Temporary; - } -); \ No newline at end of file diff --git a/platform/framework/test/TemporarySpec.js b/platform/framework/test/TemporarySpec.js deleted file mode 100644 index e0d43a0306..0000000000 --- a/platform/framework/test/TemporarySpec.js +++ /dev/null @@ -1,17 +0,0 @@ -/*global define,describe,it,expect*/ - -define( - ["../src/Temporary"], - function (Temporary) { - "use strict"; - - describe("Temporary class", function () { - var temporary = new Temporary(); - - it("has a method with a return value", function () { - expect(temporary.someMethod()).toEqual("Hello, world."); - }); - }); - - } -); \ No newline at end of file diff --git a/platform/framework/test/suite.json b/platform/framework/test/suite.json index 4e6cfea838..5eacf27248 100644 --- a/platform/framework/test/suite.json +++ b/platform/framework/test/suite.json @@ -1,5 +1,4 @@ [ - "Temporary", "FrameworkInitializer", "bootstrap/ApplicationBootstrapper", "load/Bundle",