How to use values method of org.openqa.selenium.remote.http.Enum HttpMethod class

Best Selenium code snippet using org.openqa.selenium.remote.http.Enum HttpMethod.values

Source:ClassUnderTest_ESTest_scaffolding.java Github

copy

Full Screen

1/**2 * Scaffolding file used to store all the setups needed to run 3 * tests automatically generated by EvoSuite4 * Wed Aug 19 01:04:00 GMT 20205 */6package main;7import org.evosuite.runtime.annotation.EvoSuiteClassExclude;8import org.junit.BeforeClass;9import org.junit.Before;10import org.junit.After;11import org.evosuite.runtime.sandbox.Sandbox;12import org.evosuite.runtime.sandbox.Sandbox.SandboxMode;13@EvoSuiteClassExclude14public class ClassUnderTest_ESTest_scaffolding {15 @org.junit.Rule 16 public org.evosuite.runtime.vnet.NonFunctionalRequirementRule nfr = new org.evosuite.runtime.vnet.NonFunctionalRequirementRule();17 private org.evosuite.runtime.thread.ThreadStopper threadStopper = new org.evosuite.runtime.thread.ThreadStopper (org.evosuite.runtime.thread.KillSwitchHandler.getInstance(), 1000000);18 @BeforeClass 19 public static void initEvoSuiteFramework() { 20 org.evosuite.runtime.RuntimeSettings.className = "main.ClassUnderTest"; 21 org.evosuite.runtime.GuiSupport.initialize(); 22 org.evosuite.runtime.RuntimeSettings.maxNumberOfThreads = 100; 23 org.evosuite.runtime.RuntimeSettings.maxNumberOfIterationsPerLoop = -1; 24 org.evosuite.runtime.RuntimeSettings.mockSystemIn = true; 25 org.evosuite.runtime.RuntimeSettings.sandboxMode = org.evosuite.runtime.sandbox.Sandbox.SandboxMode.OFF; 26 org.evosuite.runtime.sandbox.Sandbox.initializeSecurityManagerForSUT(); 27 org.evosuite.runtime.classhandling.JDKClassResetter.init(); 28 initializeClasses();29 org.evosuite.runtime.Runtime.getInstance().resetRuntime(); 30 } 31 @Before 32 public void initTestCase(){ 33 threadStopper.storeCurrentThreads();34 threadStopper.startRecordingTime();35 org.evosuite.runtime.jvm.ShutdownHookHandler.getInstance().initHandler(); 36 org.evosuite.runtime.sandbox.Sandbox.goingToExecuteSUTCode(); 37 org.evosuite.runtime.GuiSupport.setHeadless(); 38 org.evosuite.runtime.Runtime.getInstance().resetRuntime(); 39 org.evosuite.runtime.agent.InstrumentingAgent.activate(); 40 } 41 @After 42 public void doneWithTestCase(){ 43 threadStopper.killAndJoinClientThreads();44 org.evosuite.runtime.jvm.ShutdownHookHandler.getInstance().safeExecuteAddedHooks(); 45 org.evosuite.runtime.classhandling.JDKClassResetter.reset(); 46 resetClasses(); 47 org.evosuite.runtime.sandbox.Sandbox.doneWithExecutingSUTCode(); 48 org.evosuite.runtime.agent.InstrumentingAgent.deactivate(); 49 org.evosuite.runtime.GuiSupport.restoreHeadlessMode(); 50 } 51 public void setSystemProperties() {52 53 /*No java.lang.System property to set*/54 }55 private static void initializeClasses() {56 org.evosuite.runtime.classhandling.ClassStateSupport.initializeClasses(ClassUnderTest_ESTest_scaffolding.class.getClassLoader() ,57 "com.google.gson.internal.bind.TimeTypeAdapter$1",58 "org.openqa.selenium.interactions.CompositeAction",59 "com.google.common.collect.ImmutableMultimap$Itr",60 "org.apache.http.impl.HttpConnectionMetricsImpl",61 "org.openqa.selenium.WebElement",62 "com.google.common.collect.MultimapBuilder$ArrayListSupplier",63 "com.google.common.collect.Collections2",64 "com.google.common.collect.PeekingIterator",65 "org.apache.http.config.Registry",66 "org.openqa.selenium.remote.http.HttpResponse",67 "org.openqa.selenium.remote.Dialect",68 "org.openqa.selenium.internal.FindsById",69 "org.apache.http.impl.conn.SystemDefaultDnsResolver",70 "org.apache.http.conn.ConnectionRequest",71 "org.openqa.selenium.interactions.InvalidCoordinatesException",72 "com.google.common.collect.NullsLastOrdering",73 "com.google.common.collect.RegularImmutableMultiset",74 "com.google.common.collect.RegularImmutableMap",75 "org.apache.http.client.protocol.RequestAcceptEncoding",76 "com.google.common.collect.RegularImmutableMultiset$ElementSet",77 "org.apache.http.pool.AbstractConnPool$1",78 "org.openqa.selenium.ImeNotAvailableException",79 "org.apache.http.pool.AbstractConnPool$2",80 "org.apache.http.conn.ssl.AllowAllHostnameVerifier",81 "com.google.gson.internal.Excluder",82 "com.google.common.base.CharMatcher$Invisible",83 "org.apache.http.client.CredentialsProvider",84 "com.google.common.collect.MultimapBuilder$SetMultimapBuilder",85 "com.google.common.base.Joiner",86 "org.openqa.selenium.support.ui.Sleeper",87 "org.openqa.selenium.SearchContext",88 "org.apache.http.config.RegistryBuilder",89 "org.openqa.selenium.logging.HandlerBasedLocalLogs",90 "org.openqa.selenium.WebDriver",91 "org.apache.http.io.HttpTransportMetrics",92 "com.google.common.base.Strings",93 "com.google.common.collect.Lists$Partition",94 "org.apache.http.conn.ssl.AbstractVerifier",95 "com.google.common.collect.AbstractMapBasedMultimap",96 "org.apache.http.impl.execchain.RequestEntityProxy",97 "org.apache.http.message.BasicHttpResponse",98 "org.openqa.selenium.interactions.KeyInput$TypingInteraction",99 "org.apache.http.io.HttpMessageWriter",100 "org.apache.http.HttpClientConnection",101 "org.apache.http.conn.routing.HttpRouteDirector",102 "org.apache.http.protocol.HttpProcessor",103 "org.apache.http.impl.io.AbstractMessageParser",104 "org.apache.http.conn.routing.BasicRouteDirector",105 "com.google.gson.internal.ObjectConstructor",106 "org.openqa.selenium.remote.http.AbstractHttpCommandCodec",107 "org.apache.http.client.NonRepeatableRequestException",108 "com.google.common.collect.ImmutableEntry",109 "com.google.common.base.Joiner$1",110 "com.google.common.base.Joiner$2",111 "com.google.common.collect.ImmutableEnumMap",112 "com.google.gson.internal.bind.ObjectTypeAdapter",113 "com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter",114 "com.google.common.collect.AbstractMapBasedMultimap$KeySet$1",115 "org.apache.http.impl.client.DefaultRedirectStrategy",116 "com.google.gson.internal.LinkedTreeMap$1",117 "com.google.common.base.CharMatcher$BitSetMatcher",118 "com.google.common.base.CharMatcher$JavaUpperCase",119 "com.google.common.collect.Lists$AbstractListWrapper",120 "org.openqa.selenium.support.ui.SystemClock",121 "org.apache.http.pool.PoolEntryCallback",122 "com.google.common.collect.AbstractMapBasedMultiset",123 "po.list.pages.BoardListContainerPage",124 "com.google.common.base.CharMatcher$NamedFastMatcher",125 "org.openqa.selenium.net.Urls",126 "org.apache.http.pool.ConnFactory",127 "org.openqa.selenium.internal.FindsByLinkText",128 "com.google.gson.internal.bind.JsonTreeWriter$1",129 "com.google.common.base.CharMatcher$Is",130 "com.google.common.collect.Lists$2",131 "org.openqa.selenium.interactions.PointerInput$MouseButton",132 "org.openqa.selenium.logging.NeedsLocalLogs",133 "com.google.gson.internal.bind.TypeAdapters",134 "org.apache.http.impl.execchain.ClientExecChain",135 "com.google.common.collect.Lists$1",136 "org.openqa.selenium.remote.RemoteLogs",137 "org.apache.http.message.BasicStatusLine",138 "org.openqa.selenium.internal.FindsByClassName",139 "com.google.common.base.Supplier",140 "com.google.common.base.AbstractIterator$1",141 "org.openqa.selenium.remote.http.W3CHttpResponseCodec",142 "com.google.common.collect.EmptyImmutableListMultimap",143 "com.google.gson.FieldNamingPolicy",144 "com.google.common.collect.ReverseOrdering",145 "po_utils.JavascriptActions",146 "org.openqa.selenium.HasCapabilities",147 "com.google.common.collect.FluentIterable$1",148 "org.openqa.selenium.By$ByPartialLinkText",149 "com.google.common.collect.FluentIterable$2",150 "org.openqa.selenium.By$ById",151 "org.openqa.selenium.NoAlertPresentException",152 "org.apache.http.impl.cookie.BasicPathHandler",153 "org.openqa.selenium.logging.LogEntries",154 "org.openqa.selenium.Dimension",155 "org.apache.http.impl.conn.DefaultHttpResponseParser",156 "org.apache.http.entity.AbstractHttpEntity",157 "com.google.common.collect.SortedMultisetBridge",158 "org.apache.http.conn.routing.RouteInfo$TunnelType",159 "org.apache.http.impl.conn.LoggingInputStream",160 "org.apache.http.client.UserTokenHandler",161 "com.google.common.collect.Maps$EntryTransformer",162 "com.google.common.collect.Ordering",163 "org.apache.http.impl.conn.SystemDefaultRoutePlanner$1",164 "org.openqa.selenium.logging.LocalLogs",165 "org.openqa.selenium.remote.http.HttpMethod",166 "com.google.common.base.CharMatcher$Digit",167 "org.apache.http.ConnectionClosedException",168 "org.apache.http.conn.ConnectionReleaseTrigger",169 "org.openqa.selenium.remote.RemoteExecuteMethod",170 "com.google.common.collect.Multimaps$CustomListMultimap",171 "com.google.common.collect.AllEqualOrdering",172 "org.apache.http.client.methods.HttpPost",173 "com.google.common.collect.Hashing",174 "org.apache.http.client.entity.DeflateInputStream",175 "com.google.common.collect.SortedMultiset",176 "com.google.common.base.CharMatcher$JavaDigit",177 "com.google.common.collect.AbstractMapBasedMultiset$1$1",178 "org.apache.http.io.SessionOutputBuffer",179 "custom_classes.BoardNames",180 "com.google.common.collect.FluentIterable",181 "org.apache.http.cookie.CookieIdentityComparator",182 "org.apache.http.config.Lookup",183 "org.apache.http.HttpMessage",184 "org.apache.http.HeaderElementIterator",185 "com.google.common.base.CharMatcher$InRange",186 "com.google.common.base.CharMatcher$JavaLetter",187 "org.openqa.selenium.remote.http.HttpClient$Factory",188 "org.apache.http.impl.execchain.HttpResponseProxy",189 "com.google.common.collect.SortedMapDifference",190 "org.openqa.selenium.interactions.PointerInput$Origin",191 "com.google.common.collect.RegularImmutableSet",192 "org.openqa.selenium.NoSuchSessionException",193 "com.google.common.collect.ImmutableListMultimap",194 "org.openqa.selenium.remote.ScreenshotException",195 "org.openqa.selenium.ElementNotVisibleException",196 "org.apache.http.conn.util.PublicSuffixMatcher",197 "com.google.gson.TypeAdapterFactory",198 "org.apache.http.protocol.RequestTargetHost",199 "org.openqa.selenium.InvalidArgumentException",200 "com.google.common.base.CharMatcher$Any",201 "com.google.common.collect.ImmutableAsList",202 "org.apache.http.impl.cookie.AbstractCookieAttributeHandler",203 "org.apache.http.protocol.HttpRequestExecutor",204 "org.openqa.selenium.UnhandledAlertException",205 "com.google.common.collect.SingletonImmutableSet",206 "org.apache.http.entity.ByteArrayEntity",207 "com.google.common.collect.ImmutableMapEntrySet",208 "org.openqa.selenium.remote.http.HttpRequest",209 "com.google.common.collect.Multimaps",210 "org.apache.http.impl.auth.HttpAuthenticator",211 "org.apache.http.conn.util.PublicSuffixList",212 "org.apache.http.conn.ConnectTimeoutException",213 "org.openqa.selenium.remote.http.W3CHttpCommandCodec",214 "com.google.common.collect.ImmutableMultiset",215 "com.google.common.collect.ImmutableMultimap$Keys",216 "com.google.common.collect.Multisets$AbstractEntry",217 "com.google.common.collect.AbstractMapBasedMultimap$AsMap$AsMapIterator",218 "com.google.gson.internal.Streams",219 "com.google.common.collect.AbstractIterator",220 "com.google.common.base.CharMatcher$And",221 "org.apache.http.client.methods.HttpRequestWrapper$HttpEntityEnclosingRequestWrapper",222 "org.apache.http.client.utils.URIUtils",223 "org.apache.http.ProtocolVersion",224 "org.apache.http.client.protocol.RequestExpectContinue",225 "com.google.common.collect.ImmutableMap$MapViewOfValuesAsSingletonSets",226 "org.openqa.selenium.remote.RemoteWebDriver$1",227 "org.openqa.selenium.By$ByClassName",228 "org.apache.http.conn.UnsupportedSchemeException",229 "org.apache.http.client.protocol.HttpClientContext",230 "po_utils.TestData",231 "po_utils.PageObjectLogging",232 "org.openqa.selenium.internal.Locatable",233 "org.openqa.selenium.interactions.internal.Coordinates",234 "org.apache.http.impl.client.ProxyAuthenticationStrategy",235 "com.google.common.collect.AbstractMultimap$Entries",236 "com.google.common.collect.AbstractMapBasedMultimap$WrappedList",237 "org.openqa.selenium.remote.http.HttpMessage",238 "org.openqa.selenium.Point",239 "org.openqa.selenium.remote.JsonException",240 "org.apache.http.impl.execchain.TunnelRefusedException",241 "org.openqa.selenium.logging.LocalLogs$1",242 "com.google.common.base.Converter",243 "com.google.common.base.CharMatcher$BreakingWhitespace",244 "org.apache.http.protocol.RequestUserAgent",245 "com.google.common.collect.Multiset$Entry",246 "org.apache.http.config.ConnectionConfig",247 "org.apache.http.cookie.CookieAttributeHandler",248 "org.apache.http.util.TextUtils",249 "org.apache.http.HttpResponseInterceptor",250 "org.apache.http.impl.client.HttpClientBuilder$2",251 "org.apache.http.config.MessageConstraints$Builder",252 "com.google.gson.internal.bind.SqlDateTypeAdapter$1",253 "com.google.common.base.CharMatcher$JavaLowerCase",254 "org.apache.http.NameValuePair",255 "custom_classes.CardText",256 "com.google.common.collect.ImmutableList$Builder",257 "org.openqa.selenium.UnableToSetCookieException",258 "com.google.gson.internal.ConstructorConstructor",259 "com.google.common.collect.AbstractMultiset",260 "org.apache.http.message.BasicHeaderIterator",261 "org.openqa.selenium.NoSuchCookieException",262 "com.google.common.collect.Iterators",263 "com.google.common.collect.CompoundOrdering",264 "org.apache.http.impl.conn.LoggingOutputStream",265 "custom_classes.Email",266 "com.google.common.collect.ImmutableMultiset$1",267 "org.openqa.selenium.interactions.Interactive",268 "org.apache.http.ParseException",269 "custom_classes.CardComment",270 "org.openqa.selenium.Keys",271 "org.apache.http.client.protocol.ResponseProcessCookies",272 "org.apache.http.message.BasicRequestLine",273 "org.openqa.selenium.internal.FindsByXPath",274 "com.google.gson.FieldNamingPolicy$4",275 "org.apache.http.util.CharArrayBuffer",276 "com.google.gson.FieldNamingPolicy$3",277 "com.google.gson.FieldNamingPolicy$5",278 "custom_classes.CardTag",279 "com.google.gson.internal.JsonReaderInternalAccess",280 "org.openqa.selenium.interactions.Encodable",281 "org.apache.http.conn.util.DomainType",282 "com.google.common.collect.Iterators$MergingIterator",283 "com.google.common.collect.RegularImmutableMap$Values",284 "org.apache.http.HttpConnection",285 "com.google.gson.FieldNamingPolicy$2",286 "com.google.gson.FieldNamingPolicy$1",287 "org.openqa.selenium.remote.CommandInfo",288 "org.apache.http.message.HeaderValueParser",289 "com.google.common.collect.Lists$RandomAccessPartition",290 "com.google.common.collect.AbstractMapBasedMultimap$AsMap$AsMapEntries",291 "com.google.common.base.CharMatcher$ForPredicate",292 "org.openqa.selenium.remote.internal.ApacheHttpClient",293 "org.apache.http.client.protocol.RequestClientConnControl",294 "com.google.common.collect.Multimaps$TransformedEntriesMultimap",295 "com.google.common.collect.ImmutableCollection$ArrayBasedBuilder",296 "org.apache.http.impl.cookie.RFC6265CookieSpecProvider$CompatibilityLevel",297 "com.google.common.collect.ImmutableMultimap$Values",298 "org.apache.http.impl.conn.DefaultManagedHttpClientConnection",299 "org.openqa.selenium.remote.RemoteKeyboard",300 "com.google.common.collect.ByFunctionOrdering",301 "com.google.common.collect.AbstractMapEntry",302 "com.google.common.collect.ImmutableMap$IteratorBasedImmutableMap",303 "org.openqa.selenium.JavascriptException",304 "com.google.common.collect.ImmutableListMultimap$Builder",305 "org.openqa.selenium.NoSuchFrameException",306 "com.google.common.collect.Maps$10",307 "org.apache.http.client.entity.InputStreamFactory",308 "com.google.common.collect.Maps$11",309 "org.apache.http.client.ClientProtocolException",310 "com.google.gson.stream.JsonReader$1",311 "org.apache.http.impl.cookie.BasicMaxAgeHandler",312 "org.apache.http.conn.routing.RouteTracker",313 "org.apache.http.params.AbstractHttpParams",314 "org.openqa.selenium.WebDriverException",315 "org.apache.http.message.BasicTokenIterator",316 "org.openqa.selenium.remote.ErrorHandler$UnknownServerException",317 "com.google.common.collect.Lists",318 "com.google.common.collect.UnmodifiableListIterator",319 "com.google.gson.internal.bind.TreeTypeAdapter",320 "org.apache.http.client.methods.AbstractExecutionAwareRequest",321 "org.openqa.selenium.remote.ProtocolHandshake",322 "com.google.gson.stream.JsonWriter",323 "com.google.gson.internal.bind.ArrayTypeAdapter$1",324 "org.apache.http.HttpConnectionMetrics",325 "com.google.common.collect.Maps$BiMapConverter",326 "org.apache.http.conn.ConnectionPoolTimeoutException",327 "org.apache.http.client.RedirectStrategy",328 "org.openqa.selenium.remote.internal.ApacheHttpClient$1",329 "org.apache.http.impl.client.BasicCookieStore",330 "org.apache.http.protocol.HttpContext",331 "org.openqa.selenium.remote.CommandExecutor",332 "org.apache.http.HttpResponse",333 "com.google.common.base.Preconditions",334 "org.apache.http.impl.client.HttpClientBuilder",335 "org.openqa.selenium.UnsupportedCommandException",336 "po_utils.DriverProvider",337 "com.google.common.base.CharMatcher$JavaIsoControl",338 "org.apache.http.message.HeaderGroup",339 "org.openqa.selenium.interactions.Interaction",340 "org.apache.http.Header",341 "org.apache.http.conn.HttpHostConnectException",342 "org.apache.http.impl.conn.PoolingHttpClientConnectionManager",343 "org.apache.http.util.ByteArrayBuffer",344 "com.google.gson.internal.bind.JsonAdapterAnnotationTypeAdapterFactory",345 "com.google.common.collect.ImmutableSet",346 "com.google.common.collect.ImmutableMapEntry",347 "org.apache.http.cookie.CookieOrigin",348 "org.openqa.selenium.interactions.Mouse",349 "com.google.gson.internal.bind.TypeAdapters$2",350 "com.google.gson.internal.bind.TypeAdapters$1",351 "com.google.common.collect.ImmutableMultimap$EntryCollection",352 "org.apache.http.protocol.BasicHttpContext",353 "org.apache.http.entity.BasicHttpEntity",354 "com.google.common.collect.Lists$StringAsImmutableList",355 "com.google.gson.internal.bind.TypeAdapters$8",356 "org.apache.http.conn.ssl.DefaultHostnameVerifier",357 "org.apache.http.client.CircularRedirectException",358 "com.google.gson.internal.bind.TypeAdapters$7",359 "com.google.common.collect.Maps$IteratorBasedAbstractMap",360 "com.google.common.base.CharMatcher$SingleWidth",361 "com.google.gson.internal.bind.TypeAdapters$9",362 "com.google.gson.internal.bind.TypeAdapters$4",363 "org.apache.http.impl.execchain.ConnectionHolder",364 "org.apache.commons.logging.impl.Jdk14Logger",365 "com.google.gson.internal.bind.TypeAdapters$3",366 "com.google.gson.internal.bind.TypeAdapters$6",367 "com.google.common.base.Splitter$Strategy",368 "com.google.gson.internal.bind.TypeAdapters$5",369 "org.apache.http.HttpVersion",370 "po.board.components.BoardsComponent",371 "org.openqa.selenium.logging.LogEntry",372 "org.openqa.selenium.remote.ErrorCodes",373 "com.google.common.collect.Multimaps$Entries",374 "org.apache.http.impl.cookie.RFC2965CommentUrlAttributeHandler",375 "org.apache.http.impl.conn.PoolingHttpClientConnectionManager$1",376 "org.apache.http.message.BasicHeaderElementIterator",377 "org.openqa.selenium.internal.FindsByName",378 "org.openqa.selenium.NotFoundException",379 "org.apache.http.auth.AuthScheme",380 "com.google.gson.internal.Streams$AppendableWriter",381 "com.google.gson.JsonSyntaxException",382 "org.openqa.selenium.By",383 "org.apache.http.impl.io.HttpTransportMetricsImpl",384 "org.apache.http.impl.auth.DigestSchemeFactory",385 "org.openqa.selenium.WebDriver$TargetLocator",386 "org.openqa.selenium.support.ui.FluentWait",387 "com.google.common.collect.NaturalOrdering",388 "org.openqa.selenium.remote.ResponseCodec",389 "org.apache.http.impl.conn.LoggingManagedHttpClientConnection",390 "org.apache.http.impl.auth.HttpAuthenticator$1",391 "com.google.common.collect.ImmutableList$SubList",392 "com.google.common.collect.ListMultimap",393 "com.google.common.base.CharMatcher$Whitespace",394 "com.google.gson.TypeAdapter",395 "org.openqa.selenium.remote.ProtocolHandshake$Result",396 "org.apache.http.RequestLine",397 "org.apache.http.impl.io.SessionOutputBufferImpl",398 "com.google.gson.internal.bind.SqlDateTypeAdapter",399 "com.google.common.collect.Multimaps$TransformedEntriesListMultimap",400 "com.google.common.collect.Maps$KeySet",401 "org.apache.http.conn.ClientConnectionManager",402 "org.apache.http.cookie.CookieRestrictionViolationException",403 "org.apache.http.message.LineFormatter",404 "org.apache.http.cookie.CookieSpecProvider",405 "org.apache.http.pool.ConnPoolControl",406 "org.apache.http.HttpRequest",407 "org.openqa.selenium.StaleElementReferenceException",408 "com.google.common.base.CommonPattern",409 "org.apache.http.client.AuthenticationStrategy",410 "com.google.common.collect.MultimapBuilder$1",411 "po.board.pages.BoardsContainerPage",412 "com.google.common.collect.MultimapBuilder$2",413 "com.google.common.collect.ImmutableMultimap$1",414 "com.google.common.collect.MultimapBuilder$3",415 "com.google.common.collect.MultimapBuilder$4",416 "org.openqa.selenium.internal.FindsByTagName",417 "com.google.common.base.Present",418 "org.openqa.selenium.By$ByName",419 "org.apache.http.conn.routing.RouteInfo$LayerType",420 "com.google.gson.internal.bind.TypeAdapters$EnumTypeAdapter",421 "com.google.common.collect.ImmutableMultimap$2",422 "com.google.common.collect.ImmutableMapEntrySet$RegularEntrySet",423 "org.apache.http.message.BasicHeaderValueParser",424 "org.apache.http.io.SessionInputBuffer",425 "po.list.components.BoardListComponent",426 "com.google.common.collect.Lists$TransformingSequentialList",427 "org.apache.http.protocol.HTTP",428 "org.openqa.selenium.internal.WrapsElement",429 "org.apache.http.TokenIterator",430 "org.apache.http.protocol.HttpCoreContext",431 "org.openqa.selenium.NoSuchElementException",432 "com.google.gson.stream.MalformedJsonException",433 "org.openqa.selenium.remote.http.AbstractHttpCommandCodec$CommandSpec",434 "com.google.gson.internal.bind.DateTypeAdapter$1",435 "org.apache.http.ProtocolException",436 "org.apache.http.NoHttpResponseException",437 "com.google.gson.internal.bind.DateTypeAdapter",438 "com.google.common.collect.AbstractMapBasedMultimap$KeySet",439 "com.google.common.collect.Lists$RandomAccessListWrapper",440 "org.apache.http.conn.ssl.StrictHostnameVerifier",441 "org.openqa.selenium.interactions.Keyboard",442 "org.apache.http.io.HttpMessageWriterFactory",443 "com.google.common.collect.ImmutableMultiset$EntrySet",444 "org.apache.http.conn.routing.HttpRoutePlanner",445 "com.google.common.base.Splitter",446 "com.google.common.collect.Maps$6",447 "com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$BoundField",448 "com.google.common.collect.Maps$7",449 "org.apache.http.params.HttpParamsNames",450 "com.google.common.collect.ComparatorOrdering",451 "com.google.common.collect.AbstractIndexedListIterator",452 "com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1",453 "org.apache.http.impl.cookie.IgnoreSpecProvider",454 "com.google.common.collect.CollectPreconditions",455 "org.apache.http.conn.util.PublicSuffixMatcherLoader",456 "org.apache.http.conn.ssl.BrowserCompatHostnameVerifier",457 "org.openqa.selenium.interactions.PointerInput",458 "com.google.common.collect.Maps$ViewCachingAbstractMap",459 "org.apache.http.auth.AuthenticationException",460 "org.apache.http.impl.cookie.NetscapeDraftSpecProvider",461 "org.apache.http.auth.AuthState",462 "org.apache.http.impl.client.DefaultClientConnectionReuseStrategy",463 "com.google.common.collect.ImmutableMap$1",464 "com.google.gson.internal.LazilyParsedNumber",465 "com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter",466 "org.apache.http.conn.routing.HttpRoute",467 "com.google.common.collect.Multimap",468 "com.google.gson.JsonElement",469 "org.apache.http.ssl.SSLInitializationException",470 "org.apache.http.impl.conn.CPoolEntry",471 "org.apache.http.client.CookieStore",472 "com.google.common.base.Splitter$1$1",473 "org.apache.http.io.BufferInfo",474 "com.google.common.base.AbstractIterator$State",475 "org.apache.http.conn.socket.PlainConnectionSocketFactory",476 "org.apache.http.impl.io.IdentityOutputStream",477 "org.apache.http.client.HttpRequestRetryHandler",478 "org.openqa.selenium.remote.ErrorCodes$KnownError",479 "org.apache.http.impl.cookie.DefaultCookieSpecProvider$1",480 "custom_classes.CardDescription",481 "org.apache.http.impl.client.InternalHttpClient",482 "org.apache.http.HeaderElement",483 "po_utils.PageComponent",484 "com.google.common.base.CharMatcher$Or",485 "org.apache.http.impl.io.SessionInputBufferImpl",486 "org.apache.http.impl.execchain.RetryExec",487 "com.google.common.base.AbstractIterator",488 "org.apache.http.conn.routing.RouteInfo",489 "org.apache.http.message.ParserCursor",490 "org.apache.http.io.HttpMessageParserFactory",491 "org.apache.http.impl.conn.DefaultHttpResponseParserFactory",492 "com.google.common.collect.MultimapBuilder",493 "org.apache.http.impl.execchain.RequestAbortedException",494 "com.google.common.base.JdkPattern",495 "com.google.gson.internal.bind.JsonTreeWriter",496 "com.google.gson.GsonBuilder",497 "org.openqa.selenium.logging.LogEntry$1",498 "org.openqa.selenium.chrome.ChromeOptions",499 "org.apache.http.impl.execchain.ProtocolExec",500 "po_utils.ConstantLocators",501 "org.apache.http.cookie.MalformedCookieException",502 "org.openqa.selenium.remote.UselessFileDetector",503 "com.google.common.collect.AbstractMapBasedMultiset$1",504 "com.google.gson.internal.bind.TimeTypeAdapter",505 "org.openqa.selenium.interactions.Sequence",506 "org.apache.http.MessageConstraintException",507 "com.google.common.collect.RegularImmutableBiMap",508 "org.apache.http.conn.HttpClientConnectionManager",509 "org.apache.http.HttpException",510 "org.openqa.selenium.remote.http.AbstractHttpResponseCodec",511 "com.google.gson.LongSerializationPolicy",512 "org.openqa.selenium.interactions.Pause",513 "com.google.common.base.CharMatcher$None",514 "com.google.common.collect.ImmutableSet$Indexed$1",515 "org.openqa.selenium.logging.profiler.ProfilerLogEntry",516 "org.apache.http.pool.RouteSpecificPool",517 "com.google.common.collect.Maps$TransformedEntriesMap",518 "org.apache.http.client.methods.Configurable",519 "com.google.common.collect.NullsFirstOrdering",520 "org.openqa.selenium.OutputType",521 "com.google.gson.JsonParser",522 "org.openqa.selenium.remote.RemoteWebDriver$When",523 "com.google.common.collect.RegularImmutableMultiset$NonTerminalEntry",524 "org.apache.http.impl.io.ContentLengthInputStream",525 "org.apache.http.auth.Credentials",526 "com.google.gson.Gson$FutureTypeAdapter",527 "com.google.common.collect.Multisets$ImmutableEntry",528 "com.google.common.collect.Count",529 "org.apache.http.io.HttpMessageParser",530 "org.openqa.selenium.remote.FileDetector",531 "po.login.components.SignUpComponent",532 "org.apache.http.impl.execchain.RedirectExec",533 "com.google.common.base.Absent",534 "com.google.gson.internal.$Gson$Preconditions",535 "org.openqa.selenium.remote.Dialect$1",536 "org.openqa.selenium.remote.Dialect$2",537 "org.apache.http.pool.ConnPool",538 "org.apache.http.auth.AuthProtocolState",539 "org.openqa.selenium.remote.BeanToJsonConverter",540 "com.google.gson.internal.ConstructorConstructor$3",541 "com.google.common.collect.Sets$ImprovedAbstractSet",542 "com.google.common.collect.ImmutableMapEntry$NonTerminalImmutableMapEntry",543 "com.google.gson.JsonNull",544 "org.apache.http.impl.client.AuthenticationStrategyImpl",545 "com.google.common.base.CharMatcher$1",546 "org.openqa.selenium.remote.SessionId",547 "com.google.gson.internal.ConstructorConstructor$8",548 "com.google.common.collect.ImmutableMapValues",549 "com.google.common.base.CharMatcher$FastMatcher",550 "com.google.gson.JsonObject",551 "org.openqa.selenium.remote.http.AbstractHttpCommandCodec$1",552 "com.google.gson.Gson$6",553 "com.google.gson.Gson$2",554 "com.google.common.collect.ImmutableCollection",555 "com.google.gson.Gson$3",556 "com.google.common.collect.Maps$IteratorBasedAbstractMap$1",557 "com.google.gson.Gson$4",558 "com.google.gson.Gson$5",559 "org.apache.http.config.MessageConstraints",560 "org.openqa.selenium.logging.LoggingHandler",561 "com.google.gson.Gson$1",562 "org.apache.http.conn.ConnectionKeepAliveStrategy",563 "org.apache.http.impl.conn.Wire",564 "org.openqa.selenium.remote.RemoteMouse",565 "com.google.common.collect.ImmutableCollection$Builder",566 "com.google.gson.internal.bind.ReflectiveTypeAdapterFactory",567 "com.google.gson.internal.LinkedTreeMap$EntrySet",568 "org.openqa.selenium.remote.HttpCommandExecutor",569 "org.apache.http.HttpEntity",570 "org.apache.http.client.methods.HttpRequestBase",571 "org.openqa.selenium.interactions.InputSource",572 "org.openqa.selenium.interactions.KeyInput",573 "org.apache.http.impl.conn.CPoolProxy",574 "org.openqa.selenium.remote.http.HttpClient",575 "com.google.gson.JsonIOException",576 "po.login.pages.LoginContainerPage",577 "main.ClassUnderTest",578 "org.openqa.selenium.support.ui.Duration",579 "org.openqa.selenium.ScriptTimeoutException",580 "org.apache.http.conn.SchemePortResolver",581 "org.apache.http.impl.io.IdentityInputStream",582 "com.google.common.collect.Multiset",583 "org.apache.http.conn.DnsResolver",584 "org.openqa.selenium.support.ui.ExpectedCondition",585 "org.openqa.selenium.remote.JsonToBeanConverter",586 "org.apache.http.impl.client.TargetAuthenticationStrategy",587 "org.apache.http.impl.cookie.DefaultCookieSpec",588 "org.apache.http.params.CoreProtocolPNames",589 "org.apache.http.client.methods.HttpRequestWrapper$1",590 "org.apache.http.FormattedHeader",591 "com.google.common.collect.ImmutableList",592 "po.login.pages.SignUpContainerPage",593 "com.google.gson.JsonPrimitive",594 "org.apache.http.auth.MalformedChallengeException",595 "org.apache.http.HttpEntityEnclosingRequest",596 "com.google.common.base.CharMatcher$Negated",597 "org.openqa.selenium.remote.http.JsonHttpResponseCodec",598 "org.apache.http.HttpResponseFactory",599 "custom_classes.ListNames",600 "org.apache.http.impl.entity.LaxContentLengthStrategy",601 "org.apache.http.impl.io.ChunkedOutputStream",602 "org.openqa.selenium.Rectangle",603 "org.apache.http.ConnectionReuseStrategy",604 "org.apache.http.client.protocol.RequestDefaultHeaders",605 "com.google.gson.internal.$Gson$Types$ParameterizedTypeImpl",606 "org.openqa.selenium.SessionNotCreatedException",607 "org.apache.http.conn.ManagedHttpClientConnection",608 "org.openqa.selenium.Platform$10",609 "org.openqa.selenium.Platform$11",610 "com.google.common.io.ByteStreams$1",611 "org.apache.http.util.LangUtils",612 "org.openqa.selenium.Platform$14",613 "org.openqa.selenium.Platform$15",614 "org.openqa.selenium.Platform$12",615 "org.openqa.selenium.Platform$13",616 "com.google.gson.internal.bind.TypeAdapters$23",617 "org.openqa.selenium.remote.http.JsonHttpCommandCodec",618 "com.google.gson.internal.bind.TypeAdapters$24",619 "com.google.gson.internal.bind.TypeAdapters$25",620 "org.apache.http.util.Asserts",621 "com.google.gson.internal.bind.TypeAdapters$26",622 "org.apache.http.StatusLine",623 "com.google.gson.internal.bind.TypeAdapters$20",624 "com.google.common.collect.AbstractMapBasedMultimap$WrappedCollection",625 "com.google.gson.internal.bind.TypeAdapters$21",626 "com.google.gson.internal.bind.TypeAdapters$22",627 "org.openqa.selenium.remote.RemoteWebElement",628 "org.apache.http.cookie.SetCookie",629 "com.google.gson.internal.bind.TypeAdapters$27",630 "com.google.gson.FieldNamingStrategy",631 "com.google.gson.internal.bind.TypeAdapters$28",632 "org.apache.http.conn.HttpConnectionFactory",633 "com.google.gson.internal.bind.TypeAdapters$29",634 "com.google.common.base.Optional",635 "com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper",636 "org.openqa.selenium.Platform$16",637 "org.openqa.selenium.Platform$17",638 "org.apache.http.HttpRequestInterceptor",639 "org.apache.http.client.AuthCache",640 "com.google.common.base.CharMatcher$IsNot",641 "org.apache.http.pool.AbstractConnPool",642 "org.apache.http.HeaderIterator",643 "com.google.common.base.CharMatcher$NegatedFastMatcher",644 "org.apache.http.HttpInetConnection",645 "com.google.gson.internal.bind.TypeAdapters$34",646 "org.apache.http.entity.ContentType",647 "com.google.gson.internal.bind.TypeAdapters$35",648 "com.google.gson.internal.bind.TypeAdapters$36",649 "org.openqa.selenium.remote.DesiredCapabilities",650 "com.google.gson.internal.bind.TypeAdapters$30",651 "com.google.gson.internal.bind.TypeAdapters$32",652 "com.google.gson.internal.bind.TypeAdapters$33",653 "com.google.gson.JsonArray",654 "com.google.common.base.CharMatcher$IsEither",655 "com.google.common.collect.LexicographicalOrdering",656 "org.apache.http.impl.cookie.DefaultCookieSpecProvider",657 "org.openqa.selenium.internal.FindsByCssSelector",658 "com.google.common.collect.Multisets$5",659 "org.openqa.selenium.logging.Logs",660 "com.google.gson.internal.LinkedTreeMap$EntrySet$1",661 "com.google.common.collect.Iterables",662 "po.login.components.LoginComponent",663 "org.apache.http.impl.io.EmptyInputStream",664 "org.openqa.selenium.interactions.PointerInput$PointerPress",665 "com.google.common.collect.RegularImmutableAsList",666 "org.apache.http.client.RedirectException",667 "org.apache.http.client.methods.HttpUriRequest",668 "org.apache.http.client.methods.HttpRequestWrapper",669 "org.openqa.selenium.remote.ErrorHandler",670 "org.openqa.selenium.Platform$5",671 "org.apache.http.impl.cookie.BasicSecureHandler",672 "org.openqa.selenium.Platform$6",673 "org.openqa.selenium.Platform$3",674 "custom_classes.Id",675 "org.openqa.selenium.TakesScreenshot",676 "org.openqa.selenium.Platform$4",677 "com.google.common.base.PatternCompiler",678 "org.openqa.selenium.remote.RemoteWebDriver$RemoteNavigation",679 "org.openqa.selenium.Platform$9",680 "org.apache.http.client.HttpClient",681 "org.openqa.selenium.Platform$7",682 "org.openqa.selenium.Platform$8",683 "com.google.gson.internal.LinkedTreeMap$Node",684 "org.apache.http.cookie.Cookie",685 "org.openqa.selenium.Platform$1",686 "org.apache.http.impl.auth.SPNegoSchemeFactory",687 "org.openqa.selenium.Platform$2",688 "po_utils.Range",689 "org.openqa.selenium.WebDriver$Navigation",690 "com.google.common.collect.ObjectArrays",691 "com.google.gson.internal.bind.TypeAdapters$12",692 "org.openqa.selenium.Platform",693 "com.google.gson.internal.bind.TypeAdapters$13",694 "com.google.gson.internal.bind.TypeAdapters$14",695 "com.google.gson.internal.bind.TypeAdapters$15",696 "com.google.common.collect.ImmutableList$1",697 "org.apache.http.impl.conn.CPool",698 "com.google.gson.internal.bind.TypeAdapters$10",699 "com.google.gson.internal.bind.TypeAdapters$11",700 "com.google.gson.internal.bind.TypeAdapters$16",701 "com.google.common.collect.SortedIterable",702 "com.google.gson.internal.bind.TypeAdapters$17",703 "com.google.gson.internal.bind.TypeAdapters$18",704 "org.openqa.selenium.By$ByXPath",705 "com.google.gson.internal.bind.TypeAdapters$19",706 "org.apache.http.util.VersionInfo",707 "org.apache.http.impl.cookie.RFC2109VersionHandler",708 "org.openqa.selenium.logging.StoringLocalLogs",709 "com.google.common.collect.UnmodifiableIterator",710 "com.google.common.collect.AbstractMapBasedMultimap$RandomAccessWrappedList",711 "org.apache.http.HttpHost",712 "org.openqa.selenium.remote.Command",713 "com.google.gson.TypeAdapter$1",714 "org.apache.http.message.BasicHeaderElement",715 "com.google.common.collect.MultimapBuilder$SortedSetMultimapBuilder",716 "com.google.common.collect.AbstractMapBasedMultimap$WrappedCollection$WrappedIterator",717 "org.apache.http.impl.cookie.RFC2965DiscardAttributeHandler",718 "org.apache.http.impl.execchain.MainClientExec",719 "org.apache.http.protocol.HttpProcessorBuilder",720 "org.openqa.selenium.remote.ExecuteMethod",721 "org.openqa.selenium.interactions.Actions",722 "com.google.common.base.CharMatcher$RangesMatcher",723 "com.google.common.collect.SingletonImmutableList",724 "org.apache.http.message.LineParser",725 "com.google.common.base.Function",726 "com.google.common.collect.ImmutableMap",727 "org.apache.http.impl.io.AbstractMessageWriter",728 "org.apache.http.message.BufferedHeader",729 "org.openqa.selenium.remote.internal.HttpClientFactory",730 "com.google.common.io.ByteStreams$LimitedInputStream",731 "org.apache.http.conn.socket.LayeredConnectionSocketFactory",732 "com.google.common.collect.ExplicitOrdering",733 "org.apache.http.client.protocol.RequestAddCookies",734 "com.google.gson.internal.bind.ObjectTypeAdapter$1",735 "com.google.gson.JsonParseException",736 "org.apache.http.impl.conn.DefaultRoutePlanner",737 "org.apache.http.impl.auth.BasicSchemeFactory",738 "com.google.common.collect.SingletonImmutableBiMap",739 "com.google.common.collect.Multisets$EntrySet",740 "po.shared.components.NavbarComponent",741 "org.openqa.selenium.logging.profiler.EventType",742 "org.openqa.selenium.WebDriver$Options",743 "com.google.gson.internal.ConstructorConstructor$13",744 "org.apache.http.impl.client.CloseableHttpClient",745 "org.openqa.selenium.support.ui.ExpectedConditions$6",746 "com.google.common.collect.Maps",747 "com.google.common.primitives.Ints",748 "com.google.common.collect.SetMultimap",749 "org.openqa.selenium.logging.profiler.HttpProfilerLogEntry",750 "com.google.common.collect.TransformedIterator",751 "org.apache.http.impl.cookie.AbstractCookieSpec",752 "org.apache.http.impl.client.CookieSpecRegistries",753 "com.google.common.base.Splitter$SplittingIterator",754 "org.openqa.selenium.NoSuchWindowException",755 "org.openqa.selenium.remote.internal.WebElementToJsonConverter",756 "org.openqa.selenium.ImeActivationFailedException",757 "com.google.common.collect.ImmutableSet$Indexed",758 "com.google.common.net.MediaType$2",759 "org.openqa.selenium.logging.LoggingPreferences",760 "com.google.common.base.Platform$JdkPatternCompiler",761 "org.apache.http.config.SocketConfig$Builder",762 "com.google.common.collect.LinkedHashMultiset",763 "po.list.pages.modals.CardDetails",764 "org.apache.http.impl.client.DefaultUserTokenHandler",765 "org.apache.http.impl.cookie.BasicDomainHandler",766 "org.openqa.selenium.InvalidElementStateException",767 "org.openqa.selenium.InvalidCookieDomainException",768 "com.google.common.base.CharMatcher$JavaLetterOrDigit",769 "org.openqa.selenium.ElementNotSelectableException",770 "org.apache.http.cookie.CookieSpec",771 "com.google.common.collect.Iterators$10",772 "com.google.common.collect.Iterators$12",773 "com.google.common.collect.Iterators$11",774 "com.google.gson.internal.bind.TypeAdapters$35$1",775 "com.google.common.base.Predicate",776 "po_utils.DriverProvider$1",777 "po_utils.BasePageObject",778 "org.openqa.selenium.support.ui.WebDriverWait",779 "com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter",780 "com.google.common.collect.AbstractListMultimap",781 "org.apache.http.impl.cookie.BasicCommentHandler",782 "com.google.gson.internal.$Gson$Types",783 "org.openqa.selenium.interactions.Action",784 "org.openqa.selenium.remote.internal.JsonToWebElementConverter",785 "com.google.common.io.ByteArrayDataInput",786 "org.apache.http.impl.conn.SystemDefaultRoutePlanner",787 "org.apache.http.impl.BHttpConnectionBase",788 "com.google.common.collect.ImmutableMultimap",789 "org.apache.http.impl.cookie.RFC6265CookieSpecProvider",790 "com.google.common.base.Charsets",791 "org.openqa.selenium.remote.Response",792 "com.google.common.base.CharMatcher",793 "com.google.common.base.Joiner$MapJoiner",794 "org.apache.http.concurrent.FutureCallback",795 "org.apache.http.impl.io.ChunkedInputStream",796 "com.google.gson.stream.JsonToken",797 "com.google.common.collect.AbstractMultiset$EntrySet",798 "org.apache.http.params.HttpParams",799 "com.google.gson.LongSerializationPolicy$1",800 "com.google.gson.LongSerializationPolicy$2",801 "org.apache.http.impl.cookie.RFC2965VersionAttributeHandler",802 "org.apache.http.impl.io.DefaultHttpRequestWriterFactory",803 "org.apache.http.client.protocol.RequestAuthCache",804 "org.apache.http.impl.conn.DefaultSchemePortResolver",805 "org.apache.http.impl.conn.PoolingHttpClientConnectionManager$InternalConnectionFactory",806 "org.apache.http.util.EntityUtils",807 "org.apache.http.impl.client.BasicCredentialsProvider",808 "org.openqa.selenium.JavascriptExecutor",809 "org.apache.http.conn.ssl.X509HostnameVerifier",810 "org.apache.http.protocol.ChainBuilder",811 "org.apache.http.impl.cookie.RFC2965PortAttributeHandler",812 "com.google.gson.Gson",813 "org.apache.http.impl.client.DefaultHttpRequestRetryHandler",814 "org.openqa.selenium.interactions.MoveTargetOutOfBoundsException",815 "org.openqa.selenium.logging.CompositeLocalLogs",816 "com.google.common.base.Objects",817 "org.apache.http.impl.auth.KerberosSchemeFactory",818 "org.openqa.selenium.interactions.HasInputDevices",819 "com.google.common.io.ByteArrayDataOutput",820 "com.google.common.collect.Iterators$6",821 "com.google.common.collect.BiMap",822 "com.google.common.collect.Iterators$7",823 "com.google.common.collect.SortedSetMultimap",824 "org.apache.http.conn.EofSensorInputStream",825 "org.apache.http.conn.util.PublicSuffixListParser",826 "org.apache.http.conn.EofSensorWatcher",827 "org.apache.http.pool.PoolEntryFuture",828 "org.apache.http.impl.DefaultConnectionReuseStrategy",829 "com.google.common.collect.Iterators$1",830 "com.google.common.collect.Iterators$2",831 "com.google.common.collect.Iterators$3",832 "po_utils.PageObject",833 "com.google.common.collect.Iterators$5",834 "com.google.common.collect.CollectCollectors",835 "com.google.gson.internal.Excluder$1",836 "com.google.common.base.ExtraObjectsMethodsForWeb",837 "com.google.common.collect.RegularImmutableBiMap$Inverse",838 "com.google.common.collect.Maps$EntrySet",839 "com.google.common.collect.ImmutableMultimap$Builder",840 "org.apache.http.config.ConnectionConfig$Builder",841 "org.apache.http.client.protocol.ResponseContentEncoding$1",842 "org.apache.http.message.BasicListHeaderIterator",843 "org.openqa.selenium.remote.UnreachableBrowserException",844 "po_utils.Wait",845 "org.apache.http.client.protocol.ResponseContentEncoding$2",846 "com.google.common.collect.AbstractMultimap",847 "com.google.gson.internal.LinkedTreeMap$LinkedTreeMapIterator",848 "org.apache.http.impl.io.DefaultHttpRequestWriter",849 "org.openqa.selenium.remote.CommandCodec",850 "com.google.gson.internal.bind.CollectionTypeAdapterFactory",851 "com.google.common.collect.ImmutableBiMapFauxverideShim",852 "org.apache.http.message.AbstractHttpMessage",853 "org.apache.http.cookie.CommonCookieAttributeHandler",854 "org.apache.http.ReasonPhraseCatalog",855 "com.google.common.base.CharMatcher$Ascii",856 "com.google.common.collect.ImmutableMap$Builder",857 "org.apache.http.entity.HttpEntityWrapper",858 "org.apache.http.message.BasicHeader",859 "org.apache.http.impl.entity.StrictContentLengthStrategy",860 "org.apache.http.impl.conn.ConnectionShutdownException",861 "org.apache.http.client.protocol.ResponseContentEncoding",862 "org.apache.http.message.BasicLineParser",863 "org.apache.http.auth.AuthSchemeProvider",864 "com.google.gson.reflect.TypeToken",865 "com.google.common.io.ByteStreams$FastByteArrayOutputStream",866 "org.apache.http.config.SocketConfig",867 "org.apache.http.client.config.RequestConfig",868 "org.openqa.selenium.interactions.PointerInput$Kind",869 "org.apache.http.impl.DefaultBHttpClientConnection",870 "com.google.common.collect.RegularImmutableList",871 "org.apache.http.impl.cookie.CookieSpecBase",872 "org.apache.http.impl.DefaultHttpResponseFactory",873 "org.apache.http.protocol.RequestContent",874 "org.apache.http.ssl.SSLContexts",875 "com.google.common.collect.Lists$TransformingRandomAccessList",876 "com.google.common.collect.RegularImmutableMap$KeySet",877 "org.apache.http.impl.conn.DefaultHttpClientConnectionOperator",878 "com.google.common.collect.ImmutableMapKeySet",879 "com.google.common.collect.MultimapBuilder$MultimapBuilderWithKeys$4",880 "com.google.common.collect.MultimapBuilder$MultimapBuilderWithKeys$3",881 "org.apache.http.client.utils.URIBuilder",882 "com.google.common.collect.MultimapBuilder$MultimapBuilderWithKeys$2",883 "com.google.common.collect.MultimapBuilder$MultimapBuilderWithKeys$1",884 "com.google.common.collect.MultimapBuilder$MultimapBuilderWithKeys$6",885 "com.google.common.collect.Multisets",886 "com.google.common.collect.MultimapBuilder$MultimapBuilderWithKeys$5",887 "org.openqa.selenium.support.ui.Clock",888 "org.apache.http.conn.socket.ConnectionSocketFactory",889 "org.apache.http.conn.HttpClientConnectionOperator",890 "com.google.common.io.ByteStreams",891 "org.apache.http.impl.cookie.RFC2109DomainHandler",892 "org.apache.http.pool.PoolEntry",893 "com.google.common.collect.ImmutableSet$Builder",894 "org.openqa.selenium.logging.SessionLogs",895 "org.apache.http.message.BasicLineFormatter",896 "com.google.gson.stream.JsonReader",897 "org.openqa.selenium.interactions.PointerInput$Move",898 "org.apache.http.impl.conn.ManagedHttpClientConnectionFactory",899 "com.google.gson.internal.bind.MapTypeAdapterFactory",900 "org.apache.http.client.methods.AbortableHttpRequest",901 "com.google.common.collect.UsingToStringOrdering",902 "org.apache.http.auth.AuthSchemeFactory",903 "org.apache.http.protocol.ImmutableHttpProcessor",904 "com.google.common.collect.AbstractMapBasedMultimap$AsMap",905 "com.google.common.net.MediaType",906 "org.apache.http.impl.conn.PoolingHttpClientConnectionManager$ConfigData",907 "org.apache.http.impl.cookie.RFC2965Spec",908 "org.openqa.selenium.remote.RemoteWebDriver",909 "org.openqa.selenium.ElementNotInteractableException",910 "org.apache.http.impl.cookie.RFC2109Spec",911 "org.apache.http.impl.auth.NTLMSchemeFactory",912 "org.openqa.selenium.support.ui.Sleeper$1",913 "com.google.common.collect.MapDifference",914 "com.google.gson.internal.bind.ArrayTypeAdapter",915 "custom_classes.PeopleNames",916 "com.google.common.base.CharMatcher$AnyOf",917 "custom_classes.Passwords",918 "org.apache.http.client.methods.HttpEntityEnclosingRequestBase",919 "org.apache.http.params.BasicHttpParams",920 "org.openqa.selenium.internal.HasIdentity",921 "com.google.common.collect.MultimapBuilder$ListMultimapBuilder",922 "org.apache.http.impl.cookie.BasicExpiresHandler",923 "org.apache.http.impl.execchain.ResponseEntityProxy",924 "com.google.gson.internal.bind.TypeAdapters$26$1",925 "org.apache.http.concurrent.Cancellable",926 "com.google.common.base.Platform",927 "org.apache.http.impl.cookie.PublicSuffixDomainFilter",928 "org.apache.http.impl.io.ContentLengthOutputStream",929 "com.google.common.collect.ImmutableList$ReverseImmutableList",930 "org.apache.http.entity.ContentLengthStrategy",931 "po_utils.NotInTheRightPageObjectException",932 "org.apache.http.Consts",933 "org.apache.http.impl.cookie.DefaultCookieSpecProvider$CompatibilityLevel",934 "org.apache.http.conn.ssl.SSLConnectionSocketFactory",935 "org.apache.http.message.TokenParser",936 "org.openqa.selenium.support.ui.ExpectedConditions",937 "org.apache.http.util.Args",938 "org.apache.http.params.HttpProtocolParams",939 "org.apache.http.impl.client.DefaultConnectionKeepAliveStrategy",940 "org.openqa.selenium.Capabilities",941 "com.google.common.primitives.Ints$IntConverter",942 "org.openqa.selenium.remote.internal.ApacheHttpClient$Factory",943 "org.openqa.selenium.TimeoutException",944 "com.google.gson.internal.bind.JsonTreeReader",945 "org.apache.http.impl.EnglishReasonPhraseCatalog",946 "org.apache.http.client.config.RequestConfig$Builder",947 "po_utils.NotTheRightInputValuesException",948 "com.google.gson.internal.LinkedTreeMap",949 "org.apache.http.message.BasicNameValuePair",950 "org.openqa.selenium.support.ui.Wait",951 "com.google.common.collect.Iterables$6",952 "com.google.common.collect.MultimapBuilder$MultimapBuilderWithKeys",953 "org.openqa.selenium.By$ByLinkText",954 "com.google.common.collect.ImmutableMapEntry$NonTerminalImmutableBiMapEntry",955 "org.openqa.selenium.InvalidSelectorException",956 "com.google.common.collect.ImmutableBiMap",957 "po_utils.MyProperties",958 "org.apache.http.client.methods.CloseableHttpResponse",959 "org.openqa.selenium.remote.HttpSessionId",960 "com.google.common.base.Splitter$5",961 "org.openqa.selenium.By$ByTagName",962 "org.apache.http.impl.cookie.NetscapeDraftSpec",963 "com.google.common.base.Ascii",964 "org.openqa.selenium.By$ByCssSelector",965 "org.apache.http.client.methods.HttpExecutionAware",966 "com.google.common.net.MediaType$1",967 "com.google.common.base.Splitter$1",968 "org.openqa.selenium.interactions.IsInteraction",969 "org.openqa.selenium.internal.WrapsDriver",970 "org.apache.http.impl.cookie.RFC2965DomainAttributeHandler"971 );972 } 973 private static void resetClasses() {974 org.evosuite.runtime.classhandling.ClassResetter.getInstance().setClassLoader(ClassUnderTest_ESTest_scaffolding.class.getClassLoader()); 975 org.evosuite.runtime.classhandling.ClassStateSupport.resetClasses(976 "po_utils.DriverProvider",977 "po_utils.MyProperties",978 "org.openqa.selenium.remote.DesiredCapabilities",979 "org.openqa.selenium.Platform$1",980 "org.openqa.selenium.Platform$2",981 "org.openqa.selenium.Platform$3",982 "org.openqa.selenium.Platform$4",983 "org.openqa.selenium.Platform$5",984 "org.openqa.selenium.Platform$6",985 "org.openqa.selenium.Platform$7",986 "org.openqa.selenium.Platform$8",987 "org.openqa.selenium.Platform$9",988 "org.openqa.selenium.Platform$10",989 "org.openqa.selenium.Platform$11",990 "org.openqa.selenium.Platform$12",991 "org.openqa.selenium.Platform$13",992 "org.openqa.selenium.Platform$14",993 "org.openqa.selenium.Platform$15",994 "org.openqa.selenium.Platform$16",995 "org.openqa.selenium.Platform$17",996 "org.openqa.selenium.Platform",997 "org.openqa.selenium.chrome.ChromeOptions",998 "com.google.common.collect.Collections2",999 "com.google.common.collect.Maps",1000 "com.google.common.collect.ImmutableCollection",1001 "com.google.common.collect.ImmutableList",1002 "com.google.common.collect.ObjectArrays",1003 "com.google.common.collect.RegularImmutableList",1004 "org.openqa.selenium.remote.RemoteWebDriver",1005 "org.openqa.selenium.remote.HttpCommandExecutor",1006 "com.google.common.collect.ImmutableMap",1007 "com.google.common.collect.ImmutableBiMapFauxverideShim",1008 "com.google.common.collect.ImmutableBiMap",1009 "com.google.common.collect.RegularImmutableBiMap",1010 "org.openqa.selenium.remote.internal.ApacheHttpClient$Factory",1011 "org.openqa.selenium.remote.internal.HttpClientFactory",1012 "org.apache.http.conn.socket.PlainConnectionSocketFactory",1013 "org.apache.http.conn.ssl.AbstractVerifier",1014 "org.apache.commons.logging.impl.Jdk14Logger",1015 "org.apache.http.conn.ssl.AllowAllHostnameVerifier",1016 "org.apache.http.conn.ssl.BrowserCompatHostnameVerifier",1017 "org.apache.http.conn.ssl.StrictHostnameVerifier",1018 "org.apache.http.conn.ssl.SSLConnectionSocketFactory",1019 "org.apache.http.conn.ssl.DefaultHostnameVerifier",1020 "org.apache.http.conn.util.PublicSuffixMatcherLoader",1021 "org.apache.http.Consts",1022 "org.apache.http.conn.util.DomainType",1023 "org.apache.http.impl.conn.DefaultHttpClientConnectionOperator",1024 "org.apache.http.impl.conn.DefaultSchemePortResolver",1025 "org.apache.http.impl.conn.SystemDefaultDnsResolver",1026 "org.apache.http.impl.conn.CPool",1027 "org.apache.http.message.BasicLineFormatter",1028 "org.apache.http.impl.io.DefaultHttpRequestWriterFactory",1029 "org.apache.http.ProtocolVersion",1030 "org.apache.http.HttpVersion",1031 "org.apache.http.message.BasicLineParser",1032 "org.apache.http.impl.EnglishReasonPhraseCatalog",1033 "org.apache.http.impl.DefaultHttpResponseFactory",1034 "org.apache.http.impl.conn.DefaultHttpResponseParserFactory",1035 "org.apache.http.impl.entity.LaxContentLengthStrategy",1036 "org.apache.http.impl.entity.StrictContentLengthStrategy",1037 "org.apache.http.impl.conn.ManagedHttpClientConnectionFactory",1038 "org.apache.http.config.SocketConfig",1039 "org.apache.http.client.config.RequestConfig",1040 "org.apache.http.protocol.HttpRequestExecutor",1041 "org.apache.http.impl.DefaultConnectionReuseStrategy",1042 "org.apache.http.impl.client.DefaultClientConnectionReuseStrategy",1043 "org.apache.http.impl.client.DefaultConnectionKeepAliveStrategy",1044 "org.apache.http.impl.client.AuthenticationStrategyImpl",1045 "org.apache.http.impl.client.TargetAuthenticationStrategy",1046 "org.apache.http.impl.client.ProxyAuthenticationStrategy",1047 "org.apache.http.impl.client.DefaultUserTokenHandler",1048 "org.apache.http.util.VersionInfo",1049 "org.apache.http.client.protocol.RequestClientConnControl",1050 "org.apache.http.client.protocol.ResponseContentEncoding",1051 "org.apache.http.impl.client.DefaultHttpRequestRetryHandler",1052 "org.apache.http.impl.client.DefaultRedirectStrategy",1053 "org.apache.http.impl.cookie.DefaultCookieSpecProvider$CompatibilityLevel",1054 "org.apache.http.impl.cookie.RFC6265CookieSpecProvider$CompatibilityLevel",1055 "org.apache.http.impl.client.BasicCookieStore",1056 "org.apache.http.cookie.CookieIdentityComparator",1057 "org.openqa.selenium.logging.LocalLogs",1058 "org.openqa.selenium.remote.internal.ApacheHttpClient",1059 "org.apache.http.HttpHost",1060 "org.openqa.selenium.remote.ErrorHandler",1061 "com.google.common.collect.ImmutableSet",1062 "com.google.common.collect.ImmutableCollection$Builder",1063 "com.google.common.collect.Hashing",1064 "com.google.common.collect.ImmutableSet$Indexed",1065 "com.google.common.collect.RegularImmutableSet",1066 "com.google.common.collect.ImmutableAsList",1067 "com.google.common.collect.RegularImmutableAsList",1068 "com.google.common.collect.Iterators",1069 "org.openqa.selenium.remote.ErrorCodes",1070 "org.openqa.selenium.logging.LoggingHandler",1071 "org.openqa.selenium.logging.LoggingPreferences",1072 "com.google.common.collect.SingletonImmutableSet",1073 "org.openqa.selenium.remote.RemoteLogs",1074 "com.google.common.collect.ImmutableEntry",1075 "com.google.common.collect.ImmutableMapEntry",1076 "com.google.common.collect.SingletonImmutableBiMap",1077 "org.openqa.selenium.remote.RemoteWebDriver$When",1078 "org.openqa.selenium.remote.RemoteWebDriver$1",1079 "org.openqa.selenium.remote.ProtocolHandshake",1080 "org.openqa.selenium.logging.LogEntry",1081 "org.openqa.selenium.logging.profiler.EventType",1082 "com.google.common.collect.RegularImmutableMap",1083 "com.google.common.collect.ImmutableMapEntry$NonTerminalImmutableMapEntry",1084 "com.google.gson.internal.$Gson$Types",1085 "com.google.gson.Gson",1086 "com.google.gson.internal.Excluder",1087 "com.google.gson.FieldNamingPolicy$1",1088 "com.google.gson.FieldNamingPolicy$2",1089 "com.google.gson.FieldNamingPolicy$3",1090 "com.google.gson.FieldNamingPolicy$4",1091 "com.google.gson.FieldNamingPolicy$5",1092 "com.google.gson.FieldNamingPolicy",1093 "com.google.gson.LongSerializationPolicy$1",1094 "com.google.gson.LongSerializationPolicy$2",1095 "com.google.gson.LongSerializationPolicy",1096 "com.google.gson.internal.bind.TypeAdapters$27",1097 "com.google.gson.internal.bind.TypeAdapters",1098 "com.google.gson.internal.bind.ObjectTypeAdapter",1099 "com.google.gson.internal.bind.DateTypeAdapter",1100 "com.google.gson.internal.bind.TimeTypeAdapter",1101 "com.google.gson.internal.bind.SqlDateTypeAdapter",1102 "com.google.gson.internal.bind.ArrayTypeAdapter",1103 "com.google.gson.stream.JsonWriter",1104 "com.google.common.collect.ImmutableMapEntrySet",1105 "com.google.common.collect.ImmutableMapEntrySet$RegularEntrySet",1106 "org.openqa.selenium.remote.BeanToJsonConverter",1107 "com.google.gson.internal.LinkedTreeMap",1108 "com.google.gson.JsonPrimitive",1109 "com.google.common.primitives.Ints",1110 "com.google.gson.internal.bind.JsonTreeWriter",1111 "com.google.gson.JsonNull",1112 "com.google.gson.internal.$Gson$Types$ParameterizedTypeImpl",1113 "com.google.common.base.Charsets",1114 "org.openqa.selenium.remote.http.HttpMethod",1115 "com.google.common.collect.AbstractMapBasedMultimap",1116 "com.google.common.collect.AbstractListMultimap",1117 "com.google.common.collect.Multimaps$CustomListMultimap",1118 "com.google.common.base.Ascii",1119 "com.google.common.collect.ImmutableMultimap",1120 "com.google.common.collect.ImmutableListMultimap",1121 "com.google.common.collect.MultimapBuilder",1122 "com.google.common.collect.MultimapBuilder$MultimapBuilderWithKeys",1123 "com.google.common.collect.MultimapBuilder$ArrayListSupplier",1124 "com.google.common.collect.SingletonImmutableList",1125 "com.google.common.base.CharMatcher$Whitespace",1126 "com.google.common.base.CharMatcher$BreakingWhitespace",1127 "com.google.common.base.CharMatcher$Ascii",1128 "com.google.common.base.CharMatcher$Digit",1129 "com.google.common.base.CharMatcher$JavaDigit",1130 "com.google.common.base.CharMatcher$JavaLetter",1131 "com.google.common.base.CharMatcher$JavaLetterOrDigit",1132 "com.google.common.base.CharMatcher$JavaUpperCase",1133 "com.google.common.base.CharMatcher$JavaLowerCase",1134 "com.google.common.base.CharMatcher$JavaIsoControl",1135 "com.google.common.base.CharMatcher$Invisible",1136 "com.google.common.base.CharMatcher$SingleWidth",1137 "com.google.common.base.CharMatcher$Any",1138 "com.google.common.base.CharMatcher$None",1139 "com.google.common.base.CharMatcher",1140 "com.google.common.collect.EmptyImmutableListMultimap",1141 "com.google.common.collect.ImmutableMultiset",1142 "com.google.common.collect.AbstractMapBasedMultiset",1143 "com.google.common.collect.LinkedHashMultiset",1144 "com.google.common.collect.Ordering",1145 "com.google.common.collect.Multisets",1146 "com.google.common.collect.Count",1147 "com.google.common.collect.RegularImmutableMultiset",1148 "com.google.common.collect.Multisets$ImmutableEntry",1149 "com.google.common.net.MediaType",1150 "com.google.common.collect.ImmutableMultimap$EntryCollection",1151 "org.openqa.selenium.remote.internal.ApacheHttpClient$1",1152 "org.apache.http.client.methods.HttpPost",1153 "org.apache.http.message.HeaderGroup",1154 "org.apache.http.message.BasicHeader",1155 "org.apache.http.entity.AbstractHttpEntity",1156 "com.google.common.io.ByteStreams",1157 "org.apache.http.params.BasicHttpParams",1158 "org.apache.http.message.BasicRequestLine",1159 "org.apache.http.protocol.HttpCoreContext",1160 "org.apache.http.client.protocol.HttpClientContext",1161 "org.apache.http.auth.AuthProtocolState",1162 "org.apache.http.impl.conn.SystemDefaultRoutePlanner$1",1163 "org.apache.http.conn.routing.RouteInfo$TunnelType",1164 "org.apache.http.conn.routing.RouteInfo$LayerType",1165 "org.apache.http.impl.cookie.RFC2109Spec",1166 "org.apache.http.impl.cookie.NetscapeDraftSpec",1167 "org.apache.http.util.LangUtils",1168 "org.apache.http.config.ConnectionConfig",1169 "org.apache.http.config.MessageConstraints",1170 "org.apache.http.util.ByteArrayBuffer",1171 "org.apache.http.impl.io.SessionOutputBufferImpl",1172 "org.apache.http.impl.HttpConnectionMetricsImpl",1173 "org.apache.http.util.CharArrayBuffer",1174 "org.apache.http.impl.io.AbstractMessageParser",1175 "org.apache.http.impl.auth.HttpAuthenticator$1",1176 "org.apache.http.protocol.HTTP",1177 "org.apache.http.message.BasicStatusLine",1178 "org.apache.http.message.BufferedHeader",1179 "org.apache.http.impl.io.ContentLengthInputStream",1180 "org.apache.http.message.BasicTokenIterator",1181 "org.apache.http.message.TokenParser",1182 "org.apache.http.message.BasicHeaderValueParser",1183 "org.apache.http.impl.io.EmptyInputStream",1184 "org.openqa.selenium.remote.http.HttpResponse",1185 "org.apache.http.message.BasicNameValuePair",1186 "com.google.gson.internal.JsonReaderInternalAccess",1187 "com.google.gson.stream.JsonReader",1188 "com.google.gson.stream.JsonToken",1189 "com.google.gson.internal.bind.TypeAdapters$36",1190 "com.google.gson.internal.LazilyParsedNumber",1191 "org.openqa.selenium.remote.Dialect$1",1192 "org.openqa.selenium.remote.Dialect$2",1193 "org.openqa.selenium.remote.Dialect",1194 "org.openqa.selenium.remote.SessionId",1195 "org.openqa.selenium.remote.http.AbstractHttpCommandCodec",1196 "org.openqa.selenium.remote.http.JsonHttpCommandCodec",1197 "com.google.common.base.AbstractIterator$State",1198 "com.google.common.base.AbstractIterator$1",1199 "org.openqa.selenium.remote.http.JsonHttpResponseCodec",1200 "org.openqa.selenium.support.ui.FluentWait",1201 "org.openqa.selenium.support.ui.WebDriverWait",1202 "org.openqa.selenium.support.ui.Sleeper",1203 "org.openqa.selenium.interactions.Actions",1204 "org.openqa.selenium.interactions.PointerInput$Kind",1205 "po_utils.Wait",1206 "org.openqa.selenium.By$ById",1207 "org.openqa.selenium.By$ByXPath",1208 "po_utils.ConstantLocators",1209 "org.openqa.selenium.support.ui.ExpectedConditions",1210 "com.google.common.base.Optional",1211 "com.google.common.base.Absent",1212 "org.openqa.selenium.net.Urls",1213 "org.openqa.selenium.WebDriverException",1214 "org.openqa.selenium.NotFoundException",1215 "org.openqa.selenium.NoSuchElementException",1216 "org.openqa.selenium.TimeoutException",1217 "po_utils.PageObjectLogging",1218 "po_utils.NotInTheRightPageObjectException",1219 "po_utils.NotTheRightInputValuesException",1220 "org.openqa.selenium.remote.http.W3CHttpCommandCodec",1221 "org.openqa.selenium.remote.http.W3CHttpResponseCodec",1222 "com.google.common.base.Platform"1223 );1224 }1225}...

Full Screen

Full Screen

Source:test_ESTest_scaffolding.java Github

copy

Full Screen

1/**2 * Scaffolding file used to store all the setups needed to run 3 * tests automatically generated by EvoSuite4 * Thu Apr 04 02:58:34 GMT 20195 */6package com.test.applications;7import org.evosuite.runtime.annotation.EvoSuiteClassExclude;8import org.junit.BeforeClass;9import org.junit.Before;10import org.junit.After;11import org.junit.AfterClass;12import org.evosuite.runtime.sandbox.Sandbox;13import org.evosuite.runtime.sandbox.Sandbox.SandboxMode;14@EvoSuiteClassExclude15public class test_ESTest_scaffolding {16 @org.junit.Rule 17 public org.evosuite.runtime.vnet.NonFunctionalRequirementRule nfr = new org.evosuite.runtime.vnet.NonFunctionalRequirementRule();18 private static final java.util.Properties defaultProperties = (java.util.Properties) java.lang.System.getProperties().clone(); 19 private org.evosuite.runtime.thread.ThreadStopper threadStopper = new org.evosuite.runtime.thread.ThreadStopper (org.evosuite.runtime.thread.KillSwitchHandler.getInstance(), 3000);20 @BeforeClass 21 public static void initEvoSuiteFramework() { 22 org.evosuite.runtime.RuntimeSettings.className = "com.test.applications.test"; 23 org.evosuite.runtime.GuiSupport.initialize(); 24 org.evosuite.runtime.RuntimeSettings.maxNumberOfThreads = 100; 25 org.evosuite.runtime.RuntimeSettings.maxNumberOfIterationsPerLoop = 10000; 26 org.evosuite.runtime.RuntimeSettings.mockSystemIn = true; 27 org.evosuite.runtime.RuntimeSettings.sandboxMode = org.evosuite.runtime.sandbox.Sandbox.SandboxMode.RECOMMENDED; 28 org.evosuite.runtime.sandbox.Sandbox.initializeSecurityManagerForSUT(); 29 org.evosuite.runtime.classhandling.JDKClassResetter.init();30 setSystemProperties();31 initializeClasses();32 org.evosuite.runtime.Runtime.getInstance().resetRuntime(); 33 } 34 @AfterClass 35 public static void clearEvoSuiteFramework(){ 36 Sandbox.resetDefaultSecurityManager(); 37 java.lang.System.setProperties((java.util.Properties) defaultProperties.clone()); 38 } 39 @Before 40 public void initTestCase(){ 41 threadStopper.storeCurrentThreads();42 threadStopper.startRecordingTime();43 org.evosuite.runtime.jvm.ShutdownHookHandler.getInstance().initHandler(); 44 org.evosuite.runtime.sandbox.Sandbox.goingToExecuteSUTCode(); 45 setSystemProperties(); 46 org.evosuite.runtime.GuiSupport.setHeadless(); 47 org.evosuite.runtime.Runtime.getInstance().resetRuntime(); 48 org.evosuite.runtime.agent.InstrumentingAgent.activate(); 49 } 50 @After 51 public void doneWithTestCase(){ 52 threadStopper.killAndJoinClientThreads();53 org.evosuite.runtime.jvm.ShutdownHookHandler.getInstance().safeExecuteAddedHooks(); 54 org.evosuite.runtime.classhandling.JDKClassResetter.reset(); 55 resetClasses(); 56 org.evosuite.runtime.sandbox.Sandbox.doneWithExecutingSUTCode(); 57 org.evosuite.runtime.agent.InstrumentingAgent.deactivate(); 58 org.evosuite.runtime.GuiSupport.restoreHeadlessMode(); 59 } 60 public static void setSystemProperties() {61 62 java.lang.System.setProperties((java.util.Properties) defaultProperties.clone()); 63 java.lang.System.setProperty("file.encoding", "GBK"); 64 java.lang.System.setProperty("java.awt.headless", "true"); 65 java.lang.System.setProperty("user.country", "CN"); 66 java.lang.System.setProperty("user.language", "zh"); 67 java.lang.System.setProperty("user.timezone", "Asia/Shanghai"); 68 }69 private static void initializeClasses() {70 org.evosuite.runtime.classhandling.ClassStateSupport.initializeClasses(test_ESTest_scaffolding.class.getClassLoader() ,71 "org.openqa.selenium.io.FileHandler$Filter",72 "org.openqa.selenium.remote.CommandInfo",73 "org.openqa.selenium.net.EphemeralPortRangeDetector",74 "com.google.common.collect.ImmutableMultimap$Itr",75 "com.google.common.collect.Lists$RandomAccessPartition",76 "org.openqa.selenium.remote.Augmentable",77 "com.google.common.collect.Collections2",78 "com.google.common.collect.PeekingIterator",79 "com.google.common.collect.ImmutableSet$Indexed",80 "org.openqa.selenium.logging.LogEntry$1",81 "org.openqa.selenium.os.OsProcess",82 "org.openqa.selenium.chrome.ChromeOptions",83 "org.openqa.selenium.remote.internal.ApacheHttpClient",84 "org.openqa.selenium.internal.FindsById",85 "org.openqa.selenium.net.FixedIANAPortRange",86 "org.openqa.selenium.net.UrlChecker$TimeoutException",87 "com.google.common.collect.ImmutableCollection$ArrayBasedBuilder",88 "com.google.common.collect.Platform",89 "com.google.common.collect.ImmutableMap$IteratorBasedImmutableMap$1EntrySetImpl",90 "com.google.common.collect.RegularImmutableMap",91 "com.google.common.collect.RegularImmutableBiMap",92 "com.google.common.base.Converter$IdentityConverter",93 "com.google.common.collect.ImmutableMultimap$Values",94 "org.apache.http.conn.HttpClientConnectionManager",95 "com.google.common.collect.AbstractMapEntry",96 "com.google.common.collect.ImmutableMap$IteratorBasedImmutableMap",97 "com.google.common.collect.Iterators$12",98 "com.google.common.collect.Iterators$11",99 "com.google.common.collect.ImmutableBiMap$Builder",100 "com.google.common.base.Predicate",101 "com.google.common.collect.ImmutableSet$Indexed$1",102 "org.apache.http.client.CredentialsProvider",103 "com.google.common.base.Joiner",104 "org.openqa.selenium.logging.profiler.ProfilerLogEntry",105 "org.apache.http.client.ClientProtocolException",106 "org.openqa.selenium.SearchContext",107 "org.openqa.selenium.chrome.ChromeDriverService",108 "org.openqa.selenium.WebDriverException",109 "org.openqa.selenium.WebDriver",110 "com.google.common.collect.Iterators$13",111 "org.openqa.selenium.remote.RemoteWebDriver$When",112 "com.google.common.collect.Lists$Partition",113 "com.google.common.collect.Lists",114 "org.apache.http.auth.Credentials",115 "com.google.common.collect.UnmodifiableListIterator",116 "com.google.common.collect.ImmutableMultimap",117 "org.openqa.selenium.remote.FileDetector",118 "org.openqa.selenium.remote.Response",119 "com.google.common.collect.Maps$BiMapConverter",120 "com.google.common.base.Joiner$MapJoiner",121 "com.google.common.base.Equivalence$Equals",122 "org.apache.http.client.RedirectStrategy",123 "com.test.applications.test",124 "org.openqa.selenium.remote.SessionNotFoundException",125 "org.apache.http.protocol.HttpContext",126 "com.google.common.collect.ImmutableMapEntry$NonTerminalImmutableMapEntry",127 "org.openqa.selenium.remote.CommandExecutor",128 "org.apache.http.HttpResponse",129 "com.google.common.base.Preconditions",130 "org.openqa.selenium.UnsupportedCommandException",131 "org.openqa.selenium.remote.SessionId",132 "com.google.common.collect.ImmutableMapValues",133 "com.google.common.collect.ImmutableEntry",134 "com.google.common.base.Joiner$1",135 "com.google.common.base.Joiner$2",136 "com.google.common.base.Converter$ConverterComposition",137 "com.google.common.collect.AbstractNavigableMap",138 "com.google.common.collect.ImmutableCollection",139 "com.google.common.collect.ImmutableEnumMap",140 "org.openqa.selenium.logging.LoggingHandler",141 "org.openqa.selenium.JavascriptExecutor",142 "org.openqa.selenium.interactions.HasInputDevices",143 "com.google.common.collect.ImmutableCollection$Builder",144 "com.google.common.collect.ImmutableSetMultimap",145 "com.google.common.collect.Iterators$6",146 "com.google.common.collect.BiMap",147 "com.google.common.collect.Iterators$7",148 "com.google.common.collect.ImmutableSet",149 "com.google.common.collect.Lists$AbstractListWrapper",150 "com.google.common.collect.ImmutableMapEntry",151 "org.openqa.selenium.remote.HttpCommandExecutor",152 "org.apache.http.HttpEntity",153 "org.openqa.selenium.interactions.Mouse",154 "com.google.common.collect.Iterators$1",155 "com.google.common.collect.Iterators$2",156 "com.google.common.collect.ImmutableMapValues$1",157 "com.google.common.collect.Iterators$3",158 "com.google.common.collect.ImmutableMapValues$2",159 "org.openqa.selenium.internal.FindsByLinkText",160 "org.openqa.selenium.remote.http.HttpClient",161 "com.google.common.base.Converter$ReverseConverter",162 "com.google.common.collect.ImmutableMultimap$EntryCollection",163 "com.google.common.collect.Lists$StringAsImmutableList",164 "com.google.common.collect.Lists$2",165 "org.openqa.selenium.logging.NeedsLocalLogs",166 "com.google.common.collect.Maps$IteratorBasedAbstractMap",167 "com.google.common.collect.Maps$FilteredEntryBiMap",168 "com.google.common.collect.RegularImmutableBiMap$Inverse",169 "com.google.common.collect.Lists$1",170 "org.apache.http.conn.SchemePortResolver",171 "org.openqa.selenium.logging.LogEntry",172 "com.google.common.base.Equivalence$Identity",173 "org.openqa.selenium.remote.UnreachableBrowserException",174 "com.google.common.collect.Multiset",175 "org.openqa.selenium.internal.FindsByClassName",176 "com.google.common.collect.AbstractMultimap",177 "com.google.common.collect.EmptyImmutableListMultimap",178 "com.google.common.collect.ImmutableList",179 "org.openqa.selenium.internal.FindsByName",180 "org.openqa.selenium.NotFoundException",181 "org.openqa.selenium.HasCapabilities",182 "org.openqa.selenium.By$ByPartialLinkText",183 "org.openqa.selenium.NoAlertPresentException",184 "org.openqa.selenium.By$ById",185 "org.openqa.selenium.html5.WebStorage",186 "com.google.common.collect.Maps$FilteredEntrySortedMap",187 "org.openqa.selenium.io.FileHandler",188 "org.openqa.selenium.By",189 "com.google.common.collect.ImmutableMap$Builder",190 "com.google.common.base.Converter$FunctionBasedConverter",191 "org.openqa.selenium.WebDriver$TargetLocator",192 "com.google.common.collect.Maps$EntryTransformer",193 "org.openqa.selenium.remote.http.HttpMethod",194 "org.openqa.selenium.logging.LocalLogs",195 "org.openqa.selenium.Platform$10",196 "org.openqa.selenium.Platform$11",197 "com.google.common.collect.Hashing",198 "org.openqa.selenium.remote.service.DriverService$Builder",199 "org.openqa.selenium.Platform$14",200 "com.google.common.collect.ImmutableList$SubList",201 "org.openqa.selenium.Platform$15",202 "com.google.common.collect.ListMultimap",203 "com.google.common.base.FunctionalEquivalence",204 "org.openqa.selenium.html5.LocationContext",205 "org.openqa.selenium.Platform$12",206 "org.openqa.selenium.Platform$13",207 "com.google.common.collect.RegularImmutableList",208 "com.google.common.base.Optional",209 "com.google.common.collect.Lists$TransformingRandomAccessList",210 "org.apache.http.HttpMessage",211 "org.openqa.selenium.Platform$16",212 "org.openqa.selenium.remote.http.HttpClient$Factory",213 "com.google.common.collect.ImmutableMapKeySet",214 "com.google.common.collect.ImmutableMap$MapViewOfValuesAsSingletonSets$1",215 "org.openqa.selenium.remote.DesiredCapabilities",216 "org.apache.http.HttpRequest",217 "com.google.common.collect.SortedMapDifference",218 "com.google.common.collect.RegularImmutableSet",219 "org.openqa.selenium.NoSuchSessionException",220 "org.openqa.selenium.chrome.ChromeDriverService$Builder",221 "com.google.common.collect.ImmutableListMultimap",222 "com.google.common.collect.ImmutableMultimap$1",223 "org.openqa.selenium.internal.FindsByCssSelector",224 "com.google.common.collect.Maps$AbstractFilteredMap",225 "org.openqa.selenium.internal.FindsByTagName",226 "org.openqa.selenium.logging.Logs",227 "com.google.common.base.Present",228 "org.openqa.selenium.By$ByName",229 "com.google.common.collect.ImmutableMultimap$2",230 "com.google.common.collect.ImmutableAsList",231 "com.google.common.collect.ImmutableMapEntrySet$RegularEntrySet",232 "com.google.common.collect.ImmutableSet$Builder",233 "com.google.common.collect.RegularImmutableAsList",234 "com.google.common.collect.Maps$FilteredEntryMap",235 "com.google.common.collect.SingletonImmutableSet",236 "org.apache.http.client.methods.HttpUriRequest",237 "com.google.common.collect.ImmutableMapEntrySet",238 "org.openqa.selenium.Platform$5",239 "org.openqa.selenium.Platform$6",240 "org.openqa.selenium.Platform$3",241 "org.openqa.selenium.TakesScreenshot",242 "org.openqa.selenium.Platform$4",243 "org.openqa.selenium.Platform$9",244 "org.apache.http.client.HttpClient",245 "org.openqa.selenium.Platform$7",246 "com.google.common.collect.ImmutableMultiset",247 "org.openqa.selenium.Platform$8",248 "com.google.common.collect.ImmutableMultimap$Keys",249 "org.openqa.selenium.os.ExecutableFinder",250 "org.openqa.selenium.Platform$1",251 "org.openqa.selenium.Platform$2",252 "com.google.common.collect.Lists$TransformingSequentialList",253 "org.openqa.selenium.net.PortProber",254 "org.openqa.selenium.WebDriver$Navigation",255 "com.google.common.collect.ObjectArrays",256 "com.google.common.collect.AbstractIterator",257 "org.openqa.selenium.Platform",258 "org.openqa.selenium.remote.RemoteWebDriver",259 "com.google.common.collect.ImmutableList$1",260 "org.openqa.selenium.NoSuchElementException",261 "com.google.common.collect.MapDifference",262 "com.google.common.collect.ImmutableMap$MapViewOfValuesAsSingletonSets",263 "org.openqa.selenium.By$ByXPath",264 "com.google.common.collect.UnmodifiableIterator",265 "org.openqa.selenium.By$ByClassName",266 "org.openqa.selenium.remote.Command",267 "com.google.common.collect.Maps$FilteredEntryNavigableMap",268 "org.openqa.selenium.chrome.ChromeDriver",269 "org.openqa.selenium.remote.service.DriverService",270 "org.apache.http.NoHttpResponseException",271 "com.google.common.collect.Lists$RandomAccessListWrapper",272 "org.openqa.selenium.interactions.Keyboard",273 "com.google.common.collect.ImmutableList$ReverseImmutableList",274 "org.apache.http.conn.routing.HttpRoutePlanner",275 "org.openqa.selenium.remote.ExecuteMethod",276 "com.google.common.collect.SingletonImmutableList",277 "org.openqa.selenium.logging.LocalLogs$1",278 "com.google.common.base.Converter",279 "com.google.common.collect.Maps$6",280 "com.google.common.base.Function",281 "com.google.common.collect.ImmutableMap",282 "com.google.common.collect.AbstractIndexedListIterator",283 "org.openqa.selenium.Capabilities",284 "com.google.common.collect.CollectPreconditions",285 "org.openqa.selenium.remote.internal.HttpClientFactory",286 "org.openqa.selenium.remote.internal.ApacheHttpClient$Factory",287 "com.google.common.collect.Maps$ViewCachingAbstractMap",288 "com.google.common.collect.ImmutableMap$1",289 "com.google.common.collect.ImmutableList$Builder",290 "org.openqa.selenium.chrome.ChromeDriverCommandExecutor",291 "org.openqa.selenium.By$ByLinkText",292 "com.google.common.collect.ImmutableMapEntry$NonTerminalImmutableBiMapEntry",293 "com.google.common.collect.Multimap",294 "com.google.common.collect.Iterators",295 "com.google.common.collect.ImmutableBiMap",296 "com.google.gson.JsonElement",297 "com.google.common.collect.SingletonImmutableBiMap",298 "com.google.common.base.PairwiseEquivalence",299 "org.openqa.selenium.remote.service.DriverCommandExecutor",300 "org.openqa.selenium.WebDriver$Options",301 "org.apache.http.impl.client.CloseableHttpClient",302 "org.openqa.selenium.os.CommandLine",303 "org.openqa.selenium.By$ByTagName",304 "com.google.common.base.Equivalence",305 "org.openqa.selenium.internal.FindsByXPath",306 "org.openqa.selenium.By$ByCssSelector",307 "com.google.common.collect.Maps",308 "org.openqa.selenium.Beta",309 "com.google.common.collect.SetMultimap",310 "org.openqa.selenium.logging.profiler.HttpProfilerLogEntry",311 "com.google.common.collect.Iterators$MergingIterator"312 );313 } 314 private static void resetClasses() {315 org.evosuite.runtime.classhandling.ClassResetter.getInstance().setClassLoader(test_ESTest_scaffolding.class.getClassLoader()); 316 org.evosuite.runtime.classhandling.ClassStateSupport.resetClasses(317 "org.openqa.selenium.remote.RemoteWebDriver",318 "org.openqa.selenium.chrome.ChromeDriverService",319 "com.google.common.collect.ImmutableMap",320 "com.google.common.collect.ImmutableBiMap",321 "com.google.common.collect.RegularImmutableBiMap",322 "org.openqa.selenium.Platform$1",323 "org.openqa.selenium.Platform$2",324 "org.openqa.selenium.Platform$3",325 "org.openqa.selenium.Platform$4",326 "org.openqa.selenium.Platform$5",327 "org.openqa.selenium.Platform$6",328 "org.openqa.selenium.Platform$7",329 "org.openqa.selenium.Platform$8",330 "org.openqa.selenium.Platform$9",331 "org.openqa.selenium.Platform$10",332 "org.openqa.selenium.Platform$11",333 "org.openqa.selenium.Platform$12",334 "org.openqa.selenium.Platform$13",335 "org.openqa.selenium.Platform$14",336 "org.openqa.selenium.Platform$15",337 "org.openqa.selenium.Platform$16",338 "org.openqa.selenium.Platform",339 "org.openqa.selenium.net.PortProber",340 "com.google.common.collect.ImmutableCollection",341 "com.google.common.collect.ImmutableSet",342 "com.google.common.collect.ObjectArrays",343 "com.google.common.collect.Hashing",344 "com.google.common.collect.RegularImmutableSet",345 "org.openqa.selenium.os.ExecutableFinder",346 "com.google.common.collect.ImmutableCollection$Builder",347 "com.google.common.collect.Iterators",348 "com.google.common.collect.ImmutableList",349 "com.google.common.collect.SingletonImmutableList",350 "org.openqa.selenium.chrome.ChromeOptions",351 "com.google.common.collect.Collections2",352 "com.google.common.collect.Maps",353 "org.openqa.selenium.remote.DesiredCapabilities",354 "org.openqa.selenium.remote.HttpCommandExecutor",355 "org.openqa.selenium.remote.http.HttpMethod",356 "com.google.common.collect.SingletonImmutableBiMap",357 "org.openqa.selenium.chrome.ChromeDriverCommandExecutor",358 "org.openqa.selenium.remote.internal.ApacheHttpClient$Factory",359 "org.openqa.selenium.remote.internal.HttpClientFactory"360 );361 }362}...

Full Screen

Full Screen

Source:ChromeSet_ESTest_scaffolding.java Github

copy

Full Screen

1/**2 * Scaffolding file used to store all the setups needed to run 3 * tests automatically generated by EvoSuite4 * Thu Apr 04 03:05:30 GMT 20195 */6package com.test.selenium;7import org.evosuite.runtime.annotation.EvoSuiteClassExclude;8import org.junit.BeforeClass;9import org.junit.Before;10import org.junit.After;11import org.junit.AfterClass;12import org.evosuite.runtime.sandbox.Sandbox;13import org.evosuite.runtime.sandbox.Sandbox.SandboxMode;14@EvoSuiteClassExclude15public class ChromeSet_ESTest_scaffolding {16 @org.junit.Rule 17 public org.evosuite.runtime.vnet.NonFunctionalRequirementRule nfr = new org.evosuite.runtime.vnet.NonFunctionalRequirementRule();18 private static final java.util.Properties defaultProperties = (java.util.Properties) java.lang.System.getProperties().clone(); 19 private org.evosuite.runtime.thread.ThreadStopper threadStopper = new org.evosuite.runtime.thread.ThreadStopper (org.evosuite.runtime.thread.KillSwitchHandler.getInstance(), 3000);20 @BeforeClass 21 public static void initEvoSuiteFramework() { 22 org.evosuite.runtime.RuntimeSettings.className = "com.test.selenium.ChromeSet"; 23 org.evosuite.runtime.GuiSupport.initialize(); 24 org.evosuite.runtime.RuntimeSettings.maxNumberOfThreads = 100; 25 org.evosuite.runtime.RuntimeSettings.maxNumberOfIterationsPerLoop = 10000; 26 org.evosuite.runtime.RuntimeSettings.mockSystemIn = true; 27 org.evosuite.runtime.RuntimeSettings.sandboxMode = org.evosuite.runtime.sandbox.Sandbox.SandboxMode.RECOMMENDED; 28 org.evosuite.runtime.sandbox.Sandbox.initializeSecurityManagerForSUT(); 29 org.evosuite.runtime.classhandling.JDKClassResetter.init();30 setSystemProperties();31 initializeClasses();32 org.evosuite.runtime.Runtime.getInstance().resetRuntime(); 33 } 34 @AfterClass 35 public static void clearEvoSuiteFramework(){ 36 Sandbox.resetDefaultSecurityManager(); 37 java.lang.System.setProperties((java.util.Properties) defaultProperties.clone()); 38 } 39 @Before 40 public void initTestCase(){ 41 threadStopper.storeCurrentThreads();42 threadStopper.startRecordingTime();43 org.evosuite.runtime.jvm.ShutdownHookHandler.getInstance().initHandler(); 44 org.evosuite.runtime.sandbox.Sandbox.goingToExecuteSUTCode(); 45 setSystemProperties(); 46 org.evosuite.runtime.GuiSupport.setHeadless(); 47 org.evosuite.runtime.Runtime.getInstance().resetRuntime(); 48 org.evosuite.runtime.agent.InstrumentingAgent.activate(); 49 } 50 @After 51 public void doneWithTestCase(){ 52 threadStopper.killAndJoinClientThreads();53 org.evosuite.runtime.jvm.ShutdownHookHandler.getInstance().safeExecuteAddedHooks(); 54 org.evosuite.runtime.classhandling.JDKClassResetter.reset(); 55 resetClasses(); 56 org.evosuite.runtime.sandbox.Sandbox.doneWithExecutingSUTCode(); 57 org.evosuite.runtime.agent.InstrumentingAgent.deactivate(); 58 org.evosuite.runtime.GuiSupport.restoreHeadlessMode(); 59 } 60 public static void setSystemProperties() {61 62 java.lang.System.setProperties((java.util.Properties) defaultProperties.clone()); 63 java.lang.System.setProperty("file.encoding", "GBK"); 64 java.lang.System.setProperty("java.awt.headless", "true"); 65 java.lang.System.setProperty("user.country", "CN"); 66 java.lang.System.setProperty("user.language", "zh"); 67 java.lang.System.setProperty("user.timezone", "Asia/Shanghai"); 68 }69 private static void initializeClasses() {70 org.evosuite.runtime.classhandling.ClassStateSupport.initializeClasses(ChromeSet_ESTest_scaffolding.class.getClassLoader() ,71 "org.openqa.selenium.Platform$10",72 "org.openqa.selenium.io.FileHandler$Filter",73 "org.openqa.selenium.Platform$11",74 "com.google.common.collect.Hashing",75 "org.openqa.selenium.remote.service.DriverService$Builder",76 "org.openqa.selenium.remote.CommandInfo",77 "org.openqa.selenium.net.EphemeralPortRangeDetector",78 "org.openqa.selenium.Platform$14",79 "com.google.common.collect.ImmutableList$SubList",80 "org.openqa.selenium.Platform$15",81 "org.openqa.selenium.html5.LocationContext",82 "org.openqa.selenium.Platform$12",83 "org.openqa.selenium.Platform$13",84 "com.google.common.collect.Lists$RandomAccessPartition",85 "com.google.common.collect.Collections2",86 "com.google.common.collect.PeekingIterator",87 "com.test.selenium.ChromeSet",88 "com.google.common.collect.ImmutableSet$Indexed",89 "org.openqa.selenium.os.OsProcess",90 "com.google.common.collect.RegularImmutableList",91 "org.openqa.selenium.chrome.ChromeOptions",92 "org.openqa.selenium.internal.FindsById",93 "org.openqa.selenium.net.FixedIANAPortRange",94 "com.google.common.collect.Lists$TransformingRandomAccessList",95 "org.openqa.selenium.Platform$16",96 "org.openqa.selenium.net.UrlChecker$TimeoutException",97 "com.google.common.collect.ImmutableCollection$ArrayBasedBuilder",98 "com.google.common.collect.Platform",99 "org.openqa.selenium.remote.http.HttpClient$Factory",100 "com.google.common.collect.ImmutableMapKeySet",101 "com.google.common.collect.RegularImmutableMap",102 "com.google.common.collect.RegularImmutableBiMap",103 "org.openqa.selenium.remote.DesiredCapabilities",104 "org.apache.http.conn.HttpClientConnectionManager",105 "com.google.common.collect.SortedMapDifference",106 "com.google.common.collect.RegularImmutableSet",107 "com.google.common.collect.AbstractMapEntry",108 "com.google.common.collect.ImmutableMap$IteratorBasedImmutableMap",109 "com.google.common.collect.Iterators$12",110 "com.google.common.collect.Iterators$11",111 "org.openqa.selenium.NoSuchSessionException",112 "org.openqa.selenium.chrome.ChromeDriverService$Builder",113 "org.openqa.selenium.internal.FindsByCssSelector",114 "org.openqa.selenium.internal.FindsByTagName",115 "org.openqa.selenium.logging.Logs",116 "org.apache.http.client.CredentialsProvider",117 "com.google.common.base.Joiner",118 "org.openqa.selenium.logging.profiler.ProfilerLogEntry",119 "org.openqa.selenium.SearchContext",120 "org.openqa.selenium.chrome.ChromeDriverService",121 "com.google.common.collect.ImmutableAsList",122 "com.google.common.collect.ImmutableMapEntrySet$RegularEntrySet",123 "org.openqa.selenium.WebDriver",124 "org.openqa.selenium.WebDriverException",125 "com.google.common.collect.ImmutableSet$Builder",126 "com.google.common.collect.RegularImmutableAsList",127 "com.google.common.collect.SingletonImmutableSet",128 "com.google.common.collect.Iterators$13",129 "com.google.common.collect.ImmutableMapEntrySet",130 "org.openqa.selenium.Platform$5",131 "org.openqa.selenium.Platform$6",132 "org.openqa.selenium.Platform$3",133 "com.google.common.collect.Lists$Partition",134 "org.openqa.selenium.TakesScreenshot",135 "org.openqa.selenium.Platform$4",136 "com.google.common.collect.Lists",137 "org.openqa.selenium.Platform$9",138 "org.apache.http.client.HttpClient",139 "org.openqa.selenium.Platform$7",140 "org.apache.http.auth.Credentials",141 "org.openqa.selenium.Platform$8",142 "com.google.common.collect.UnmodifiableListIterator",143 "org.openqa.selenium.os.ExecutableFinder",144 "org.openqa.selenium.Platform$1",145 "org.openqa.selenium.remote.FileDetector",146 "org.openqa.selenium.Platform$2",147 "com.google.common.collect.Lists$TransformingSequentialList",148 "org.openqa.selenium.net.PortProber",149 "org.openqa.selenium.WebDriver$Navigation",150 "com.google.common.collect.ObjectArrays",151 "com.google.common.collect.Maps$BiMapConverter",152 "com.google.common.collect.AbstractIterator",153 "org.openqa.selenium.Platform",154 "com.google.common.base.Joiner$MapJoiner",155 "org.openqa.selenium.remote.RemoteWebDriver",156 "com.google.common.collect.ImmutableList$1",157 "com.google.common.collect.MapDifference",158 "org.apache.http.client.RedirectStrategy",159 "com.google.common.collect.ImmutableMap$MapViewOfValuesAsSingletonSets",160 "org.openqa.selenium.remote.SessionNotFoundException",161 "com.google.common.collect.ImmutableMapEntry$NonTerminalImmutableMapEntry",162 "org.openqa.selenium.remote.CommandExecutor",163 "com.google.common.base.Preconditions",164 "com.google.common.collect.UnmodifiableIterator",165 "org.openqa.selenium.UnsupportedCommandException",166 "com.google.common.collect.ImmutableMapValues",167 "com.google.common.collect.ImmutableEntry",168 "org.openqa.selenium.chrome.ChromeDriver",169 "com.google.common.base.Joiner$1",170 "com.google.common.base.Joiner$2",171 "org.openqa.selenium.remote.service.DriverService",172 "com.google.common.collect.ImmutableCollection",173 "com.google.common.collect.ImmutableEnumMap",174 "org.openqa.selenium.logging.LoggingHandler",175 "com.google.common.collect.Lists$RandomAccessListWrapper",176 "org.openqa.selenium.interactions.Keyboard",177 "org.openqa.selenium.JavascriptExecutor",178 "com.google.common.collect.ImmutableList$ReverseImmutableList",179 "org.apache.http.conn.routing.HttpRoutePlanner",180 "org.openqa.selenium.remote.ExecuteMethod",181 "com.google.common.collect.SingletonImmutableList",182 "org.openqa.selenium.interactions.HasInputDevices",183 "com.google.common.collect.ImmutableCollection$Builder",184 "com.google.common.base.Converter",185 "com.google.common.collect.Iterators$6",186 "com.google.common.collect.BiMap",187 "com.google.common.collect.Iterators$7",188 "com.google.common.collect.Maps$6",189 "com.google.common.base.Function",190 "com.google.common.collect.ImmutableSet",191 "com.google.common.collect.Lists$AbstractListWrapper",192 "com.google.common.collect.ImmutableMap",193 "com.google.common.collect.ImmutableMapEntry",194 "com.google.common.collect.AbstractIndexedListIterator",195 "org.openqa.selenium.remote.HttpCommandExecutor",196 "org.openqa.selenium.Capabilities",197 "com.google.common.collect.CollectPreconditions",198 "org.openqa.selenium.interactions.Mouse",199 "com.google.common.collect.Iterators$1",200 "com.google.common.collect.Iterators$2",201 "com.google.common.collect.Iterators$3",202 "org.openqa.selenium.remote.internal.HttpClientFactory",203 "org.openqa.selenium.remote.internal.ApacheHttpClient$Factory",204 "org.openqa.selenium.internal.FindsByLinkText",205 "org.openqa.selenium.remote.http.HttpClient",206 "com.google.common.collect.Lists$StringAsImmutableList",207 "com.google.common.collect.Lists$2",208 "org.openqa.selenium.logging.NeedsLocalLogs",209 "com.google.common.collect.RegularImmutableBiMap$Inverse",210 "com.google.common.collect.ImmutableMap$1",211 "com.google.common.collect.ImmutableList$Builder",212 "com.google.common.collect.Lists$1",213 "org.apache.http.conn.SchemePortResolver",214 "org.openqa.selenium.logging.LogEntry",215 "org.openqa.selenium.remote.UnreachableBrowserException",216 "com.google.common.collect.Multiset",217 "org.openqa.selenium.internal.FindsByClassName",218 "org.openqa.selenium.chrome.ChromeDriverCommandExecutor",219 "com.google.common.collect.ImmutableMapEntry$NonTerminalImmutableBiMapEntry",220 "com.google.common.collect.Iterators",221 "com.google.common.collect.ImmutableBiMap",222 "com.google.common.collect.ImmutableList",223 "org.openqa.selenium.internal.FindsByName",224 "com.google.common.collect.SingletonImmutableBiMap",225 "org.openqa.selenium.NotFoundException",226 "org.openqa.selenium.HasCapabilities",227 "org.openqa.selenium.html5.WebStorage",228 "org.openqa.selenium.remote.service.DriverCommandExecutor",229 "org.openqa.selenium.WebDriver$Options",230 "org.openqa.selenium.io.FileHandler",231 "org.openqa.selenium.os.CommandLine",232 "org.openqa.selenium.internal.FindsByXPath",233 "com.google.common.collect.Maps",234 "org.openqa.selenium.logging.profiler.HttpProfilerLogEntry",235 "org.openqa.selenium.WebDriver$TargetLocator",236 "com.google.common.collect.Maps$EntryTransformer",237 "org.openqa.selenium.remote.http.HttpMethod",238 "com.google.common.collect.Iterators$MergingIterator"239 );240 } 241 private static void resetClasses() {242 org.evosuite.runtime.classhandling.ClassResetter.getInstance().setClassLoader(ChromeSet_ESTest_scaffolding.class.getClassLoader()); 243 org.evosuite.runtime.classhandling.ClassStateSupport.resetClasses(244 "org.openqa.selenium.remote.RemoteWebDriver",245 "org.openqa.selenium.chrome.ChromeDriverService",246 "com.google.common.collect.ImmutableMap",247 "com.google.common.collect.ImmutableBiMap",248 "com.google.common.collect.RegularImmutableBiMap",249 "org.openqa.selenium.Platform$1",250 "org.openqa.selenium.Platform$2",251 "org.openqa.selenium.Platform$3",252 "org.openqa.selenium.Platform$4",253 "org.openqa.selenium.Platform$5",254 "org.openqa.selenium.Platform$6",255 "org.openqa.selenium.Platform$7",256 "org.openqa.selenium.Platform$8",257 "org.openqa.selenium.Platform$9",258 "org.openqa.selenium.Platform$10",259 "org.openqa.selenium.Platform$11",260 "org.openqa.selenium.Platform$12",261 "org.openqa.selenium.Platform$13",262 "org.openqa.selenium.Platform$14",263 "org.openqa.selenium.Platform$15",264 "org.openqa.selenium.Platform$16",265 "org.openqa.selenium.Platform",266 "org.openqa.selenium.net.PortProber",267 "com.google.common.collect.ImmutableCollection",268 "com.google.common.collect.ImmutableSet",269 "com.google.common.collect.ObjectArrays",270 "com.google.common.collect.Hashing",271 "com.google.common.collect.RegularImmutableSet",272 "org.openqa.selenium.os.ExecutableFinder",273 "com.google.common.collect.ImmutableCollection$Builder",274 "com.google.common.collect.Iterators",275 "com.google.common.collect.ImmutableList",276 "com.google.common.collect.SingletonImmutableList",277 "org.openqa.selenium.chrome.ChromeOptions",278 "com.google.common.collect.Collections2",279 "com.google.common.collect.Maps",280 "org.openqa.selenium.remote.DesiredCapabilities",281 "org.openqa.selenium.remote.HttpCommandExecutor",282 "org.openqa.selenium.remote.http.HttpMethod",283 "com.google.common.collect.SingletonImmutableBiMap",284 "org.openqa.selenium.chrome.ChromeDriverCommandExecutor",285 "org.openqa.selenium.remote.internal.ApacheHttpClient$Factory",286 "org.openqa.selenium.remote.internal.HttpClientFactory"287 );288 }289}...

Full Screen

Full Screen

Source:DeploymentTypes.java Github

copy

Full Screen

1// Licensed to the Software Freedom Conservancy (SFC) under one2// or more contributor license agreements. See the NOTICE file3// distributed with this work for additional information4// regarding copyright ownership. The SFC licenses this file5// to you under the Apache License, Version 2.0 (the6// "License"); you may not use this file except in compliance7// with the License. You may obtain a copy of the License at8//9// http://www.apache.org/licenses/LICENSE-2.010//11// Unless required by applicable law or agreed to in writing,12// software distributed under the License is distributed on an13// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY14// KIND, either express or implied. See the License for the15// specific language governing permissions and limitations16// under the License.17package org.openqa.selenium.grid.router;18import org.openqa.selenium.Capabilities;19import org.openqa.selenium.grid.commands.EventBusCommand;20import org.openqa.selenium.grid.commands.Hub;21import org.openqa.selenium.grid.commands.Standalone;22import org.openqa.selenium.grid.config.CompoundConfig;23import org.openqa.selenium.grid.config.Config;24import org.openqa.selenium.grid.config.MapConfig;25import org.openqa.selenium.grid.config.MemoizedConfig;26import org.openqa.selenium.grid.config.TomlConfig;27import org.openqa.selenium.grid.distributor.httpd.DistributorServer;28import org.openqa.selenium.grid.node.httpd.NodeServer;29import org.openqa.selenium.grid.router.httpd.RouterServer;30import org.openqa.selenium.grid.server.Server;31import org.openqa.selenium.grid.sessionmap.httpd.SessionMapServer;32import org.openqa.selenium.grid.sessionqueue.httpd.NewSessionQueueServer;33import org.openqa.selenium.grid.web.Values;34import org.openqa.selenium.json.Json;35import org.openqa.selenium.json.JsonOutput;36import org.openqa.selenium.net.PortProber;37import org.openqa.selenium.remote.http.HttpClient;38import org.openqa.selenium.remote.http.HttpRequest;39import org.openqa.selenium.remote.http.HttpResponse;40import org.openqa.selenium.support.ui.FluentWait;41import org.openqa.selenium.testing.Safely;42import org.openqa.selenium.testing.TearDownFixture;43import java.io.IOException;44import java.io.StringReader;45import java.io.UncheckedIOException;46import java.net.ConnectException;47import java.time.Duration;48import java.util.Arrays;49import java.util.List;50import java.util.Map;51import static org.openqa.selenium.json.Json.MAP_TYPE;52import static org.openqa.selenium.remote.http.HttpMethod.GET;53public enum DeploymentTypes {54 STANDALONE {55 @Override56 public Deployment start(Capabilities capabilities, Config additionalConfig) {57 StringBuilder rawCaps = new StringBuilder();58 try (JsonOutput out = new Json().newOutput(rawCaps)) {59 out.setPrettyPrint(false).write(capabilities);60 }61 String[] rawConfig = new String[]{62 "[network]",63 "relax-checks = true",64 "",65 "[server]",66 "registration-secret = \"provolone\"",67 "",68 "[sessionqueue]",69 "session-request-timeout = 100",70 "session-retry-interval = 1"71 };72 Config config = new MemoizedConfig(73 new CompoundConfig(74 additionalConfig,75 new TomlConfig(new StringReader(String.join("\n", rawConfig)))));76 Server<?> server = new Standalone().asServer(new CompoundConfig(setRandomPort(), config)).start();77 waitUntilReady(server, Duration.ofSeconds(5));78 return new Deployment(server, server::stop);79 }80 },81 HUB_AND_NODE {82 @Override83 public Deployment start(Capabilities capabilities, Config additionalConfig) {84 StringBuilder rawCaps = new StringBuilder();85 try (JsonOutput out = new Json().newOutput(rawCaps)) {86 out.setPrettyPrint(false).write(capabilities);87 }88 int publish = PortProber.findFreePort();89 int subscribe = PortProber.findFreePort();90 String[] rawConfig = new String[] {91 "[events]",92 "publish = \"tcp://localhost:" + publish + "\"",93 "subscribe = \"tcp://localhost:" + subscribe + "\"",94 "",95 "[network]",96 "relax-checks = true",97 "",98 "[server]",99 "registration-secret = \"feta\"",100 "",101 "[sessionqueue]",102 "session-request-timeout = 100",103 "session-retry-interval = 1"104 };105 Config baseConfig = new MemoizedConfig(106 new CompoundConfig(107 additionalConfig,108 new TomlConfig(new StringReader(String.join("\n", rawConfig)))));109 Config hubConfig = new MemoizedConfig(110 new CompoundConfig(111 setRandomPort(),112 new MapConfig(Map.of("events", Map.of("bind", true))),113 baseConfig));114 Server<?> hub = new Hub().asServer(hubConfig).start();115 Config nodeConfig = new MemoizedConfig(116 new CompoundConfig(117 setRandomPort(),118 baseConfig));119 Server<?> node = new NodeServer().asServer(nodeConfig).start();120 waitUntilReady(node, Duration.ofSeconds(5));121 waitUntilReady(hub, Duration.ofSeconds(5));122 return new Deployment(hub, hub::stop, node::stop);123 }124 },125 DISTRIBUTED {126 @Override127 public Deployment start(Capabilities capabilities, Config additionalConfig) {128 StringBuilder rawCaps = new StringBuilder();129 try (JsonOutput out = new Json().newOutput(rawCaps)) {130 out.setPrettyPrint(false).write(capabilities);131 }132 int publish = PortProber.findFreePort();133 int subscribe = PortProber.findFreePort();134 String[] rawConfig = new String[] {135 "[events]",136 "publish = \"tcp://localhost:" + publish + "\"",137 "subscribe = \"tcp://localhost:" + subscribe + "\"",138 "bind = false",139 "",140 "[network]",141 "relax-checks = true",142 "",143 "[server]",144 "",145 "registration-secret = \"colby\"",146 "",147 "[sessionqueue]",148 "session-request-timeout = 100",149 "session-retry-interval = 1"150 };151 Config sharedConfig = new MemoizedConfig(152 new CompoundConfig(153 additionalConfig,154 new TomlConfig(new StringReader(String.join("\n", rawConfig)))));155 Server<?> eventServer = new EventBusCommand()156 .asServer(new MemoizedConfig(new CompoundConfig(157 new TomlConfig(new StringReader(String.join("\n", new String[] {158 "[events]",159 "publish = \"tcp://localhost:" + publish + "\"",160 "subscribe = \"tcp://localhost:" + subscribe + "\"",161 "bind = true"}))),162 setRandomPort(),163 sharedConfig)))164 .start();165 waitUntilReady(eventServer, Duration.ofSeconds(5));166 Server<?> newSessionQueueServer = new NewSessionQueueServer()167 .asServer(new MemoizedConfig(new CompoundConfig(setRandomPort(), sharedConfig))).start();168 waitUntilReady(newSessionQueueServer, Duration.ofSeconds(5));169 Config newSessionQueueServerConfig = new TomlConfig(new StringReader(String.join(170 "\n",171 new String[] {172 "[sessionqueue]",173 "hostname = \"localhost\"",174 "port = " + newSessionQueueServer.getUrl().getPort()175 }176 )));177 Server<?> sessionMapServer = new SessionMapServer()178 .asServer(new MemoizedConfig(new CompoundConfig(setRandomPort(), sharedConfig))).start();179 Config sessionMapConfig = new TomlConfig(new StringReader(String.join(180 "\n",181 new String[] {182 "[sessions]",183 "hostname = \"localhost\"",184 "port = " + sessionMapServer.getUrl().getPort()185 }186 )));187 Server<?> distributorServer = new DistributorServer()188 .asServer(new MemoizedConfig(new CompoundConfig(189 setRandomPort(),190 sessionMapConfig,191 newSessionQueueServerConfig,192 sharedConfig)))193 .start();194 Config distributorConfig = new TomlConfig(new StringReader(String.join(195 "\n",196 new String[] {197 "[distributor]",198 "hostname = \"localhost\"",199 "port = " + distributorServer.getUrl().getPort()200 }201 )));202 Server<?> router = new RouterServer()203 .asServer(new MemoizedConfig(new CompoundConfig(204 setRandomPort(),205 sessionMapConfig,206 distributorConfig,207 newSessionQueueServerConfig,208 sharedConfig)))209 .start();210 Server<?> nodeServer = new NodeServer()211 .asServer(new MemoizedConfig(new CompoundConfig(212 setRandomPort(),213 sharedConfig,214 sessionMapConfig,215 distributorConfig,216 newSessionQueueServerConfig)))217 .start();218 waitUntilReady(nodeServer, Duration.ofSeconds(5));219 waitUntilReady(router, Duration.ofSeconds(5));220 return new Deployment(221 router,222 router::stop,223 nodeServer::stop,224 distributorServer::stop,225 sessionMapServer::stop,226 newSessionQueueServer::stop,227 eventServer::stop);228 }229 }230 ;231 private static Config setRandomPort() {232 return new MapConfig(Map.of("server", Map.of("port", PortProber.findFreePort())));233 }234 private static void waitUntilReady(Server<?> server, Duration duration) {235 HttpClient client = HttpClient.Factory.createDefault().createClient(server.getUrl());236 try {237 new FluentWait<>(client)238 .withTimeout(duration)239 .pollingEvery(Duration.ofMillis(250))240 .ignoring(IOException.class)241 .ignoring(UncheckedIOException.class)242 .ignoring(ConnectException.class)243 .until(244 c -> {245 HttpResponse response = c.execute(new HttpRequest(GET, "/status"));246 Map<String, Object> status = Values.get(response, MAP_TYPE);247 return Boolean.TRUE.equals(248 status != null && Boolean.parseBoolean(status.get("ready").toString()));249 });250 } finally {251 Safely.safelyCall(client::close);252 }253 }254 public abstract Deployment start(Capabilities capabilities, Config additionalConfig);255 public static class Deployment implements TearDownFixture {256 private final Server<?> server;257 private final List<TearDownFixture> tearDowns;258 private Deployment(Server<?> server, TearDownFixture... tearDowns) {259 this.server = server;260 this.tearDowns = Arrays.asList(tearDowns);261 }262 public Server<?> getServer() {263 return server;264 }265 @Override266 public void tearDown() throws Exception {267 tearDowns.parallelStream().forEach(Safely::safelyCall);268 }269 }270}...

Full Screen

Full Screen

values

Using AI Code Generation

copy

Full Screen

1import org.openqa.selenium.remote.http.HttpMethod;2public class HttpMethodTest {3 public static void main(String[] args) {4 HttpMethod[] methods = HttpMethod.values();5 for (HttpMethod method : methods) {6 System.out.println(method);7 }8 }9}

Full Screen

Full Screen

values

Using AI Code Generation

copy

Full Screen

1import org.openqa.selenium.remote.http.HttpMethod;2import org.openqa.selenium.remote.http.HttpRequest;3import org.openqa.selenium.remote.http.HttpResponse;4import com.google.common.collect.ImmutableMap;5import com.google.common.collect.ImmutableSet;6import io.appium.java_client.remote.MobileCapabilityType;7import io.appium.java_client.remote.MobilePlatform;8import io.appium.java_client.remote.MobileBrowserType;9import io.appium.java_client.remote.AndroidMobileCapabilityType;10import io.appium.java_client.remote.IOSMobileCapabilityType;11import io.appium.java_client.remote.AutomationName;12import io.appium.java_client.remote.AndroidMobileCapabilityType;13import io.appium.java_client.remote.IOSMobileCapabilityType;14import io.appium.java_client.remote.MobileCapabilityType;15import io.appium.java_client.remote.MobilePlatform;16import io.appium.java_client.remote.MobileBrowserType;17import io.appium.java_client.remote.AutomationName;18import io.appium.java_client.remote.AndroidMobileCapabilityType;19import io.appium.java_client.remote.IOSMobileCapabilityType;20import io.appium.java_client.remote.MobileCapabilityType;21import io.appium.java_client.remote.MobilePlatform;22import io.appium.java_client.remote.MobileBrowserType;23import io.appium.java_client.remote.AutomationName;24import io.appium.java_client.remote.AndroidMobileCapabilityType;25import io.appium.java_client.remote.IOSMobileCapabilityType;26import io.appium.java_client.remote.MobileCapabilityType;27import io.appium.java_client.remote.MobilePlatform;28import io.appium.java_client.remote.MobileBrowserType;29import io.appium.java_client.remote.AutomationName;30import io.appium.java_client.remote.AndroidMobileCapabilityType;31import io.appium.java_client.remote.IOSMobileCapabilityType;32import io.appium.java_client.remote.MobileCapabilityType;33import io.appium.java_client.remote.MobilePlatform;34import io.appium.java_client.remote.MobileBrowserType;35import io.appium.java_client.remote.AutomationName;36import io.appium.java_client.remote.AndroidMobileCapabilityType;37import io.appium.java_client.remote.IOSMobileCapabilityType;38import io.appium.java_client.remote.MobileCapabilityType;39import io.appium.java_client.remote.MobilePlatform;40import io.appium.java_client.remote.MobileBrowserType;41import io.appium.java_client.remote.AutomationName;42import io.appium.java_client.remote.AndroidMobileCapabilityType;43import io.appium.java_client.remote.IOSMobileCapabilityType;44import io.appium.java_client.remote.MobileCapabilityType;45import io.appium.java_client.remote.MobilePlatform;46import io.appium.java_client.remote

Full Screen

Full Screen

Selenium 4 Tutorial:

LambdaTest’s Selenium 4 tutorial is covering every aspects of Selenium 4 testing with examples and best practices. Here you will learn basics, such as how to upgrade from Selenium 3 to Selenium 4, to some advanced concepts, such as Relative locators and Selenium Grid 4 for Distributed testing. Also will learn new features of Selenium 4, such as capturing screenshots of specific elements, opening a new tab or window on the browser, and new protocol adoptions.

Chapters:

  1. Upgrading From Selenium 3 To Selenium 4?: In this chapter, learn in detail how to update Selenium 3 to Selenium 4 for Java binding. Also, learn how to upgrade while using different build tools such as Maven or Gradle and get comprehensive guidance for upgrading Selenium.

  2. What’s New In Selenium 4 & What’s Being Deprecated? : Get all information about new implementations in Selenium 4, such as W3S protocol adaption, Optimized Selenium Grid, and Enhanced Selenium IDE. Also, learn what is deprecated for Selenium 4, such as DesiredCapabilites and FindsBy methods, etc.

  3. Selenium 4 With Python: Selenium supports all major languages, such as Python, C#, Ruby, and JavaScript. In this chapter, learn how to install Selenium 4 for Python and the features of Python in Selenium 4, such as Relative locators, Browser manipulation, and Chrom DevTool protocol.

  4. Selenium 4 Is Now W3C Compliant: JSON Wireframe protocol is retiring from Selenium 4, and they are adopting W3C protocol to learn in detail about the advantages and impact of these changes.

  5. How To Use Selenium 4 Relative Locator? : Selenium 4 came with new features such as Relative Locators that allow constructing locators with reference and easily located constructors nearby. Get to know its different use cases with examples.

  6. Selenium Grid 4 Tutorial For Distributed Testing: Selenium Grid 4 allows you to perform tests over different browsers, OS, and device combinations. It also enables parallel execution browser testing, reads up on various features of Selenium Grid 4 and how to download it, and runs a test on Selenium Grid 4 with best practices.

  7. Selenium Video Tutorials: Binge on video tutorials on Selenium by industry experts to get step-by-step direction from automating basic to complex test scenarios with Selenium.

Selenium 101 certifications:

LambdaTest also provides certification for Selenium testing to accelerate your career in Selenium automation testing.

Run Selenium automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Most used method in Enum-HttpMethod

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful