コード例 #1
0
ファイル: QFileInfoTests.cs プロジェクト: joonhwan/QtSharp
        public void TestStaticExists()
        {
            var res = QFileInfo.Exists(_testFilePath1.FullName);

            Assert.IsTrue(res);

            var res2 = QFileInfo.Exists(_testFilePath1.FullName + "sss");

            Assert.IsFalse(res2);
        }
コード例 #2
0
ファイル: QFileInfoTests.cs プロジェクト: joonhwan/QtSharp
 public void TestExists()
 {
     Assert.IsTrue(_fileInfo.Exists());
 }