"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "platform-tests/src/test/java/org/junit/platform/engine/discovery/ModuleSelectorTests.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.

ModuleSelectorTests.java  (junit5-r5.3.2):ModuleSelectorTests.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.discovery; package org.junit.platform.engine.discovery;
skipping to change at line 25 skipping to change at line 25
/** /**
* Unit tests for {@link ModuleSelector}. * Unit tests for {@link ModuleSelector}.
* *
* @since 1.3 * @since 1.3
* @see DiscoverySelectorsTests * @see DiscoverySelectorsTests
*/ */
class ModuleSelectorTests extends AbstractEqualsAndHashCodeTests { class ModuleSelectorTests extends AbstractEqualsAndHashCodeTests {
@Test @Test
void equalsAndHashCode() throws Exception { void equalsAndHashCode() {
var selector1 = new ModuleSelector("foo-api"); var selector1 = new ModuleSelector("foo-api");
var selector2 = new ModuleSelector("foo-api"); var selector2 = new ModuleSelector("foo-api");
var selector3 = new ModuleSelector("bar-impl"); var selector3 = new ModuleSelector("bar-impl");
assertEqualsAndHashCode(selector1, selector2, selector3); assertEqualsAndHashCode(selector1, selector2, selector3);
} }
} }
 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)