Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
52 changed files
with
3,508 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* | ||
* This file was automatically generated by EvoSuite | ||
* Wed Apr 07 15:24:06 CEST 2021 | ||
*/ | ||
|
||
|
||
import org.junit.Test; | ||
import static org.junit.Assert.*; | ||
import org.evosuite.runtime.EvoRunner; | ||
import org.evosuite.runtime.EvoRunnerParameters; | ||
import org.junit.runner.RunWith; | ||
|
||
@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, separateClassLoader = true, useJEE = true) | ||
public class _ESTest extends _ESTest_scaffolding { | ||
|
||
@Test(timeout = 4000) | ||
public void test0() throws Throwable { | ||
String string0 = ""; | ||
String string1 = ""; | ||
string1.equals(string0); | ||
string1.equals(string0); | ||
string0.equals(string1); | ||
String string2 = ""; | ||
string1.equals(string2); | ||
String string3 = "6AUEy9"; | ||
string2.equals(string3); | ||
String string4 = "\\i'>tc#N{_"; | ||
String string5 = "1>9YQA$+].yyp\""; | ||
string5.equals(string4); | ||
String string6 = ""; | ||
string2.equals(string4); | ||
String string7 = "D"; | ||
string7.equals(string5); | ||
Object object0 = null; | ||
string5.equals(object0); | ||
String string8 = "wT$>vEo (hCvWU-Mv"; | ||
string8.equals(string6); | ||
string5.equals(string0); | ||
string6.equals(string8); | ||
String string9 = ""; | ||
string9.equals(string2); | ||
String string10 = "H+-#khW5oV"; | ||
string5.equals(string10); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
/** | ||
* Scaffolding file used to store all the setups needed to run | ||
* tests automatically generated by EvoSuite | ||
* Wed Apr 07 15:24:06 CEST 2021 | ||
*/ | ||
|
||
|
||
import org.evosuite.runtime.annotation.EvoSuiteClassExclude; | ||
import org.junit.BeforeClass; | ||
import org.junit.Before; | ||
import org.junit.After; | ||
import org.evosuite.runtime.sandbox.Sandbox; | ||
import org.evosuite.runtime.sandbox.Sandbox.SandboxMode; | ||
|
||
@EvoSuiteClassExclude | ||
public class _ESTest_scaffolding { | ||
|
||
@org.junit.Rule | ||
public org.evosuite.runtime.vnet.NonFunctionalRequirementRule nfr = new org.evosuite.runtime.vnet.NonFunctionalRequirementRule(); | ||
|
||
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.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(); | ||
setSystemProperties(); | ||
initializeClasses(); | ||
org.evosuite.runtime.Runtime.getInstance().resetRuntime(); | ||
} | ||
|
||
@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(); | ||
} | ||
|
||
public static void setSystemProperties() { | ||
|
||
/*No java.lang.System property to set*/ | ||
} | ||
|
||
private static void initializeClasses() { | ||
} | ||
|
||
private static void resetClasses() { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* This file was automatically generated by EvoSuite | ||
* Wed Apr 07 15:24:06 CEST 2021 | ||
*/ | ||
|
||
|
||
import org.junit.Test; | ||
import static org.junit.Assert.*; | ||
import org.evosuite.runtime.EvoRunner; | ||
import org.evosuite.runtime.EvoRunnerParameters; | ||
import org.junit.runner.RunWith; | ||
|
||
@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, separateClassLoader = true, useJEE = true) | ||
public class _Failed_ESTest extends _Failed_ESTest_scaffolding { | ||
@Test | ||
public void notGeneratedAnyTest() { | ||
// EvoSuite did not generate any tests | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
botsing-commons/evosuite-tests/_Failed_ESTest_scaffolding.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** | ||
* Scaffolding file used to store all the setups needed to run | ||
* tests automatically generated by EvoSuite | ||
* Wed Apr 07 15:24:06 CEST 2021 | ||
*/ | ||
|
||
|
||
import org.evosuite.runtime.annotation.EvoSuiteClassExclude; | ||
import org.junit.BeforeClass; | ||
import org.junit.Before; | ||
import org.junit.After; | ||
import org.evosuite.runtime.sandbox.Sandbox; | ||
import org.evosuite.runtime.sandbox.Sandbox.SandboxMode; | ||
|
||
@EvoSuiteClassExclude | ||
public class _Failed_ESTest_scaffolding { | ||
// Empty scaffolding for empty test suite | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.