skia2/dm
Hal Canary 73ec9a09f3 Test: New GMs should be nicely named
Motivation:

    An issue came up a while back with SkQP where some the JUnit testing
    framework dislikes test names that aren't valid Java identifiers.  I am
    currently replacing invalid characters with underscores before giving
    them to JUnit, but that leads to some confusion when trying to grep for
    the name of a failing test.

    I propose that going forward, all *new* Skia unit tests and GM names be
    in the form [A-Za-z][A-Za-z0-9_]* to prevent this sort of confusion.  We
    won't change 63 existing "bad" tests names.

This Cl encorces that rule with an assertion in DM.

Change-Id: Icedce023cd3127d499fbcdcaea485f1ec9e9196b
Reviewed-on: https://skia-review.googlesource.com/145365
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
2018-08-06 19:17:24 +00:00
..
DM.cpp Test: New GMs should be nicely named 2018-08-06 19:17:24 +00:00
DMGpuTestProcs.cpp Reland "implemented metal gpu backend texture upload testing" 2018-07-18 18:17:32 +00:00
DMJsonWriter.cpp Move SkOSPath out of include/core. 2016-11-08 20:20:15 +00:00
DMJsonWriter.h Add gamma_correct option field to dm.json 2016-02-29 07:38:01 -08:00
DMSrcSink.cpp sk_tool::Registry: make an iterator. 2018-08-01 16:59:19 +00:00
DMSrcSink.h sk_tool::Registry: make an iterator. 2018-08-01 16:59:19 +00:00
ValidateGMNames.cpp Test: New GMs should be nicely named 2018-08-06 19:17:24 +00:00
ValidateGMNames.h Test: New GMs should be nicely named 2018-08-06 19:17:24 +00:00