Commit Graph

6 Commits

Author SHA1 Message Date
Joey Parrish 7e6a0f38ff fix: Correct license headers in misc. files
This corrects/normalizes license headers in misc. files, such as
config files, docs, build tools, tests, and externs.  This does not
affect the compiled output, and is only done for consistency.

Issue #2638

Change-Id: I9d8da2de55243b08d7df2b743aac73c6f15e858a
2020-06-09 16:13:56 -07:00
Joey Parrish c996dfbb15 Fix demo message test on IE
IE does not have the modern fetch API, and we do not have a polyfill
for it.  So we should avoid it in tests for now.  We already had a
similar test utility, so we can just use that.

This also adds a conformance rule so that the compiler will prevent
direct use of fetch in the future, and fixes a direct use of fetch in
the demo app.

Change-Id: If3a051cd06b0fb04ec6fb4bdd1b72eea4d24db4f
2020-01-09 12:00:45 -08:00
Joey Parrish 18208f8560 Add a test to catch missing demo messages
PR #2330 introduced a new message without a definition for it.  This
test would have caught the mistake in advance.

Change-Id: I1a7b0fa2483b791b6b16405e55af84a49d100c83
2020-01-08 14:39:46 -08:00
Joey Parrish 64896d70b0 Use shorter license header
This reflects changes in Google's policy on JavaScript license
headers, which should be smaller to avoid increasing the size of the
binary unnecessarily.

This also updates the company name from "Google, Inc" to "Google LLC".

Change-Id: I3f8b9ed3700b6351f43173d50c94d35c333e82b4
2019-11-22 18:18:36 +00:00
Theodore Abshire 54a9f72cd2 Added more mock functions to the demo tests.
The demo tests previously had fake versions of some functions and
classes from third-party libraries. However, it turns out there were
a few things that were not being provided.
Specifically, this adds fakes for what we use of dialogPolyfill,
MDL's componentHandler, and the methods on Awesomplete.

b/140930726

Change-Id: I4f283d48850b4fe127976840b3f9037a089b1274
2019-09-12 18:54:27 +00:00
Theodore Abshire 83ed3559c1 Moved the config field checks into actual tests.
Also added a cleanup procedure for the demo, for use in tests.

Change-Id: Ic26a8c7b012e66cdd88c09eb8d478ceeb6743ab4
2019-09-11 22:11:09 +00:00