I hereby claim:
- I am juherr on github.
- I am juherr (https://keybase.io/juherr) on keybase.
- I have a public key whose fingerprint is 5324 0E3C 22D6 BB81 4DD6 19B1 838A 9B11 C4CC D7F2
To claim this, I am signing this object:
/* | |
DISCLAIMER: Use at your own risk! | |
Tested with Directus 10.8.0 and MySQL 5.6 | |
This will delete all flow execution logs, revisions and acitivites which are older | |
than the specified MinTimestamp and are not in the top <specified MinItems> latest | |
items. Activities related to saved revisions / flow logs are also saved even when | |
they normally would have been deleted. | |
Archived notifiactions are deleted when the creation of the notifaction is older |
package test; | |
import org.testng.Assert; | |
import org.testng.annotations.BeforeMethod; | |
import org.testng.annotations.Listeners; | |
import org.testng.annotations.Test; | |
@Listeners(ScreenshotMaker.class) | |
public class BeforeScreenshotTest implements Screen { |
# Boxstarter : http://boxstarter.org | |
# run command prompt "cmd" as admin | |
# START START http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/juherr/[...]/raw/[...]/win-box.txt | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions | |
#Enable-RemoteDesktop | |
cinst googlechrome | |
#cinst firefox |
package test; | |
import org.testng.TestNG; | |
public class Main { | |
public static void main(String... args) { | |
TestNG tng = new TestNG(); | |
tng.setTestClasses(new Class[]{MixedTest.class}); | |
tng.setJUnit(false); |
package test; | |
import org.junit.Test; | |
public class JUnitTest { | |
@Test | |
public void testJ1() {} | |
} |
package test; | |
public class CompileClass2 { | |
private void addInstance(MyClass<?> clazz) { | |
addInstance(clazz.getFoo(), clazz.getBar()); // <- compiler issue here | |
addInstance2(clazz.getFoo(), clazz.getBar()); | |
} | |
private <T> void addInstance2(MyClass<T> clazz) { |
[INFO] Error stacktraces are turned on. | |
[INFO] Scanning for projects... | |
[WARNING] | |
[WARNING] Some problems were encountered while building the effective model for org.apache.maven.plugins.surefire:testng-listener-reporter:jar:1.0-SNAPSHOT | |
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 75, column 15 | |
[WARNING] | |
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. | |
[WARNING] | |
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects. | |
[WARNING] |
import net.bytebuddy.ByteBuddy; | |
import net.bytebuddy.dynamic.loading.ClassLoadingStrategy; | |
import org.mockito.Mock; | |
import org.powermock.core.classloader.annotations.PrepareForTest; | |
import org.powermock.modules.testng.PowerMockTestCase; | |
import org.testng.annotations.Test; | |
@PrepareForTest(ByteBuddyWithPowerMockTest.SampleClass.class) | |
public class ByteBuddyWithPowerMockTest extends PowerMockTestCase { |
~/Projects/testng $ mvn -e test | |
[INFO] Error stacktraces are turned on. | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building TestNG 6.8.22-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.4.1:resources (default-resources) @ testng --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. |
I hereby claim:
To claim this, I am signing this object: