aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOURN-plugin/src/test/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNResourceESTestscaffolding.java
diff options
context:
space:
mode:
Diffstat (limited to 'bpmn/MSOURN-plugin/src/test/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNResourceESTestscaffolding.java')
-rw-r--r--bpmn/MSOURN-plugin/src/test/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNResourceESTestscaffolding.java400
1 files changed, 400 insertions, 0 deletions
diff --git a/bpmn/MSOURN-plugin/src/test/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNResourceESTestscaffolding.java b/bpmn/MSOURN-plugin/src/test/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNResourceESTestscaffolding.java
new file mode 100644
index 0000000..61ef8e6
--- /dev/null
+++ b/bpmn/MSOURN-plugin/src/test/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNResourceESTestscaffolding.java
@@ -0,0 +1,400 @@
+/**
+ * Scaffolding file used to store all the setups needed to run
+ * tests automatically generated by EvoSuite
+ * Mon Nov 14 13:47:41 GMT 2016
+ */
+
+package org.openecomp.camunda.bpmn.plugin.urnmap.resources;
+
+import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
+import org.junit.BeforeClass;
+import org.junit.Before;
+import org.junit.After;
+import org.junit.AfterClass;
+import org.evosuite.runtime.sandbox.Sandbox;
+
+@EvoSuiteClassExclude
+public class URNResourceESTestscaffolding {
+
+ @org.junit.Rule
+ public org.evosuite.runtime.vnet.NonFunctionalRequirementRule nfr = new org.evosuite.runtime.vnet.NonFunctionalRequirementRule();
+
+ private static final java.util.Properties defaultProperties = (java.util.Properties) java.lang.System.getProperties().clone();
+
+ private org.evosuite.runtime.thread.ThreadStopper threadStopper = new org.evosuite.runtime.thread.ThreadStopper (org.evosuite.runtime.thread.KillSwitchHandler.getInstance(), 3000);
+
+ @BeforeClass
+ public static void initEvoSuiteFramework() {
+ org.evosuite.runtime.RuntimeSettings.className = "org.openecomp.camunda.bpmn.plugin.urnmap.resources.URNResource";
+ org.evosuite.runtime.GuiSupport.initialize();
+ org.evosuite.runtime.RuntimeSettings.maxNumberOfThreads = 100;
+ org.evosuite.runtime.RuntimeSettings.maxNumberOfIterationsPerLoop = 10000;
+ org.evosuite.runtime.RuntimeSettings.mockSystemIn = true;
+ org.evosuite.runtime.RuntimeSettings.sandboxMode = org.evosuite.runtime.sandbox.Sandbox.SandboxMode.RECOMMENDED;
+ org.evosuite.runtime.sandbox.Sandbox.initializeSecurityManagerForSUT();
+ org.evosuite.runtime.classhandling.JDKClassResetter.init();
+ initializeClasses();
+ org.evosuite.runtime.Runtime.getInstance().resetRuntime();
+ }
+
+ @AfterClass
+ public static void clearEvoSuiteFramework(){
+ Sandbox.resetDefaultSecurityManager();
+ java.lang.System.setProperties((java.util.Properties) defaultProperties.clone());
+ }
+
+ @Before
+ public void initTestCase(){
+ threadStopper.storeCurrentThreads();
+ threadStopper.startRecordingTime();
+ org.evosuite.runtime.jvm.ShutdownHookHandler.getInstance().initHandler();
+ org.evosuite.runtime.sandbox.Sandbox.goingToExecuteSUTCode();
+
+ org.evosuite.runtime.GuiSupport.setHeadless();
+ org.evosuite.runtime.Runtime.getInstance().resetRuntime();
+ org.evosuite.runtime.agent.InstrumentingAgent.activate();
+ }
+
+ @After
+ public void doneWithTestCase(){
+ threadStopper.killAndJoinClientThreads();
+ org.evosuite.runtime.jvm.ShutdownHookHandler.getInstance().safeExecuteAddedHooks();
+ org.evosuite.runtime.classhandling.JDKClassResetter.reset();
+ resetClasses();
+ org.evosuite.runtime.sandbox.Sandbox.doneWithExecutingSUTCode();
+ org.evosuite.runtime.agent.InstrumentingAgent.deactivate();
+ org.evosuite.runtime.GuiSupport.restoreHeadlessMode();
+ }
+
+
+ private static void initializeClasses() {
+ org.evosuite.runtime.classhandling.ClassStateSupport.initializeClasses(URNResourceESTestscaffolding.class.getClassLoader() ,
+ "org.h2.store.LobStorage",
+ "com.mysql.jdbc.VersionedStringProperty",
+ "com.mysql.jdbc.StatementInterceptorV2",
+ "com.mysql.jdbc.ConnectionPropertiesImpl$ConnectionProperty",
+ "org.h2.engine.SessionInterface",
+ "org.h2.index.BaseIndex",
+ "com.mysql.jdbc.ConnectionPropertiesImpl$LongConnectionProperty",
+ "org.h2.store.fs.FileNioMemData",
+ "org.h2.store.fs.FileNioMem",
+ "org.h2.store.fs.FilePathCrypt$FileCrypt",
+ "org.h2.result.Row",
+ "org.h2.engine.RightOwner",
+ "org.h2.table.TableView",
+ "com.mysql.jdbc.JDBC4ClientInfoProvider",
+ "com.mysql.jdbc.CachedResultSetMetaData",
+ "org.h2.store.fs.FileMem$1",
+ "com.mysql.jdbc.ConnectionFeatureNotAvailableException",
+ "org.h2.security.BlockCipher",
+ "org.h2.command.CommandInterface",
+ "com.mysql.jdbc.MysqlIO",
+ "com.mysql.jdbc.Connection",
+ "com.att.eelf.i18n.EELFMsgs",
+ "com.mysql.jdbc.ConnectionPropertiesImpl",
+ "org.h2.constant.DbSettings",
+ "com.mysql.jdbc.SingleByteCharsetConverter",
+ "com.mysql.jdbc.PingTarget",
+ "org.h2.index.PageIndex",
+ "org.h2.util.BitField",
+ "org.h2.value.ValueNull",
+ "org.h2.value.ValueShort",
+ "com.mysql.jdbc.SocketFactory",
+ "org.h2.value.ValueDecimal",
+ "com.mysql.jdbc.PacketTooBigException",
+ "com.mysql.jdbc.log.StandardLogger",
+ "com.mysql.jdbc.ConnectionImpl$3",
+ "com.mysql.jdbc.ConnectionImpl$2",
+ "com.mysql.jdbc.ConnectionImpl$5",
+ "com.mysql.jdbc.ConnectionImpl$4",
+ "com.mysql.jdbc.ConnectionImpl$7",
+ "com.mysql.jdbc.ConnectionImpl$6",
+ "org.h2.util.SmallLRUCache",
+ "org.h2.mvstore.Chunk",
+ "com.mysql.jdbc.ConnectionImpl$9",
+ "com.mysql.jdbc.ConnectionImpl$8",
+ "com.mysql.jdbc.log.Log",
+ "com.mysql.jdbc.ConnectionPropertiesImpl$MemorySizeConnectionProperty",
+ "com.mysql.jdbc.StringUtils",
+ "org.h2.mvstore.MVStore",
+ "org.h2.engine.DbObjectBase",
+ "org.h2.store.FileLock",
+ "com.mysql.jdbc.ResultSetImpl",
+ "org.h2.schema.Sequence",
+ "org.h2.value.Value",
+ "org.h2.store.fs.FilePathMem",
+ "com.mysql.jdbc.ConnectionPropertiesImpl$BooleanConnectionProperty",
+ "org.h2.store.fs.FilePath",
+ "org.h2.engine.DatabaseCloser",
+ "org.h2.expression.ExpressionColumn",
+ "com.mysql.jdbc.Statement",
+ "com.mysql.jdbc.Buffer",
+ "org.h2.store.fs.FilePathNioMem",
+ "com.mysql.jdbc.ParameterBindings",
+ "org.h2.security.SecureFileStore",
+ "org.h2.store.fs.FileMem",
+ "com.mysql.jdbc.BufferRow",
+ "org.h2.expression.Expression",
+ "org.h2.store.fs.FileSplit",
+ "org.h2.util.Utils$1",
+ "org.h2.value.CompareMode",
+ "org.h2.util.Utils",
+ "com.mysql.jdbc.exceptions.MySQLTimeoutException",
+ "org.h2.command.dml.SetTypes",
+ "org.openecomp.mso.logger.MsoLogger$ErrorCode",
+ "org.h2.jdbcx.JdbcDataSourceFactory",
+ "com.mysql.jdbc.Util",
+ "org.camunda.bpm.cockpit.Cockpit",
+ "org.h2.value.ValueString",
+ "org.h2.value.ValueJavaObject",
+ "org.h2.store.PageStore",
+ "com.mysql.jdbc.ConnectionPropertiesImpl$XmlMap",
+ "org.h2.schema.Schema",
+ "org.h2.engine.SettingsBase",
+ "com.mysql.jdbc.CommunicationsException",
+ "org.h2.value.CompareModeDefault",
+ "org.h2.engine.SessionWithState",
+ "org.h2.table.TableLinkConnection",
+ "org.h2.message.Trace",
+ "org.h2.engine.Comment",
+ "org.h2.util.New",
+ "org.camunda.bpm.engine.ProcessEngine",
+ "org.h2.value.ValueInt",
+ "org.h2.util.CacheWriter",
+ "com.mysql.jdbc.CompressedInputStream",
+ "org.h2.result.ResultInterface",
+ "org.h2.util.StringUtils",
+ "org.camunda.bpm.cockpit.plugin.resource.AbstractCockpitPluginResource",
+ "org.h2.table.IndexColumn",
+ "org.openecomp.mso.logger.MsoLogger$Catalog",
+ "org.h2.value.CompareModeIcu4J",
+ "com.mysql.jdbc.ResultSetRow",
+ "com.mysql.jdbc.ConnectionImpl",
+ "com.mysql.jdbc.log.NullLogger",
+ "org.camunda.bpm.cockpit.db.QueryService",
+ "org.camunda.bpm.engine.ProcessEngineServices",
+ "com.mysql.jdbc.JDBC4PreparedStatement",
+ "org.h2.schema.SchemaObject",
+ "org.h2.store.FileStore",
+ "org.h2.engine.SessionRemote",
+ "org.h2.value.ValueUuid",
+ "org.h2.mvstore.type.DataType",
+ "org.h2.index.IndexType",
+ "org.h2.value.ValueDate",
+ "org.h2.result.SearchRow",
+ "org.h2.table.Table",
+ "org.openecomp.camunda.bpmn.plugin.urnmap.db.URNData",
+ "org.h2.store.fs.FileMemData",
+ "org.h2.value.ValueFloat",
+ "org.openecomp.mso.entity.MsoRequest",
+ "org.camunda.bpm.webapp.AppRuntimeDelegate",
+ "org.h2.value.Transfer",
+ "com.mysql.jdbc.Messages",
+ "org.h2.store.fs.FileDisk",
+ "com.mysql.jdbc.NetworkResources",
+ "org.h2.result.RowList",
+ "com.mysql.jdbc.CallableStatement$CallableStatementParamInfo",
+ "org.h2.constant.ErrorCode",
+ "com.mysql.jdbc.Collation",
+ "org.h2.message.TraceObject",
+ "com.mysql.jdbc.ByteArrayRow",
+ "org.h2.store.fs.FileChannelOutputStream",
+ "org.h2.value.ValueBoolean",
+ "org.h2.value.ValueLobDb",
+ "org.h2.util.SourceCompiler",
+ "org.h2.engine.UserDataType",
+ "org.h2.constraint.Constraint",
+ "org.h2.table.TableBase",
+ "org.h2.jdbcx.JdbcConnectionPool",
+ "com.mysql.jdbc.authentication.Sha256PasswordPlugin",
+ "org.h2.value.ValueLong",
+ "org.h2.engine.DbObject",
+ "com.mysql.jdbc.JDBC4CallableStatement",
+ "org.h2.util.SortedProperties",
+ "org.h2.value.ValueStringIgnoreCase",
+ "org.h2.table.PlanItem",
+ "org.h2.jdbcx.JdbcXAConnection",
+ "org.h2.engine.UserAggregate",
+ "org.h2.message.DbException",
+ "com.mysql.jdbc.JDBC4ServerPreparedStatement",
+ "org.h2.mvstore.MVMapConcurrent",
+ "com.mysql.jdbc.Extension",
+ "org.hsqldb.jdbc.JDBCDriver",
+ "org.h2.engine.Database",
+ "org.h2.api.DatabaseEventListener",
+ "org.h2.jdbcx.JdbcDataSource",
+ "org.h2.schema.TriggerObject",
+ "org.h2.store.DataReader",
+ "com.mysql.jdbc.StatementImpl",
+ "org.hsqldb.jdbc.JDBCDriver$1",
+ "org.h2.value.ValueBytes",
+ "org.h2.value.ValueResultSet",
+ "com.att.eelf.i18n.EELFResolvableErrorEnum",
+ "org.h2.value.ValueDouble",
+ "com.mysql.jdbc.CallableStatement$CallableStatementParam",
+ "org.h2.schema.SchemaObjectBase",
+ "com.att.eelf.configuration.EELFLogger$Level",
+ "com.mysql.jdbc.StatementImpl$CancelTask$1",
+ "org.h2.mvstore.Page",
+ "org.h2.index.PageDelegateIndex",
+ "org.h2.store.fs.FileBase",
+ "com.mysql.jdbc.StatementImpl$CancelTask",
+ "org.openecomp.camunda.bpmn.plugin.urnmap.resources.URNResource",
+ "org.h2.message.TraceWriter",
+ "com.att.eelf.i18n.EELFResourceManager$RESOURCE_TYPES",
+ "com.att.eelf.configuration.EELFLogger",
+ "org.h2.table.Column",
+ "org.h2.engine.Session",
+ "org.h2.engine.Mode",
+ "com.mysql.jdbc.exceptions.MySQLTransientException",
+ "org.h2.engine.Setting",
+ "org.h2.util.SourceCompiler$1",
+ "org.h2.value.ValueArray",
+ "com.mysql.jdbc.MySQLConnection",
+ "org.h2.util.TempFileDeleter",
+ "org.h2.store.fs.FileNioMem$1",
+ "com.mysql.jdbc.AuthenticationPlugin",
+ "org.h2.util.MathUtils",
+ "org.h2.mvstore.DataUtils",
+ "org.h2.store.fs.FilePathSplit",
+ "org.h2.value.ValueStringFixed",
+ "com.mysql.jdbc.JDBC4Connection",
+ "com.mysql.jdbc.NonRegisteringDriver$1",
+ "org.h2.engine.User",
+ "org.h2.value.ValueTimestamp",
+ "org.h2.value.Value$ValueBlob",
+ "org.h2.store.fs.FilePathWrapper",
+ "org.h2.constant.SysProperties",
+ "com.mysql.jdbc.IterateBlock",
+ "org.h2.table.RegularTable",
+ "com.mysql.jdbc.Util$RandStructcture",
+ "org.h2.store.fs.FileChannelInputStream",
+ "com.mysql.jdbc.exceptions.MySQLStatementCancelledException",
+ "com.mysql.jdbc.PreparedStatement",
+ "org.h2.compress.Compressor",
+ "com.mysql.jdbc.util.LRUCache",
+ "com.mysql.jdbc.util.ReadAheadInputStream",
+ "org.h2.index.Index",
+ "com.mysql.jdbc.MysqlDataTruncation",
+ "com.mysql.jdbc.CharsetMapping",
+ "org.h2.store.fs.FilePathDisk",
+ "org.h2.mvstore.MVMap",
+ "com.mysql.jdbc.Field",
+ "com.att.eelf.configuration.SLF4jWrapper",
+ "com.mysql.jdbc.PreparedStatement$BatchVisitor",
+ "org.h2.store.DataHandler",
+ "org.h2.jdbc.JdbcConnection",
+ "org.openecomp.mso.logger.MsoLogger",
+ "com.mysql.jdbc.ConnectionPropertiesImpl$StringConnectionProperty",
+ "com.mysql.jdbc.ConnectionProperties",
+ "org.h2.Driver",
+ "org.h2.engine.Role",
+ "com.mysql.jdbc.Driver",
+ "org.h2.value.ValueByte",
+ "com.mysql.jdbc.ServerPreparedStatement",
+ "org.camunda.bpm.cockpit.db.CommandExecutor",
+ "com.mysql.jdbc.exceptions.MySQLNonTransientException",
+ "org.camunda.bpm.cockpit.CockpitRuntimeDelegate",
+ "org.camunda.bpm.webapp.plugin.resource.AbstractAppPluginResource",
+ "com.mysql.jdbc.MysqlSavepoint",
+ "com.mysql.jdbc.CallableStatement",
+ "com.mysql.jdbc.RowData",
+ "org.h2.value.Value$ValueClob",
+ "com.att.eelf.i18n.EELFResourceManager",
+ "org.h2.value.ValueJavaObject$NotSerialized",
+ "org.h2.value.CaseInsensitiveMap",
+ "com.mysql.jdbc.CallableStatement$CallableStatementParamInfoJDBC3",
+ "org.h2.util.IOUtils",
+ "com.mysql.jdbc.PreparedStatement$ParseInfo",
+ "org.h2.message.TraceSystem",
+ "org.openecomp.mso.logger.MessageEnum",
+ "org.openecomp.mso.logger.MsoLogger$ResponseCode",
+ "org.openecomp.mso.logger.MsoLogger$StatusCode",
+ "com.att.eelf.configuration.EELFManager",
+ "com.mysql.jdbc.StreamingNotifiable",
+ "com.mysql.jdbc.ResultSetInternalMethods",
+ "org.h2.command.Prepared",
+ "com.mysql.jdbc.ConnectionPropertiesImpl$IntegerConnectionProperty",
+ "com.mysql.jdbc.NonRegisteringDriver",
+ "org.h2.jdbc.JdbcSQLException",
+ "org.h2.mvstore.MVMap$MapBuilder",
+ "org.h2.engine.ConnectionInfo",
+ "com.att.eelf.i18n.EELFResourceManager$1",
+ "com.mysql.jdbc.ExceptionInterceptor",
+ "org.h2.value.ValueTime"
+ );
+ }
+
+ private static void resetClasses() {
+ org.evosuite.runtime.classhandling.ClassResetter.getInstance().setClassLoader(URNResourceESTestscaffolding.class.getClassLoader());
+
+ org.evosuite.runtime.classhandling.ClassStateSupport.resetClasses(
+ "org.openecomp.mso.logger.MsoLogger$Catalog",
+ "org.openecomp.mso.logger.MsoLogger",
+ "com.att.eelf.i18n.EELFResourceManager",
+ "com.att.eelf.i18n.EELFMsgs",
+ "com.att.eelf.i18n.EELFResourceManager$RESOURCE_TYPES",
+ "com.att.eelf.configuration.EELFLogger$Level",
+ "com.att.eelf.configuration.EELFManager",
+ "org.openecomp.mso.logger.MessageEnum",
+ "org.openecomp.camunda.bpmn.plugin.urnmap.resources.URNResource",
+ "org.camunda.bpm.cockpit.Cockpit",
+ "org.h2.jdbcx.JdbcConnectionPool",
+ "org.h2.message.TraceObject",
+ "com.mysql.jdbc.NonRegisteringDriver",
+ "com.mysql.jdbc.Driver",
+ "org.hsqldb.jdbc.JDBCDriver",
+ "org.h2.Driver",
+ "org.h2.jdbcx.JdbcDataSource",
+ "org.h2.jdbcx.JdbcDataSourceFactory",
+ "org.h2.message.TraceSystem",
+ "org.h2.util.Utils",
+ "org.h2.util.MathUtils",
+ "org.h2.constant.SysProperties",
+ "org.h2.message.Trace",
+ "org.h2.util.StringUtils",
+ "org.h2.value.Value",
+ "org.h2.value.ValueDecimal",
+ "org.h2.jdbcx.JdbcXAConnection",
+ "org.h2.mvstore.MVStore",
+ "com.mysql.jdbc.Messages",
+ "com.mysql.jdbc.ConnectionPropertiesImpl",
+ "com.mysql.jdbc.Util",
+ "com.mysql.jdbc.ConnectionImpl",
+ "com.mysql.jdbc.JDBC4Connection",
+ "com.mysql.jdbc.ConnectionPropertiesImpl$ConnectionProperty",
+ "com.mysql.jdbc.ConnectionPropertiesImpl$BooleanConnectionProperty",
+ "com.mysql.jdbc.ConnectionPropertiesImpl$IntegerConnectionProperty",
+ "com.mysql.jdbc.ConnectionPropertiesImpl$MemorySizeConnectionProperty",
+ "com.mysql.jdbc.ConnectionPropertiesImpl$StringConnectionProperty",
+ "com.mysql.jdbc.ConnectionPropertiesImpl$LongConnectionProperty",
+ "com.mysql.jdbc.StringUtils",
+ "com.mysql.jdbc.CharsetMapping",
+ "com.mysql.jdbc.log.StandardLogger",
+ "org.h2.engine.SessionRemote",
+ "org.h2.mvstore.DataUtils",
+ "org.h2.message.DbException",
+ "org.h2.constant.ErrorCode",
+ "org.h2.jdbc.JdbcSQLException",
+ "org.h2.command.dml.SetTypes",
+ "org.h2.engine.ConnectionInfo",
+ "org.h2.engine.Database",
+ "org.h2.util.BitField",
+ "org.h2.engine.Mode",
+ "org.h2.store.fs.FilePath",
+ "org.h2.store.fs.FilePathDisk",
+ "org.h2.store.fs.FilePathMem",
+ "org.h2.store.fs.FilePathNioMem",
+ "org.h2.store.fs.FilePathSplit",
+ "org.h2.constant.DbSettings",
+ "org.h2.value.CompareMode",
+ "org.h2.store.FileLock",
+ "org.h2.util.SortedProperties",
+ "org.h2.table.Table",
+ "com.mysql.jdbc.StatementImpl",
+ "com.mysql.jdbc.PreparedStatement",
+ "com.mysql.jdbc.MysqlIO",
+ "com.mysql.jdbc.CallableStatement"
+ );
+ }
+}