Skip to content

Instantly share code, notes, and snippets.

View marcphilipp's full-sized avatar

Marc Philipp marcphilipp

View GitHub Profile
@marcphilipp
marcphilipp / style.css
Last active January 1, 2016 03:49
Twenty Twelve Child Fix
/*
Theme Name: Twenty Twelve Child by PabstWP
Theme URI: http://pabstwp.de/
Author: Matthias Pabst
Author URI: http://pabstwp.de/
Description: Child Theme for WordPress Standard Theme Twenty Twelve with additional menus and footer widget areas.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, gray, white, one-column, two-columns, right-sidebar, flexible-width, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, footer-sidebar
@marcphilipp
marcphilipp / Eintrag.java
Created September 18, 2011 12:07
SWT Tree Drag and Drop
package de.marcphilipp.dnd.model;
public class Eintrag {
private final String description;
private Gruppe gruppe;
public Eintrag(String description) {
this.description = description;
}
@marcphilipp
marcphilipp / checklist.md
Last active November 30, 2016 09:59
M3 release
  • Release ota4j and change ota4jVersion in gradle.properties accordingly, if necessary
  • Change version, platformVersion, and vintageVersion in gradle.properties to the versions about to be released
  • Change release date in User Guide
  • Change artifact versions in README.MD
  • Commit with message "Release ${VERSION}"
  • Execute ./gradlew clean uploadArchives
  • Close staging repo on Nexus
  • Release staging repo on Nexus
  • Tag current commit (e.g. r5.0.0-M1)
  • Update junit5-samples to use released version and create tag (e.g. r5.0.0-M1)
@marcphilipp
marcphilipp / todos.md
Last active April 16, 2018 10:47
JUnit Platform Parallel Execution

Parallel Execution

  • TreeWalker that generates execution plan (ExecutionMode and ResourceLock per Node) in HierarchicalTestExecutor
    • 1st pass: ExecutionMode and ResourceLock on Node
    • 2nd pass: Pull up ResourceLocks to first Node with ResourceLock, remove ResourceLocks from children, force ExecutionMode to Same_Thread
      • Optional optimization: Only pull up locks when ResourceLock order in descendants is not compatible
    • 2nd pass (?): Inherit ExecutionMode to children
  • Thread-safe listeners
  • Decide on config parameters (factor?)
  • Capture stdout/stderr
    • Optimize case when no parallel execution takes place to capture all stdout/stderr, not just from same thread?
@marcphilipp
marcphilipp / README.md
Created January 31, 2019 09:28
SCRIPT-8
@marcphilipp
marcphilipp / XmlDatabaseTest.java
Created February 22, 2012 19:51
Database Tests With DbUnit
package de.marcphilipp.dbunit.example;
import static org.h2.engine.Constants.UTF8;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.junit.Assert.assertThat;
import java.io.File;
import javax.sql.DataSource;
Classfile 17-JupiterTestDescriptor.class
Last modified Apr 28, 2024; size 16084 bytes
SHA-256 checksum 464709a464e64cce32149ca46bd5870c09179d47c818c98981621369216f0ad1
Compiled from "JupiterTestDescriptor.java"
public abstract class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor extends org.junit.platform.engine.support.descriptor.AbstractTestDescriptor implements org.junit.platform.engine.support.hierarchical.Node<org.junit.jupiter.engine.execution.JupiterEngineExecutionContext>
minor version: 0
major version: 52
flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: #8 // org/junit/jupiter/engine/descriptor/JupiterTestDescriptor
super_class: #14 // org/junit/platform/engine/support/descriptor/AbstractTestDescriptor