"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "documentation/src/test/java/example/testinterface/TestInterfaceDemo.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.

TestInterfaceDemo.java  (junit5-r5.3.2):TestInterfaceDemo.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 example.testinterface; package example.testinterface;
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertEquals;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
// @formatter:off // @formatter:off
//tag::user_guide[] // tag::user_guide[]
class TestInterfaceDemo implements TestLifecycleLogger, class TestInterfaceDemo implements TestLifecycleLogger,
TimeExecutionLogger, TestInterfaceDynamicTestsDemo { TimeExecutionLogger, TestInterfaceDynamicTestsDemo {
@Test @Test
void isEqualValue() { void isEqualValue() {
assertEquals(1, 1, "is always equal"); assertEquals(1, "a".length(), "is always equal");
} }
} }
//end::user_guide[] // end::user_guide[]
// @formatter:on // @formatter:on
 End of changes. 4 change blocks. 
4 lines changed or deleted 4 lines changed or added

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