Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions cdm-test/src/test/java/ucar/nc2/ncml/TestNcMLStrides.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

package ucar.nc2.ncml;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ucar.ma2.ArrayInt;
Expand All @@ -31,8 +31,8 @@ public class TestNcMLStrides {
NetcdfFile ncfile = null;
String location = "file:" + TestDir.cdmUnitTestDir + "agg/strides/strides.ncml";

@BeforeEach
public void setUp() {
@Before
public void set_up() {
try {
ncfile = NcMLReader.readNcML(location, null);
// System.out.println("ncfile opened = "+location);
Expand All @@ -44,8 +44,8 @@ public void setUp() {
}
}

@AfterEach
protected void tearDown() throws IOException {
@After
public void tearDown() throws IOException {
ncfile.close();
}

Expand Down