public void TestSwap() { var baseUrl = new QUrl(); baseUrl.Scheme = "ftp"; baseUrl.SetAuthority("tray:[email protected]:2021"); baseUrl.SetFragment("#question13"); baseUrl.SetHost("ftp.example.com"); baseUrl.SetUserName("tray2"); baseUrl.SetPath("/pub/something/"); baseUrl.SetPort(2022); baseUrl.Swap(new QUrl("llll")); throw new AssertionException("Url() not implemented!"); //Assert.AreEqual(2022, baseUrl.Url()); }