コード例 #1
0
        public void FindUriWitInvalidEnvironmentSetting_ShouldThrowException()
        {
            const string root = @"C:\users\stevpet\Documents\dev";
            IServerUriFinder serverUriFinder = new ServerUriFinder();

            var actual = serverUriFinder.FindUri(root + @"\Jewel.Release.Oahu.Ux\BasicControls");
            Assert.Fail("should not get here");
        }
コード例 #2
0
        public void FindUriWithEnvironmentSetting_ShouldUseIt()
        {
            const string root = @"C:\users\stevpet\Documents\dev";
            const string serverUrl="https://*****:*****@"\Jewel.Release.Oahu.Ux\BasicControls");
            Assert.AreEqual(serverUrl, actual.OriginalString);
        }