GetPathToSdk() 공개 메소드

public GetPathToSdk ( ) : string
리턴 string
예제 #1
0
        public void GetPathToSdk_ShouldThrowExceptionIfNoSdkFound()
        {
            var frameworkFinder = MockRepository.GenerateMock<IFrameworkFinder>();

            var framework = new FrameworkVersion("",frameworkFinder);
            frameworkFinder.Stub(x => x.PathToSdk()).Return(null);
            framework.GetPathToSdk();
        }
예제 #2
0
        public void GetPathToSdk_ShouldNotThrowException()
        {
            var frameworkFinder = MockRepository.GenerateMock<IFrameworkFinder>();

            var framework = new FrameworkVersion("", frameworkFinder);
            frameworkFinder.Stub(x => x.PathToSdk()).Return("C:\\temp");
            framework.GetPathToSdk();
        }
        public void GetPathToSdk_ShouldNotThrowException()
        {
            var frameworkFinder = MockRepository.GenerateMock <IFrameworkFinder>();

            var framework = new FrameworkVersion("", frameworkFinder);

            frameworkFinder.Stub(x => x.PathToSdk()).Return("C:\\temp");
            framework.GetPathToSdk();
        }
        public void GetPathToSdk_ShouldThrowExceptionIfNoSdkFound()
        {
            var frameworkFinder = MockRepository.GenerateMock <IFrameworkFinder>();

            var framework = new FrameworkVersion("", frameworkFinder);

            frameworkFinder.Stub(x => x.PathToSdk()).Return(null);
            framework.GetPathToSdk();
        }