Esempio n. 1
0
        /// <exception cref="System.Exception"/>
        public virtual void TestFileSystem()
        {
            TestDFVariations.XXDF df  = new TestDFVariations.XXDF();
            string expectedFileSystem = Shell.Windows ? Runtime.Substring(df.GetDirPath
                                                                              (), 0, 2) : "/dev/sda3";

            Assert.Equal("Invalid filesystem", expectedFileSystem, df.GetFilesystem
                             ());
        }
Esempio n. 2
0
        /// <exception cref="System.Exception"/>
        public virtual void TestMount()
        {
            TestDFVariations.XXDF df = new TestDFVariations.XXDF();
            string expectedMount     = Shell.Windows ? Runtime.Substring(df.GetDirPath(),
                                                                         0, 2) : "/foo/bar";

            Assert.Equal("Invalid mount point", expectedMount, df.GetMount
                             ());
        }