MCPcopy Create free account
hub / github.com/apache/camel-k / newTestJavaSourceInspector

Function newTestJavaSourceInspector

pkg/util/source/inspector_java_source_test.go:31–42  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

29)
30
31func newTestJavaSourceInspector(t *testing.T) JavaSourceInspector {
32 t.Helper()
33
34 catalog, err := camel.DefaultCatalog()
35 require.NoError(t, err)
36
37 return JavaSourceInspector{
38 baseInspector: baseInspector{
39 catalog: catalog,
40 },
41 }
42}
43
44const javaSourceKameletEip = `
45from("direct:start")

Callers 7

TestJavaSourceKameletFunction · 0.85
TestJavaSourceDataFormatFunction · 0.85
TestJavaReplaceURIFunction · 0.85
TestJavaReplaceMultiURIFunction · 0.85
TestJavaRestOpenapiFirstFunction · 0.85
TestJavaBeanDependenciesFunction · 0.85

Calls 1

DefaultCatalogFunction · 0.92

Tested by

no test coverage detected