Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Root: Add test cases for is_xxx() #1291

Merged
merged 5 commits into from Nov 25, 2023
Merged

Conversation

ma8ma
Copy link
Collaborator

@ma8ma ma8ma commented Nov 25, 2023

Add test cases for DBTREE::Root::is_2ch()

引数のURLドメインが2ch.net, 5ch.net, bbspink.comの掲示板であるかチェックする関数のテストを追加します。
関数はRootクラスのprivateメンバーですがテストのためpublicに変更します。
is_2ch()は静的メンバー関数(static)として定義されています。

Add test cases for DBTREE::Root::is_JBBS()

引数のURLドメインがしたらば掲示板であるかチェックする関数のテストを追加します。
関数はRootクラスのprivateメンバーですがテストのためpublicに変更します。
is_JBBS()は静的メンバー関数(static)として定義されています。

Add test cases for DBTREE::Root::is_machi()

引数のURLドメインがまちBBSの掲示板であるかチェックする関数のテストを追加します。
関数はRootクラスのprivateメンバーですがテストのためpublicに変更します。
is_machi()は静的メンバー関数(static)として定義されています。

Add test cases for DBTREE::Root::is_vip2ch()

引数のURLドメインがVIPサービスの掲示板であるかチェックする関数のテストを追加します。
関数はRootクラスのprivateメンバーですがテストのためpublicに変更します。
is_vip2ch()は静的メンバー関数(static)として定義されてます。

Add test cases for DBTREE::Root::is_local()

引数のURLスキーマがfile:スキームであるかチェックする関数のテストを追加します。
関数はRootクラスのprivateメンバーですがテストのためpublicに変更します。
is_local()は静的メンバー関数(static)として定義されています。

引数のURLドメインが2ch.net, 5ch.net, bbspink.comの掲示板であるか
チェックする関数のテストを追加します。 関数はRootクラスの
privateメンバーですがテストのためpublicに変更します。
`is_2ch()`は静的メンバー関数(static)として定義されています。
引数のURLドメインがしたらば掲示板であるかチェックする関数のテストを
追加します。 関数はRootクラスのprivateメンバーですがテストのため
publicに変更します。
`is_JBBS()`は静的メンバー関数(static)として定義されています。
引数のURLドメインがまちBBSの掲示板であるかチェックする関数のテストを
追加します。 関数はRootクラスのprivateメンバーですがテストのため
publicに変更します。
`is_machi()`は静的メンバー関数(static)として定義されています。
引数のURLドメインがVIPサービスの掲示板であるかチェックする関数の
テストを追加します。 関数はRootクラスのprivateメンバーですが
テストのためpublicに変更します。
`is_vip2ch()`は静的メンバー関数(static)として定義されてます。
引数のURLスキーマがfile:スキームであるかチェックする関数のテストを
追加します。 関数はRootクラスのprivateメンバーですがテストのため
publicに変更します。
`is_local()`は静的メンバー関数(static)として定義されています。
@ma8ma ma8ma added the test テストの変更 label Nov 25, 2023
@ma8ma ma8ma merged commit ea4050b into master Nov 25, 2023
20 checks passed
@ma8ma ma8ma deleted the root-add-test-cases-for-is_xxx branch November 25, 2023 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test テストの変更
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant