@Test public void suiteContextHasSourceAssociatedWhenProvided() { final SuiteContext context1 = new SuiteContext("suite", URI.create("file: final SuiteContext context2 = new SuiteContext("suite", URI.create("file: uri -> Optional.empty()); assertThat(context1.getAssociatedPath()).contains(URI.create("file: assertThat(context1.getFileRegion()).isEmpty(); assertThat(context2.getAssociatedPath()).contains(URI.create("file: assertThat(context2.getFileRegion()).isEmpty(); }
@Override public Optional<URI> getAssociatedPath() { return Optional.ofNullable(locationUri); }
SuiteContext extends DefaultContext { @Override public Optional<URI> getAssociatedPath() { return Optional.ofNullable(locationUri); } }
SuiteContext extends DefaultContext { @Override public Optional<URI> getAssociatedPath() { return Optional.ofNullable(locationUri); } SuiteContext(final String suiteName);  SuiteContext(final String suiteName, final boolean isDirectory, final String errorMessage);  SuiteContext(final String suiteName, final URI locationUri, final boolean isDirectory,
            final String errorMessage);  SuiteContext(final String suiteName, final URI locationUri, final boolean isDirectory,
            final Function<URI, Optional<RobotFile>> associatedFileModelProvider); private  SuiteContext(final String suiteName, final URI locationUri, final boolean isDirectory,
            final String errorMessage,
            final Function<URI, Optional<RobotFile>> associatedFileModelProvider); }
SuiteContext extends DefaultContext { @Override public Optional<URI> getAssociatedPath() { return Optional.ofNullable(locationUri); } SuiteContext(final String suiteName);  SuiteContext(final String suiteName, final boolean isDirectory, final String errorMessage);  SuiteContext(final String suiteName, final URI locationUri, final boolean isDirectory,
            final String errorMessage);  SuiteContext(final String suiteName, final URI locationUri, final boolean isDirectory,
            final Function<URI, Optional<RobotFile>> associatedFileModelProvider); private  SuiteContext(final String suiteName, final URI locationUri, final boolean isDirectory,
            final String errorMessage,
            final Function<URI, Optional<RobotFile>> associatedFileModelProvider); boolean isDirectory(); @Override boolean isErroneous(); @Override Optional<String> getErrorMessage(); @Override Optional<URI> getAssociatedPath(); @Override StackFrameContext moveTo(final RunningKeyword keyword, final RobotBreakpointSupplier breakpointSupplier); }
SuiteContext extends DefaultContext { @Override public Optional<URI> getAssociatedPath() { return Optional.ofNullable(locationUri); } SuiteContext(final String suiteName);  SuiteContext(final String suiteName, final boolean isDirectory, final String errorMessage);  SuiteContext(final String suiteName, final URI locationUri, final boolean isDirectory,
            final String errorMessage);  SuiteContext(final String suiteName, final URI locationUri, final boolean isDirectory,
            final Function<URI, Optional<RobotFile>> associatedFileModelProvider); private  SuiteContext(final String suiteName, final URI locationUri, final boolean isDirectory,
            final String errorMessage,
            final Function<URI, Optional<RobotFile>> associatedFileModelProvider); boolean isDirectory(); @Override boolean isErroneous(); @Override Optional<String> getErrorMessage(); @Override Optional<URI> getAssociatedPath(); @Override StackFrameContext moveTo(final RunningKeyword keyword, final RobotBreakpointSupplier breakpointSupplier);  }