@@ -14,15 +14,15 @@ public void SimpleGlfwTestDetermination(string? hint)
1414 {
1515 var test = new Dictionary < string , CandidateNames >
1616 {
17- { "GLFWallocator" , new CandidateNames ( "GLFWallocator" , null ) } ,
18- { "GLFWgammaramp" , new CandidateNames ( "GLFWgammaramp" , null ) } ,
19- { "GLFWgamepadstate" , new CandidateNames ( "GLFWgamepadstate" , null ) } ,
20- { "GLFWvidmode" , new CandidateNames ( "GLFWvidmode" , null ) } ,
21- { "GLFWimage" , new CandidateNames ( "GLFWimage" , null ) } ,
22- { "Glfw" , new CandidateNames ( "Glfw" , null ) } ,
23- { "GLFWcursor" , new CandidateNames ( "GLFWcursor" , null ) } ,
24- { "GLFWmonitor" , new CandidateNames ( "GLFWmonitor" , null ) } ,
25- { "GLFWwindow" , new CandidateNames ( "GLFWwindow" , null ) } ,
17+ { "GLFWallocator" , new CandidateNames ( "GLFWallocator" , [ ] ) } ,
18+ { "GLFWgammaramp" , new CandidateNames ( "GLFWgammaramp" , [ ] ) } ,
19+ { "GLFWgamepadstate" , new CandidateNames ( "GLFWgamepadstate" , [ ] ) } ,
20+ { "GLFWvidmode" , new CandidateNames ( "GLFWvidmode" , [ ] ) } ,
21+ { "GLFWimage" , new CandidateNames ( "GLFWimage" , [ ] ) } ,
22+ { "Glfw" , new CandidateNames ( "Glfw" , [ ] ) } ,
23+ { "GLFWcursor" , new CandidateNames ( "GLFWcursor" , [ ] ) } ,
24+ { "GLFWmonitor" , new CandidateNames ( "GLFWmonitor" , [ ] ) } ,
25+ { "GLFWwindow" , new CandidateNames ( "GLFWwindow" , [ ] ) } ,
2626 } ;
2727 Assert . That (
2828 GetPrefix ( null , hint , test , null , null , false , true ) ? . Prefix ,
@@ -62,10 +62,10 @@ public void RegressionFragmentShaderColorModMaskATI()
6262 {
6363 var test = new Dictionary < string , CandidateNames >
6464 {
65- { "GL_2X_BIT_ATI" , new CandidateNames ( "GL_2X_BIT_ATI" , null ) } ,
66- { "GL_COMP_BIT_ATI" , new CandidateNames ( "GL_COMP_BIT_ATI" , null ) } ,
67- { "GL_NEGATE_BIT_ATI" , new CandidateNames ( "GL_NEGATE_BIT_ATI" , null ) } ,
68- { "GL_BIAS_BIT_ATI" , new CandidateNames ( "GL_BIAS_BIT_ATI" , null ) } ,
65+ { "GL_2X_BIT_ATI" , new CandidateNames ( "GL_2X_BIT_ATI" , [ ] ) } ,
66+ { "GL_COMP_BIT_ATI" , new CandidateNames ( "GL_COMP_BIT_ATI" , [ ] ) } ,
67+ { "GL_NEGATE_BIT_ATI" , new CandidateNames ( "GL_NEGATE_BIT_ATI" , [ ] ) } ,
68+ { "GL_BIAS_BIT_ATI" , new CandidateNames ( "GL_BIAS_BIT_ATI" , [ ] ) } ,
6969 } ;
7070 Trim (
7171 new NameTrimmerContext
@@ -94,8 +94,8 @@ public void RegressionEvalTargetNV()
9494 {
9595 var test = new Dictionary < string , CandidateNames >
9696 {
97- { "GL_EVAL_2D_NV" , new CandidateNames ( "GL_EVAL_2D_NV" , null ) } ,
98- { "GL_EVAL_TRIANGULAR_2D_NV" , new CandidateNames ( "GL_EVAL_TRIANGULAR_2D_NV" , null ) } ,
97+ { "GL_EVAL_2D_NV" , new CandidateNames ( "GL_EVAL_2D_NV" , [ ] ) } ,
98+ { "GL_EVAL_TRIANGULAR_2D_NV" , new CandidateNames ( "GL_EVAL_TRIANGULAR_2D_NV" , [ ] ) } ,
9999 } ;
100100 Trim (
101101 new NameTrimmerContext
@@ -129,7 +129,7 @@ public void RegressionSingleMemberEnumUsesGlobalPrefixHint()
129129 {
130130 var names = new Dictionary < string , CandidateNames >
131131 {
132- { "GL_FILL_NV" , new CandidateNames ( "GL_FILL_NV" , null ) } ,
132+ { "GL_FILL_NV" , new CandidateNames ( "GL_FILL_NV" , [ ] ) } ,
133133 } ;
134134 var ctx = new NameTrimmerContext
135135 {
@@ -148,7 +148,7 @@ public void MultipleGlobalPrefixHints()
148148 {
149149 var names = new Dictionary < string , CandidateNames >
150150 {
151- { "ALC_CONTEXT_DEBUG_BIT_EXT" , new CandidateNames ( "ALC_CONTEXT_DEBUG_BIT_EXT" , null ) } ,
151+ { "ALC_CONTEXT_DEBUG_BIT_EXT" , new CandidateNames ( "ALC_CONTEXT_DEBUG_BIT_EXT" , [ ] ) } ,
152152 } ;
153153 var ctx = new NameTrimmerContext
154154 {
0 commit comments