matlab.unittest.fixtures.PathFixture 클래스
네임스페이스: matlab.unittest.fixtures
슈퍼클래스: matlab.unittest.fixtures.Fixture
폴더를 MATLAB 경로에 추가하는 픽스처
설명
matlab.unittest.fixtures.PathFixture
클래스는 폴더를 MATLAB® 경로에 추가하는 픽스처를 제공합니다. 테스트 프레임워크가 픽스처를 설정하면 픽스처는 지정된 폴더를 경로에 추가합니다. 프레임워크가 픽스처를 해제하면 픽스처가 경로를 원래 상태로 복원합니다.
matlab.unittest.fixtures.PathFixture
클래스는 handle
클래스입니다.
생성
설명
fixture = matlab.unittest.fixtures.PathFixture(
는 하나 이상의 이름-값 인수를 사용하여 옵션을 추가로 설정합니다. 예를 들어, folders
,Name,Value
)fixture = matlab.unittest.fixtures.PathFixture("myFolder","IncludingSubfolders",true)
는 myFolder
와 그 하위 폴더 전부를 경로에 추가하는 픽스처를 만듭니다.
입력 인수
속성
예제
버전 내역
R2013b에 개발됨