package Ġorg . cir rus labs . intellij . star l ark ĊĊ Ċ class ĠStar l ark Resolve Test Ġ: ĠStar l ark Code Insight Fixture TestCase () Ġ{ ĊĠ Ġoverride Ġfun Ġget TestData Path (): ĠString Ġ{ ĊĠĠĠ Ġreturn Ġ" src / test / testData / resolve " ĊĠ Ġ} ĊĊĠ Ġprivate Ġfun Ġassert Reference Res olves ( var arg Ġfile Paths : ĠString ) Ġ{ ĊĠĠĠ Ġmy Fixture . configure By Files (* file Paths ) ĊĠĠĠ Ġval Ġreference Ġ= Ġmy Fixture . file . find Reference At ( my Fixture . caret Offset ) ĊĠĠĠ ĠassertNotNull (" No Ġreference Ġfor Ġelement Ġ'${ my Fixture . file . findElement At ( my Fixture . caret Offset )?. text }' ", Ġreference ) ĊĠĠĠ Ġval Ġresolved Element Ġ= Ġreference ?. resolve () ĊĠĠĠ ĠassertNotNull (" Reference Ġcan 't Ġbe Ġresolved ", Ġresolved Element ) ĊĠ Ġ} ĊĊĠ Ġfun Ġtest Builtin Print () Ġ{ ĊĠĠĠ Ġassert Reference Res olves (" builtin _ print . star ") ĊĠ Ġ} ĊĊĠ Ġfun Ġtest Builtin Fail () Ġ{ ĊĠĠĠ Ġassert Reference Res olves (" builtin _ fail . star ") ĊĠ Ġ} ĊĊĠ Ġfun Ġtest Load C ir rus Json () Ġ{ ĊĠĠĠ Ġassert Reference Res olves (" load _ cir rus _ json . star ") ĊĠ Ġ} ĊĊĠ Ġfun Ġtest Load Local File () Ġ{ ĊĠĠĠ Ġassert Reference Res olves (" load _ cir rus _ json . star ", Ġ" foo / foo . star ") ĊĠ Ġ} Ċ } Ċ