-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #619 from wakmusic/568-stub-outer-myinfo-feature
🔀 :: (#568) 내정보 화면을 DemoApp으로 만들기 위한 �UseCase Stub 작업
- Loading branch information
Showing
10 changed files
with
44 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
Projects/Domains/FaqDomain/Sources/UseCase/FetchFaqCategoriesUseCaseImpl.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
Projects/Domains/FaqDomain/Sources/UseCase/FetchFaqUseCaseImpl.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
Projects/Domains/FaqDomain/Testing/FetchFaqCategoriesUseCaseStub.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import FaqDomainInterface | ||
import Foundation | ||
import RxSwift | ||
|
||
public struct FetchFaqCategoriesUseCaseStub: FetchFaqCategoriesUseCase { | ||
public func execute() -> Single<FaqCategoryEntity> { | ||
return .just(FaqCategoryEntity(categories: [])) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import FaqDomainInterface | ||
import Foundation | ||
import RxSwift | ||
|
||
public struct FetchFaqUseCaseStub: FetchFaqUseCase { | ||
public func execute() -> Single<[FaqEntity]> { | ||
return .just([]) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
Projects/Domains/NoticeDomain/Sources/UseCase/FetchNoticeCategoriesUseCaseImpl.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
Projects/Domains/NoticeDomain/Sources/UseCase/FetchNoticeUseCaseImpl.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
Projects/Domains/NoticeDomain/Testing/FetchNoticeCategoriesUseCaseStub.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import Foundation | ||
import NoticeDomainInterface | ||
import RxSwift | ||
|
||
public struct FetchNoticeCategoriesUseCaseStub: FetchNoticeCategoriesUseCase { | ||
public func execute() -> Single<FetchNoticeCategoriesEntity> { | ||
return .just(FetchNoticeCategoriesEntity(categories: [])) | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
Projects/Domains/NoticeDomain/Testing/FetchNoticeUseCaseStub.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import Foundation | ||
import NoticeDomainInterface | ||
import RxSwift | ||
|
||
public struct FetchNoticeUseCaseStub: FetchNoticeUseCase { | ||
public func execute(type: NoticeType) -> Single<[FetchNoticeEntity]> { | ||
return .just([]) | ||
} | ||
} |