File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ package lang
1919import (
2020 "context"
2121 "encoding/json"
22- "github.com/cloudwego/abcoder/lang/utils"
2322 "io"
2423 "os"
2524 "path/filepath"
@@ -156,20 +155,3 @@ func TestParser_NodeFieldsConsistency(t *testing.T) {
156155 checkRepoConsistency (t , lang , & repo , testCase )
157156 }
158157}
159-
160- func TestParser_Java_Init (t * testing.T ) {
161- javaTestCase := "/Users/bytedance/GolandProjects/abcoder/testdata/java/4_cxf-spring-boot-starter"
162- options := defaultOptions ("java" )
163- options .Verbose = false
164- options .LspOptions = map [string ]string {}
165- repobytes , err := Parse (context .Background (), javaTestCase , options )
166- if err != nil || len (repobytes ) == 0 {
167- t .Fatalf ("format: Parse() failed: %v" , err )
168- }
169-
170- filePath := "/Users/bytedance/GolandProjects/abcoder/testdata/asts/travel-hotel.json"
171- //filePath := "/Users/bytedance/GolandProjects/abcoder/testdata/asts/mybatis-3.json"
172- if err := utils .MustWriteFile (filePath , repobytes ); err != nil {
173- t .Fatalf ("format: Failed to write output: %v\n " , err )
174- }
175- }
You can’t perform that action at this time.
0 commit comments