blob: 969f11daaabad99dfe2da575710e555ab36f34f8 [file] [log] [blame]
Damien Martin-Guillerezf88f4d82015-09-25 13:56:55 +00001// Copyright 2014 The Bazel Authors. All rights reserved.
Han-Wen Nienhuysd08b27f2015-02-25 16:45:20 +01002//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14package com.google.devtools.build.lib.vfs;
15
lberkiaea56b32017-05-30 12:35:33 +020016import static com.google.common.truth.Truth.assertThat;
Han-Wen Nienhuysd08b27f2015-02-25 16:45:20 +010017
18import com.google.devtools.build.lib.vfs.util.FileSystems;
Han-Wen Nienhuysd08b27f2015-02-25 16:45:20 +010019import org.junit.Test;
20import org.junit.runner.RunWith;
21import org.junit.runners.JUnit4;
22
23/**
24 * This class handles the tests for the FileSystems class.
25 */
26@RunWith(JUnit4.class)
27public class FileSystemsTest {
28
29 @Test
Googlerc05fd5b2019-09-05 01:19:01 -070030 public void testFileSystems() {
cpovirkbcd02f92019-04-26 10:41:50 -070031 assertThat(FileSystems.getJavaIoFileSystem())
32 .isNotSameInstanceAs(FileSystems.getNativeFileSystem());
Han-Wen Nienhuysd08b27f2015-02-25 16:45:20 +010033 }
34}