"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "platform-tests/src/test/java/org/junit/platform/engine/support/hierarchical/DemoHierarchicalEngineDescriptor.java" between
junit5-r5.3.2.tar.gz and junit5-r5.4.0.tar.gz

About: JUnit 5 is a unit testing framework for the Java programming language.

DemoHierarchicalEngineDescriptor.java  (junit5-r5.3.2):DemoHierarchicalEngineDescriptor.java  (junit5-r5.4.0)
/* /*
* Copyright 2015-2018 the original author or authors. * Copyright 2015-2019 the original author or authors.
* *
* All rights reserved. This program and the accompanying materials are * All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v2.0 which * made available under the terms of the Eclipse Public License v2.0 which
* accompanies this distribution and is available at * accompanies this distribution and is available at
* *
* http://www.eclipse.org/legal/epl-v20.html * http://www.eclipse.org/legal/epl-v20.html
*/ */
package org.junit.platform.engine.support.hierarchical; package org.junit.platform.engine.support.hierarchical;
skipping to change at line 48 skipping to change at line 48
public void setBeforeAllBehavior(Runnable beforeAllBehavior) { public void setBeforeAllBehavior(Runnable beforeAllBehavior) {
this.beforeAllBehavior = beforeAllBehavior; this.beforeAllBehavior = beforeAllBehavior;
} }
@Override @Override
public SkipResult shouldBeSkipped(DemoEngineExecutionContext context) { public SkipResult shouldBeSkipped(DemoEngineExecutionContext context) {
return skipped ? skip(skippedReason) : doNotSkip(); return skipped ? skip(skippedReason) : doNotSkip();
} }
@Override @Override
public DemoEngineExecutionContext before(DemoEngineExecutionContext conte xt) throws Exception { public DemoEngineExecutionContext before(DemoEngineExecutionContext conte xt) {
beforeAllBehavior.run(); beforeAllBehavior.run();
return context; return context;
} }
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)