Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Classes
  • Exceptions
  • Annotation Interfaces
  • Fields
  • Methods
  • Deprecated Classes
    Class
    Description
    org.jenkinsci.test.acceptance.machine.JenkinsProvider
  • Deprecated Exceptions
    Exceptions
    Description
    org.jenkinsci.test.acceptance.update_center.UpdateCenterMetadata.UnableToResolveDependencies
    Not used when running MockUpdateCenter.
  • Deprecated Annotation Interfaces
    Annotation Interface
    Description
    org.jenkinsci.test.acceptance.junit.Native
    Refactor to use containers for any kind of expected setup
  • Deprecated Fields
    Field
    Description
    org.jenkinsci.test.acceptance.po.PluginManager.uploadPlugins
    Blocks use of MockUpdateCenter.
  • Deprecated Methods
    Method
    Description
    org.jenkinsci.test.acceptance.docker.fixtures.GitContainer.getRepoUrlInsideDocker()
    org.jenkinsci.test.acceptance.po.Build.shouldContainsConsoleOutput(String)
    Use Matchers.containsRegexp(java.lang.String) instead.
    org.jenkinsci.test.acceptance.po.Build.shouldNotContainsConsoleOutput(String)
    Use @linkMatchers.not(org.hamcrest.Matcher<T>)(Matchers.containsRegexp(java.lang.String)) instead.
    org.jenkinsci.test.acceptance.po.CapybaraPortingLayer.confirmAlert(int)
    Use CapybaraPortingLayer.runThenConfirmAlert(Runnable, int) and provide the runnable that triggers the alert.
    org.jenkinsci.test.acceptance.po.CapybaraPortingLayer.waitForCond(Callable<T>)
    org.jenkinsci.test.acceptance.po.CapybaraPortingLayer.waitForCond(Callable<T>, int)
    org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl.waitForCond(Callable<T>)
    org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl.waitForCond(Callable<T>, int)
    org.jenkinsci.test.acceptance.po.Jenkins.canRestart()
    Why would you call a method that always returns true?
    org.jenkinsci.test.acceptance.po.Login.doLoginDespiteNoPaths(String, String)
    use Login.doLogin(String, String) instead. It doesn't require form-element-path.
    org.jenkinsci.test.acceptance.po.PluginManager.installPlugin(File)
    Not used when running MockUpdateCenter.
    org.jenkinsci.test.acceptance.po.PluginManager.installPlugins(PluginSpec...)
    Please be encouraged to use WithPlugins annotations to statically declare the required plugins you need. If you really do need to install plugins in the middle of a test, as opposed to be in the beginning, then this is the right method.

    The deprecation marker is to call attention to WithPlugins. This method is not really deprecated.

    org.jenkinsci.test.acceptance.po.PluginManager.isInstalled(String...)
    org.jenkinsci.test.acceptance.po.Slave.launchSlaveAgent()
    Prefer Slave.launch().
    org.jenkinsci.test.acceptance.po.UpdateCenter.isInstalled(String)
    org.jenkinsci.test.acceptance.update_center.PluginMetadata.uploadTo(Jenkins, Injector, String)
    Not used when running MockUpdateCenter.
    org.jenkinsci.test.acceptance.update_center.UpdateCenterMetadata.transitiveDependenciesOf(Jenkins, Collection<PluginSpec>)
    Not used when running MockUpdateCenter.

Copyright © 2004–2025. All rights reserved.