@@ -29,13 +29,33 @@ const (
29
29
)
30
30
31
31
const (
32
- examplesDir = "examples/"
33
- inputDir = "input/"
34
- outDir = "out/"
35
- )
32
+ examplesDir = "examples/"
33
+ inputDir = "input/"
34
+ outDir = "out/"
35
+ errString = "err: %s"
36
+ carriageReturn = "\r "
36
37
37
- const errString = "err: %s"
38
- const carriageReturn = "\r "
38
+ ActualOutFilePrefix = "out_"
39
+ InputFilePrefix = "input_"
40
+ suffixOutFileWithGrouping = "_with_grouping"
41
+ suffixOutFileWithoutLbAbstraction = "_no_lbAbstract"
42
+ suffixOutFileDebugSubnet = "_analysisPerSubnetSeparately"
43
+ suffixOutFileSubnetsLevel = "subnetsBased_withPGW"
44
+ suffixOutFileSubnetsLevelNoPGW = "subnetsBased_withoutPGW"
45
+ suffixOutFileDiffSubnets = "subnetsDiff"
46
+ suffixOutFileDiffEndpoints = "endpointsDiff"
47
+ suffixOutFileExplain = "explain"
48
+ suffixOutFileDetail = "_detail"
49
+ txtOutSuffix = ".txt"
50
+ mdOutSuffix = ".md"
51
+ JSONOutSuffix = ".json"
52
+ drawioOutSuffix = ".drawio"
53
+ archDrawioOutSuffix = "_arch.drawio"
54
+ svgOutSuffix = ".svg"
55
+ archSvgOutSuffix = "_arch.svg"
56
+ htmlOutSuffix = ".html"
57
+ archHTMLOutSuffix = "_arch.html"
58
+ )
39
59
40
60
/*
41
61
tests for the entire flow:
@@ -61,30 +81,6 @@ type VpcTestCommon struct {
61
81
VpcList []string
62
82
}
63
83
64
- const (
65
- ActualOutFilePrefix = "out_"
66
- InputFilePrefix = "input_"
67
- suffixOutFileWithGrouping = "_with_grouping"
68
- suffixOutFileWithoutLbAbstraction = "_no_lbAbstract"
69
- suffixOutFileDebugSubnet = "_analysisPerSubnetSeparately"
70
- suffixOutFileSubnetsLevel = "subnetsBased_withPGW"
71
- suffixOutFileSubnetsLevelNoPGW = "subnetsBased_withoutPGW"
72
- suffixOutFileDiffSubnets = "subnetsDiff"
73
- suffixOutFileDiffEndpoints = "endpointsDiff"
74
- suffixOutFileExplain = "explain"
75
- suffixOutFileDetail = "_detail"
76
- txtOutSuffix = ".txt"
77
- mdOutSuffix = ".md"
78
- JSONOutSuffix = ".json"
79
- secJSONOutSuffix = "_2nd.json"
80
- drawioOutSuffix = ".drawio"
81
- archDrawioOutSuffix = "_arch.drawio"
82
- svgOutSuffix = ".svg"
83
- archSvgOutSuffix = "_arch.svg"
84
- htmlOutSuffix = ".html"
85
- archHTMLOutSuffix = "_arch.html"
86
- )
87
-
88
84
// getTestFileName returns expected file name and actual file name, for the relevant use case
89
85
func getTestFileName (testName string ,
90
86
uc vpcmodel.OutputUseCase ,
0 commit comments