Categories with underscore
This commit is contained in:
@@ -1332,7 +1332,7 @@ func TestValidateLayoutRejectsInvalidAutogenConsumerConfig(t *testing.T) {
|
||||
Dataset: "visualeffects",
|
||||
Mode: "unsupported",
|
||||
Root: "vfxs",
|
||||
Include: []string{"headaccessory/**/*.mdl"},
|
||||
Include: []string{"head_accessories/**/*.mdl"},
|
||||
Derive: AutogenDeriveConfig{Kind: "model_stem", GroupFrom: "first_path_segment"},
|
||||
Manifest: AutogenManifestConfig{
|
||||
ReleaseTag: "head-vfx-manifest-current",
|
||||
@@ -1434,7 +1434,7 @@ func TestValidateLayoutRejectsInvalidHeadVisualeffectsNamingConfig(t *testing.T)
|
||||
Dataset: "visualeffects",
|
||||
Mode: "head_visualeffects",
|
||||
Root: "vfxs",
|
||||
Include: []string{"headfeature/**/*.mdl"},
|
||||
Include: []string{"head_features/**/*.mdl"},
|
||||
Derive: AutogenDeriveConfig{Kind: "model_stem", GroupFrom: "first_path_segment"},
|
||||
Manifest: AutogenManifestConfig{
|
||||
ReleaseTag: "head-vfx-manifest-current",
|
||||
@@ -1443,7 +1443,7 @@ func TestValidateLayoutRejectsInvalidHeadVisualeffectsNamingConfig(t *testing.T)
|
||||
},
|
||||
HeadVisualeffects: HeadVisualeffectsConfig{
|
||||
Groups: map[string]HeadVisualeffectGroupConfig{
|
||||
"headfeature": {},
|
||||
"head_features": {},
|
||||
},
|
||||
GroupTokenSource: "unsupported",
|
||||
CategoryFrom: "unsupported",
|
||||
@@ -1488,19 +1488,19 @@ autogen:
|
||||
mode: head_visualeffects
|
||||
root: vfxs
|
||||
include:
|
||||
- headfeature/**/*.mdl
|
||||
- head_features/**/*.mdl
|
||||
derive:
|
||||
kind: model_stem
|
||||
group_from: first_path_segment
|
||||
head_visualeffects:
|
||||
groups:
|
||||
headfeature:
|
||||
head_features:
|
||||
model_columns:
|
||||
- Imp_HeadCon_Node
|
||||
group_token_source: folder_name
|
||||
category_from: immediate_parent
|
||||
legacy_groups:
|
||||
head_features: headfeature
|
||||
head_features: head_features
|
||||
legacy_key_format: "{dataset}:{group}_{stem}"
|
||||
`)
|
||||
|
||||
@@ -1557,7 +1557,7 @@ func TestValidateLayoutAcceptsGeneratedTopData2DAConfig(t *testing.T) {
|
||||
ID: "cachedmodels",
|
||||
Mode: "cachedmodels_rows",
|
||||
Root: "vfxs",
|
||||
Include: []string{"headaccessory/**/*.mdl", "headfeature/**/*.mdl"},
|
||||
Include: []string{"head_accessories/**/*.mdl", "head_features/**/*.mdl"},
|
||||
Derive: AutogenDeriveConfig{Kind: "model_stem", GroupFrom: "first_path_segment"},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user