[Core] Add skeleton specs
Add skeleton specs for platform/core, WTD-573.
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
[
|
[
|
||||||
"platform/framework"
|
"platform/framework",
|
||||||
|
"platform/core"
|
||||||
]
|
]
|
||||||
15
platform/core/test/actions/ActionAggregatorSpec.js
Normal file
15
platform/core/test/actions/ActionAggregatorSpec.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ActionAggregatorSpec. Created by vwoeltje on 11/6/14.
|
||||||
|
*/
|
||||||
|
define(
|
||||||
|
["../../src/actions/ActionAggregator"],
|
||||||
|
function (ActionAggregator) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
describe("Action aggregator", function () {
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
15
platform/core/test/actions/ActionCapabilitySpec.js
Normal file
15
platform/core/test/actions/ActionCapabilitySpec.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ActionCapabilitySpec. Created by vwoeltje on 11/6/14.
|
||||||
|
*/
|
||||||
|
define(
|
||||||
|
["../../src/actions/ActionCapability"],
|
||||||
|
function (ActionCapability) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
describe("The action capability", function () {
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
15
platform/core/test/actions/ActionProviderSpec.js
Normal file
15
platform/core/test/actions/ActionProviderSpec.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ActionProviderSpec. Created by vwoeltje on 11/6/14.
|
||||||
|
*/
|
||||||
|
define(
|
||||||
|
["../../src/actions/ActionProvider"],
|
||||||
|
function (ActionProvider) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
describe("The action provider", function () {
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
15
platform/core/test/actions/LoggingActionDecoratorSpec.js
Normal file
15
platform/core/test/actions/LoggingActionDecoratorSpec.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* LoggingActionDecoratorSpec. Created by vwoeltje on 11/6/14.
|
||||||
|
*/
|
||||||
|
define(
|
||||||
|
["../../src/actions/LoggingActionDecorator"],
|
||||||
|
function (LoggingActionDecorator) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
describe("The logging action decorator", function () {
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
15
platform/core/test/capabilities/CompositionCapabilitySpec.js
Normal file
15
platform/core/test/capabilities/CompositionCapabilitySpec.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* CompositionCapabilitySpec. Created by vwoeltje on 11/6/14.
|
||||||
|
*/
|
||||||
|
define(
|
||||||
|
["../../src/capabilities/CompositionCapability"],
|
||||||
|
function (CompositionCapability) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
describe("The composition capability", function () {
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
15
platform/core/test/capabilities/ContextCapabilitySpec.js
Normal file
15
platform/core/test/capabilities/ContextCapabilitySpec.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ContextCapability. Created by vwoeltje on 11/6/14.
|
||||||
|
*/
|
||||||
|
define(
|
||||||
|
["../../src/capabilities/ContextCapability"],
|
||||||
|
function (ContextCapability) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
describe("The context capability", function () {
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ContextualDomainObjectSpec. Created by vwoeltje on 11/6/14.
|
||||||
|
*/
|
||||||
|
define(
|
||||||
|
["../../src/capabilities/ContextualDomainObject"],
|
||||||
|
function (ContextualDomainObject) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
describe("A contextual domain object", function () {
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* CoreCapabilityProviderSpec. Created by vwoeltje on 11/6/14.
|
||||||
|
*/
|
||||||
|
define(
|
||||||
|
["../../src/capabilities/CoreCapabilityProvider"],
|
||||||
|
function (CoreCapabilityProvider) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
describe("The core capability provider", function () {
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
15
platform/core/test/capabilities/DelegationCapabilitySpec.js
Normal file
15
platform/core/test/capabilities/DelegationCapabilitySpec.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* DelegationCapabilitySpec. Created by vwoeltje on 11/6/14.
|
||||||
|
*/
|
||||||
|
define(
|
||||||
|
["../../src/capabilities/DelegationCapability"],
|
||||||
|
function (DelegationCapability) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
describe("The delegation capability", function () {
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
15
platform/core/test/capabilities/MutationCapabilitySpec.js
Normal file
15
platform/core/test/capabilities/MutationCapabilitySpec.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* MutationCapabilitySpec. Created by vwoeltje on 11/6/14.
|
||||||
|
*/
|
||||||
|
define(
|
||||||
|
["../../src/capabilities/MutationCapability"],
|
||||||
|
function (MutationCapability) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
describe("The mutation capability", function () {
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
15
platform/core/test/capabilities/PersistenceCapabilitySpec.js
Normal file
15
platform/core/test/capabilities/PersistenceCapabilitySpec.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PersistenceCapabilitySpec. Created by vwoeltje on 11/6/14.
|
||||||
|
*/
|
||||||
|
define(
|
||||||
|
["../../src/capabilities/PersistenceCapability"],
|
||||||
|
function (PersistenceCapability) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
describe("The persistence capability", function () {
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
15
platform/core/test/models/ModelAggregatorSpec.js
Normal file
15
platform/core/test/models/ModelAggregatorSpec.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ModelAggregatorSpec. Created by vwoeltje on 11/6/14.
|
||||||
|
*/
|
||||||
|
define(
|
||||||
|
["../../src/models/ModelAggregator"],
|
||||||
|
function (ModelAggregator) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
describe("The model aggregator", function () {
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
15
platform/core/test/models/PersistedModelProviderSpec.js
Normal file
15
platform/core/test/models/PersistedModelProviderSpec.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PersistedModelProviderSpec. Created by vwoeltje on 11/6/14.
|
||||||
|
*/
|
||||||
|
define(
|
||||||
|
["../../src/models/PersistedModelProvider"],
|
||||||
|
function (PersistedModelProvider) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
describe("The persisted model provider", function () {
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
15
platform/core/test/models/RootModelProviderSpec.js
Normal file
15
platform/core/test/models/RootModelProviderSpec.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* RootModelProviderSpec. Created by vwoeltje on 11/6/14.
|
||||||
|
*/
|
||||||
|
define(
|
||||||
|
["../../src/models/RootModelProvider"],
|
||||||
|
function (RootModelProvider) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
describe("The root model provider", function () {
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
15
platform/core/test/models/StaticModelProviderSpec.js
Normal file
15
platform/core/test/models/StaticModelProviderSpec.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* StaticModelProviderSpec. Created by vwoeltje on 11/6/14.
|
||||||
|
*/
|
||||||
|
define(
|
||||||
|
["../../src/models/StaticModelProvider"],
|
||||||
|
function (StaticModelProvider) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
describe("The static model provider", function () {
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
15
platform/core/test/objects/DomainObjectProviderSpec.js
Normal file
15
platform/core/test/objects/DomainObjectProviderSpec.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* DomainObjectProviderSpec. Created by vwoeltje on 11/6/14.
|
||||||
|
*/
|
||||||
|
define(
|
||||||
|
["../../src/objects/DomainObjectProvider"],
|
||||||
|
function (DomainObjectProvider) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
describe("The domain object provider", function () {
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
15
platform/core/test/objects/DomainObjectSpec.js
Normal file
15
platform/core/test/objects/DomainObjectSpec.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* DomainObjectSpec. Created by vwoeltje on 11/6/14.
|
||||||
|
*/
|
||||||
|
define(
|
||||||
|
["../../src/objects/DomainObject"],
|
||||||
|
function (DomainObject) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
describe("", function () {
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
@@ -1,6 +1,32 @@
|
|||||||
[
|
[
|
||||||
|
"actions/ActionAggregator",
|
||||||
|
"actions/ActionCapability",
|
||||||
|
"actions/ActionProvider",
|
||||||
|
"actions/LoggingActionDecorator",
|
||||||
|
|
||||||
|
"capabilities/CompositionCapability",
|
||||||
|
"capabilities/ContextCapability",
|
||||||
|
"capabilities/ContextualDomainObject",
|
||||||
|
"capabilities/CoreCapabilityProvider",
|
||||||
|
"capabilities/DelegationCapability",
|
||||||
|
"capabilities/MutationCapability",
|
||||||
|
"capabilities/PersistenceCapability",
|
||||||
|
|
||||||
|
"models/ModelAggregator",
|
||||||
|
"models/PersistedModelProvider",
|
||||||
|
"models/RootModelProvider",
|
||||||
|
"models/StaticModelProvider",
|
||||||
|
|
||||||
|
"objects/DomainObject",
|
||||||
|
"objects/DomainObjectProvider",
|
||||||
|
|
||||||
|
"types/MergeModels",
|
||||||
|
"types/TypeCapability",
|
||||||
"types/TypeImpl",
|
"types/TypeImpl",
|
||||||
"types/TypeProperty",
|
"types/TypeProperty",
|
||||||
"types/TypePropertyConversion",
|
"types/TypePropertyConversion",
|
||||||
"types/TypeProvider"
|
"types/TypeProvider",
|
||||||
|
|
||||||
|
"views/ViewCapability",
|
||||||
|
"views/ViewProvider"
|
||||||
]
|
]
|
||||||
15
platform/core/test/types/MergeModelsSpec.js
Normal file
15
platform/core/test/types/MergeModelsSpec.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* MergeModelsSpec. Created by vwoeltje on 11/6/14.
|
||||||
|
*/
|
||||||
|
define(
|
||||||
|
["../../src/types/MergeModels"],
|
||||||
|
function (MergeModels) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
describe("", function () {
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
15
platform/core/test/types/TypeCapabilitySpec.js
Normal file
15
platform/core/test/types/TypeCapabilitySpec.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* TypeCapabilitySpec. Created by vwoeltje on 11/6/14.
|
||||||
|
*/
|
||||||
|
define(
|
||||||
|
["../../src/types/TypeCapability"],
|
||||||
|
function (TypeCapability) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
describe("The type capability", function () {
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
15
platform/core/test/views/ViewCapabilitySpec.js
Normal file
15
platform/core/test/views/ViewCapabilitySpec.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ViewCapabilitySpec. Created by vwoeltje on 11/6/14.
|
||||||
|
*/
|
||||||
|
define(
|
||||||
|
["../../src/views/ViewCapability"],
|
||||||
|
function (ViewCapability) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
describe("A view capability", function () {
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
15
platform/core/test/views/ViewProviderSpec.js
Normal file
15
platform/core/test/views/ViewProviderSpec.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ViewProviderSpec. Created by vwoeltje on 11/6/14.
|
||||||
|
*/
|
||||||
|
define(
|
||||||
|
["../../src/views/ViewProvider"],
|
||||||
|
function (ViewProvider) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
describe("The view provider", function () {
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
Reference in New Issue
Block a user