<commit_before>﻿// Copyright (c) <NAME>. All rights reserved.
// This file is licensed under the BSD-Clause 2 license. 
// See the license.txt file in the project root for more information.

using System;
using System.Linq;
using Xunit;
using Zio.FileSystems;

namespace Zio.Tests.FileSystems
{
    public class TestAggregateFileSystem : TestFileSystemBase
    {
        [Fact]
        public void TestCommonReadOnly()
        {
            var fs = GetCommonAggregateFileSystem();
            AssertCommonReadOnly(fs);
        }

        [Fact]
        public void TestWatcher()
        {
            var fs = GetCommonAggregateFileSystem(out var fs1, out var fs2, out _);
            var watcher = fs.Watch("/");

            var gotChange1 = false;
            var gotChange2 = false;
            watcher.Created += (sender, args) =>
            {
                Console.WriteLine(args.FullPath.FullName);<commit_msg>Remove Console.WriteLine from test case<commit_after>﻿// Copyright (c) <NAME>. All rights reserved.
// This file is licensed under the BSD-Clause 2 license. 
// See the license.txt file in the project root for more information.

using System;
using System.Linq;
using Xunit;
using Zio.FileSystems;

namespace Zio.Tests.FileSystems
{
    public class TestAggregateFileSystem : TestFileSystemBase
    {
        [Fact]
        public void TestCommonReadOnly()
        {
            var fs = GetCommonAggregateFileSystem();
            AssertCommonReadOnly(fs);
        }

        [Fact]
        public void TestWatcher()
        {
            var fs = GetCommonAggregateFileSystem(out var fs1, out var fs2, out _);
            var watcher = fs.Watch("/");

            var gotChange1 = false;
            var gotChange2 = false;
            watcher.Created += (sender, args) =>
            {
{'fraction_non_alphanumeric': 0.087893864013267, 'fraction_numerical': 0.00552791597567717, 'mean_word_length': 2.153310104529617, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1558129', 'n_tokens_mistral': 492, 'n_tokens_neox': 498, 'n_words': 152}