File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
quick-start/src/test/java/com/marklogic/quickstart/web Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 33
44import com .marklogic .hub .HubConfig ;
55import com .marklogic .hub .HubConfigBuilder ;
6+ import org .junit .Before ;
7+ import org .junit .Ignore ;
68import org .junit .Test ;
79import org .junit .runner .RunWith ;
810import org .springframework .beans .factory .annotation .Autowired ;
1416import java .io .IOException ;
1517
1618import static org .assertj .core .api .Assertions .assertThat ;
19+ import static sun .awt .OSInfo .OSType .WINDOWS ;
1720
1821@ RunWith (SpringJUnit4ClassRunner .class )
1922@ JsonTest
@@ -24,6 +27,11 @@ public class HubConfigJsonTest {
2427 @ Autowired
2528 private JacksonTester <HubConfig > json ;
2629
30+ @ Before
31+ public void skipWindows () {
32+ org .junit .Assume .assumeTrue (!System .getProperty ("os.name" ).startsWith ("Windows" ));
33+ }
34+
2735 @ Test
2836 public void testDeserialize () throws IOException {
2937 String projectPath = new File (PROJECT_PATH ).getAbsolutePath ();
You can’t perform that action at this time.
0 commit comments