Commit Graph

32 Commits

Author SHA1 Message Date
Victor Woeltjen
b163b45a5e [Framework] Update spec
Update spec to verify that app.controller et al
are not called multiple times with the same key.
2015-09-18 15:10:21 -07:00
Victor Woeltjen
10863514cb [Licenses] Add license headers
WTD-1051.
2015-05-13 16:43:30 -07:00
Victor Woeltjen
7b16428803 [Logging] Add spec for log levels
Add spec for log levels, to allow these to be passed at run-time
in order to suppress logging during normal use. WTD-793.
2015-02-03 17:55:13 -08:00
Victor Woeltjen
04ee5bbbb5 [Framework] Implement runs category-of-extension
Implement 'runs' as a built-in category of extension, to support
bundle addition of functions to run when the application first
starts. Specifically supports loading of stylesheets, WTD-591.
2015-01-14 16:45:13 -08:00
Victor Woeltjen
f70fca081e [Framework] Add specs for built-in extension for run
Add tests for a built-in extension type to framework to allow app.run
to be invoked via bundle extensions. This supports stylesheet
injection, which should happen on load but isn't triggered
from any particular part of the page. WTD-591.
2015-01-14 16:33:37 -08:00
Victor Woeltjen
64ede1e917 [Framework] Add/update tests for sorting
Add/update framework tests to include the sorting of extensions
by priority, WTD-590.
2015-01-07 17:06:09 -08:00
Victor Woeltjen
baca4ab4e6 [Framework] Complete RequireJS configurator tests
Complete tests for the RequireJS configurator, used to
expose libraries beyond bundle boundaries (and, related,
to provide shims for non-AMD libraries.) WTD-568.
2015-01-02 17:59:45 -08:00
Victor Woeltjen
96aaea5e58 [Framework] Add RequireJS configurator
Add a configuration step (as part of the resolve phase)
to the framework layer, where bundle-defined paths and shims
are passed to RequireJS configuration. This permits both
the use of non-AMD modules and the exposure of libraries
across bundles. WTD-568.
2015-01-02 17:46:50 -08:00
Victor Woeltjen
9d84bbca5c [Framework] Add property retention spec
Add spec to verify that static properties continue
to be exposed on extension implementations after
they have been loaded. WTD-572.
2014-11-20 10:56:21 -08:00
Victor Woeltjen
5ae58644d9 [Framework] Add spec for constant registration
Add spec for registration of constant values as
extensions. WTD-572.
2014-11-20 10:52:01 -08:00
Victor Woeltjen
c594ad8918 [Framework] Add spec for property retention
Add spec to verify that static properties exposed by
extension constructors remain visible after these
have been converted to partial constructors. These
static methods have various uses, such as providing
appliesTo methods to classes where pre-instantiation
filtering is useful. WTD-572.
2014-11-20 10:48:04 -08:00
Victor Woeltjen
3682eb73cb [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.
2014-11-07 04:57:51 -08:00
Victor Woeltjen
2e144ca003 [Framework] Fix code style in specs
Fix code style in specs for framework layer, written
for WTD-518.
2014-11-06 19:46:14 -08:00
Victor Woeltjen
bfcfa0127d [Framework] Spec for FrameworkInitializer
Complete specs for initial implementation of framework
layer, WTD-518.
2014-11-06 19:44:34 -08:00
Victor Woeltjen
0feb7c9699 [Framework] Remove spec for constants
Remove spec for Constants.js (only constants are defined
here, and there is no particular use to verifying their
existence; also, implicitly tested by specs for code
which uses these constants.) WTD-518
2014-11-06 19:33:47 -08:00
Victor Woeltjen
0d80494618 [Framework] Add spec for ImplementationLoader
WTD-518.
2014-11-06 19:29:55 -08:00
Victor Woeltjen
5f7704f1b8 [Framework] Add spec for ExtensionResolver
WTD-518
2014-11-06 19:20:51 -08:00
Victor Woeltjen
69c6811f00 [Framework] Fill in spec for bundle resolver
Fill in spec for bundle resolver, WTD-518.
2014-11-06 19:06:26 -08:00
Victor Woeltjen
2dde62cb79 [Framework] Complete ServiceCompositor spec
WTD-518.
2014-11-06 18:40:25 -08:00
Victor Woeltjen
5d4f1f2008 [Framework] Add spec for partial constructor
Add spec for partial constructor, used to handle two-stage
application of Angular dependencies and constructor
arguments. WTD-518.
2014-11-06 17:09:55 -08:00
Victor Woeltjen
b0267a9c59 [Framework] Complete spec for ExtensionRegistrar
Complete tests for the extension registar, WTD-518.
2014-11-06 16:52:22 -08:00
Victor Woeltjen
1a113b2a6f [Framework] Add specs for custom registrars
WTD-518
2014-11-06 16:08:14 -08:00
Victor Woeltjen
52e2761ac7 [Framework] Fill in spec for Extension
Fill in spec for Extension, part of the framework
component. WTD-518.
2014-11-06 15:41:25 -08:00
Victor Woeltjen
794d11e715 [Framework] Add spec for Bundle
Add spec for Bundle, used by the framework layer.
WTD-518.
2014-11-06 15:20:26 -08:00
Victor Woeltjen
cbea30d9cc [Framework] Add test cases for warning
Verify that warnings are issued when bundles are missing
or malformed. WTD-518.
2014-11-06 14:57:32 -08:00
Victor Woeltjen
587a913405 [Framework] Add test case for BundleLoader
Add a test case for BundleLoader, to improve test coverage
of framework layer. WTD-518.
2014-11-06 14:47:56 -08:00
Victor Woeltjen
8e1eb2f22f [Framework] Initial spec for bundle loader
Add first test case for bundle loader, WTD-518.
2014-11-06 14:28:22 -08:00
Victor Woeltjen
dac05d7841 [Framework] Spec for ApplicationBootstrapper
Add spec for the application bootstrapper; verify
its interactions with Angular. WTD-518.
2014-11-06 08:23:33 -08:00
Victor Woeltjen
e2f8b1eef9 [Framework] Add skeleton specs
Add empty specs for all classes introduced for the
framework layer, WTD-518.

Note that Main is omitted, as this launches the full
application.
2014-11-06 08:03:35 -08:00
Victor Woeltjen
047d56d662 [Structure] Add comments to temporary files
Add clarifying comments to temporary files, to
ensure they are distinguishable as placeholders.
Part of developing project folder structure and
build for WTD-519.
2014-10-31 09:49:09 -07:00
Victor Woeltjen
0bf0912bf8 [Tests] Initial spec runner
Initial spec runner; looks in bundles, assumes conventions.
Supports initial repository set up and build scripts, for
WTD-519.
2014-10-30 17:24:30 -07:00
Victor Woeltjen
a753818b24 [Build] Initial test dependencies
Initial commit of test dependencies, as brought over
from prototype, to continue establishing build. WTD-519.
2014-10-30 16:04:38 -07:00