本文整理汇总了C#中Question.ToLocalizedString方法的典型用法代码示例。如果您正苦于以下问题:C# Question.ToLocalizedString方法的具体用法?C# Question.ToLocalizedString怎么用?C# Question.ToLocalizedString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Question
的用法示例。
在下文中一共展示了Question.ToLocalizedString方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ToLocalizedStringOnHighlightsIssuesOfPublicationEthicsKeyReturnsCorrectQuestionString
public void ToLocalizedStringOnHighlightsIssuesOfPublicationEthicsKeyReturnsCorrectQuestionString()
{
// Arrange
var question = new Question { Key = QuestionKey.HighlightsIssuesOfPublicationEthics };
// Act
var localizedQuestion = question.ToLocalizedString();
// Assert
Assert.Equal("Journal’s website highlights issues of publication ethics (e.g. plagiarism, retraction policy), conflicts of interest, and (if applicable) codes of conduct for research in life sciences and social sciences", localizedQuestion);
}
示例2: ToLocalizedStringOnHasClearGuidelinesConcerningSharingKeyReturnsCorrectQuestionString
public void ToLocalizedStringOnHasClearGuidelinesConcerningSharingKeyReturnsCorrectQuestionString()
{
// Arrange
var question = new Question { Key = QuestionKey.HasClearGuidelinesConcerningSharing };
// Act
var localizedQuestion = question.ToLocalizedString();
// Assert
Assert.Equal("The journal (publisher) has clear guidelines concerning sharing and availability of data for verification purposes", localizedQuestion);
}
示例3: ToLocalizedStringOnDisclosesNumberOfSubmissionsPublicationsAndRejectionRatesKeyReturnsCorrectQuestionString
public void ToLocalizedStringOnDisclosesNumberOfSubmissionsPublicationsAndRejectionRatesKeyReturnsCorrectQuestionString()
{
// Arrange
var question = new Question { Key = QuestionKey.DisclosesNumberOfSubmissionsPublicationsAndRejectionRates };
// Act
var localizedQuestion = question.ToLocalizedString();
// Assert
Assert.Equal("The journal discloses the past (yearly) number of submissions, publications, and rejection rates.", localizedQuestion);
}
示例4: ToLocalizedStringOnGoodValueForMoneyKeyReturnsCorrectQuestionString
public void ToLocalizedStringOnGoodValueForMoneyKeyReturnsCorrectQuestionString()
{
// Arrange
var question = new Question { Key = QuestionKey.GoodValueForMoney };
// Act
var localizedQuestion = question.ToLocalizedString();
// Assert
Assert.Equal("I would deem this journal good value for money", localizedQuestion);
}
示例5: ToLocalizedStringOnAuthorsAllowedToIndicateDesiredReviewersKeyReturnsCorrectQuestionString
public void ToLocalizedStringOnAuthorsAllowedToIndicateDesiredReviewersKeyReturnsCorrectQuestionString()
{
// Arrange
var question = new Question { Key = QuestionKey.AuthorsAllowedToIndicateDesiredReviewers };
// Act
var localizedQuestion = question.ToLocalizedString();
// Assert
Assert.Equal("The website indicates if authors have a say in suggesting names of (non-)desired reviewers.", localizedQuestion);
}
示例6: ToLocalizedStringOnCopiesAreMadeInThirdPartyRepositoriesKeyReturnsCorrectQuestionString
public void ToLocalizedStringOnCopiesAreMadeInThirdPartyRepositoriesKeyReturnsCorrectQuestionString()
{
// Arrange
var question = new Question { Key = QuestionKey.CopiesAreMadeInThirdPartyRepositories };
// Act
var localizedQuestion = question.ToLocalizedString();
// Assert
Assert.Equal("The journal (publisher) makes copies of published articles available in trusted third-party repositories (e.g. PubMed Central) immediately upon publication.", localizedQuestion);
}
示例7: ToLocalizedStringOnEditorIsResponsiveKeyReturnsCorrectQuestionString
public void ToLocalizedStringOnEditorIsResponsiveKeyReturnsCorrectQuestionString()
{
// Arrange
var question = new Question { Key = QuestionKey.EditorIsResponsive };
// Act
var localizedQuestion = question.ToLocalizedString();
// Assert
Assert.Equal("The editor of the journal is responsive.", localizedQuestion);
}
示例8: ToLocalizedStringOnReviewsCommentsArePublishedKeyReturnsCorrectQuestionString
public void ToLocalizedStringOnReviewsCommentsArePublishedKeyReturnsCorrectQuestionString()
{
// Arrange
var question = new Question { Key = QuestionKey.ReviewsCommentsArePublished };
// Act
var localizedQuestion = question.ToLocalizedString();
// Assert
Assert.Equal("The website of the journal indicates how open editorial correspondence and reviewer's comments are.", localizedQuestion);
}
示例9: ToLocalizedStringOnWebsiteContainsSubmissionsReviewDetailsKeyReturnsCorrectQuestionString
public void ToLocalizedStringOnWebsiteContainsSubmissionsReviewDetailsKeyReturnsCorrectQuestionString()
{
// Arrange
var question = new Question { Key = QuestionKey.WebsiteContainsSubmissionsReviewDetails };
// Act
var localizedQuestion = question.ToLocalizedString();
// Assert
Assert.Equal("The website indicates whether all submissions are sent out for review.", localizedQuestion);
}
示例10: ToLocalizedStringOnWebsiteContainsRoleOfMembersEditorialBoardKeyReturnsCorrectQuestionString
public void ToLocalizedStringOnWebsiteContainsRoleOfMembersEditorialBoardKeyReturnsCorrectQuestionString()
{
// Arrange
var question = new Question { Key = QuestionKey.WebsiteContainsRoleOfMembersEditorialBoard };
// Act
var localizedQuestion = question.ToLocalizedString();
// Assert
Assert.Equal("The role of members of the editorial board is explicated on the website including who will make final decisions about article acceptance (e.g. editor, associate/action editor).", localizedQuestion);
}
示例11: ToLocalizedStringOnWebsiteContainsNameAndAffiliationsOfMembersEditorialBoardKeyReturnsCorrectQuestionString
public void ToLocalizedStringOnWebsiteContainsNameAndAffiliationsOfMembersEditorialBoardKeyReturnsCorrectQuestionString()
{
// Arrange
var question = new Question { Key = QuestionKey.WebsiteContainsNameAndAffiliationsOfMembersEditorialBoard };
// Act
var localizedQuestion = question.ToLocalizedString();
// Assert
Assert.Equal("The names and affiliations of members of the editorial board are listed on the website.", localizedQuestion);
}
示例12: ToLocalizedStringOnWebsiteContainsCriteriaUsedByReviewersKeyReturnsCorrectQuestionString
public void ToLocalizedStringOnWebsiteContainsCriteriaUsedByReviewersKeyReturnsCorrectQuestionString()
{
// Arrange
var question = new Question { Key = QuestionKey.WebsiteContainsCriteriaUsedByReviewers };
// Act
var localizedQuestion = question.ToLocalizedString();
// Assert
Assert.Equal("Criteria used by reviewers to rate submissions are specified on the website.", localizedQuestion);
}
示例13: ToLocalizedStringOnWebsiteContainsAimsScopeAndReadershipKeyReturnsCorrectQuestionString
public void ToLocalizedStringOnWebsiteContainsAimsScopeAndReadershipKeyReturnsCorrectQuestionString()
{
// Arrange
var question = new Question { Key = QuestionKey.WebsiteContainsAimsScopeAndReadership };
// Act
var localizedQuestion = question.ToLocalizedString();
// Assert
Assert.Equal("Aims, scope, and expected readership of the journal are clearly specified on the journal’s website.", localizedQuestion);
}
示例14: ToLocalizedStringOnWebsiteAllowsRatingsAndCommentariesOfPapersKeyReturnsCorrectQuestionString
public void ToLocalizedStringOnWebsiteAllowsRatingsAndCommentariesOfPapersKeyReturnsCorrectQuestionString()
{
// Arrange
var question = new Question { Key = QuestionKey.WebsiteAllowsRatingsAndCommentariesOfPapers };
// Act
var localizedQuestion = question.ToLocalizedString();
// Assert
Assert.Equal("The journal website allows ratings of papers and post-publication commentaries by the community.", localizedQuestion);
}
示例15: ToLocalizedStringOnReviewsCommentsArePublishedKeyReturnsCorrectQuestionString
public void ToLocalizedStringOnReviewsCommentsArePublishedKeyReturnsCorrectQuestionString()
{
// Arrange
var question = new Question { Key = QuestionKey.ReviewsCommentsArePublished };
// Act
var localizedQuestion = question.ToLocalizedString();
// Assert
Assert.Equal("Editorial correspondence and reviewer's comments are published alongside papers", localizedQuestion);
}